Robot actuator control method and device, electronic equipment and storage medium

By building a skill library and searching for target skills, the robot actuator can respond quickly, solving the problem of prolonged response time in the existing technology and achieving fast operation effects.

CN118617418APending Publication Date: 2024-09-10BEIJING GALBOT AI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410913410.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

It is difficult for robot actuators to respond quickly when performing operations, and it takes a long time to determine operating parameters based on the position and attitude of the object, resulting in prolonged response time.

Method used

By building a skill library that contains the corresponding relationship between object status and operation strategy, the target skill is found and the target operation strategy is determined based on the current object status, and the robot actuator is controlled to perform actions.

Benefits of technology

It greatly reduces the time to determine operating parameters based on the object's position and attitude, and the robot actuator can quickly start operations and achieve rapid response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118617418A
    Figure CN118617418A
Patent Text Reader

Abstract

The embodiment of the invention provides a robot actuator control method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a target execution information set of a to-be-executed operation of a robot actuator, the target execution information set comprising target operation information and target object attributes of a target object; based on a corresponding relation between a preset execution information set and skills, searching a target skill corresponding to the target execution information set from the skills included in the skill library, each skill including a corresponding relation between the object state and the operation strategy; obtaining a current object state of the target object, and determining a target operation strategy corresponding to the current object state from the target skills; and according to the target operation strategy, a robot actuator is controlled to execute the to-be-executed operation on the target object. The target skill and the target operation strategy are searched from the skill library without a large amount of complex calculation, and the robot actuator can be quickly started to operate, so that quick response is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robotics technology, and in particular to a control method, device, electronic equipment and storage medium for a robot actuator. Background Art

[0002] At present, artificial intelligence has been widely used in all walks of life, bringing a lot of help to people's work and life, and providing more convenient and intelligent services. Robots are shining in various fields. For example, in household scenes, industrial product production lines, warehouse management, logistics and transportation, robots can replace humans to do some work.

[0003] When robots perform various tasks, they need actuators to frequently perform various operations, such as grasping, pushing, poking, and knocking. The precise operation of robots requires extremely strong closed-loop control capabilities. The input and output signals in the closed-loop control require a high communication frequency and ultra-fast computing speed. In reality, it takes a relatively long computing time to determine the operating parameters of the robot actuator based on the position and posture of the object, so as to control the actuator to respond, perform corresponding actions on the object, and complete generalized operations. Therefore, it is difficult for the actuator to respond quickly. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a control method, device, electronic device and storage medium for a robot actuator to achieve a rapid response of the robot actuator. The specific technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for controlling a robot actuator, the method comprising:

[0006] Acquire a target execution information set of an operation to be performed by a robot actuator, wherein the target execution information set includes target operation information of the operation to be performed and a target object attribute of a target object corresponding to the operation to be performed;

[0007] Based on the preset correspondence between the execution information set and the skills, searching the target skill corresponding to the target execution information set from the skills included in the skill library, wherein each skill includes the correspondence between the object state and the operation strategy;

[0008] Acquire the current object state of the target object, and determine the target operation strategy corresponding to the current object state from the target skill;

[0009] According to the target operation strategy, the robot actuator is controlled to perform the operation to be performed on the target object.

[0010] Optionally, the skill library includes at least one sub-skill library, and for each sub-skill library, the operation information or object attributes in the sub-skill library are the same;

[0011] The step of searching the target skill corresponding to the target execution information set from the skills included in the skill library based on the preset correspondence between the execution information set and the skills includes:

[0012] From the at least one sub-skill library, searching for a sub-skill library corresponding to the first information as a target sub-skill library; from the target sub-skill library, searching for a target skill corresponding to the second information;

[0013] Among them, in the case where the sub-skill library is a skill library corresponding to a type of the operation information, the first information is the operation information of the target operation information, and the second information is the target object attribute and other information in the target operation information except the operation information; in the case where the sub-skill library is a skill library corresponding to a type of the object attribute, the first information is the object attribute of the target object attribute, and the second information is the target operation information and other attributes in the target object attribute except the object attribute.

[0014] Optionally, the step of obtaining a target execution information set of the operation to be executed by the robot actuator includes:

[0015] Acquire an execution instruction for a target object, and determine fields included in the execution instruction based on instruction content of the execution instruction;

[0016] Based on the preset field priority, a preset number of target fields are determined from the determined fields and the fields corresponding to the terminal structure type of the robot actuator as a target execution information set for the operation to be executed by the robot actuator.

[0017] Optionally, before the step of determining the target operation strategy corresponding to the current object state from the target skills, in response to the number of target skills being multiple, the method further includes:

[0018] Using the determined fields and the fields corresponding to the terminal structure type of the robot actuator, except the target field, a target skill matching the other fields is determined from the target skills; or,

[0019] An object image of the target object is acquired, and the object image is recognized to obtain at least one of the category, size, and shape of the target object as a screening field, and a target skill matching the screening field is determined from the target skills using the screening field.

[0020] Optionally, the step of controlling the robot actuator to perform the operation to be performed on the target object according to the target operation strategy includes:

[0021] In the process of controlling the robot actuator to perform an action according to the target operation strategy, in response to the distance between the robot actuator and the target object reaching a preset distance, determining a target operation parameter of the robot actuator based on a current object posture of the target object and a current posture of the robot actuator;

[0022] Based on the target operation parameter, the robot actuator is controlled to perform the operation to be performed on the target object.

[0023] Optionally, the step of controlling the robot actuator to perform the operation to be performed on the target object based on the target operation parameter includes at least one of the following:

[0024] In response to a difference between the target operation parameter and the operation parameter represented by the target operation strategy being less than a preset difference, controlling the robot actuator to perform the operation to be performed on the target object according to the target operation parameter or the operation parameter represented by the target operation strategy;

[0025] In response to a difference between the target operation parameter and the operation parameter represented by the target operation strategy being not less than the preset difference, the robot actuator is controlled to perform the operation to be performed on the target object according to the target operation parameter.

[0026] Optionally, after the step of controlling the robot actuator to perform the operation to be performed on the target object according to the target operation parameter, the method further includes:

[0027] The operation parameters represented by the target operation strategy in the skill library are updated to the target operation parameters.

[0028] Optionally, the current object state includes at least the current object posture and the object size of the target object;

[0029] The method further comprises:

[0030] In response to the fact that the target operation strategy corresponding to the current object posture does not exist in the target skill, or the target operation information and the target skill corresponding to the target object attribute do not exist in the skill library, or the target object attribute does not exist in the object attributes included in the skill library, based on the current object posture and the object size, an operation strategy with a matching degree higher than a preset threshold or a matching degree within a preset interval is searched from the skill library as the target operation strategy.

[0031] In a second aspect, an embodiment of the present application provides a control device for a robot actuator, the device comprising:

[0032] An information acquisition module, used to acquire a target execution information set of an operation to be performed by a robot actuator, wherein the target execution information set includes target operation information of the operation to be performed and a target object attribute of a target object corresponding to the operation to be performed;

[0033] A target skill determination module, configured to search for a target skill corresponding to the target execution information set from the skills included in the skill library based on a preset correspondence between the execution information set and the skills, wherein each skill includes a correspondence between an object state and an operation strategy;

[0034] A target operation strategy determination module, used to obtain the current object state of the target object and determine the target operation strategy corresponding to the current object state from the target skill;

[0035] An action execution module is used to control the robot actuator to execute the operation to be executed on the target object according to the target operation strategy.

[0036] In a third aspect, an embodiment of the present application provides a robot, comprising a processor and a memory, wherein the processor communicates with the memory;

