Robot and torque control method, system and equipment applied to robot joint motor

By obtaining and maintaining the torque parameter values ​​of the robot joint motor in real time, combining the torque threshold and target time, the problems of high parts vulnerability and inadequate assembly during industrial robot assembly are solved, and accurate assembly results are achieved.

CN118893630AActive Publication Date: 2024-11-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411202813.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-11-05
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

During the assembly process of industrial robots, the prior art is difficult to effectively reduce the vulnerability rate of assembled parts, resulting in the problem of inadequate assembly.

Method used

By obtaining the torque parameter value of the robot joint motor in real time, and maintaining torque according to the set torque threshold and target time to ensure accurate assembly. If the timing reaches the target time or the torque fluctuates, adjust the operating instructions to avoid damage.

Benefits of technology

It effectively reduces the vulnerability rate of assembled parts, improves assembly accuracy, reduces the situation of inadequate assembly, and ensures high-precision assembly of target objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118893630A_ABST
    Figure CN118893630A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a robot and a torque control method, system and equipment applied to a robot joint motor, and belongs to the field of robots. The torque control method comprises the steps that in the process that a robot operates a target object to execute a first instruction, a first parameter value used for representing the torque of a joint motor is obtained in real time; under the condition that the first parameter value reaches the torque threshold value, the torque of the joint motor is maintained according to the torque threshold value, timing is conducted, and therefore operation of the robot on the target object is maintained; if the timing reaches the target time, triggering the robot to execute a second instruction different from the first instruction; if the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset, and the robot is controlled to continue to execute the first instruction. By adopting the embodiment of the invention, the technical problem that the target object is not assembled in place by the robot can be at least solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robots, and in particular, to a robot and a torque control method, system and device applied to a robot joint motor. Background Art

[0002] In the field of industrial robots, the torque control system usually refers to the torque control system used for high-precision assembly of industrial robots.

[0003] At present, industrial robots are widely used in various production fields, especially in high-precision assembly scenarios, where their applications and demand are gradually emerging. The assembly of parts is achieved through the position control of the robot, which can reduce the demand for manual labor in some areas. However, some industrial scenarios require robots to reduce the fragility of the assembled parts in the case of high-precision assembly. In order to reduce the fragility of the assembled parts, some existing technologies often cause the problem of inadequate assembly. Summary of the invention

[0004] The embodiments of the present application provide a robot and a torque control method, system and device applied to the joint motor of the robot, so as to at least solve the technical problem that the robot cannot assemble the target object properly.

[0005] According to a first aspect of an embodiment of the present application, there is provided a torque control method applied to a robot joint motor, comprising:

[0006] In the process of the robot operating the target object to execute the first instruction, a first parameter value representing the torque of the joint motor is acquired in real time;

[0007] When the first parameter value reaches a torque threshold, maintaining the torque of the joint motor and timing according to the torque threshold, so as to maintain the operation of the robot on the target object;

[0008] If the timing reaches the target time, the robot is triggered to execute a second instruction different from the first instruction, and / or,

[0009] If the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue executing the first instruction.

[0010] By adopting this embodiment, the torque threshold and the target time are combined to reduce the wear rate of the assembled parts and reduce or avoid the situation of inadequate assembly, thereby ensuring the accurate assembly of the target object.

[0011] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the real-time acquisition of a first parameter value for representing the torque of the joint motor includes:

[0012] Acquire the current value of the joint motor in real time, and use the current value as the first parameter value; or,

[0013] Acquire the current value of the joint motor in real time;

[0014] The torque value of the joint motor is calculated according to the current value, and the torque value of the joint motor is used as the first parameter value.

[0015] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the torque threshold and the target time are associated with the strength of the target object;

[0016] The higher the strength of the target object, the greater the torque threshold and / or the longer the target time.

[0017] In combination with the first aspect, in an optional implementation of the embodiment of the present application, the first parameter value reaches the torque threshold, including:

[0018] The first parameter value is equal to the torque threshold and lasts for a set time;

[0019] Wherein, the set time is less than the target time, or,

[0020] The set time is N interrupt cycles, where N is a positive integer not exceeding 5.

[0021] In combination with the first aspect, in an optional implementation of the embodiment of the present application, maintaining the torque of the joint motor according to the torque threshold includes:

[0022] The torque of the joint motor is maintained within the rated fluctuation range based on the torque threshold.

[0023] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:

[0024] Before the robot operates the target object to execute the first instruction, obtaining an assembly requirement input by a user, wherein the assembly requirement includes an attribute value of the target object, or includes the torque threshold and the target time;

