Robot joint safety control method and system and electronic equipment

By comparing the motor parameter values ​​monitored by the humanoid robot's sensors and activating the joint safety control mechanism, the safety problem of the humanoid robot during the interaction process is solved, safe stop under abnormal conditions is achieved, and the safety of the robot operation is improved.

CN118559699APending Publication Date: 2024-08-30UBTECH ROBOTICS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410615048.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Humanoid robots have unpredictable situations such as failures and falls during interaction with humans, leading to safety issues and possible personal injury.

Method used

By obtaining the motor parameter value monitored by the sensor and comparing it with the preset target parameter value, if the deviation exceeds the preset value, the joint safety control mechanism is activated, and the joint safety control of the robot is carried out according to the preset safety strategy, including adjusting the motor driver. Output current or rotational speed to ensure that the robot stops in abnormal conditions.

Benefits of technology

It improves the safety of humanoid robot operation, reduces the risk caused by failure, and ensures that the robot can stop its movements in time under abnormal circumstances to protect human safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118559699A
    Figure CN118559699A
Patent Text Reader

Abstract

The invention provides a joint safety control method and system of a robot and electronic equipment. The method comprises the steps that motor parameter values monitored by a sensor are obtained; the motor parameter value is compared with a target parameter value configured in an instruction issued by a mainboard, and if a real-time deviation value between the motor parameter value and the target parameter value exceeds a preset deviation value, it is judged that the robot is in an abnormal state; and under the condition that the robot is in the abnormal state, a robot joint safety control mechanism is started, and joint safety control is conducted on the robot according to a preset safety strategy. Based on the method, the running safety of the humanoid robot can be improved through a robot joint safety control mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a robot joint safety control method, system, and electronic equipment. Background Art

[0002] Humanoid robots integrate advanced technologies such as artificial intelligence, high-end manufacturing, and new materials. Their emergence has greatly facilitated human production and lifestyles. Current humanoid robots primarily address functional issues, enabling walking, balancing, and manipulating tasks. However, due to their large size, humanoid robots can easily cause unpredictable harm to humans if they fail or fall during interaction with them. Furthermore, if humanoid robots were introduced into consumer homes or commercial environments, various abnormal and unpredictable situations could arise during interactions between the robots and humans. These could include a robot falling while walking, shutting down due to power outages, or colliding or squeezing with humans during movement. These situations all pose a risk of personal injury, posing a pressing challenge. Therefore, the safety of humanoid robots is an issue that needs to be addressed urgently. Summary of the Invention

[0003] The embodiments of the present application provide a robot joint safety control method, system, and electronic equipment, which can improve the safety of humanoid robot operation.

[0004] A first aspect of an embodiment of the present application provides a robot joint safety control method, comprising: obtaining a motor parameter value monitored by a sensor; comparing the motor parameter value with a given parameter value configured in an instruction issued by a mainboard, and if the real-time deviation between the motor parameter value and the target parameter value exceeds a preset deviation value, determining that the robot is in an abnormal state; when the robot is in an abnormal state, starting a robot joint safety control mechanism, and performing joint safety control on the robot according to a preset safety strategy.

[0005] In one possible implementation, the motor parameter value includes a first torque parameter value and / or a first speed parameter value. When the robot is in an abnormal state, the robot joint safety control mechanism is started, and the step of performing joint safety control on the robot according to a preset safety strategy includes: if the robot is determined to be in an abnormal state based on the first torque parameter value, the robot is subjected to joint safety control according to a preset torque safety strategy; and / or if the robot is determined to be in an abnormal state based on the first speed parameter value, the robot is subjected to joint safety control according to a preset speed safety strategy.

[0006] In one possible implementation, the step of performing joint safety control on the robot according to a preset torque safety strategy includes: adjusting the output current value of the motor driver to obtain the second torque parameter value monitored by the current force sensor; judging whether the first deviation value between the second torque parameter value and the given torque parameter value configured in the instruction issued by the mainboard exceeds the first preset deviation value; if the first deviation value does not exceed the first preset deviation value, exiting the robot joint safety control mechanism.