[0037] Memory, used to store computer programs;

[0038] The processor is used to implement any method step described in the first aspect when executing the program stored in the memory.

[0039] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of the first aspects are implemented.

[0040] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, enables the computer to execute any of the method steps described in the first aspect above.

[0041] Beneficial effects of the embodiments of the present invention:

[0042] In the solution provided by the embodiment of the present invention, it is only necessary to search for the target skill from the skills included in the skill library, and then determine the target operation strategy corresponding to the current object state from the target skill according to the current object state of the target object, so as to control the robot actuator to start the action according to the target operation strategy. Since searching for the target skill and the target operation strategy from the skill library does not require a large number of complex calculations, the time consumption is greatly reduced compared to the time required to determine the operation parameters of the robot actuator based on the position and posture of the object. Therefore, the robot actuator can quickly start the operation, thereby achieving a rapid response.

[0043] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0045] Figure 1 A flow chart of a control method for a robot actuator provided in an embodiment of the present application;

[0046] Figure 2 for Figure 1 A specific flow chart of step S102 in the illustrated embodiment;

[0047] Figure 3 for Figure 1 A specific flow chart of step S101 in the illustrated embodiment;

[0048] Figure 4 for Figure 1 A specific flow chart of step S104 in the illustrated embodiment;

[0049] Figure 5 Based on Figure 1 A specific flow chart of a method for obtaining the current state of an object in the illustrated embodiment;

[0050] Figure 6 A schematic diagram of the structure of a control device for a robot actuator provided in an embodiment of the present application;

[0051] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0052] Figure 8 A schematic diagram of the structure of a robot provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field based on this application belong to the scope of protection of the present invention.

[0054] In order to achieve rapid response of a robot actuator, the present application provides a control method, device, electronic device, computer readable storage medium and computer program product for a robot actuator. The following first introduces a control method for a robot actuator provided by an embodiment of the present application.

[0055] A control method for a robot actuator provided in an embodiment of the present application can be applied to a controller, processor, etc. carried by the robot itself, and can also be applied to a control device, processing device, management device, etc. that is communicatively connected to the robot. For the sake of clarity of description, they will be referred to as electronic devices in this article.

[0056] The robot mentioned in the embodiments of the present application has an actuator, i.e., the end tool of the robot, which can be at least one of a dexterous hand, a gripper, a suction cup, etc. The actuator can be used to perform at least one of the actions of grasping, pushing, sucking, poking, and knocking. The robot can also be equipped with an image acquisition device, which can be deployed at the head, hand, etc. of the robot, and is not specifically limited here.

[0057] Of course, the image acquisition device can also be deployed at a certain location in the robot's working environment, which is reasonable. The image acquisition device is used to acquire the depth image and / or visible light image of the target object, and can also recognize the depth image to obtain the depth information of the target object and the position in the depth image. Of course, the image acquisition device can also recognize the visible light image to determine the type, size, shape and position of the target object in the visible light image.

[0058] In one embodiment, the image acquisition device can send the acquired depth image and / or visible light image to the electronic device, and then the electronic device can recognize the received depth image to obtain the depth information of the target object and its position in the depth image, and can also recognize the received visible light image to determine the type, size, shape and position of the target object in the visible light image.

[0059] Taking the application of the control method of the robot actuator in the household scene as an example, the robot can be a household robot used for various household chores. For example, it can be used to pour coffee, take pots from the cupboard, throw garbage into the trash can, and so on. Of course, the robot can also be used in various offline scenes such as supermarkets. The robot can be a picking robot, for example, it can place goods in the supermarket, sell goods, and take medicines in the pharmacy; it can also be used in various industrial scenes. The robot can be a warehousing robot, for example, it can sort goods in the warehouse and manage the warehousing of various types of goods.

[0060] like Figure 1 As shown, it is a flow chart of a control method of a robot actuator, including S101 to S104.

[0061] S101, obtaining a target execution information set of an operation to be executed by a robot actuator.

[0062] The target execution information set includes target operation information of the operation to be executed and target object attributes of the target object corresponding to the operation to be executed.

[0063] S102, based on a preset correspondence between an execution information set and a skill, searching for a target skill corresponding to the target execution information set from skills included in a skill library.

[0064] Each skill includes the correspondence between the object state and the operation strategy.

[0065] S103, acquiring the current object state of the target object, and determining a target operation strategy corresponding to the current object state from the target skills.

[0066] S104: According to the target operation strategy, control the robot actuator to perform the operation to be performed on the target object.

[0067] It can be seen that in the solution provided by the embodiment of the present invention, it is only necessary to find the target skill from the skills included in the skill library, and then determine the target operation strategy corresponding to the current object state from the target skill according to the current object state of the target object, so that the robot actuator can be controlled to start the action according to the target operation strategy. Since searching for the target skill and the target operation strategy from the skill library does not require a large number of complex calculations, the time consumption is greatly reduced compared to the time required to determine the operating parameters of the robot actuator based on the position and posture of the object. Therefore, the robot actuator can quickly start the operation, thereby achieving a rapid response.

[0068] When an operation needs to be performed on an object, the electronic device can execute the above step S101, that is, obtain the target execution information set of the operation to be performed by the robot actuator, and the target execution information set includes the target operation information of the operation to be performed and the target object attribute of the target object corresponding to the operation to be performed. The target object is the object, for example, it can be a water cup, a fruit plate, a medicine box, a milk box, a book, a toy, etc. The operation to be performed is the operation that needs to be performed on the target object, for example, it can be grasping, pushing, poking, sucking, knocking, etc.

[0069] The target operation information may be information that can characterize the characteristics of the operation to be performed by the robot actuator, and may include the operation type of the operation to be performed and / or the end structure type of the robot actuator, wherein the operation type of the operation to be performed is the above-mentioned grasping, pushing, poking, sucking, knocking, etc., and the end structure type of the robot actuator may be a dexterous hand, a gripper, a suction cup, etc. The target object attribute may be information that can characterize the characteristics of the target object, for example, may include at least one of the object category, size, and shape.

[0070] In order to enable the robot actuator to respond quickly and perform related actions as quickly as possible when it is necessary to operate an object, a skill library can be pre-built. The skill library can include operation information and the correspondence between object attributes and skills. Each skill can include the correspondence between object status and operation strategy. That is, the skill library at least includes fields that can reflect the type and / or operation mode of the robot actuator, fields that can reflect the parameters of the object to be grasped, that is, the object attributes, and the corresponding operation strategy fields. Of course, the skill library can also include shooting angles, environmental parameters, image recognition capabilities, and other information related to the actions to be performed by the robot actuator, which is not specifically limited here.

[0071] In this way, the electronic device can search for the target skill corresponding to the target operation information and the target object attribute from the skills included in the pre-built skill library according to the target operation information, the target object attribute and the corresponding relationship.

[0072] For example, the skills library can be shown in Table 1 below:

[0073] Table 1

[0074]

[0075] Then, if the target operation information and target object attribute acquired by the electronic device are operation information 1 and object attribute 2 respectively, the corresponding target skill, namely, skill 2, can be found from the skill library shown in Table 1. Among them, skill 2 includes the correspondence between the object state and the operation strategy, that is, the object state b1 corresponds to the operation strategy b1, the object state b2 corresponds to the operation strategy b2..., and so on.

[0076] In one embodiment, when an electronic device searches for a target skill from skills included in a pre-built skill library, it can traverse the operation information and object attributes corresponding to each skill in the skill library to find the target skill, where the operation information corresponding to the target skill matches the target operation information, and the object attributes corresponding to the target skill match the target object attributes.