[0025] In the case where the assembly requirement is the attribute value of the target object, the torque threshold and the target time are determined by querying pre-stored information according to the attribute value of the target object, wherein the pre-stored information includes torque thresholds and target times corresponding to different attribute values.

[0026] In combination with the first aspect, in an optional implementation manner of the embodiment of the present application, the method further includes:

[0027] During the process of the robot operating the target object to execute the first instruction, and / or during the timing process, the following processing is performed:

[0028] Based on the visual detection result of the target object, determining whether the target object is deformed or determining the degree of deformation of the target object;

[0029] Whether to stop executing the first instruction is determined according to whether the target object is deformed or according to the degree of deformation of the target object.

[0030] According to a second aspect of an embodiment of the present application, there is provided a torque control system applied to a robot joint motor, the torque control system comprising:

[0031] Driving end: used for acquiring a first parameter value representing the torque of the joint motor in real time during the movement of the target joint, and feeding back the first parameter value to the motion control module;

[0032] The motion control module is used to control the driving end to maintain the torque of the joint motor and the timing according to the torque threshold when the first parameter value reaches the torque threshold, so as to maintain the operation of the robot on the target object.

[0033] If the timing reaches the target time, the robot is triggered to execute a second instruction different from the first instruction, and / or,

[0034] If the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue executing the first instruction.

[0035] According to a third aspect of an embodiment of the present application, an electronic device is provided, the electronic device comprising:

[0036] a memory for storing one or more computer instructions;

[0037] A processor is used to call and execute the computer instructions to implement the torque control method described in the first aspect of the embodiment of the present application.

[0038] According to the third aspect of the embodiments of the present application, a robot is provided, which adopts the torque control method of the first aspect of the embodiments of the present application to control the joint motors of the robot, or the robot has the torque control system of the second aspect of the embodiments of the present application, or the robot has the electronic device of the third aspect of the embodiments of the present application.

[0039] The technical effects obtained by the above-mentioned second to fourth aspects are similar to the technical effects obtained by the corresponding technical scheme of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flow chart of a torque control method applied to a robot joint motor provided in an embodiment of the present application;

[0041] Figure 2 It is a flow chart of a torque control method applied to a robot joint motor provided in an embodiment of the present application;

[0042] Figure 3 It is a flow chart of a torque control method applied to a robot joint motor provided in an embodiment of the present application;

[0043] Figure 4 is a system schematic diagram of a torque control system applied to a robot joint motor provided according to an embodiment of the present application;

[0044] Figure 5 It is a schematic diagram of an electronic device applied to a robot joint motor provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0046] It should be understood that the "plurality" mentioned in this article refers to two or more. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and so on are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and so on do not limit the quantity and execution order, and the words "first", "second" and so on do not limit certain different

[0047] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.

[0048] First, the terms involved in the embodiments of the present application are introduced.

[0049] Joint motors: The joint motors of robots are key actuators in the robot drive system. They are responsible for converting electrical energy into mechanical energy to drive the movement of the robot joints. These motors play a vital role in robots, enabling them to perform a variety of complex movements and tasks. Common joint motors include AC servo motors, DC servo motors, stepper motors, and micro motors.

[0050] Torque control: Torque control of joint motors is an important aspect in robot control systems, which is directly related to the motion performance and accuracy of robot joints. In torque control mode, the motor controller adjusts the output torque of the motor according to the preset torque command or real-time feedback torque information, so that the robot joints can move in the desired manner. Torque control is widely used in various scenarios that require precise control of robot joint movement, for example, precision assembly: In precision assembly tasks, the torque of robot joints needs to be precisely controlled to ensure the accuracy and quality of assembly. Force feedback control: In scenarios of human-computer interaction or robot-environment interaction, force feedback control can be achieved through torque control to improve the safety and stability of the robot. Dynamic adjustment: When the robot performs complex dynamic tasks, such as walking, jumping, etc., it is necessary to adjust the torque of the joints in real time to maintain the balance and stability of the robot.

[0051] The above introduces the terms involved in the embodiments of the present application. Next, the application scenarios of robot joint motors in some typical fields are exemplarily introduced.

[0052] Take the application scenario of tightening automobile engines in the automobile manufacturing industry as an example. In the automobile assembly process, tightening the engine bolts is a key link. The tightening quality of the bolts directly affects the performance and safety of the engine. Traditional tightening operations are usually done manually by workers, but there are problems such as inaccurate tightening torque and worker fatigue.