[0007] In one possible implementation, after the step of determining whether the first deviation value between the second torque parameter value and the given torque parameter value configured in the instruction issued by the mainboard exceeds the first preset deviation value, it includes: if the first deviation value exceeds the first preset deviation value, monitoring whether the duration for which the first deviation value exceeds the first preset deviation value reaches a first preset duration value; if it reaches the first preset duration value, stopping the movement of the corresponding joint structure of the robot.

[0008] In one possible implementation, the step of performing joint safety control on the robot according to a preset speed safety strategy includes: adjusting the output speed value of the motor driver to obtain a second speed parameter value monitored by the current position sensor; determining whether a second deviation value between the second speed parameter value and a given speed parameter value configured in the instruction issued by the mainboard exceeds a second preset deviation value; if the second deviation value does not exceed the second preset deviation value, exiting the robot joint safety control mechanism.

[0009] In one possible implementation, after the step of determining whether the second deviation value between the second speed parameter value and the given speed parameter value configured in the instruction issued by the mainboard exceeds the second preset deviation value, it includes: if the second deviation value exceeds the second preset deviation value, monitoring whether the duration for which the second deviation value exceeds the second preset deviation value reaches a second preset duration value; if it reaches the second preset duration value, stopping the movement of the corresponding joint structure of the robot.

[0010] A second aspect of an embodiment of the present application provides a robot joint safety control system, which is used to execute the robot joint safety control method as described in the first aspect. The joint safety control system includes a power management module, a safety controller, a motor driver, a motor, a reducer, a brake, a force sensor, and a first position sensor, wherein: the power management module is connected to the safety controller for supplying power to the safety controller; the safety controller is connected to the motor driver for monitoring and controlling the motor driver; the motor driver is connected to the input end of the motor for providing electrical energy to the motor to drive the motor to operate; the output end of the motor is connected to the input end of the reducer, and the output end of the reducer is connected to the joint structure of the robot; the motor is used to control the movement of the joint structure, and the reducer is used to match the speed and transmit torque between the motor and the joint structure; the brake is connected to the joint structure controlled by the motor for performing the braking action of the motor; the force sensor is arranged between the reducer and the joint structure for determining the torque parameter value output by the motor; and the first position sensor is used to obtain the real-time position of the motor to determine the speed parameter value output by the motor based on the real-time position of the motor.

[0011] In a possible implementation, the safety controller is a dual-core digital processor, including a first digital processor and a second digital processor, wherein: the first digital processor is used to control the motor driver, and the second digital processor is used to monitor the motor driver.

[0012] In a possible implementation, the robot joint safety control system further includes a second position sensor, and the second position sensor is used to obtain the end position of the reducer.

[0013] The third aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the electronic device, wherein when the processor executes the computer program, each step of the robot joint safety control method provided in the first aspect is implemented.

[0014] 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 robot joint safety control method provided in the first aspect are implemented.

[0015] The embodiments of the present application provide a robot joint safety control method, system, and electronic device, which have the following beneficial effects:

[0016] This application obtains motor parameter values ​​detected by sensors; compares these motor parameter values ​​with target parameter values ​​configured in instructions issued by the mainboard; and if the real-time deviation between the motor parameter values ​​and the target parameter values ​​exceeds a preset deviation value, the robot is determined to be in an abnormal state; if the robot is in an abnormal state, the robot joint safety control mechanism is activated and the robot joint safety control is performed according to a preset safety policy. Based on the above method, the robot joint safety control mechanism can improve the safety of humanoid robot operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. 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 any creative work.

[0018] Figure 1 A schematic structural diagram of a robot joint safety control system provided in an embodiment of the present application;

[0019] Figure 2 A flowchart of a robot joint safety control method according to an embodiment of the present application;

[0020] Figure 3 A flowchart for implementing joint safety control of a robot according to a torque safety strategy in a joint safety control method of a robot provided in an embodiment of the present application;

[0021] Figure 4 A flowchart for implementing joint safety control of a robot according to a speed safety strategy in a joint safety control method of a robot provided in an embodiment of the present application;

[0022] Figure 5 A topological diagram of a motor drive circuit in a robot joint safety control method provided in an embodiment of the present application;