[0077] In another embodiment, in order to improve the search efficiency and further improve the response speed of the robot actuator, the electronic device can first find the operation information that matches the target operation information from the operation information included in the pre-built skill library, and then find the object attributes that match the target object attributes from the object attributes corresponding to these matching operation information, so as to determine the target skill. That is, the operation information is used for preliminary data screening, and then the object attributes are used for fine data screening.

[0078] Of course, the electronic device can also first find object attributes that match the target object attributes from the object attributes included in the pre-built skill library, and then find operation information that matches the target operation information from the operation information corresponding to these matching object attributes, so as to determine the target skill, which is reasonable. That is, use the object attributes to perform preliminary data screening, and then use the operation information to perform fine data screening.

[0079] For example, if the target operation information of the operation to be performed by the robot actuator includes the field "suction cup", the electronic device can find the operation information including "suction cup" from the operation information included in the pre-built skill library as the alternative operation information, and narrow the search range corresponding to the next step. Then, the object attributes that match the target object attributes are found from the object attributes corresponding to the alternative operation information. Assuming that the target object attribute is "fresh-keeping box", the electronic device can find the object attributes including "fresh-keeping box" from the object attributes corresponding to the alternative operation information, and determine the skill corresponding to the object attribute as the target skill.

[0080] For each skill, the target operation information of the operation to be performed is the operation information corresponding to the skill, and the object attribute of the object is the object attribute corresponding to the skill, and the robot actuator may perform the skill to perform the operation to be performed on the object. The correspondence between the object state and the operation strategy included in the target skill represents: when the target object is in different object states, the robot actuator must perform the specific operation strategy to perform the operation to be performed on the target object in the object state.

[0081] Therefore, after determining the target skill, the electronic device can determine the specific operation strategy to be executed as long as it determines the current object state of the target object. The electronic device can execute the above step S103, that is, obtain the current object state of the target object, and determine the target operation strategy corresponding to the current object state from the target skill. The object state can be a parameter that can characterize the state information such as the real shape, position, and posture of the object.

[0082] As an implementation method, the current object state of the target object can be obtained through an image of the target object captured by an image acquisition device. The electronic device or image acquisition device can perform image recognition on the image of the target object to determine the position, size, and depth information of the target object in the image, and then determine the actual size, posture, etc. of the target object based on the relative position relationship between the image acquisition device and the robot actuator as the current object state of the target object.

[0083] For example, the electronic device determines that the target skill is skill 2 in the above Table 1, and obtains the current object state of the target object as object state b1, then the target operation strategy corresponding to the current object posture can be determined from skill 2 as operation strategy b2. That is, if the robot actuator wants to perform the operation to be performed on the target object whose current object state is object state b1, it can act on the target object according to the specific operation method represented by operation strategy b2.

[0084] After the target operation strategy is determined, the electronic device can control the robot actuator to perform the operation to be performed on the target object according to the target operation strategy. For example, the specific operation method represented by the target operation strategy is to move to the target position according to path 1, adjust the posture to posture 1, and perform a grasping action. Then the electronic device can control the robot actuator to move to the target position according to path 1 according to the target operation strategy, and adjust the posture to posture 1, and then perform a grasping action to grasp the target object. Of course, if the robot actuator is far away from the target position, that is, the movable space of the robot actuator fails to cover the target position, then the electronic device can control the robot to move in the direction indicated by path 1, and after reaching a certain area, control the robot actuator to move to the target position according to path 1 and complete subsequent operations.

[0085] It can be seen that in this solution, it is only necessary to find the target skill from the skills included in the skill library, and then determine the target operation strategy corresponding to the current object state from the target skill according to the current object state of the target object, so that the robot actuator can be controlled to start the action according to the target operation strategy. Since searching for the target skill and the target operation strategy from the skill library does not require a large number of complex calculations, the time required is greatly reduced compared to the time required to determine the operation parameters of the robot actuator based on the position and posture of the object. Therefore, the robot actuator can quickly start the operation, thereby achieving a fast response.

[0086] In order to improve the search efficiency of the target skill and further improve the response speed of the robot actuator, the above-mentioned skill library may include at least one sub-skill library, and for each sub-skill library, the operation information or object attributes in the sub-skill library are the same.

[0087] The skill library can be matched with the operation type. For example, the robot actuator's grasping, pushing, poking, etc. can correspond to a sub-skill library. Or, the skill library can be matched with the type of end structure that needs to be mobilized. For example, the suction cup, dexterous hand, gripper, etc. can correspond to a sub-skill library. Of course, the skill library can also match the object attributes. For example, different categories of objects can correspond to a sub-skill library, different sizes of objects can correspond to a sub-skill library, different shapes of objects can correspond to a sub-skill library, etc.

[0088] Taking the example that the skill library matches the operation type and the operation information includes the operation type and the terminal structure type, the skill library can be shown in the following Table 2:

[0089] Table 2

[0090]

[0091]

[0092] Taking the example that the skill library matches different categories of objects and the object attributes also include the size of the object, the skill library can be shown in Table 3 below:

[0093] Table 3

[0094]

[0095] When the skill library includes multiple sub-skill libraries, such as Figure 2 As shown, the step of searching the target skill corresponding to the target execution information set from the skills included in the skill library based on the preset correspondence between the execution information set and the skills may include:

[0096] S201, searching for a sub-skill library corresponding to the first information from the at least one sub-skill library as a target sub-skill library;

[0097] S202: Search the target skill corresponding to the second information from the target sub-skill library.

[0098] The electronic device can first search for a matching sub-skill library from the pre-built multiple sub-skill libraries to narrow the search scope. Wherein, when each sub-skill library is a skill library corresponding to a type of operation information, the first information is the operation information of the target operation information, and the second information is the target object attribute and other information in the target operation information except the above-mentioned operation information; when each sub-skill library is a skill library corresponding to a type of object attribute, the first information is the object attribute of the target object attribute, and the second information is the target operation information and other attributes in the target object attribute except the above-mentioned object attribute.

[0099] It can be seen that the electronic device can first find the corresponding sub-skill library from the pre-built multiple sub-skill libraries according to the information according to which the sub-skill library is divided, as the target sub-skill library. When each sub-skill library is a skill library corresponding to the operation information, the electronic device can find the sub-skill library corresponding to the target operation information from the multiple sub-skill libraries. For example, if the target operation information is grasping, the electronic device can find the sub-skill library 1 corresponding to grasping from the multiple sub-skill libraries shown in Table 2 above as the target sub-skill library.

[0100] In the case where each sub-skill library is a skill library corresponding to one of the object attributes, the electronic device can search for a sub-skill library corresponding to the target object attribute from multiple sub-skill libraries. For example, if the target object attribute is category 3, the electronic device can search for sub-skill library 3 corresponding to category 3 from the multiple sub-skill libraries shown in Table 3 as the target sub-skill library.

[0101] After determining the target sub-skill library, the electronic device can search the target sub-skill library for the target skill corresponding to the second information. When each sub-skill library is a skill library corresponding to a type of operation information, and the first information is the type of operation information in the target operation information, the electronic device can search the target sub-skill library for the target object attribute and the skill corresponding to other information in the target operation information except the type of operation information as the target skill.

[0102] For example, the target operation information is grasping, and other information in the target operation information besides the above operation information includes the terminal structure type being a dexterous hand. Assuming that the target object attribute is object attribute 1, and the terminal structure type 2 in the above Table 2 is a dexterous hand, the electronic device can find the skill a2 corresponding to the terminal structure type 2 and the object attribute 1 from the sub-skill library 1 shown in Table 2 as the target skill.