[0053] The torque control function of the robot joint motor can accurately control the output torque of the tightening gun to ensure that each bolt is accurately tightened to the predetermined value. The robot can work 24 hours a day, improving production efficiency while avoiding tightening quality problems caused by human factors. Through torque control, the tightening quality of automobile engines has been significantly improved, reducing the failure rate caused by improper tightening torque, and improving the overall performance and safety of the car.

[0054] Take the application scenario of precision parts processing in the mechanical processing industry as an example. In the mechanical processing industry, the processing of precision parts requires extremely high accuracy and stability of machine tools. The feed system and spindle system of machine tools are usually equipped with high-precision joint motors. During the processing process, the torque control function of the joint motor can ensure that the machine tool maintains a stable output torque during cutting, milling and other operations, avoiding cutting force fluctuations caused by load changes, thereby improving processing accuracy and surface quality. Through precise torque control, the mechanical processing industry can produce higher precision parts to meet the needs of high-end fields such as aerospace and medical equipment.

[0055] Take the application scenario of robot handling in the service industry as an example. Robot handling is an important task in service industries such as warehousing and logistics. Robots need to carry goods of different weights and shapes and move flexibly in complex environments. The torque control function of the robot joint motor can automatically adjust the output torque according to the weight and shape of the goods being carried, ensuring that the robot can complete the handling task smoothly and safely. At the same time, torque control can also help the robot achieve fast and accurate adjustments when encountering obstacles or needing to adjust its posture. Through torque control, the efficiency of robot handling in the service industry has been improved, while reducing the risk of damage to goods and personal injury caused by improper handling.

[0056] The above exemplarily introduces the application scenario of the embodiment of the present application. In this application scenario or similar scenarios, there is a related technology that can also perform torque control when the robot is position controlled. However, this solution actually calculates the expected momentum based on the expected torque value set by the user, calculates the joint angular velocity based on the expected momentum, and thus obtains the joint angle to realize the control of the robot. The problem is that there is no ideal environment in the assembly process of the industrial scene, and there are many calculation levels, which can easily cause errors in calculation accuracy, resulting in fluctuations in the final control. It is still possible to cause the output torque to be insufficient, resulting in inadequate assembly, or the output torque exceeds the expected value, thereby causing deformation loss to the assembled parts.

[0057] Based on this, the present application embodiment provides a torque control method applied to a robot joint motor, such as Figure 1 As shown, the method includes the following processing steps.

[0058] 100: In the process of the robot operating the target object to execute the first instruction, a first parameter value for representing the torque of the joint motor is acquired in real time.

[0059] In the process of automated assembly or other operations based on robots, the robots operate the target objects according to preset instructions, wherein the target objects may be parts and materials.

[0060] The first parameter value may be the torque of the joint motor itself, or may be other parameter values ​​that can characterize the torque of the joint motor.

[0061] 102: When the first parameter value reaches the torque threshold, maintain the torque of the joint motor and time it according to the torque threshold, so as to maintain the robot's operation on the target object.

[0062] In this embodiment, 102 is adopted so that when the first parameter value reaches the torque threshold, the torque output is not stopped immediately, but the torque of the joint motor is continued and timing is performed.

[0063] 104: Selectively continue to execute the first instruction or execute a second instruction different from the first instruction according to whether the timing reaches the target time. Specifically, if the timing reaches the target time, the robot is triggered to execute the second instruction different from the first instruction, and / or, if the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue to execute the first instruction.

[0064] The torque control method provided by the present embodiment is adopted, by obtaining the first parameter value used to represent the torque of the joint motor in real time and maintaining the first parameter value at the torque threshold time, selectively determining whether to continue to execute the current instruction (first instruction) or to execute a new instruction (second instruction). On the one hand, the whole process has very few calculation levels, thereby effectively avoiding the calculation error caused by more calculation levels, which improves the response speed of the robot, so that the robot can respond quickly to the actual terminal state. On the other hand, by maintaining the torque of the joint motor and timing according to the torque threshold, it is possible to effectively avoid the problem of poor assembly caused by the phenomenon of temporary jamming of the target object, while reducing the fragility of the assembled parts, ensuring the accuracy of the robot assembly.

[0065] Optionally, in an implementation of this embodiment, in process 100, the current value of the joint motor is obtained in real time and the current value is used as the first parameter value. In this implementation, the current of the joint motor is directly used to characterize the torque of the joint motor, with fewer calculation levels and faster response speed.