[0023] Figure 6 This is a basic structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0025] See also Figure 1 , Figure 1This is a schematic diagram of the structure of a robot joint safety control system provided in an embodiment of the present application. In this embodiment, the joint safety control system is a key actuator of the humanoid robot, and is equipped with a safety protection strategy and control method to ensure the reliable operation of the humanoid robot. It can enhance the system performance of personal safety in a human-machine interaction environment, and in a variety of defect and failure environments, the servo joint can maintain its overall function, while allowing some performance to decline, thereby improving the safety and reliability of the robot's operation. Figure 1As shown, the joint safety control system may specifically include components such as a power management module, a safety controller, a motor driver, a motor, a reducer, a brake, a force sensor, and a first position sensor, wherein: the power management module is connected to the safety controller for supplying power to the safety controller. In this embodiment, the humanoid robot power supply system is a DC power input, and the power management module adopts a PMU (power management unit) power management unit, which implements the power distribution, timing control, and power consumption management functions of the joint safety control system through the PMU power management unit. The safety controller is connected to the motor driver for monitoring and controlling the motor driver. In this embodiment, the safety controller is specifically a digital processor, which controls the motor driver through the digital processor to control the movement of the motor. The motor driver is connected to the input terminal of the motor for providing electrical energy to the motor to drive the motor to operate. In this embodiment, the motor driver is mainly responsible for providing sufficient electrical energy (such as voltage and current) to the motor to obtain appropriate speed and torque, and can control the rotation direction of the motor and the speed of the motor. It is understood that a current sensor may be provided between the motor driver and the input of the motor to detect the electrical energy provided by the motor driver to the motor. This sensor can also be used to estimate torque in the event that the force sensor fails and cannot detect torque. The output of the motor is connected to the input of the reducer, and the output of the reducer is connected to the joint structure of the robot. The motor is used to control the movement of the joint structure, and the reducer is used to match the rotational speed and transmit torque between the motor and the joint structure. In this embodiment, the reducer can be a planetary reducer or a harmonic reducer. The brake is connected to the joint structure controlled by the motor to brake the motor. In this embodiment, the brake can be an electromagnetic brake controlled by a safety controller. During robot operation, the brake can be closed when necessary to brake the motor, allowing the motor to stop in an emergency, ensuring the safety of the robot system. The force sensor is provided between the reducer and the joint structure to determine the torque parameter value output by the motor. In this embodiment, the force sensor is connected to the digital-to-analog conversion interface of the safety controller to measure the force applied to the end joint structure to determine the torque parameter value output by the motor. The force sensor can be a strain gauge force sensor. The first position sensor is used to obtain the real-time position of the motor to determine the speed parameter value output by the motor based on the real-time position of the motor. In this embodiment, the first position sensor is disposed at the motor output terminal to detect the real-time position of the motor. Accurate real-time position control of the motor is achieved through precise motor control, thereby obtaining an accurate speed parameter value.It can be understood that, in this embodiment, the joint safety control system has an emergency stop function, which is used to realize the shutdown operation of the joint safety control system in an emergency by connecting the stop switch signal to the digital processor unit.

[0026] In some embodiments of the present application, the safety controller specifically uses a dual-core digital processor, comprising two digital processor systems, namely, a first digital processor and a second digital processor, each running a set of code. In this embodiment, both digital processors can control the motor driver, thereby controlling the movement of the motor. It is understandable that in this embodiment, the first digital processor is primarily responsible for control, and the second digital processor is primarily responsible for monitoring. If the first digital processor responsible for control encounters an error during operation, the second digital processor responsible for monitoring can promptly detect and alarm, thereby enabling timely correction of the error. If the first digital processor suffers a serious malfunction and can no longer perform control tasks, the second digital processor can take over the control tasks and replace the first digital processor to continue to ensure the normal operation of the robot.

[0027] In some embodiments of the present application, the joint safety control system can also provide a second position sensor on the output end side of the reducer, and obtain the end position of the reducer through the second position sensor. Under normal circumstances, the reduction ratio of the reducer is a fixed value. In theory, the end position of the reducer can be estimated by the current real-time position of the motor. However, due to the design and processing reasons of the reducer itself, the reducer has a virtual position, and the end position is difficult to be accurately calculated through the real-time position of the motor. By providing a second position sensor, the end position of the reducer can be accurately measured. Moreover, in the event that the position sensor at the motor end is abnormal, the position sensor at the reducer end can be used to control the robot's movements.