[0103] In the case where each sub-skill library is a skill library corresponding to a type of object attribute, and the first information is the type of object attribute in the target object attributes, the electronic device can search the target sub-skill library for the target operation information and the skills corresponding to other information in the target object attributes except the type of object attribute mentioned above as the target skills.

[0104] For example, the first information is category 3, and the other attributes of the target object besides the object attributes include size 2. Assuming the operation information is operation information 2, the electronic device can find size 2 and skill c2 corresponding to operation information 2 as the target skill from the skill library 3 shown in Table 3.

[0105] In one embodiment, each sub-skill library can be further divided into at least one sub-skill library, and each sub-skill library can still be a skill library corresponding to one type of operation information or one type of object attributes, that is, the operation information or object attributes in each sub-skill library are the same.

[0106] For example, for the sub-skill library 1 (grasping) shown in Table 2, it can be further divided into multiple sub-skill libraries according to different terminal structure types. Assuming that the terminal structure types include dexterous hands, suction cups, and grippers, the sub-skill library 1 (grasping) can be specifically shown in Table 4 below:

[0107] Table 4

[0108]

[0109] For another example, for the sub-skill library 3 (category 3) shown in Table 3, it can be further divided into multiple sub-skill libraries according to different operation information. Assuming that the operation information includes grasping, pushing and poking, the sub-skill library 3 (category 3) can be specifically shown in the following Table 5:

[0110] Table 5

[0111]

[0112] Of course, when the operation information includes multiple types and the object attributes include multiple types, the sub-skill library can be further divided into multiple sub-skill libraries to facilitate the search for target skills. For example, for the sub-skill library a (dexterous hand) shown in Table 4, it can be further divided into multiple sub-skill libraries according to different object attributes. Assuming that the object attributes include drug 1, drug 2, drug 3 and drug 4, then the sub-skill library a (dexterous hand) can be specifically shown in the following Table 6:

[0113] Table 6

[0114]

[0115]

[0116] In this way, assuming that the target operation information of the robot actuator to be performed obtained by the electronic device includes grasping and dexterous hands, and the target object attributes of the target object corresponding to the operation to be performed include medicine 3, then the electronic device can first find the matching sub-skill library 1 (grasping) in the skill library shown in Table 2 according to the grasping included in the target operation information, and then find the matching sub-skill library a (dexterous hands) from the sub-skill library 1 (grasping) shown in Table 4 according to the dexterous hands included in the target operation information. Then, according to the medicine 3 included in the target object attributes, find the skill a3 corresponding to the matching sub-skill library a3 (drug 3) from the sub-skill library included in the sub-skill library a (dexterous hands) shown in Table 6, and this skill a3 is the target skill.

[0117] The specific content of the operation information and object attributes included in the skill library can be determined according to the actual application scenario of the robot. Compared with the category of the object, the size and shape of the object will have a greater impact on the operation itself. Therefore, when defining the skill library, the size and shape of the object can be added to the skill library as object attributes. If the application scenario is relatively limited, that is, there are not many types of objects in the scene, and they are relatively fixed, then the category of the object can also be added to the skill library as an object attribute.

[0118] For example, in a drugstore scenario, most objects are medicine boxes, and the size of medicine boxes is relatively fixed and regular. If the drug category is defined in advance, when searching for the corresponding entry in the skill library, as long as the drug category of the target object can be identified, the unique corresponding target skill can be found, thereby clarifying the method of the operation to be performed and the corresponding operation parameters.

[0119] For example, in a supermarket scenario, there are many categories of goods and they are relatively irregular. If the product categories are defined in advance, the amount of data in the skill library will be too large. However, if the size and shape of the objects are defined, multiple products can be grouped into one entry, which can reduce the amount of data in the skill library, find the target skills more quickly, and facilitate the robot actuator to respond quickly.

[0120] It can be seen that in this embodiment, the pre-built skill library may include at least one sub-skill library, and the operation information or object attributes in each sub-skill library are the same. In this case, the electronic device can search for the sub-skill library corresponding to the first information from at least one sub-skill library as the target sub-skill library, and then search for the target skill corresponding to the second information from the target sub-skill library. The search range can be gradually narrowed without traversing all entries in the skill library, which can further improve the search efficiency of the target skill and thus improve the response speed of the robot actuator.

[0121] As an implementation method of the present application, Figure 3 As shown, the step of obtaining the target execution information set of the operation to be executed by the robot actuator may include S301 and S302:

[0122] S301, obtaining an execution instruction for a target object, and determining fields included in the execution instruction based on instruction content of the execution instruction.

[0123] In different application scenarios, the robot may be controlled in different ways. For example, in a home scenario, the robot may be controlled by voice, and in a supermarket scenario, the robot may be controlled by online ordering and other control methods. Regardless of the control method used to control the robot, when an operation is required on a target, the user can trigger an execution instruction for the target object. The electronic device can then obtain the execution instruction and determine the fields included in the execution instruction based on the instruction content of the execution instruction.

[0124] For example, a user issues a voice command to a robot: "Take a water cup". The electronic device can perform semantic analysis on the voice command and extract the operation information "Take" field and the object attribute "Water cup" field from the semantics corresponding to the voice command. For another example, a user places an online order through a terminal device and buys a pack of biscuits. The terminal device can send the order to the electronic device, that is, send an execution instruction to the electronic device. The electronic device can parse the order content to determine that the execution instruction includes the operation information "Grab" field and the object attribute "Biscuit" field.

[0125] S302, based on the preset field priority, determine a preset number of target fields from the determined fields and the fields corresponding to the terminal structure type of the robot executor as a target execution information set for the operation to be executed by the robot executor.

[0126] Since the terminal structure type of the robot actuator is known, the fields corresponding to the terminal structure type are known. In this way, the electronic device can determine some operation information fields and object attribute fields based on the above step S301 and the known fields. The more fields are used, the more accurate the target skills will be determined, but the more computing resources will be occupied, and the search speed will be slower. Therefore, in order to ensure the search accuracy while maximizing the search speed, the field priority and quantity can be pre-set, that is, the preset field priority and the preset field quantity.

[0127] Furthermore, the electronic device can determine a preset number of target fields from the determined fields and the fields corresponding to the terminal structure type of the robot actuator based on the preset field priority, as target operation information of the operation to be performed by the robot actuator and target object attributes of the target object.

[0128] Among them, the priority of the preset fields can be set according to the influence of various fields on the accuracy of searching the target skills. For fields with a greater influence on the accuracy of searching the target skills, the corresponding priority can be set higher, and for fields with a smaller influence on the accuracy of searching the target skills, the corresponding priority can be set lower. The number of preset fields can be set as small as possible to reduce the time required to search for the target skills, based on the premise of ensuring that the accuracy of searching the target skills is not too low, for example, it can be 2, 3, 4, etc., and no specific limitation is made here.

[0129] For example, the preset field priorities from high to low are the operation type field, object category, terminal structure type, and object size, and the preset number is 2. Then, if the operation information "take" field and the object attribute "water cup" field are extracted from the semantics corresponding to the voice command, and it is known that the terminal structure type field is a gripper, the electronic device can determine the first two fields from these fields in order of priority from high to low, that is, "take" and "water cup" as the target fields. Then, the target operation information of the operation to be executed by the robot actuator is "take", and the target object attribute of the target object is "water cup".