[0066] Optionally, in an implementation of this embodiment, in process 100, the current value of the joint motor is obtained in real time; the torque value of the joint motor is calculated according to the current value, and the torque value of the joint motor is used as the first parameter value. In this implementation, the current of the joint motor is directly converted into torque to judge the torque borne by the end of the robot during actual operation.

[0067] Optionally, in an implementation of this embodiment, the torque threshold and the target time are associated with the strength of the target object. Among them, the strength can be understood as the ability of the target object not to change its shape under the action of force. The higher the strength of the target object, the larger the torque threshold and / or the longer the target time. In this implementation, the setting of the torque threshold and the target time is in principle based on the premise of not causing damage to the target object. In order to ensure the accurate assembly of the target object, it is possible to consider increasing the torque threshold and the target time as much as possible without damaging the target object, so as to avoid problems such as inadequate installation caused by a short period of stuckness of the target object. For example, in order to ensure the safety of operation, an existing technology stops applying torque within a short time after the torque reaches the threshold, which can easily cause the problem of inadequate installation of the target object. And adopting this implementation, by setting the torque threshold and the target time associated with the strength of the target object, on the one hand, the safety of the target object and the joint motor during the assembly process can be guaranteed, and on the other hand, it is conducive to improving the accuracy of the assembly result (for example, accurate installation to the target position).

[0068] Exemplarily, the target time is 1 to 2 seconds, which can be determined according to the operation object and experience or experimental value.

[0069] Optionally, in one implementation of the present embodiment, in processing 102, when the first parameter value reaches the torque threshold, it means when the first parameter value is equal to the torque threshold and lasts for a set time. In other words, after the first parameter value is equal to the torque threshold and lasts for a set time, the torque of the joint motor is maintained and timed according to the torque threshold. Wherein, the set time is less than the target time. Exemplarily, the set time is N interrupt cycles, where N is a positive integer not exceeding 5, for example, N=3. Wherein, the interrupt cycle is related to the hardware interrupt, and the duration of an interrupt cycle is generally 2 or 3 milliseconds. The hardware of each robot is different, and some logical state transfers and algorithm calculations are performed in each interrupt cycle.

[0070] By adopting this implementation method, it is possible to filter out the situation where the robot jitters at the torque threshold during the process of operating the target object, thereby ensuring the stability of the robot's subsequent operation.

[0071] In this implementation, during the N interruption cycles, the torque is still maintained at the torque threshold. The output of the torque is controlled by the drive end, and when it reaches the torque threshold, the torque will no longer increase.

[0072] Optionally, in other implementations of this embodiment, when it is detected that the first parameter value is equal to the torque threshold, the torque of the joint motor may be maintained and timed according to the torque threshold.

[0073] Optionally, in an implementation of this embodiment, in process 102 , maintaining the torque of the joint motor according to the torque threshold includes: maintaining the torque of the joint motor within a rated fluctuation range based on the torque threshold.

[0074] In this implementation, as an example, maintaining the torque of the joint motor within the rated fluctuation range based on the torque threshold may be: maintaining the torque of the joint motor within the torque threshold (i.e., the rated fluctuation range at this time is 0). In this way, the torque of the joint motor can be strictly controlled to avoid accidents (e.g., damage to the operation object) as much as possible.

[0075] In this implementation, as another example, maintaining the torque of the joint motor within a rated fluctuation range based on the torque threshold can be: maintaining the torque of the joint motor within the range of the torque threshold ±b, wherein b is the amplitude of the rated fluctuation range, and its specific value can be configured based on experiments or user experience, and this implementation does not make any specific limitation.

[0076] Optionally, in one implementation of this embodiment, when the torque of the joint motor is maintained according to the torque threshold, if the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, for example, the first parameter value suddenly becomes less than the torque threshold, or the first parameter value fluctuates up and down the torque threshold momentarily and then becomes less than the torque threshold, it is generally considered to be a torque fluctuation caused by the elimination of the target object jam. In this case, in this implementation, the first instruction is continued to be executed to ensure that the operation on the target object is in place.

[0077] Optionally, in one implementation of the present embodiment, during the process of the robot operating the target object to execute the first instruction, and / or during the timing process, the following processing is performed: based on the visual detection result of the target object, determining whether the target object is deformed or determining the degree of deformation of the target object; determining whether to stop the first instruction according to whether the target object is deformed or according to the degree of deformation of the target object.

[0078] By adopting this implementation method, the execution of the first instruction is controlled by real-time visual detection results, which can effectively improve the safety of the robot operation process, avoid or reduce damage to the target object and damage to environmental equipment related to the target object during the assembly process.