[0028] In a specific embodiment of the present application, each digital processor may include a power supply, a communication module, a brake control module, a torque detection module, a position resolution module, a drive logic control module, and a current detection module. The power supply is connected to the power management module. Specifically, the power management module is configured with two independent power supply systems, namely, power module 1 and power module 2. Power module 1 is connected to the power supply in the first digital processor and supplies the generated power to the first digital processor. Power module 2 is connected to the power supply in the second digital processor and supplies the generated power to the second digital processor. Bus communication is performed between the first and second digital processors via the communication module. The brake control module is connected to the brake and is used to control the brake to perform the braking action of the motor. The torque detection module is connected to the force sensor and is used to obtain the torque parameter value output by the motor from the force sensor. The position resolution module is connected to the position sensor and is used to obtain the real-time position of the motor and / or the end position of the reducer from the position sensor, thereby obtaining the speed parameter value output by the motor based on the position. The drive logic control module is connected to the drive unit in the motor driver and is used to control the motor driver. The current detection module is connected to the current sensor and is used to obtain the current at the motor input end from the current sensor, so as to estimate the torque at the motor output end based on the current.

[0029] See also Figure 2 , Figure 2 This is a flow chart of a robot joint safety control method provided in an embodiment of the present application. The robot joint safety control method is mainly used in the joint safety control system of the above-mentioned robot. Figure 2 As shown, the method may specifically include the following steps S21 to S23.

[0030] S21: Obtain the motor parameter value monitored by the sensor;

[0031] S22: comparing the motor parameter value with the target parameter value configured in the instruction issued by the mainboard; if the real-time deviation between the motor parameter value and the target parameter value exceeds a preset deviation value, determining that the robot is in an abnormal state;

[0032] S23: When the robot is in an abnormal state, the robot joint safety control mechanism is activated to perform joint safety control on the robot according to a preset safety strategy.

[0033] In this embodiment, the sensor is specifically any one or more of the force sensor, position sensor, and current sensor configured in the joint safety control system. The joint safety control system communicates with the external robot control mainboard via CAN communication or EtherCAT. CAN (Controller Area Network bus, full name in English: Controller Area Network) is a serial communication protocol bus for real-time applications. EtherCAT is an open architecture, Ethernet-based fieldbus system, and CAT (full name in English: Control Automation Technology) is control automation technology. The joint safety control system receives torque instructions, position instructions, speed instructions, and other instructions for controlling the joint structure of the robot from the robot control mainboard via CAN communication or EtherCAT communication. The instructions will carry given parameter values ​​for controlling the motor. In this embodiment, after the robot is started, the robot control mainboard will send relevant instructions for controlling the joint structure of the robot to the joint safety control system via CAN communication or EtherCAT communication. After the joint safety control system receives the instructions through the safety controller, the safety controller converts the given parameter values ​​carried in the instructions into the current output of the motor driver to the motor to control the operation of the motor. After the motor is running, the safety controller in the joint safety control system will obtain the motor parameter values ​​monitored by the various sensors configured in the system and compare the monitored motor parameter values ​​with the given parameter values ​​to determine whether the robot is in an abnormal state. Specifically, it can calculate the real-time deviation between the motor parameter value and the given parameter value to determine whether the deviation value exceeds the preset deviation value. If it exceeds, it can be determined that the robot is in an abnormal state. If the robot is in an abnormal state, the joint safety control system can activate the robot joint safety control mechanism and perform joint safety control of the robot according to the preset safety strategy.

[0034] From the above, it can be seen that the robot joint safety control method provided in the embodiment of the present application obtains the motor parameter value monitored by the sensor; compares the motor parameter value with the target parameter value configured in the instruction issued by the mainboard, and if the real-time deviation value between the motor parameter value and the target parameter value exceeds the preset deviation value, the robot is determined to be in an abnormal state; when the robot is in an abnormal state, the robot joint safety control mechanism is started, and the robot joint safety control is performed on the robot according to the preset safety strategy. The robot joint safety control mechanism can be used to improve the safety of the operation of the humanoid robot, and when an abnormality occurs in the component of the joint safety control system, it can ensure that the motor driver does not fail, thereby minimizing the risk of robot failure.