[0130] Of course, the electronic device may also use all the determined fields and the fields corresponding to the terminal structure type of the robot actuator as the target operation information of the operation to be performed by the robot actuator and the target object attributes of the target object, which is also feasible.

[0131] It can be seen that in this embodiment, the electronic device can obtain the execution instruction for the target object, and determine the fields included in the execution instruction based on the instruction content of the execution instruction, and then, based on the preset field priority, determine the target field of the preset field number from the determined fields and the fields corresponding to the terminal structure type of the robot actuator as the target execution information set of the operation to be executed by the robot actuator. In this way, searching based on the preset field priority can ensure the accuracy of searching for the target skill, and at the same time, based on the limitation of the preset field number, the search speed can be increased as much as possible to ensure that the robot actuator can respond quickly and accurately execute the operation to be executed.

[0132] As an implementation manner of an embodiment of the present application, before the step of determining the target operation strategy corresponding to the current object state from the target skill, the method may further include:

[0133] If there are multiple target skills, use the determined fields and the fields corresponding to the terminal structure type of the robot actuator, except the target field, to determine a target skill that matches the other fields from the target skills; or, if there are multiple target skills, obtain an object image of the target object, and identify the object image to obtain at least one of the category, size, and shape of the target object as a screening field, and use the screening field to determine a target skill that matches the screening field from the target skills.

[0134] In some cases, there may be multiple target skills found. For example, the content of the execution instruction is vague and it is difficult to determine the specific operation type field or object attribute field. This may result in multiple target skills being found. At this time, in order to determine a relatively suitable target skill, the electronic device can further determine a target skill from the multiple target skills for subsequent steps.

[0135] In the first embodiment, the electronic device can use the fields determined in the above step S301 and the fields corresponding to the terminal structure type of the robot actuator, except the above target field, to determine a target skill that matches other fields from the target skills.

[0136] For example, following the example in step S302 above, the target fields are "hold" and "cup", and three target skills are found from the skill library based on these two target fields, namely target skill 1, target skill m, and target skill n. The end structure types corresponding to target skill 1, target skill m, and target skill n are suction cup, dexterous hand, and gripper, respectively.

[0137] Then, the electronic device can use the fields determined above and the fields corresponding to the end structure type of the robot actuator, except the above target field, namely the "gripper", to find the target skill n that matches the "gripper" from the target skill l, target skill m and target skill n. The target skill n is the final target skill and is used for the execution of subsequent steps.

[0138] In a second embodiment, the electronic device can obtain an object image of the target object and identify the object image to obtain at least one of the category, size, and shape of the target object as a filtering field, and then use the filtering field to determine a target skill that matches the filtering field from the target skills.

[0139] Among them, the object image can be a visible light image or a depth image, which is not specifically limited here, as long as at least one of the category, size, and shape of the target object can be identified therefrom. At least one of the category, size, and shape of the target object can be used as a screening field. Since the object attributes recorded in the skill library generally include attributes such as the category, size, and shape of the object, after obtaining the screening field, the electronic device can use the screening field to determine a target skill that matches the screening field from the target skills.

[0140] For example, following the example in step S302 above, the target fields are "hold" and "cup", and three target skills are found from the skill library based on these two target fields, namely target skill l, target skill m, and target skill n. The corresponding sizes of target skill l, target skill m, and target skill n are diameter a, diameter b, and diameter c, respectively. The size of the target object identified from the object image is diameter b, so the filter field is "diameter b".

[0141] Furthermore, the electronic device can use the above-mentioned filtering field "diameter b" to find the target skill m that matches "diameter b" from the target skill l, target skill m and target skill n. The target skill m is the final target skill for the execution of subsequent steps.

[0142] When an object image is identified to obtain at least one of the category, size, and shape of the target object, and it is required to identify the category, size, or shape of the target object very accurately, the object image can be roughly identified quickly to obtain a rough size or shape, or the category of the target object can be determined as an approximate object category based on at least one of the rough category, size, and shape.

[0143] As an implementation method, in the case where there are multiple target skills, the electronic device can directly use the multiple target skills in the subsequent steps to determine the target operation strategy. This will only increase the number of operation strategies to be searched, but will not affect the final determination of the target operation strategy. Therefore, it is also feasible.

[0144] It can be seen that in this embodiment, for the case where there are multiple target skills, the electronic device can adopt at least one of the above-mentioned implementation modes to determine the most accurate target skill from multiple target skills, which is used to determine the target operation strategy in subsequent steps, thereby ensuring that the robot actuator can accurately operate the target object.

[0145] As an implementation method of the present application, Figure 4As shown, the step of controlling the robot actuator to perform the operation to be performed on the target object according to the target operation strategy may include S401 and S402:

[0146] S401, in the process of controlling the robot actuator to perform an action according to the target operation strategy, when the distance between the robot actuator and the target object reaches a preset distance, determining a target operation parameter of the robot actuator based on a current object posture of the target object and a current posture of the robot actuator;

[0147] After the target operation strategy is determined, the electronic device can control the robot actuator to start acting according to the target operation strategy. At this time, the robot actuator has responded to the execution instruction and started to act.

[0148] In the process of the robot actuator performing actions according to the target operation strategy, the robot actuator will gradually approach the target object. When the distance between the robot actuator and the target object reaches the preset distance, it means that the distance between the robot actuator and the target object is already very close, and the robot actuator is about to perform specific grasping and other operations on the target object.

[0149] The preset distance can be determined by factors such as the type and size of the actual actuator, the space required for operation, etc., as long as the actuator does not collide with the target object when adjusting its posture and the space required for operation is met. The distance between the robot actuator and the target object can be determined based on the depth image of the target object, or the robot actuator can be provided with a distance sensor, such as a radar, an ultrasonic sensor, an infrared ranging sensor, etc., and the distance between the robot actuator and the target object can be determined by the distance sensor.

[0150] In order to ensure that the robot actuator can accurately perform the operation to be performed on the target object, the operation parameters can be corrected. Specifically, the electronic device can determine the target operation parameters of the robot actuator based on the current object posture of the target object and the current posture of the robot actuator.

[0151] The current object pose of the target object can be obtained based on a depth image of the target object, etc. The current pose of the robot actuator is known. The electronic device can determine the operation that the robot actuator wants to perform on the target object in the current object pose, and the target operation parameters that the robot actuator needs to adopt, based on the relationship between the current object pose of the target object and the current pose of the robot actuator.

[0152] For example, it may include the operation posture for performing the operation to be performed, the angle to be transformed from the current posture to the posture for performing the operation to be performed, the motion path, etc. It may be specifically determined according to the specific type of the robot actuator. Assuming that the robot actuator is a dexterous hand with 6 degrees of freedom, the target operation parameters may include parameters corresponding to the 6 degrees of freedom.

[0153] S402: Based on the target operation parameter, control the robot actuator to perform the operation to be performed on the target object.

[0154] After the target operation parameters are determined, the electronic device can control the robot actuator to perform the operation to be performed on the target object based on the target operation parameters. For example, the target operation parameters include: motion path a, grasping posture b. Then the electronic device can control the robot actuator to move along the motion path a and grasp the target object with grasping posture b.

[0155] It can be seen that in this embodiment, in the process of controlling the robot actuator to perform actions according to the target operation strategy, when the distance between the robot actuator and the target object reaches the preset distance, the electronic device can determine more accurate target operation parameters of the robot actuator based on the current object posture of the target object and the current posture of the robot actuator, and then control the robot actuator to perform the operation to be performed on the target object based on the target operation parameters. In this way, under the premise that the robot actuator has responded quickly, the operation parameters of the robot actuator can be corrected to obtain more accurate target operation parameters, ensuring that the robot actuator can accurately perform the operation to be performed on the target object.