[0079] By adopting this implementation method, the torque can be maintained within a range that does not damage the joint motor and the operation object, and at the same time, it is beneficial to ensure the precise assembly effect of the operation object.

[0080] Figure 2 It is a flow chart of a torque control method applied to a robot joint motor provided in an embodiment of the present application, and the method includes the following processing procedures.

[0081] 200: Before the robot operates the target object to execute the first instruction, obtain the assembly requirements input by the user. The assembly requirements include the attribute value of the target object, or include the torque threshold and the target time. Exemplarily, the assembly requirements input by the user can be obtained through a visual interactive interface.

[0082] 202: When the assembly requirement is the attribute value of the target object, query pre-stored information according to the attribute value of the target object to determine the torque threshold and the target time, wherein the pre-stored information includes the torque threshold and the target time corresponding to different attribute values.

[0083] Exemplarily, the attribute value of the target object may be the name of the target object, such as a screw or a screw model. For another example, the attribute value of the target object may be more detailed information, such as the material and density of the workpiece. The pre-stored information may be the correspondence between the name of the target object and the torque threshold and the target time, or the correspondence between the target object under different materials and densities and the torque threshold and the target time.

[0084] 100: In the process of the robot operating the target object to execute the first instruction, a first parameter value for representing the torque of the joint motor is acquired in real time.

[0085] 102: When the first parameter value reaches the torque threshold, maintain the torque of the joint motor and time it according to the torque threshold, so as to maintain the robot's operation on the target object.

[0086] 104: Selectively execute the first instruction or execute the second instruction different from the first instruction according to whether the timing reaches the target time. Specifically, if the timing reaches the target time, the robot is triggered to execute the second instruction different from the first instruction, and / or, if the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue to execute the first instruction.

[0087] In this embodiment, please refer to the description of processing 100-104. Figure 1 The description in the illustrated embodiment will not be repeated here.

[0088] By adopting the method provided in this embodiment, before executing the first instruction, the assembly requirements input by the user are first obtained. By opening the torque threshold and target time to the user for configuration and use, the user can set corresponding parameters according to the actual application scenario of the robot and the actual strength of the target object to ensure the service life of the parts.

[0089] Optionally, in an implementation of this embodiment, a complete operation process of the robot corresponds to a complete operation program, which includes two or more instructions (for example, a first instruction) and is used to operate two or more target objects.

[0090] Optionally, in processing 200, after generating the operation program, the robot automatically extracts the target object to be operated and presents the target object to the user through a visual operation interface, and at the same time, provides the user with configuration items for each target object, the configuration items including torque threshold and target time. The user selects the configuration item to be configured through the configuration item and configures the corresponding value for it. After the user confirms the configuration of the configuration item, the robot's operation program automatically writes the value of the configuration item into the operation program, and then executes the corresponding instruction according to the value of the configuration item during the subsequent execution of the instruction. In addition, in other embodiments, a configuration item update button (which can be a button in the visual interface or a physical entity button electrically connected to the control system of the robot) can also be provided to the user. During the operation of the robot, if the user presses the update button, the robot stops the current operation, records the node of the current operation (for example, which instruction among all instructions being executed sequentially), and presents the configuration items of all target objects or target objects that need to be operated in subsequent operations through the visual interface so that the user can perform the update operation.

[0091] By adopting this implementation method, a visual interface for configuring assembly requirements can be automatically provided to the user, and user configured information can be obtained through the visual interface, thereby improving the flexibility of configuration.

[0092] Optionally, in one implementation of the present embodiment, during the process of the robot operating the target object to execute the first instruction, and / or during the timing process, the following processing is performed: based on the visual detection result of the target object, determining whether the target object is deformed or determining the degree of deformation of the target object; determining whether to stop the first instruction according to whether the target object is deformed or according to the degree of deformation of the target object.

[0093] By adopting this implementation method, the execution of the first instruction is controlled by real-time visual detection results, which can effectively improve the safety of the robot operation process, avoid or reduce damage to the target object and damage to environmental equipment related to the target object during the assembly process.

[0094] Exemplarily, in this implementation, the image of the target object during the process of operating the target object is captured in real time by a camera; target detection and target comparison are performed based on the image of the target object captured in real time (for example, target detection and target comparison are performed on the operating object in the previous and next frame images, or, target detection is performed on the operating object in the current frame image and target comparison is performed with the image or image features of the operating object saved in advance); based on the comparison result (i.e., the visual detection result), it is determined whether the target object is deformed, or the degree of deformation of the target object is determined (for example, the degree of deformation is represented by the ratio of the deformation distance in a certain direction to the length of the target object in that direction, or the degree of deformation is represented by the ratio of the deformation area of ​​the surface observed by the camera to the actual area of ​​the surface).