[0035] In a specific embodiment, the motor parameter values ​​include torque parameter values ​​and speed parameter values. For these two parameter values, the joint safety control system is respectively configured with corresponding torque safety strategies and speed safety strategies. If the joint safety control system obtains a first torque parameter value based on the force sensor when the robot control mainboard issues a torque instruction, and determines that the robot is in an abnormal state based on the first torque parameter value, the robot is subjected to joint safety control according to the preset torque safety strategy. If the joint safety control system obtains a first speed parameter value based on the position sensor when the robot control mainboard issues a speed instruction, and determines that the robot is in an abnormal state based on the first speed parameter value, the robot is subjected to joint safety control according to the preset speed safety strategy.

[0036] In some embodiments of this application, please refer to Figure 3 , Figure 3 This is a flowchart of implementing joint safety control of a robot according to a torque safety strategy in a joint safety control method of a robot provided in an embodiment of the present application. Figure 3 As shown, the method may specifically include the following steps S31 to S32.

[0037] S31: Adjust the output current value of the motor driver to obtain the second torque parameter value currently monitored by the force sensor;

[0038] S32: Determine whether the first deviation value between the second torque parameter value and the given torque parameter value configured in the instruction issued by the mainboard exceeds the first preset deviation value. If the first deviation value does not exceed the first preset deviation value, exit the robot joint safety control mechanism.

[0039] In this embodiment, in response to the situation where the robot is judged to be in an abnormal state by the torque parameter value, the first strategy in the torque safety strategy configured by the joint safety control system is to reduce the output torque by reducing the output current of the motor driver, and then after reducing the output torque, observe the current actual torque of the motor to determine whether the torque deviation can be restored to a reasonable range. If it can be restored, it means that the robot has returned to a normal working state. At this time, the joint safety control system can exit the robot joint safety control mechanism. Specifically, the joint safety control system can send an adjustment instruction to the motor driver through the drive logic control module in the safety controller, so that the motor driver calculates the adjusted output current value according to a pre-set adjustment step size, and outputs it to the motor according to the adjusted output current value, so that the motor runs according to the adjusted output current value. After the motor runs according to the adjusted output current value, the joint safety control system once again obtains the second torque parameter value monitored by the current force sensor. Furthermore, determine whether the first deviation value between the second torque parameter value and the given torque parameter value configured in the torque instruction issued by the mainboard exceeds the first preset deviation value. If the first deviation value does not exceed the first preset deviation value, it means that the torque deviation has been restored to a reasonable range, that is, the fault that violates the safety goal has been eliminated, and the robot has returned to normal working state. At this time, the robot joint safety control mechanism can be exited.

[0040] In some embodiments of the present application, if it is determined that the first deviation value still exceeds the first preset deviation value, the joint safety control system can perform joint safety control on the robot according to the second strategy in the torque safety strategy. Specifically, it can be determined by monitoring whether the duration for which the first deviation value exceeds the first preset deviation value reaches the first preset duration value. If the first preset duration value is reached, it can be determined that the robot has failed. At this time, the joint safety control system can ensure the safety of the robot operation by stopping the action of the corresponding joint structure of the robot. It should be noted that stopping the action of the corresponding joint structure of the robot can include first stopping the action of the joint structure controlled by the current motor. If the robot still has a fault after stopping the action of the joint structure controlled by the current motor, the action of all joint structures of the robot is stopped.

[0041] In some embodiments of this application, please refer to Figure 4 , Figure 4 This is a flow chart for implementing joint safety control of a robot according to a speed safety strategy in a joint safety control method of a robot provided in an embodiment of the present application. Figure 4 As shown, it may specifically include the following steps S41 to S42.

[0042] S41: Adjust the output speed value of the motor driver and obtain the second speed parameter value monitored by the current position sensor;

[0043] S42: Determine whether the second deviation value between the second speed parameter value and the given speed parameter value configured in the instruction issued by the mainboard exceeds the second preset deviation value. If the second deviation value does not exceed the second preset deviation value, exit the robot joint safety control mechanism.