[0156] As an implementation of an embodiment of the present application, the step of controlling the robot actuator to perform the operation to be performed on the target object based on the target operation parameter may include at least one of the following:

[0157] If the difference between the target operation parameter and the operation parameter represented by the target operation strategy is less than the preset difference, the robot actuator is controlled to perform the operation to be performed on the target object according to the target operation parameter or the operation parameter represented by the target operation strategy; if the difference between the target operation parameter and the operation parameter represented by the target operation strategy is not less than the preset difference, the robot actuator is controlled to perform the operation to be performed on the target object according to the target operation parameter.

[0158] After determining the target operation parameters, the electronic device can determine the difference between the target operation parameters and the operation parameters represented by the target operation strategy. If the difference between the target operation parameters and the operation parameters represented by the target operation strategy is less than the preset difference, it means that the difference between the target operation parameters determined based on the actual current object posture of the target object and the operation parameters represented by the target operation strategy recorded in the skill library is not large, and the operation parameters represented by the target operation strategy recorded in the skill library are still relatively accurate.

[0159] For most objects, slight differences in operating parameters do not have a significant impact on accurate operations. Therefore, when the difference between the target operating parameters and the operating parameters represented by the target operating strategy is less than the preset difference, the electronic device can control the robot actuator to continue to act according to the operating parameters represented by the target operating strategy to perform the operation to be performed on the target object.

[0160] Of course, in order to accurately perform the operation to be performed on the target object, the electronic device can also control the robot actuator to act according to the target operation parameters to perform the operation to be performed on the target object.

[0161] If the difference between the target operation parameters and the operation parameters represented by the target operation strategy is not less than the preset difference, it means that the difference between the target operation parameters determined based on the actual current object posture of the target object and the operation parameters represented by the target operation strategy recorded in the skill library is large, and the operation parameters represented by the target operation strategy recorded in the skill library may have deviated.

[0162] Then, in order to accurately perform the operation to be performed on the target object, the electronic device can control the robot actuator to act according to the target operation parameters to perform the operation to be performed on the target object.

[0163] It can be seen that in this embodiment, the electronic device can determine whether to correct the operating parameters of the robot actuator based on the size of the difference between the target operating parameters and the operating parameters represented by the target operating strategy. Regardless of the difference between the target operating parameters and the operating parameters represented by the target operating strategy, the electronic device can control the robot actuator to accurately perform the operation to be performed on the target object.

[0164] As an implementation of an embodiment of the present application, after the step of controlling the robot actuator to perform the operation to be performed on the target object according to the target operation parameter, the method may further include:

[0165] The operation parameters represented by the target operation strategy in the skill library are updated to the target operation parameters.

[0166] Since the difference between the target operation parameter and the operation parameter represented by the target operation strategy is not less than the preset difference, it means that there is a certain deviation in the operation parameter represented by the target operation strategy recorded in the skill library. In order to ensure that the operation parameter represented by the target operation strategy determined from the skill library later is more accurate, the electronic device can update the operation parameter represented by the target operation strategy in the skill library to the target operation parameter.

[0167] It can be seen that in this embodiment, when the difference between the target operation parameter and the operation parameter represented by the target operation strategy is not less than the preset difference, the electronic device can update the operation parameter represented by the target operation strategy in the skill library to the target operation parameter. This achieves the update of the skill library and improves the accuracy of the operation parameter represented by the target operation strategy subsequently determined from the skill library.

[0168] As an implementation of an embodiment of the present application, the current object state may at least include the current object posture and the object size of the target object. In this case, the method may further include:

[0169] If the target operation strategy corresponding to the current object posture does not exist in the target skill, or the target operation information and the target skill corresponding to the target object attribute do not exist in the skill library, or the target object attribute does not exist in the object attributes included in the skill library, based on the current object posture and the object size, search the skill library for the operation strategy with the highest matching degree as the target operation strategy.

[0170] Due to the influence of factors such as the target object may be an object of a newly emerged category, or the execution instruction is vague and the content is unclear, or the number of skills included in the skill library is limited, the following situations may occur during the execution of a control method for a robot actuator provided in an embodiment of the present application:

[0171] The first case: there is no target operation strategy corresponding to the current object posture in the target skill. For example, the target skill includes 50 current object postures and corresponding target operation strategies, but the 50 postures do not match the current object posture of the target object, so the target operation strategy corresponding to the current object posture cannot be found.

[0172] The second situation: the target skill corresponding to the target operation information and the target object attributes does not exist in the skill library. For example, the target operation information is the operation type grasping. When searching for the target skill library from the multiple sub-skill libraries corresponding to the operation types included in the skill library, the sub-skill library corresponding to "grabbing" cannot be found, and the target skill corresponding to the target operation information and the target object attributes cannot be found.

[0173] The third situation: the target object attribute does not exist in the object attributes included in the skill library. For example, the target object is a new type of object, and the category is not pre-defined in the skill library. Then, when the target object attribute is the category of the target object, the target object attribute does not exist in the object attributes included in the skill library.

[0174] For the above three situations, in order to enable the robot actuator to quickly respond to the operations to be performed on the target object, the electronic device can search for skills with a matching degree higher than a preset threshold or a matching degree within a preset range from the skill library based on the current object posture and object size, as target skills.

[0175] The preset threshold and the preset interval can be determined according to factors such as actual operation accuracy requirements, so that the target skill can include the skill with the highest matching degree, the second highest matching degree, the top few higher matching degrees, or the skills with matching degrees within a certain range. Skills with matching degrees higher than the preset threshold or matching degrees within the preset interval are skills that are more compatible with the current object posture and object size. The robot actuator can perform operations on the target object that are more compatible with the operation to be performed according to the operation strategy corresponding to the skill.

[0176] As an implementation method, the electronic device can search in the skill library to find the skill that is most similar to the current object posture and object size of the target object in the corresponding information, that is, the skill with the highest matching degree, and use the skill as the target skill.

[0177] For example, the skill library is shown in Table 3 above, including sub-skill libraries corresponding to n different categories, where n is a positive integer. The category of the target object is category A, the current object posture is posture A, and the object size is size 1, but category A does not exist in the n different categories in the skill library. Then, based on category A, the corresponding target sub-skill library cannot be found, and the subsequent steps cannot be continued.

[0178] In this case, the electronic device can search in the skill library according to size 1 and posture A, and find the operation strategy whose corresponding information matches the two information with the highest degree of matching as the target operation strategy. Assuming that the object posture corresponding to the operation strategy H included in the skill b1 in Table 3 is most similar to posture A, then the operation strategy H can be determined as the target operation strategy.

[0179] It can be seen that in this embodiment, for the case where there is no target operation strategy corresponding to the current object posture in the target skill, or there is no target operation information and target skill corresponding to the target object attribute in the skill library, or there is no target object attribute in the object attributes included in the skill library, the electronic device can search the operation strategy with the highest matching degree from the skill library based on the current object posture and object size as the target operation strategy. In this way, it can be ensured that in the above three situations, the robot actuator can still respond quickly.

[0180] As an implementation method of the present application, Figure 5 As shown, the step of obtaining the current object state of the target object may include S501 and S502:

[0181] S501, acquiring the position and depth information of the target object in the depth image of the target object acquired by an image acquisition device;

[0182] In order to obtain the accurate current state of the target object, a depth image of the target object can be acquired by an image acquisition device. As mentioned above, the image acquisition device can be deployed at the head, hand, etc. of the robot, or can be set at a certain position in the working scene of the robot, as long as the depth image of the target object can be captured.