[0095] In a possible application, if the target object is not allowed to deform in principle, for example, the target object is made of a rigid material. Then, when it is determined that the target object is deformed, the execution of the first instruction is immediately stopped, without paying attention to the degree of deformation of the target object. If the target object can be deformed to a certain extent in principle, for example, the target object is made of an elastic material, then when it is determined that the target object is deformed, the execution of the first instruction can be immediately stopped; it can also be further judged according to the degree of deformation of the target object, if the degree of deformation exceeds the deformation degree threshold, the execution of the first instruction is stopped, and if the degree of deformation does not exceed the deformation degree threshold, the first instruction continues to be executed.

[0096] In this application, the execution of the first instruction is selectively controlled based on the target object's allowable degree of deformation (including: not allowed, allowed, and allowable degree of deformation). Compared with the prior art that does not distinguish between target objects and uniformly performs the same logical control, this application can distinguish the target objects and perform targeted instruction control, thereby improving the flexibility and efficiency of the robot's operation while ensuring the safety of the robot's operation process.

[0097] For example, the target object can be divided into two types. The first type immediately stops the current instruction (e.g., the first instruction) once deformation occurs; the second type allows deformation, but the deformation degree cannot exceed the deformation degree threshold. Correspondingly, the logic of controlling whether the current instruction is stopped or not in the previous text can be executed.

[0098] Figure 3 is a flow chart of a torque control method applied to a robot joint motor according to an embodiment of the present application. Figure 3 ,The torque control method applied to the robot joint motor includes the following ,processes.

[0099] Step 1: Store the current threshold corresponding to each axis motor of the robot of different kilogram classes in the motion control module.

[0100] In this embodiment, each joint motor of the robot has its own rated output torque value, which is different from the torque value during the robot's operation of the target object. For example, if the rated output torque value of the motor is 5N, and the user's actual assembly scenario requires a force of 1N, the user can set the output torque percentage to 20% in the robot torque instruction. The purpose of setting the torque percentage is to enable the robot to accurately output the force required by the user. The percentage setting range is 0 to 100%.

[0101] Step 2: The motion control module sends the status of the torque control mode currently used by the user to the driver, including the torque value required to be output by each axis motor and the duration to reach the set torque (i.e., the target time, or torque overrun time).

[0102] The robot has three states in the torque control mode: reaching the torque threshold within the over-limit time set by the user, not reaching the torque threshold within the over-limit time set by the user, and not reaching the torque threshold set by the user. The latter two are defined as the non-over-limit state under torque control, and the first case is the over-limit state under the torque control mode.

[0103] Step 3: The motion control module calculates the torque threshold (or torque limit value) of each axis of the robot and sends the limit value to the driver for storage. The value is stored so that the driver can continuously detect the output torque of the robot end.

[0104] The torque threshold and target time are generally related to the actual application conditions. For example, when using a robot to assemble screws on a part, in order to ensure that the screws can be tightened and do not damage the parts assembled by the screws, the assembly is usually completed by a person using a torque wrench with a fixed output torque value. The torque control function of the robot can replace the person and the torque wrench to complete the assembly work. The overrun time is set according to the strength of the assembled parts, generally 1 or 2 seconds. The specific situation should be analyzed and set according to the actual user's usage.

[0105] Specifically, the motion control module can obtain the torque threshold according to the motor specification sheet using "output current × motor torque coefficient × user-set percentage", store the torque threshold and send it to the drive end. The drive end uses the torque threshold to detect the torque of the robot. If the torque is reached, the torque is returned to the operation control end for subsequent logical processing and judgment. Among them, the user can set the percentage according to the material strength of the target object. For example, the part strength, that is, the maximum force and torque that the part can withstand, can be obtained according to the ADAMS software. The user can set the torque threshold based on the torque required for assembling the part and the ultimate torque of the part.

[0106] Step 4: After the driver learns that the user has turned on the torque control mode, it continuously monitors the torque of the joint motor with set torque control (for example, monitors the current value fed back), and feeds back the current torque of the robot to the motion control module. The motion control module (operation control end) compares the real-time torque value with the torque threshold.

[0107] Step 5: After performing torque conversion calculation based on the actual current value monitored by the drive end in step 4, the real-time current joint torque value is obtained, and the current torque value is compared with the torque threshold set by the user.