[0044] In this embodiment, in the case where the robot is judged to be in an abnormal state by the speed parameter value, the first speed safety strategy configured by the joint safety control system is to reduce the speed by actively short-circuiting part of the motor drive circuit, and then observe the current actual speed of the motor after reducing the speed to determine whether the speed deviation can be restored to a reasonable range. If it can be restored, it means that the robot has returned to a normal working state. At this time, the joint safety control system can exit the robot joint safety control mechanism. For details, please refer to Figure 5 , Figure 5 This is a topological diagram of the motor drive circuit in the robot joint safety control method provided in the embodiment of the present application. Figure 5 As shown, the motor drive circuit is a three-phase inverter circuit. Q1, Q2, Q3, Q4, Q5, and Q6 are triodes, specifically N-channel enhancement type field effect transistors; and D1, D2, D3, D4, D5, and D6 are diodes. The joint safety control system can issue adjustment instructions to the motor driver through the drive logic control module in the safety controller, causing the motor driver to simultaneously short-circuit Q1, Q2, and Q3, or simultaneously short-circuit Q4, Q5, and Q6. This adjusts the output speed of the motor driver to achieve the purpose of speed reduction. After speed reduction, the joint safety control system once again obtains the position data monitored by the current position sensor and derives a corresponding second speed parameter value based on the position data. Furthermore, it determines whether a second deviation between this second speed parameter value and the given speed parameter value configured in the speed command issued by the mainboard exceeds a second preset deviation value. If the second deviation value does not exceed the second preset deviation value, it indicates that the speed deviation has returned to a reasonable range. This indicates that the fault that violated the safety goal has been eliminated and the robot has returned to normal operation. At this point, the robot joint safety control mechanism can be exited.

[0045] In some embodiments of the present application, if, after judgment, the second deviation value still exceeds the second preset deviation value, the joint safety control system can perform joint safety control on the robot according to the second strategy in the speed safety strategy. Specifically, it can be determined by monitoring whether the duration for which the second deviation value exceeds the second preset deviation value reaches the second preset duration value. If the second preset duration value is reached, it can be determined that the robot has failed. At this time, the joint safety control system can ensure the safety of the robot operation by stopping the action of the corresponding joint structure of the robot. It should be noted that stopping the action of the corresponding joint structure of the robot can include first stopping the action of the joint structure controlled by the current motor. If the robot still has a fault after stopping the action of the joint structure controlled by the current motor, the action of all joint structures of the robot is stopped.

[0046] It can 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 this application.

[0047] In some embodiments of this application, please refer to Figure 6 , Figure 6 This is a basic structural block diagram of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 6 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61, such as a program for a robot joint safety control method. When the processor 61 executes the computer program 63, the steps of each embodiment of the robot joint safety control method described above are implemented. Alternatively, when the processor 61 executes the computer program 63, the functions of each module in the corresponding embodiment of the robot joint safety control system described above are implemented. Please refer to the relevant description in the embodiments for details, which will not be repeated here.

[0048] Exemplarily, the computer program 63 may be divided into one or more modules (units), which are stored in the memory 62 and executed by the processor 61 to implement the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 63 in the electronic device 6.

[0049] The electronic device may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will understand that Figure 6It is only an example of the electronic device 6 and does not constitute a limitation of the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0050] The processor 61 may be a central processing unit (CPU), or 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 any conventional processor.

[0051] The memory 62 can be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 62 can also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. Furthermore, the memory 62 can also include both an internal storage unit of the electronic device 6 and an external storage device. The memory 62 is used to store the computer program and other programs and data required by the electronic device. The memory 62 can also be used to temporarily store data that has been output or is about to be output.

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

[0053] The present application also provides a computer-readable storage medium that stores a computer program. When the computer program is executed by a processor, the computer-readable storage medium can implement the steps of the above-mentioned method embodiments. In this embodiment, the computer-readable storage medium can be non-volatile or volatile.

[0054] An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal, the mobile terminal can implement the steps of the above-mentioned various method embodiments when executing the computer program product.

[0055] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and 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 units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0056] If the integrated module / unit is implemented in the form of a software functional unit 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 process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. 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 include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

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

