Control method and system of robot joint and humanoid robot
By comprehensively utilizing sensor information such as accelerometers, gyroscopes, and visual signals, the position of the joint motors is estimated and diagnosed, and a safe buffer control is switched to solve the safety control problem when the encoder of the joint motor of the humanoid robot fails, thus improving safety and reliability.
Patent Information
- Application Number
- CN202510703363.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2045-05-28
AI Technical Summary
In existing technologies, when the encoder of the joint motor of a humanoid robot malfunctions, it is difficult to maintain the balance of the joint, leading to safety hazards such as tipping over.
By comprehensively utilizing sensor information such as accelerometers, gyroscopes, and visual signals, the position of the joint motors is estimated, and multiple position information is compared for diagnosis. The system then switches to a safe buffer control mode and adjusts control parameters such as damping coefficient and elasticity coefficient to maintain robot balance.
In the event of a joint motor encoder failure, the system can quickly switch to safety buffer control to avoid safety hazards caused by joint loss of control, thereby improving the safety and reliability of the humanoid robot.
Smart Images

Figure CN120395870B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robot control technology, and in particular to a method, system and humanoid robot for controlling robot joints. Background Technology
[0002] In existing technologies, when the joint motor encoder malfunctions, humanoid robots may lose precise control of their joints, especially critical joints such as the legs and waist. This can lead to the robot losing balance or even tipping over, posing a safety hazard. While some existing robot joints are equipped with locking mechanisms that stop the joint's torque output and activate the locking mechanism to lock the joint when it malfunctions, this immediate locking method is not suitable for humanoid robot arm joints. This is because these joints require a buffer period to maintain the robot's balance until a relatively safe state is reached.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a robot joint control method, system, and humanoid robot to at least solve the safety control problem when the joint motor encoder of a humanoid robot fails.
[0005] According to one aspect of the embodiments of this application, a control method for a robot joint is provided. The robot joint has two orthogonal rotational degrees of freedom. The robot joint includes a first joint and a second joint, and the first joint rotates to drive the second joint to rotate. The control method includes: estimating the rotation angle of the second joint relative to the first joint based on acceleration and angular velocity information measured by the robot joint, to obtain first rotational position information of the first joint motor; calculating the rotation angle of the second joint relative to the first joint based on robot vision signals, to obtain second rotational position information of the first joint motor; acquiring measured motor rotational position information measured by the motor encoder of the first joint; comparing the first rotational position information, the second rotational position information, and the measured motor rotational position information pairwise to diagnose the health status of the motor encoder of the first joint; if the health status of the motor encoder of the first joint is diagnosed as abnormal, then using the first rotational position information to perform safety buffer control on the first joint motor.
[0006] Optionally, using the first rotational position information to perform safety buffer control on the first joint motor includes: obtaining the position and speed required for controlling the first joint motor based on the first rotational position information; controlling the first joint motor based on the position and the speed, and reducing the control parameters of the first joint motor; wherein the control parameters include at least one of the following: elastic coefficient and damping coefficient.
[0007] Optionally, estimating the rotation angle of the second joint relative to the first joint based on the acceleration and angular velocity information measured by the robot joint to obtain the first rotational position information of the first joint motor includes: calculating the pose information of the first joint and the pose information of the second joint based on the acceleration and angular velocity information measured by the robot joint; performing spatial angle comparison calculation based on the pose information of the first joint and the pose information of the second joint to obtain the pose change of the second joint relative to the first joint; estimating the rotation angle of the second joint relative to the first joint based on the pose change of the second joint relative to the first joint, and obtaining the first rotational position information of the first joint motor based on the rotation angle of the second joint relative to the first joint.
[0008] Optionally, the control method further includes: if the health status of the motor encoder of the first joint is diagnosed as normal, then the measured motor rotation position information is used to control the motor of the first joint.
[0009] According to another aspect of the embodiments of this application, a control system for a robot joint is provided. The robot joint has two orthogonal rotational degrees of freedom. The robot joint includes a first joint and a second joint, and the first joint rotates to drive the second joint to rotate. The control system includes: a first position information acquisition module, used to estimate the rotation angle of the second joint relative to the first joint based on the acceleration and angular velocity information measured by the robot joint, to obtain first rotational position information of the first joint motor; a second position information acquisition module, used to calculate the rotation angle of the second joint relative to the first joint based on robot vision signals, to obtain second rotational position information of the first joint motor; a third position information acquisition module, used to acquire the measured motor rotational position information measured by the motor encoder of the first joint; a health status diagnosis module, used to compare the first rotational position information, the second rotational position information, and the measured motor rotational position information pairwise to diagnose the health status of the motor encoder of the first joint; and a first safety buffer control module, used to perform safety buffer control on the first joint motor using the first rotational position information if the health status of the motor encoder of the first joint is diagnosed as abnormal.
[0010] According to another aspect of the embodiments of this application, a humanoid robot is provided, which employs the control system described above.
[0011] According to another aspect of the embodiments of this application, an electronic device is provided, including: a processor, and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the control method described above.
[0012] According to another aspect of the present application, a non-transitory machine-readable medium storing computer instructions for causing the computer to perform the control method described above is provided.
[0013] In this embodiment, by comprehensively utilizing the orthogonal motion characteristics of a two-degree-of-freedom joint, as well as information from multiple sensors such as accelerometers, gyroscopes, and visual signals, the position of the joint motor is estimated and diagnosed. Even in the event of a motor encoder failure, reliable motor position information can be provided. By comparing multiple motor position information for diagnosis, the health status of the motor encoder can be more accurately determined. When the joint motor encoder fails, the system can quickly switch to a safety buffer control mode. By adjusting control parameters, the dynamics of the joint are reduced, the robot's balance is maintained, and safety hazards such as immediate tipping due to joint loss of control are avoided. This solves the safety control problem when the joint motor encoder of a humanoid robot fails, achieving a significant improvement in the safety and reliability of the humanoid robot. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.
[0015] Figure 1 This is a schematic diagram of the structure of a robot with two degrees of freedom provided in an embodiment of this application;
[0016] Figure 2 A flowchart of a robot joint control method provided in an embodiment of this application;
[0017] Figure 3 A schematic diagram of X-direction joint motor control provided for an optional embodiment of this application;
[0018] Figure 4 A schematic diagram illustrating encoder diagnostics provided in an optional embodiment of this application;
[0019] Figure 5 A schematic diagram of a humanoid robot safety buffer control provided for an optional embodiment of this application;
[0020] Figure 6 A schematic diagram of a robot joint control system provided in an embodiment of this application;
[0021] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0022] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that embodiments of this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the embodiments of this application. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of this application.
[0023] Figure 1 This is a schematic diagram of the structure of a robot with two degrees of freedom provided in an embodiment of this application, as shown below. Figure 1 As shown, the robot joint has two orthogonal rotational degrees of freedom (i.e., a two-DOF joint). The robot joint includes a first joint and a second joint, and the first joint drives the second joint to rotate through its own rotation. The two joints in the X and Y directions are mechanically connected perpendicularly at 90 degrees. The X-direction joint (equivalent to the first joint mentioned above) adopts an output structure with two ends of an intermediate shaft. Both joint drive control boards have built-in 3-DOF accelerometers and gyroscopes. The X-direction joint consists of an external rotor motor, reduction gears, and a hollow drive control board. The Y-direction joint (equivalent to the second joint mentioned above) does not necessarily need to be a hollow structure. The outer shell of the Y-direction joint is mechanically connected to the output shaft of the X-direction joint. Thus, rotation of the X-direction joint output shaft will drive the Y-direction joint and the robot components connected to the Y-direction joint to rotate around the X-direction joint output shaft. Simultaneously, rotation of the Y-direction joint itself will also drive the robot components connected to the Y-direction joint to rotate around the Y-direction joint output shaft. This robot joint structure can be applied to the elbow, wrist, hip, knee, and ankle of humanoid robots. For example, when robot joints are applied to the elbow, the X-direction joint connects to the upper arm and the Y-direction joint connects to the forearm; when robot joints are applied to the wrist, the Y-direction joint connects to the forearm and the X-direction joint connects to the dexterous hand, and so on.
[0024] According to one aspect of the embodiments of this application, a method for controlling robot joints is provided, which is applied to a humanoid robot. Figure 2 A flowchart of the robot joint control method provided in the embodiments of this application is shown below. Figure 2 As shown, the method includes the following steps:
[0025] Step S202 involves estimating the rotation angle of the second joint relative to the first joint based on the acceleration and angular velocity information measured at the robot joints, thereby obtaining the first rotational position information of the first joint motor. This step utilizes signals from the accelerometer and gyroscope, employing spatial coordinate transformation and Kalman filtering methods to calculate the rotation angle of the second joint relative to the first joint, thus estimating the rotational position of the first joint motor. This method does not rely on direct measurement from the motor encoder, providing an independent method for estimating motor position.
[0026] Step S204: Calculate the rotation angle of the second joint relative to the first joint based on the robot's visual signals to obtain the second rotation position information of the first joint motor. The visual signals provide a way to observe joint position changes from the outside, further increasing the sources of motor position information and improving the accuracy and reliability of the position information.
[0027] Step S206: Obtain the measured motor rotation position information measured by the motor encoder of the first joint; this is a traditional motor position detection method, which directly obtains position information from the motor encoder.
[0028] Step S208 involves comparing the first rotational position information, the second rotational position information, and the measured motor rotational position information pairwise to diagnose the health status of the motor encoder of the first joint. By comparing the three different motor position information, it is possible to detect whether the motor encoder has malfunctioned, such as abnormal signal, exceeding the normal value range, or loss of signal. The aforementioned first rotational position information, second rotational position information, and measured motor rotational position information of the joint motor are all motor position information expressed in rotation angles.
[0029] Optionally, the first rotational position information is estimated based on measurement data from accelerometers and gyroscopes; the second rotational position information is calculated based on robot vision signals; and the measured motor rotational position information is directly obtained from the motor encoder. The first rotational position information is compared with the measured motor rotational position information, the second rotational position information is compared with the measured motor rotational position information, and the first rotational position information is compared with the second rotational position information. A reasonable threshold is set to determine whether the difference between the position information is within a normal range. If the difference between any two sets of position information exceeds the threshold, the health status of the motor encoder is considered abnormal. If the difference between all sets of position information is within the threshold range, the health status of the motor encoder is considered normal. By comparing the three different motor position information pairwise, the health status of the motor encoder can be diagnosed more accurately. This method not only considers the encoder's own measurements but also combines estimations based on sensor and vision signals, improving the accuracy and reliability of the diagnosis.
[0030] Step S210: If the health status of the motor encoder of the first joint is diagnosed as abnormal, the first rotational position information is used to perform safety buffer control on the first joint motor. The joint motor encoder is particularly important for robot joint control. In the prior art, the motor rotational position information can be observed by combining the motor current and voltage with the motor model. However, when the motor is at low speed or position control (zero speed), the motor rotational position information estimated by the motor current and voltage is inaccurate. The embodiments of this application use the estimated first rotational position information to perform fault-tolerant control of the humanoid robot joint, providing a safety buffer state when the humanoid robot joint fails. That is, when the motor encoder fails, it directly switches to the motor position information estimated based on acceleration and angular velocity information to maintain joint control. The dynamics of joint movement are reduced by adjusting joint control parameters (such as damping coefficient and elasticity coefficient) to maintain stable system operation.
[0031] In this embodiment, by comprehensively utilizing information from multiple sensors such as accelerometers, gyroscopes, and visual signals, the position of the joint motor is estimated and diagnosed. Even in the event of a motor encoder failure, reliable motor position information can be provided. By comparing multiple motor position information for diagnosis, the health status of the motor encoder can be more accurately determined. When the joint motor encoder fails, the system can quickly switch to a safety buffer control mode. By adjusting control parameters, the dynamics of the joint are reduced, the robot's balance is maintained, and safety hazards such as immediate tipping due to joint loss of control are avoided. This solves the safety control problem when the joint motor position encoder of a humanoid robot fails, achieving a significant improvement in the safety and reliability of the humanoid robot.
[0032] As an optional embodiment, the first joint motor is subjected to safety buffer control using the first rotational position information, including: obtaining the position and speed required for controlling the first joint motor based on the first rotational position information; controlling the first joint motor based on the position and speed, and reducing the control parameters of the first joint motor; wherein the control parameters include at least one of the following: elastic coefficient and damping coefficient.
[0033] Optionally, based on the first rotational position information, the position and speed required for controlling the first joint motor are calculated. The control parameters of the first joint motor (such as the elastic coefficient and damping coefficient) are reduced to decrease the dynamics of the joint movement and maintain stable system operation. The first joint motor is then controlled according to the calculated position and speed.
[0034] In the embodiments of this application, by adjusting control parameters (such as elastic coefficient and damping coefficient), the dynamics of joint movement are reduced, ensuring that the robot can enter a safe buffer state when the motor encoder fails, thus avoiding safety accidents caused by joint loss of control, such as the robot tipping over immediately.
[0035] As an optional embodiment, the rotation angle of the second joint relative to the first joint is estimated based on the acceleration and angular velocity information measured by the robot joints to obtain the first rotational position information of the first joint motor. This includes: calculating the pose information of the first joint and the pose information of the second joint based on the acceleration and angular velocity information measured by the robot joints; performing spatial angle comparison calculations based on the pose information of the first joint and the pose information of the second joint to obtain the pose change of the second joint relative to the first joint; estimating the rotation angle of the second joint relative to the first joint based on the pose change of the second joint relative to the first joint, and obtaining the first rotational position information of the first joint motor based on the rotation angle of the second joint relative to the first joint.
[0036] Optionally, using measurement data from accelerometers and gyroscopes, the pose information (including yaw, pitch, and roll angles) of the first and second joints is calculated through spatial coordinate transformation and Kalman filtering. By comparing the pose information of the first and second joints, the pose change of the second joint relative to the first joint (i.e., relative yaw, relative pitch, and relative roll angles) is calculated. By analyzing the relative pose change, the rotation angle of the second joint relative to the first joint is estimated. Based on this rotation angle, the first rotational position information can be obtained for subsequent control and diagnosis.
[0037] In the embodiments of this application, the pose information of the first joint and the second joint are calculated based on the acceleration and angular velocity information measured by the accelerometer and gyroscope, respectively, and spatial angle comparison calculation is performed, thereby enabling a more accurate estimation of the rotation angle of the second joint relative to the first joint.
[0038] As an optional embodiment, the above control method further includes: if the health status of the motor encoder of the first joint is diagnosed as normal, then the measured motor rotation position information is used to control the motor of the first joint.
[0039] Optionally, the first rotational position information, the second rotational position information, and the measured motor rotational position information are compared pairwise to diagnose the health status of the motor encoder of the first joint. If the diagnosis shows that the motor encoder is healthy, the measured motor rotational position information is used for control. If the diagnosis shows that the motor encoder is unhealthy, the system switches to a safety buffer control mode and uses the first rotational position information for control. If the diagnosis shows that the motor encoder of the first joint is healthy, the measured motor rotational position information is used to control the motor of the first joint. The measured motor rotational position information is used as control feedback to maintain a normal control flow. Joint control parameters (such as elasticity coefficient and damping coefficient) are kept within the normal range to ensure the dynamic performance of the joint.
[0040] In the embodiments of this application, when the motor encoder is in good health, the measured motor rotational position information continues to be used for control, ensuring that the dynamic performance and control accuracy of the joint are not affected. This helps maintain the robot's efficient and precise operation during normal operation. This embodiment allows for flexible adjustment of the control strategy in the face of different situations, maintaining high performance when the encoder is fault-free and switching to a safe buffer mode when the encoder fails, thus enhancing the system's flexibility and adaptability.
[0041] The following describes in detail the optional embodiments of this application using a humanoid robot as an example.
[0042] When a two-degree-of-freedom joint is applied, for example, to the elbow of a humanoid robot, the X-direction joint connects to the upper arm and the Y-direction joint connects to the forearm. Figure 3 This is a schematic diagram of X-direction joint motor control provided in an optional embodiment of this application, as shown below. Figure 3 As shown, the overall system employs typical joint force position control:
[0043] Torq ref =Torq ff +k p *(P des -P fbk )+k d *(ω des -ω fbk )
[0044] Among them, P des Indicates the angle and position command of the joint motor; P fbk This indicates the angle and position feedback of the joint motor; ω des This indicates the angular velocity command of the joint motor; ω fbk This indicates angular velocity feedback for the joint motor; Torq ff Indicates the feedforward torque of the joint motor; k p Represents the elastic coefficient; k d This represents the damping coefficient.
[0045] Unlike traditional control architectures, the control architecture in this optional embodiment incorporates joint motor rotation angle signal diagnosis and fault-tolerant control. This includes estimating the rotation angle of the Y-direction joint relative to the X-direction joint based on the acceleration and angular velocity information measured by the two joints, comparing this estimated angle with the X-direction joint's own angular position signal, and outputting an alarm if an anomaly is detected. Simultaneously, if the X-direction joint's own position information signal is lost, the estimated angle can be used as position information to keep the robot running. The same principle applies to the Y-joint, improving system reliability.
[0046] Using signals from accelerometers and gyroscopes, the pose information (yaw, pitch, and roll angles) of the sensor's installation location can be obtained through spatial coordinate transformation and Kalman filtering. Based on the pose information of the X-axis and Y-axis joints, the pose change of the Y-axis joint relative to the X-axis joint can be calculated (subtracted) through spatial angle comparison, thus yielding the rotation angle of the Y-axis joint relative to the X-axis joint.
[0047] Both the drive control boards for the X-axis and Y-axis joints are equipped with 3-axis accelerometers and gyroscopes. Signals measured by the accelerometers and gyroscopes are transmitted between the two joints via point-to-point communication. When a two-DOF joint is applied to the elbow and knee of a humanoid robot, the aforementioned data fusion and diagnostic calculations are performed in the X-axis joint. When a two-DOF joint is applied to the wrist and ankle of a humanoid robot, the aforementioned data fusion and diagnostic calculations are performed in the Y-axis joint.
[0048] The estimated rotation angle of the X-axis joint motor is compared with the angle measured by the encoder of the joint motor itself. At the same time, the motor angle position calculated by the robot's vision signal (based on the movement of the corresponding part) is also added to the diagnostic comparison. Figure 4 This is a schematic diagram of encoder diagnostics provided in an optional embodiment of this application, as shown below. Figure 4 As shown, the three signals are compared in pairs: the rotation angle of the Y-direction joint relative to the X-direction joint (i.e., the estimated motor rotation position information), the motor rotation position information measured by the X-direction joint motor encoder, and the motor rotation position information calculated based on the visual signal. This is used to diagnose whether the encoder signal of the X-direction joint motor itself is abnormal / out of normal range / lost.
[0049] Figure 5 A schematic diagram of the humanoid robot safety buffer control provided in an optional embodiment of this application is shown below. Figure 5 As shown, if the encoder signal of the X-direction joint motor is found to be abnormal, exceeds the normal range, or is lost, the estimated motor rotation position information is used for motor control (that is, the estimated motor rotation position information is used to provide position and speed feedback for joint control, and the humanoid robot enters a safe buffer state). At the same time, the damping coefficient and elasticity coefficient of the X-direction joint control are reduced to reduce dynamic performance and maintain the stable operation of the humanoid robot.
[0050] In an optional embodiment of this application, the rotational angle position of one of the joint motors is estimated based on the acceleration and angular velocity information measured at two orthogonal joints of the humanoid robot. This enables joint position signal diagnosis and fault-tolerant control, improving the reliability of the humanoid robot's joints and the entire robot. It also provides a safe buffer state for the humanoid robot when the joint motor encoder fails. This method can be applied to joints such as the elbow, wrist, hip, knee, and ankle of the humanoid robot, enhancing its operational safety.
[0051] According to another aspect of the embodiments of this application, a control system for a robot joint is provided. Figure 6 A schematic diagram of the control system for a robot joint provided in an embodiment of this application is shown below. Figure 6 As shown, the control system of the robot joint includes: a first position information acquisition module 602, a second position information acquisition module 604, a third position information acquisition module 606, a health status diagnosis module 608, and a first safety buffer control module 610. The control system of the robot joint will be described in detail below.
[0052] The first position information acquisition module 602 is used to estimate the rotation angle of the second joint relative to the first joint based on the acceleration and angular velocity information measured by the robot joint, and to obtain the first rotation position information of the first joint motor.
[0053] The second position information acquisition module 604 is used to calculate the rotation angle of the second joint relative to the first joint based on the robot's vision signal, and obtain the second rotation position information of the first joint motor.
[0054] The third position information acquisition module 606 is used to acquire the measured motor rotation position information measured by the motor encoder of the first joint;
[0055] The health status diagnosis module 608 is used to compare the first rotational position information, the second rotational position information and the measured motor rotational position information in pairs to diagnose the health status of the motor encoder of the first joint.
[0056] The first safety buffer control module 610 is used to perform safety buffer control on the first joint motor using the first rotational position information if the health status of the motor encoder of the first joint is diagnosed as abnormal.
[0057] In this embodiment, the control system comprehensively utilizes the orthogonal motion characteristics of a two-degree-of-freedom joint, as well as information from multiple sensors such as accelerometers, gyroscopes, and visual signals, to estimate and diagnose the joint motor position. Even in the event of a motor encoder failure, it can provide reliable motor position information. By comparing multiple motor position information for diagnosis, it can more accurately determine the health status of the motor encoder. When the joint motor encoder fails, it can quickly switch to a safety buffer control mode. By adjusting the control parameters, it reduces the dynamics of the joint, maintains the robot's balance, and avoids safety hazards such as tipping due to joint loss of control. Thus, it solves the safety control problem when the joint motor encoder of a humanoid robot fails, achieving a significant improvement in the safety and reliability of the humanoid robot.
[0058] It should be noted that the first location information acquisition module 602, the second location information acquisition module 604, the third location information acquisition module 606, the health status diagnosis module 608, and the first safety buffer control module 610 mentioned above correspond to steps S102 to S110 in the method embodiment. The examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in the above method embodiment.
[0059] As an optional embodiment, the first safety buffer control module 610 includes: an acquisition unit, used to acquire the position and speed required for controlling the first joint motor based on the first rotational position information; and a control unit, used to control the first joint motor based on the position and speed, and to reduce the control parameters of the first joint motor; wherein the control parameters include at least one of the following: elastic coefficient and damping coefficient.
[0060] As an optional embodiment, the first position information acquisition module 602 includes: a first calculation unit, used to calculate the pose information of the first joint and the pose information of the second joint based on the acceleration and angular velocity information measured by the robot joints; a second calculation unit, used to perform spatial angle comparison calculation based on the pose information of the first joint and the pose information of the second joint to obtain the pose change of the second joint relative to the first joint; and a third calculation unit, used to estimate the rotation angle of the second joint relative to the first joint based on the pose change of the second joint relative to the first joint, and obtain the first rotation position information of the first joint motor based on the rotation angle of the second joint relative to the first joint.
[0061] As an optional embodiment, the above control system further includes: a second safety buffer control module, used to control the motor of the first joint using the measured motor rotation position information if the health status of the motor encoder of the first joint is diagnosed as normal.
[0062] According to another aspect of the embodiments of this application, a humanoid robot is provided that employs the control system described above.
[0063] According to another aspect of the present application, an electronic device is provided, including: a processor, and a memory storing a program, the program including instructions that, when executed by the processor, cause the processor to perform the control method of the present application.
[0064] According to another aspect of the present application, a non-transitory machine-readable medium storing computer instructions is provided, the computer instructions being used to cause a computer to perform the control method of the present application.
[0065] This application also provides a computer program product, including a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform the control method of this application embodiment.
[0066] refer to Figure 7 The present invention describes a structural block diagram of an electronic device that can serve as a server or client in embodiments of this application, which is an example of a hardware device that can be applied to various aspects of this application. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the application described and / or claimed herein.
[0067] like Figure 7 As shown, the electronic device includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 702 or a computer program loaded into a random access memory (RAM) 703 from a storage unit 708. The RAM 703 may also store various programs and data required for the operation of the electronic device. The computing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0068] Multiple components in the electronic device are connected to I / O interface 705, including: input unit 706, output unit 707, storage unit 708, and communication unit 709. Input unit 706 can be any type of device capable of inputting information into the electronic device. Input unit 706 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of the electronic device. Output unit 707 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 708 may include, but is not limited to, disks and optical discs. Communication unit 709 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, and wireless communication transceivers, such as Bluetooth devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.
[0069] The computing unit 701 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, CPUs, graphics processing units (GPUs), various special-purpose artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any suitable processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of this application can be implemented as computer programs tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be delivered via ROM.
[0070] 702 and / or communication unit 709 are loaded and / or installed on the electronic device. In some embodiments, computing unit 701 may be configured to perform the methods described above by any other suitable means (e.g., by means of firmware).
[0071] Computer programs used to implement the methods of the embodiments of this application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0072] In the context of embodiments of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0073] It should be noted that the term "comprising" and its variations used in the embodiments of this application are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of this application are illustrative and not restrictive. Those skilled in the art should understand that, unless explicitly indicated otherwise in the context, they should be understood as "one or more".
[0074] The steps described in the method embodiments provided in this application can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of protection of this application is not limited in this respect.
[0075] The term "embodiment" in this specification refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily imply the same embodiment, nor does it imply independence from or alternative to other embodiments. The various embodiments in this specification are described in a related manner, with reference to each other for similar or identical parts. In particular, for apparatus, device, and system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, and relevant details are referred to in the description of the method embodiments.
[0076] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.
Claims
1. A method for controlling robot joints, characterized in that, The robot joint has two orthogonal rotational degrees of freedom. The robot joint includes a first joint and a second joint, and the first joint rotates to drive the second joint to rotate. The control method includes: Based on the acceleration and angular velocity information measured at the robot joints, the rotation angle of the second joint relative to the first joint is estimated, and the first rotation position information of the first joint motor is obtained. The rotation angle of the second joint relative to the first joint is calculated based on the robot's vision signals to obtain the second rotation position information of the first joint motor. Obtain the measured motor rotation position information measured by the motor encoder of the first joint; The first rotational position information, the second rotational position information, and the measured motor rotational position information are compared pairwise to diagnose the health status of the motor encoder of the first joint. If the health status of the motor encoder of the first joint is diagnosed as abnormal, the first rotational position information is used to perform safety buffer control on the motor of the first joint.
2. The control method according to claim 1, characterized in that, Using the first rotational position information to perform safety buffer control on the first joint motor includes: The position and speed required for controlling the first joint motor are obtained based on the first rotational position information; The first joint motor is controlled according to the position and the speed, and the control parameters of the first joint motor are reduced; wherein the control parameters include at least one of the following: elastic coefficient and damping coefficient.
3. The control method according to claim 1, characterized in that, Based on the acceleration and angular velocity information measured at the robot joints, the rotation angle of the second joint relative to the first joint is estimated, and the first rotational position information of the first joint motor is obtained, including: The pose information of the first joint and the pose information of the second joint are calculated based on the acceleration and angular velocity information measured at the robot joints. Based on the pose information of the first joint and the pose information of the second joint, a spatial angle comparison calculation is performed to obtain the pose change of the second joint relative to the first joint. The rotation angle of the second joint relative to the first joint is estimated based on the pose change of the second joint relative to the first joint, and the first rotation position information of the first joint motor is obtained based on the rotation angle of the second joint relative to the first joint.
4. The control method according to any one of claims 1 to 3, characterized in that, The control method further includes: If the health status of the motor encoder of the first joint is diagnosed as normal, the measured motor rotation position information is used to control the motor of the first joint.
5. A control system for a robot joint, characterized in that, The robot joint has two orthogonal rotational degrees of freedom. The robot joint includes a first joint and a second joint, and the first joint rotates to drive the second joint to rotate. The control system includes: The first position information acquisition module is used to estimate the rotation angle of the second joint relative to the first joint based on the acceleration and angular velocity information measured by the robot joint, and to obtain the first rotation position information of the first joint motor. The second position information acquisition module is used to calculate the rotation angle of the second joint relative to the first joint based on the robot's vision signal, and obtain the second rotation position information of the first joint motor. The third position information acquisition module is used to acquire the measured motor rotation position information measured by the motor encoder of the first joint; The health status diagnosis module is used to compare the first rotational position information, the second rotational position information, and the measured motor rotational position information in pairs to diagnose the health status of the motor encoder of the first joint. The first safety buffer control module is used to perform safety buffer control on the motor of the first joint using the first rotational position information if the health status of the motor encoder of the first joint is diagnosed as abnormal.
6. A humanoid robot, characterized in that, The humanoid robot employs the control system described in claim 5.
7. An electronic device, comprising: A processor and a memory storing a program, characterized in that the program includes instructions that, when executed by the processor, cause the processor to perform the control method according to any one of claims 1 to 4.
8. A non-transitory machine-readable medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the control method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Reconfigurable mechanical arm system joint module operation state health detection method
CN108608426A
Improved PSO and SVM based encoder fault diagnosis system and method
CN108828944A