[0108] Step 6: In step 5, if the current torque of the joint motor reaches the torque threshold set by the user when the robot executes the motion command, the overlimit time will start to be counted and the process will proceed to step 7; if the robot does not reach the target time set by the user after reaching the torque threshold, the torque overlimit time will be cleared, the robot will continue to operate normally, and the process will logically return to step 5 of the judgment.

[0109] In one implementation of this embodiment, in step 6, de-jitter processing can also be performed before the timing of the over-limit time to confirm that the torque has indeed reached the torque threshold. Specifically, the motion control module will automatically set the de-jitter count value to 0 (a is used here to represent the number of de-jitter counts for convenience of explanation) when the torque limit mode is turned on. When it is detected that the robot has reached the torque threshold set by the user, a is incremented by 1 in the current cycle of the motion control module, and the torque is also detected in the next cycle. If it is exceeded, a is continuously incremented to 2. For example, a total of 3 cycles are detected. If all 3 cycles meet the requirement of reaching the torque threshold, it is considered that the current torque has indeed reached the torque threshold, and the timing of the over-limit time begins.

[0110] Step 7: When the torque value of the robot joint motor in step 6 reaches the torque threshold, the motion control end times the torque value of the robot end to determine whether it reaches the target time set by the user. Continue to step 8.

[0111] Step 8: When the timing in step 7 reaches the target time set by the user, it is assumed that the robot meets the torque control mode conditions and enters step 9; if the target time set by the user is not reached, the timer is reset, the robot continues to run, and logically returns to step 5 of the judgment.

[0112] Step 9: In step 8, it has been detected that the robot has reached the torque control limit condition (the torque reaches the torque threshold and lasts for the target time), and the robot stops the current operation instruction and executes the next motion instruction.

[0113] With this implementation, the actual torque threshold is calculated according to the output torque percentage set by the user, and the torque value is continuously monitored after reaching the torque threshold (for example, the first cycle of reaching the torque threshold), and the timing starts from the time when the torque threshold is reached. When the torque threshold is reached, the robot is not immediately controlled to stop its torque output, but after reaching the timeout time, N interrupt cycles are added to perform debounce counting, and the overtime time is monitored to ensure that it reaches the target time set by the user, avoiding the occurrence of misjudgment of the timeout time, thereby avoiding the situation where the parts are not assembled compactly during assembly of the robot. In addition, the torque control function can be completed without the robot carrying any sensors.

[0114] Figure 4 is a system schematic diagram of a torque control system applied to a robot joint motor according to an embodiment of the present application. Figure 4 The torque control system includes a driving end 40 and a motion control module 41. The details are described below.

[0115] In this embodiment, the driving end 40 is used to obtain a first parameter value representing the torque of the joint motor in real time during the movement of the target joint, and feed the first parameter value back to the motion control module.

[0116] The motion control module 41 is used to control the driving end to maintain the torque of the joint motor and time according to the torque threshold when the first parameter value reaches the torque threshold, so as to maintain the robot's operation on the target object. If the timing reaches the target time, the robot is triggered to execute a second instruction different from the first instruction, and / or, if the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue to execute the first instruction.

[0117] Optionally, in an implementation of this embodiment, for a detailed description of the processing performed by the drive end 40 and the motion control module 41 and its beneficial effects, please refer to Figure 3 The description in the illustrated embodiment will not be repeated here.

[0118] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the memory stores one or more computer instructions, and the processor is used to call and execute one or more computer instructions to implement the torque control method or its implementation method applied to the robot joint motor as mentioned above.

[0119] Specifically, Figure 5 As shown, the electronic device includes a processor 510, at least one communication bus 520, a user interface 530, at least one external communication interface 540 and a memory 550. The communication bus 520 is configured to realize the connection and communication between these components. The user interface 530 may include a display screen, and the external communication interface 540 may include a standard wired interface and a wireless interface. The memory 550 stores computer instructions to implement the torque control method described above. The processor 510 is used to implement the torque control method described above when executing the computer instructions stored in the memory 500.

[0120] An embodiment of the present application also provides a computer program product, which includes one or more computer instructions, and when the computer instructions are executed, the torque control method applied to the robot joint motor described above is implemented.

[0121] The embodiment of the present application also provides a computer-readable storage medium, which stores the aforementioned computer program product and can be read, called and executed by a processor.

[0122] An embodiment of the present application also provides a robot, which uses the torque control method applied to the robot joint motor provided in the embodiment of the present application to perform torque control, or the robot uses the torque control system applied to the robot joint motor provided in the embodiment of the present application to perform torque control, or the robot has the electronic device provided in the embodiment of the present application.