[0058] The above-described embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. A robot joint safety control method, characterized in that: include: Get the motor parameter values ​​monitored by the sensor; Compare the motor parameter value with the given parameter value configured in the instruction issued by the mainboard, and if the real-time deviation value between the motor parameter value and the target parameter value exceeds the preset deviation value, it is determined that the robot is in an abnormal state; When the robot is in an abnormal state, the robot joint safety control mechanism is started to perform joint safety control on the robot according to a preset safety strategy.

2. The robot joint safety control method according to claim 1, characterized in that: The motor parameter value includes a first torque parameter value and / or a first speed parameter value. When the robot is in an abnormal state, the robot joint safety control mechanism is started, and the step of performing joint safety control on the robot according to a preset safety strategy includes: If it is determined based on the first torque parameter value that the robot is in an abnormal state, performing joint safety control on the robot according to a preset torque safety strategy; and / or If the robot is determined to be in an abnormal state based on the first speed parameter value, joint safety control of the robot is performed according to a preset speed safety strategy.

3. The robot joint safety control method according to claim 2, characterized in that: The step of performing joint safety control on the robot according to a preset torque safety strategy comprises: Adjust the output current value of the motor driver to obtain the second torque parameter value currently monitored by the force sensor; Determine whether the first deviation value between the second torque parameter value and the given torque parameter value configured in the instruction issued by the mainboard exceeds the first preset deviation value; if the first deviation value does not exceed the first preset deviation value, exit the robot joint safety control mechanism.

4. The robot joint safety control method according to claim 3, characterized in that: After the step of determining whether a first deviation value between the second torque parameter value and a given torque parameter value configured in the instruction sent by the mainboard exceeds a first preset deviation value, the method further comprises: If the first deviation value exceeds the first preset deviation value, monitor whether the duration for which the first deviation value exceeds the first preset deviation value reaches the first preset duration value; if it reaches the first preset duration value, stop the action of the corresponding joint structure of the robot.

5. The robot joint safety control method according to claim 2, characterized in that: The step of performing joint safety control on the robot according to a preset speed safety strategy comprises: Adjust the output speed value of the motor driver to obtain the second speed parameter value monitored by the current position sensor; Determine whether the second deviation value between the second speed parameter value and the given speed parameter value configured in the instruction issued by the mainboard exceeds the second preset deviation value; if the second deviation value does not exceed the second preset deviation value, exit the robot joint safety control mechanism.

6. The robot joint safety control method according to claim 5, characterized in that: After the step of determining whether a second deviation value between the second speed parameter value and a given speed parameter value configured in the instruction sent by the mainboard exceeds a second preset deviation value, the method further comprises: If the second deviation value exceeds the second preset deviation value, monitor whether the duration for which the second deviation value exceeds the second preset deviation value reaches a second preset duration value; if it reaches the second preset duration value, stop the action of the corresponding joint structure of the robot.

7. A robot joint safety control system, characterized in that: Used to execute the method as described in any one of claims 1 to 6, the joint safety control system includes a power management module, a safety controller, a motor driver, a motor, a reducer, a brake, a force sensor and a first position sensor, wherein: the power management module is connected to the safety controller for supplying power to the safety controller; the safety controller is connected to the motor driver for monitoring and controlling the motor driver; the motor driver is connected to the input end of the motor for providing electrical energy to the motor to drive the motor to operate; the output end of the motor is connected to the input end of the reducer, and the output end of the reducer is connected to the joint structure of the robot, the motor is used to control the movement of the joint structure, and the reducer is used to match the speed and transmit torque between the motor and the joint structure; the brake is connected to the joint structure controlled by the motor for performing the braking action of the motor; the force sensor is arranged between the reducer and the joint structure for determining the torque parameter value output by the motor; the first position sensor is used to obtain the real-time position of the motor to determine the speed parameter value output by the motor based on the real-time position of the motor.

8. The robot joint safety control system according to claim 7, characterized in that: The safety controller is a dual-core digital processor, including a first digital processor and a second digital processor, wherein: the first digital processor is used to control the motor driver, and the second digital processor is used to monitor the motor driver.

9. The robot joint safety control system according to claim 7, characterized in that: The robot joint safety control system further includes a second position sensor, and the second position sensor is used to obtain the end position of the reducer.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Safety system, joint assembly and robot

    CN113696229A

  • Safety control method and system of motor

    CN114448318A

  • Quadruped robot motion protection method and system

    CN115816470A