[0183] The electronic device can obtain the position and depth information of the target object in the depth image of the target object. The position and depth information of the target object can be obtained by the electronic device recognizing the depth image, or can be obtained by the image acquisition device recognizing the depth image and then sending it to the electronic device. No specific limitation is made here.

[0184] S502, determining a current object state of the target object based on a pre-calibrated coordinate transformation relationship between the image acquisition device and the robot actuator, the position of the target object, and the depth information.

[0185] Regardless of whether the image acquisition device is deployed on the robot or set at a certain location in the robot's working scene, the coordinate transformation relationship between the image acquisition device coordinate system and the robot actuator coordinate system can be pre-calibrated. This coordinate transformation relationship represents the method of converting the information of the object in the image taken by the image acquisition device into the robot actuator coordinate system.

[0186] Therefore, the electronic device can determine the current object state of the target object based on the coordinate conversion relationship between the pre-calibrated image acquisition device and the robot actuator, the position of the target object, and the depth information. Among them, the current object state can be the position and size of the target object in the robot actuator coordinate system. Of course, the current object state can also be the position and size of the target object in the world coordinate system, which only needs to be converted based on the coordinate conversion relationship between the pre-calibrated robot actuator coordinate system and the world coordinate system.

[0187] It can be seen that in this embodiment, the electronic device can obtain the position and depth information of the target object in the depth image of the target object captured by the image acquisition device, and then determine the current object state of the target object based on the pre-calibrated coordinate transformation relationship between the image acquisition device and the robot actuator, the position and depth information of the target object. In this way, the current object state of the target object can be accurately determined based on the depth image, thereby determining an accurate target operation strategy to ensure that the robot actuator can accurately perform the operation to be performed on the target object.

[0188] Corresponding to the above-mentioned control method of the robot actuator, an embodiment of the present application further provides a control device of a robot actuator. The control device of a robot actuator provided in an embodiment of the present application is introduced below.

[0189] like Figure 6 FIG. 1 is a schematic diagram of a control device for a robot actuator, the device comprising:

[0190] The information acquisition module 610 is used to acquire a target execution information set of the operation to be executed by the robot actuator;

[0191] The target execution information set includes target operation information of the operation to be executed and target object attributes of the target object corresponding to the operation to be executed.

[0192] The target skill determination module 620 is used to search the target skill corresponding to the target execution information set from the skills included in the skill library based on the preset correspondence between the execution information set and the skills;

[0193] Each skill includes the correspondence between the object state and the operation strategy.

[0194] A target operation strategy determination module 630 is used to obtain the current object state of the target object and determine the target operation strategy corresponding to the current object state from the target skill;

[0195] The action execution module 640 is used to control the robot actuator to perform the operation to be performed on the target object according to the target operation strategy.

[0196] It can be seen that in the solution provided by the embodiment of the present invention, it is only necessary to find the target skill from the skills included in the pre-built skill library, and then determine the target operation strategy corresponding to the current object state from the target skill according to the current object state of the target object, so as to control the robot actuator to start the action according to the target operation strategy. Since searching for the target skill and the target operation strategy from the skill library does not require a large number of complex calculations, the time consumption is greatly reduced compared to the time required to determine the operation parameters of the robot actuator based on the position and posture of the object. Therefore, the robot actuator can quickly start the operation and achieve a fast response.

[0197] As an implementation of the embodiment of the present application, the skill library may include at least one sub-skill library, and for each sub-skill library, the operation information or object attributes in the sub-skill library are the same;

[0198] The target skill determination module 620 may include:

[0199] A first searching unit, configured to search the at least one sub-skill library for a sub-skill library corresponding to the first information as a target sub-skill library;

[0200] The second searching unit is used to search the target skill corresponding to the second information from the target sub-skill library.

[0201] Among them, in the case where the sub-skill library is a skill library corresponding to a type of the operation information, the first information is the operation information of the target operation information, and the second information is the target object attribute and other information in the target operation information except the operation information; in the case where the sub-skill library is a skill library corresponding to a type of the object attribute, the first information is the object attribute of the target object attribute, and the second information is the target operation information and other attributes in the target object attribute except the object attribute.

[0202] As an implementation of an embodiment of the present application, the above-mentioned operation information may include the operation type of the operation to be performed and at least one of the end structure type of the robot actuator; the object attributes include at least one of the object category, size, and shape; the operation strategy includes at least the operation type and the operation position.

[0203] As an implementation of the embodiment of the present application, the information acquisition module 610 may include:

[0204] A field parsing unit, used to obtain an execution instruction for a target object, and determine the fields included in the execution instruction based on the instruction content of the execution instruction;

[0205] The target information determination unit is used to determine a preset number of target fields from the determined fields and the fields corresponding to the terminal structure type of the robot actuator based on the preset field priority, as a target execution information set for the operation to be executed by the robot actuator.

[0206] As an implementation of the embodiment of the present application, the above device may further include:

[0207] A target skill screening module is used for determining a target skill matching the other fields from the target skills by using the determined fields and the fields corresponding to the terminal structure type of the robot actuator, except the target field, before determining the target operation strategy corresponding to the current object state from the target skills; or

[0208] It is used to obtain an object image of the target object and identify the object image before determining the target operation strategy corresponding to the current object state from the target skills, in response to the number of target skills being multiple, to obtain at least one of the category, size, and shape of the target object as a screening field, and to use the screening field to determine a target skill that matches the screening field from the target skills.

[0209] As an implementation of the embodiment of the present application, the above-mentioned action execution module 640 may include:

[0210] a target operation parameter determination unit, configured to determine the target operation parameter of the robot actuator based on the current object posture of the target object and the current posture of the robot actuator in response to the distance between the robot actuator and the target object reaching a preset distance during the process of controlling the robot actuator to perform an action according to the target operation strategy;

[0211] An action execution unit is used to control the robot actuator to execute the operation to be executed on the target object based on the target operation parameter.

[0212] As an implementation of an embodiment of the present application, the above-mentioned action execution unit may include at least one of the following:

[0213] a first execution subunit, configured to control the robot actuator to execute the to-be-executed operation on the target object according to the target operation parameter or the operation parameter represented by the target operation strategy in response to a difference between the target operation parameter and the operation parameter represented by the target operation strategy being less than a preset difference;

[0214] The second execution subunit is used to control the robot actuator to perform the operation to be performed on the target object according to the target operation parameter in response to the difference between the target operation parameter and the operation parameter represented by the target operation strategy being not less than the preset difference.

[0215] As an implementation of the embodiment of the present application, the above device may further include:

[0216] The skill library updating module is used to update the operation parameters represented by the target operation strategy in the skill library to the target operation parameters after controlling the robot actuator to perform the operation to be performed on the target object according to the target operation parameters.

[0217] As an implementation manner of the embodiment of the present application, the current object state may at least include the current object posture and the object size of the target object;

[0218] The above device may also include:

[0219] An operation strategy matching module is used to respond to the absence of a target operation strategy corresponding to the current object posture in the target skill, or the absence of the target operation information and the target skill corresponding to the target object attribute in the skill library, or the absence of the target object attribute in the object attributes included in the skill library. Based on the current object posture and the object size, an operation strategy with a matching degree higher than a preset threshold or a matching degree within a preset interval is searched from the skill library as the target operation strategy.

[0220] As an implementation of the embodiment of the present application, the target operation strategy determination module 630 may include:

[0221] A depth information acquisition unit, used to acquire the position and depth information of the target object in the depth image of the target object acquired by the image acquisition device;

[0222] The current object state determination unit is used to determine the current object state of the target object based on the pre-calibrated coordinate transformation relationship between the image acquisition device and the robot actuator, the position of the target object and the depth information.

[0223] The embodiment of the present invention further provides an electronic device, such as Figure 7As shown, it includes a processor 701 and a memory 702 , wherein the processor 701 communicates with the memory 702 .

[0224] Memory 702, used for storing computer programs;

[0225] The processor 701 is used to implement the control method steps of the robot actuator described in any of the above embodiments when executing the program stored in the memory 702.

[0226] It can be seen that in the scheme provided by the embodiment of the present invention, the electronic device can obtain the target execution information set of the operation to be performed by the robot actuator, wherein the target execution information set includes the target operation information of the operation to be performed and the target object attribute of the target object corresponding to the operation to be performed; based on the correspondence between the preset execution information set and the skills, the target skill corresponding to the target execution information set is searched from the skills included in the skill library, wherein each skill includes the correspondence between the object state and the operation strategy; the current object state of the target object is obtained, and the target operation strategy corresponding to the current object state is determined from the target skill; according to the target operation strategy, the robot actuator is controlled to perform the operation to be performed on the target object. In this scheme, it is only necessary to find the target skill from the skills included in the skill library, and then determine the target operation strategy corresponding to the current object state from the target skill according to the current object state of the target object, so that the robot actuator can be controlled to start the action according to the target operation strategy. Since searching the target skill and the target operation strategy from the skill library does not require a large number of complex calculations, the time consumption is greatly reduced compared to the time required to determine the operation parameters of the robot actuator based on the position and posture of the object. Therefore, the robot actuator can quickly start the operation, thereby achieving a fast response.

[0227] In one embodiment, the electronic device may be a robot. Figure 8 As shown, the robot may include a processor 801, a memory 802 and an actuator 803, wherein the processor 801 communicates with the memory 802 and the actuator 803 respectively.

[0228] Memory 802, used for storing computer programs;

[0229] The processor 801 is used to implement the control method steps of the robot actuator described in any of the above embodiments when executing the program stored in the memory 802.

[0230] The processor, memory and actuator can communicate with each other through a communication bus. The communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0231] The robot may further include a communication interface, which is used for communication between the robot and other devices.

[0232] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0233] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0234] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the robot actuator described in any of the above embodiments are implemented.

[0235] In another embodiment provided by the present invention, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the control method of the robot actuator described in any of the above embodiments.

[0236] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by 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 program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention 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 to another 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.). 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 can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0237] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0238] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, computer-readable storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0239] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A control method for a robot actuator, characterized in that: The method comprises: Acquire a target execution information set of an operation to be performed by a robot actuator, wherein the target execution information set includes target operation information of the operation to be performed and a target object attribute of a target object corresponding to the operation to be performed; Based on the preset correspondence between the execution information set and the skills, searching the target skill corresponding to the target execution information set from the skills included in the skill library, wherein each skill includes the correspondence between the object state and the operation strategy; Acquire the current object state of the target object, and determine the target operation strategy corresponding to the current object state from the target skill; According to the target operation strategy, the robot actuator is controlled to perform the operation to be performed on the target object.

2. The method according to claim 1, characterized in that: The skill library includes at least one sub-skill library, and for each sub-skill library, the operation information or object attributes in the sub-skill library are the same; The step of searching the target skill corresponding to the target execution information set from the skills included in the skill library based on the preset correspondence between the execution information set and the skills includes: From the at least one sub-skill library, searching for a sub-skill library corresponding to the first information as a target sub-skill library; from the target sub-skill library, searching for a target skill corresponding to the second information; Among them, in the case where the sub-skill library is a skill library corresponding to a type of the operation information, the first information is the operation information of the target operation information, and the second information is the target object attribute and other information in the target operation information except the operation information; in the case where the sub-skill library is a skill library corresponding to a type of the object attribute, the first information is the object attribute of the target object attribute, and the second information is the target operation information and other attributes in the target object attribute except the object attribute.

3. The method according to claim 1, characterized in that The step of obtaining a target execution information set of the operation to be executed by the robot actuator includes: Acquire an execution instruction for a target object, and determine fields included in the execution instruction based on instruction content of the execution instruction; Based on the preset field priority, determining a preset number of target fields from the determined fields and the fields corresponding to the terminal structure type of the robot actuator as a target execution information set of the operation to be executed by the robot actuator; Before the step of determining the target operation strategy corresponding to the current object state from the target skills, in response to the number of target skills being multiple, the method further includes: Using the determined fields and the fields corresponding to the terminal structure type of the robot actuator, except the target field, a target skill matching the other fields is determined from the target skills; or, An object image of the target object is acquired, and the object image is identified to obtain at least one of the category, size, and shape of the target object as a screening field, and a target skill matching the screening field is determined from the target skills using the screening field.

4. The method according to any one of claims 1 to 3, characterized in that: The step of controlling the robot actuator to perform the operation to be performed on the target object according to the target operation strategy includes: In the process of controlling the robot actuator to perform an action according to the target operation strategy, in response to the distance between the robot actuator and the target object reaching a preset distance, determining a target operation parameter of the robot actuator based on a current object posture of the target object and a current posture of the robot actuator; Based on the target operation parameter, the robot actuator is controlled to perform the operation to be performed on the target object.

5. The method according to claim 4, characterized in that The step of controlling the robot actuator to perform the operation to be performed on the target object based on the target operation parameter includes at least one of the following: In response to a difference between the target operation parameter and the operation parameter represented by the target operation strategy being less than a preset difference, controlling the robot actuator to perform the operation to be performed on the target object according to the target operation parameter or the operation parameter represented by the target operation strategy; In response to a difference between the target operation parameter and the operation parameter represented by the target operation strategy being not less than the preset difference, the robot actuator is controlled to perform the operation to be performed on the target object according to the target operation parameter.

6. The method according to claim 5, characterized in that After the step of controlling the robot actuator to perform the operation to be performed on the target object according to the target operation parameter, the method further includes: The operation parameters represented by the target operation strategy in the skill library are updated to the target operation parameters.

7. The method according to any one of claims 1 to 3, characterized in that: The current object state includes at least the current object posture and the object size of the target object; The method further comprises: In response to the fact that the target operation strategy corresponding to the current object posture does not exist in the target skill, or the target operation information and the target skill corresponding to the target object attribute do not exist in the skill library, or the target object attribute does not exist in the object attributes included in the skill library, based on the current object posture and the object size, an operation strategy with a matching degree higher than a preset threshold or a matching degree within a preset interval is searched from the skill library as the target operation strategy.

8. A control device for a robot actuator, characterized in that: The device comprises: An information acquisition module, used to acquire a target execution information set of an operation to be performed by a robot actuator, wherein the target execution information set includes target operation information of the operation to be performed and a target object attribute of a target object corresponding to the operation to be performed; A target skill determination module, configured to search for a target skill corresponding to the target execution information set from the skills included in the skill library based on a preset correspondence between the execution information set and the skills, wherein each skill includes a correspondence between an object state and an operation strategy; A target operation strategy determination module, used to obtain the current object state of the target object and determine the target operation strategy corresponding to the current object state from the target skill; An action execution module is used to control the robot actuator to execute the operation to be executed on the target object according to the target operation strategy.

9. An electronic device, characterized in that: comprising a processor and a memory, wherein the processor communicates with the memory; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps of any one of claims 1 to 7 are implemented.