[0123] The description of the above computer program product, computer-readable storage medium, and electronic device is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the computer program product, computer-readable storage medium, and electronic device of this application, please refer to the description of the method embodiment of this application for understanding.

[0124] In the above-mentioned embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The steps shown in the relevant flow chart can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flow chart, in some cases, the steps shown or described can be executed in an order different from that here. In other words, the order of steps described in the foregoing embodiments is only an example, and it is also within the scope of protection of the embodiments of the present application to reasonably adjust the order of steps based on the content of the embodiments of the present application.

[0125] The serial numbers or the order of introduction of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

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

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

[0128] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0129] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the embodiment of the present application may be a non-volatile storage medium, in other words, a non-transient storage medium.

[0130] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the scene data of the current frame in the three-dimensional virtual scene, the device information of the client, and the scene interaction information involved in the embodiments of this application are all obtained with full authorization.

[0131] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A torque control method applied to a robot joint motor, characterized in that: The method comprises: In the process of the robot operating the target object to execute the first instruction, a first parameter value representing the torque of the joint motor is acquired in real time; When the first parameter value reaches a torque threshold, maintaining the torque of the joint motor and timing according to the torque threshold, so as to maintain the operation of the robot on the target object; If the timing reaches the target time, the robot is triggered to execute a second instruction different from the first instruction, and / or, If the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue executing the first instruction.

2. The torque control method according to claim 1, characterized in that: The real-time acquisition of a first parameter value for representing the torque of the joint motor includes: Acquire the current value of the joint motor in real time, and use the current value as the first parameter value; or, Acquire the current value of the joint motor in real time; The torque value of the joint motor is calculated according to the current value, and the torque value of the joint motor is used as the first parameter value.

3. The torque control method according to claim 1, characterized in that: The torque threshold and the target time are associated with the intensity of the target object; The higher the strength of the target object, the greater the torque threshold and / or the longer the target time.

4. The torque control method according to claim 3, characterized in that: The first parameter value reaches the torque threshold, comprising: The first parameter value is equal to the torque threshold and lasts for a set time; Wherein, the set time is less than the target time, or, The set time is N interrupt cycles, where N is a positive integer not exceeding 5.

5. The torque control method according to claim 1, characterized in that: The step of maintaining the torque of the joint motor according to the torque threshold comprises: The torque of the joint motor is maintained within the rated fluctuation range based on the torque threshold.

6. The torque control method according to claim 1, characterized in that: The method further comprises: Before the robot operates the target object to execute the first instruction, obtaining an assembly requirement input by a user, wherein the assembly requirement includes an attribute value of the target object, or includes the torque threshold and the target time; In the case where the assembly requirement is the attribute value of the target object, the torque threshold and the target time are determined by querying pre-stored information according to the attribute value of the target object, wherein the pre-stored information includes torque thresholds and target times corresponding to different attribute values.

7. The torque control method according to claim 1, characterized in that: The method further comprises: During the process of the robot operating the target object to execute the first instruction, and / or during the timing process, the following processing is performed: Based on the visual detection result of the target object, determining whether the target object is deformed or determining the degree of deformation of the target object; Whether to stop executing the first instruction is determined according to whether the target object is deformed or according to the degree of deformation of the target object.

8. A torque control system applied to a robot joint motor, characterized in that: The torque control system comprises: Driving end: used for acquiring a first parameter value representing the torque of the joint motor in real time during the movement of the target joint, and feeding back the first parameter value to the motion control module; The motion control module is used to control the driving end to maintain the torque of the joint motor and the timing according to the torque threshold when the first parameter value reaches the torque threshold, so as to maintain the operation of the robot on the target object. If the timing reaches the target time, the robot is triggered to execute a second instruction different from the first instruction, and / or, If the first parameter value changes beyond the rated fluctuation range before the timing reaches the target time, the timing is reset and the robot is controlled to continue executing the first instruction.

9. An electronic device, characterized in that: The electronic device comprises: a memory for storing one or more computer instructions; A processor, configured to call and execute the computer instructions to implement the torque control method as described in any one of claims 1-7.

10. A robot, characterized in that: The robot adopts the torque control method described in any one of claims 1-7 to control the joint motors of the robot, or the robot has the torque control system described in claim 8, or the robot has the electronic device described in claim 9.

Citation Information

Patent Citations

  • End effector of agaricus bisporus picking robot

    CN111955289A

  • Double-mechanical-arm clamping and carrying device and mechanical arm force control method thereof

    CN115716594A

  • Method for controlling torque of gripping device usingan electric motor

    KR1020020069384A