Robotic arm control method and apparatus, device, and storage medium

By throwing and balancing three-dimensional objects at the non-end position of the robotic arm, multi-degree-of-freedom drive and PID control are used to solve the problem of throwing and balancing the robotic arm under curved surface design, improving operational flexibility and accuracy.

WO2024198365A1PCT designated stage expired Publication Date: 2024-10-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Application Number
PCT/CN2023/130371
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2023-11-08
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

It is difficult for existing robotic arms to throw and maintain the balance of three-dimensional objects through non-end positions during operation. Especially when the appearance of the robotic arm is a curved surface and lacks a flat design, control is difficult, and traditional methods cannot effectively utilize the robotic arm. Multiple degrees of freedom for non-grip operations.

Method used

Provide a method and device for controlling a robotic arm, by throwing a three-dimensional object at a non-end position of the robotic arm, catching and maintaining its balance based on a control signal, and utilizing multiple drive sources and transmission mechanisms to achieve multi-degree-of-freedom coupled drive. To increase the rotational torque and speed, a PID controller is used to adjust the control signal according to the object's motion trajectory information to achieve balance.

Benefits of technology

It enables the mechanical arm to throw and catch three-dimensional objects and maintain balance at any position except the end, expands the control method, improves operational flexibility and precision, and is suitable for processing a variety of three-dimensional objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023130371_03102024_PF_FP_ABST
    Figure CN2023130371_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the field of robots. Disclosed are a robotic arm control method and apparatus, a device, and a storage medium. The method is executed by a controller of a robotic arm. A three-dimensional object is placed at any position other than a tail end on the robotic arm. The method comprises: controlling the robotic arm to throw the three-dimensional object (510); acquiring a first control signal; controlling, on the basis of the first control signal, the robotic arm to catch the thrown three-dimensional object, with the position where the robotic arm catches the three-dimensional object being any position other than the tail end (520); acquiring a second control signal; and controlling the robotic arm on the basis of the second control signal, so that the three-dimensional object regains a state of force balance at any position other than the tail end (530). The present application provides a new use method for a robotic arm, comprising first throwing a three-dimensional object, then catching the three-dimensional object by means of any position other than the tail end on the robotic arm, and enabling the three-dimensional object to regain balance. The control mode of the robotic arm for throwing and catching the three-dimensional object is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Control method, device, equipment and storage medium of robotic arm

[0001] This application claims priority to Chinese patent application No. 202310360170.X filed on March 31, 2023, entitled “Control method, device, equipment and storage medium for a robotic arm”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of robotics, and in particular to a control method, device, equipment and storage medium for a robotic arm. Background Art

[0003] With the development of robotics technology and the expansion of its application areas, robots have gradually become irreplaceable tools in production, service and other fields. The robotic arm is a common robot actuator that plays an important role in production and life.

[0004] In related technologies, the end of a robotic arm is often used to perform an operation. Alternatively, an end effector is installed at the end of the robotic arm to perform the corresponding operation, such as a robotic finger installed at the end of the robotic arm to control the movement of the robotic arm and the robotic finger to complete the operation.

[0005] Summary of the Invention

[0006] This application provides a control method, device, equipment, and storage medium for a robotic arm. The technical solution is as follows:

[0007] According to one aspect of the present application, a method for controlling a robotic arm is provided. The method is executed by a controller of the robotic arm, wherein a three-dimensional object is placed at any position on the robotic arm except the end thereof, and the method comprises:

[0008] Controlling the robotic arm to throw the three-dimensional object; obtaining a first control signal;

[0009] controlling the robotic arm to catch the thrown three-dimensional object based on the first control signal, wherein the position where the robotic arm catches the three-dimensional object is any position except the end;

[0010] Acquire a second control signal; and control the robotic arm based on the second control signal so that the three-dimensional object regains balance at any position other than the end.

[0011] According to another aspect of the present application, a control device for a robotic arm is provided, wherein a three-dimensional object is placed at any position of the robotic arm except the end thereof, the device comprising:

[0012] A control module, configured to control the robotic arm to throw the three-dimensional object;

[0013] an acquisition module, configured to acquire a first control signal;

[0014] The control module is further configured to control the robotic arm to catch the thrown three-dimensional object based on the first control signal, wherein the position where the robotic arm catches the three-dimensional object is any position except the end;

[0015] The acquisition module is further configured to acquire a second control signal;

[0016] The control module is further configured to control the robotic arm based on the second control signal so that the three-dimensional object regains a force equilibrium state at any position other than the end.

[0017] According to one aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to be executed by a processor to implement the control method of the robotic arm as described above.

[0018] According to one aspect of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions, and is used to implement the control method of the robotic arm as described above when an electronic device equipped with the chip is running.

[0019] According to one aspect of the present application, a computer program product is provided, which includes computer instructions stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the control method of the robotic arm as described above.

[0020] The beneficial effects brought about by the technical solution provided in this application include at least: providing a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller executes control of the robotic arm to realize the throwing and catching action of the three-dimensional object, expanding the control method of throwing and catching the three-dimensional object and maintaining balance at any position of the robotic arm except the end. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG1 is a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application;

[0022] FIG2 is a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application;

[0023] FIG3 is a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application;

[0024] FIG4 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0025] FIG5 is a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application;

[0026] FIG6 is a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application;

[0027] FIG7 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0028] FIG8 is a schematic diagram of a robotic arm and a three-dimensional object provided by an exemplary embodiment of the present application;

[0029] FIG9 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0030] FIG10 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0031] FIG11 is a schematic diagram of a robotic arm and a three-dimensional object provided by an exemplary embodiment of the present application;

[0032] FIG12 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0033] FIG13 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0034] FIG14 is a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application;

[0035] FIG15 is a structural block diagram of a control device for a robotic arm provided by an exemplary embodiment of the present application;

[0036] FIG16 is a schematic block diagram of the structure of a robotic arm provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0037] A robotic arm is a common actuator for robots. With the widespread application of artificial intelligence, robotic arms play an important role in production and life and have become an indispensable device.

[0038] During the use of a robotic arm, the end of the robotic arm is usually used to complete the operation task; alternatively, an end effector is installed at the end of the robotic arm to complete the corresponding operation, such as installing a robotic finger at the end of the robotic arm to complete the operation by controlling the movement of the robotic arm and the robotic finger.

[0039] In the related art, the use of rigid connectors and / or housings of robotic arms to complete operational tasks is not considered. The main reasons are: first, the appearance of robotic arms is generally curved and does not have a large flat surface; second, without a gripping mechanism such as a mechanical finger, the contact between the robotic arm's appearance and external objects will not form a closed form and force, which will make the control of the robotic arm more difficult. Figure 1 shows a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application.

[0040] In some embodiments, the robotic arm has seven degrees of freedom. The elbow and wrist control motors are located in the hollow space of the third shoulder joint. Alternatively, the elbow and wrist ropes are driven by a belt driven by the shoulder motor, which transmits a transmission to a pulley. The pulley then controls the movement of the elbow and wrist via the belt drive rope.

[0041] Schematically, the robotic arm includes a first mechanical joint 10, a second mechanical joint 20, and a drive assembly 30. The first mechanical joint 10 includes a first fixed member 101 and a first movable member 102 that are rotatably connected; the second mechanical joint 20 includes a second fixed member 201 and a second movable member 202 that are rotatably connected; and the second fixed member 201 is connected to the first movable member 102.

[0042] The drive assembly 30 includes at least two drive sources 301 and at least two drive ropes 302. Each of the at least two drive sources 301 is connected to the first fixed member 101, the first movable member 102, and the second movable member 202 via at least one drive rope 302. The at least two drive sources 301 have a first operating mode and a second operating mode.

[0043] In the first working mode, at least two driving sources 301 can drive the second movable member 202 to rotate relative to the second fixed member 201, and fix the position of the first movable member 102 relative to the first fixed member 101; in the second working mode, at least two driving sources 301 can drive the second movable member 202, the second fixed member 201 and the first movable member 102 to rotate relative to the first fixed member 101, and fix the position of the second movable member 202 relative to the second fixed member 201.

[0044] The robotic arm in the present application includes a first mechanical joint 10, a second mechanical joint 20 and a drive assembly 30, the drive assembly 30 includes at least two drive sources 301 and at least two drive ropes 302, each of the at least two drive sources 301 is connected to the first movable part 102 of the first mechanical joint 10, the second movable part 202 of the second mechanical joint 20, and the first fixed part 101 of the first mechanical joint 10 through at least one drive rope 302, and the at least two drive sources 301 can drive the second movable part 202 relative to the first mechanical joint 10 in the first working mode. The second fixed part 201 rotates, and the position of the first movable part 102 relative to the first fixed part 101 is fixed; in the second working mode, the second movable part 202, the second fixed part 201 and the first movable part 102 can be driven to rotate relative to the first fixed part 101, and the position of the second movable part 202 relative to the second fixed part 201 is fixed, thereby realizing the coupled drive of at least two driving sources 301 to multiple joints, improving the utilization rate of the driving source 301, reducing the structural complexity of the mechanical joint, increasing the rotational inertia of the mechanical joint, and enhancing the motion performance of the mechanical joint.

[0045] In addition, in this embodiment, when the second mechanical joint 20 moves independently (that is, the second movable part 202 rotates relative to the second fixed part 201, but the position of the first movable part 102 relative to the first fixed part 101 is fixed), and when the first mechanical joint 10 drives the second mechanical joint 20 to move in coupling (that is, the second movable part 202, the second fixed part 201 and the first movable part 102 rotate relative to the first fixed part 101, and the position of the second movable part 202 relative to the second fixed part 201 is fixed), it is driven by at least two driving sources 301 at the same time. That is, no matter which degree of freedom corresponds to the joint movement, it is driven by the power of at least two driving sources 301. Compared with the related art, the solution in which a single degree of freedom is driven by a single driving source 301 can realize the coupled drive of a single movable part by at least two driving sources 301, and realize at least twice the traction drive, which is beneficial to improve the working performance of the movable part such as the torque and rotation speed.

[0046] In some possible implementations, the at least two drive sources 301 include a motor and a driving sheave, which are connected via a transmission mechanism. The motor drives the driving sheave through the transmission mechanism to rotate. A drive rope 302 is wound around the driving sheave. When the driving sheave rotates, the drive rope 302 is tightened around it, thereby generating a traction force on at least one of the first fixed member 101, the first movable member 102, and the second movable member 202 through the drive rope 302. In some possible implementations, the transmission mechanism includes, but is not limited to, a belt drive, a gear drive, a worm gear drive, and the like.

[0047] Exemplarily, the transmission mechanism is a belt drive, for example, including a driving pulley, a transmission belt and a passive pulley, wherein the driving pulley is connected to the output shaft of the motor, the passive pulley is connected to the driving rope pulley, and the transmission belt is connected between the driving pulley and the passive pulley.

[0048] In another exemplary embodiment, the transmission mechanism is a belt transmission, for example, further comprising a tensioning mechanism, the tensioning mechanism being close to the transmission belt, and the tensioning mechanism being capable of adjusting the tension of the transmission belt.

[0049] In some possible implementations, the first operating mode and the second operating mode can be, for example, different operating modes formed based on whether the at least two drive sources 301 have the same or different rotational directions; different operating modes formed based on whether the at least two drive sources 301 have the same or different rotational speeds; or different operating modes formed based on whether the at least two drive sources 301 have the same or different rotational directions and rotational speeds. In some embodiments, in the first operating mode, the at least two drive sources 301 rotate in the same direction, and in the second operating mode, the at least two drive sources 301 rotate in opposite directions.

[0050] Thus, the robotic arm of this embodiment can control the independent movement of the second mechanical joint 20 and the coupled movement of the second mechanical joint 20 driven by the first mechanical joint 10 by controlling the rotation direction of the at least two drive sources 301. This has a simple structure and high coupling control efficiency. In some embodiments, in a first operating mode, the at least two drive sources 301 rotate in opposite directions, and in a second operating mode, the at least two drive sources 301 rotate in the same direction. In addition, illustratively, in the first operating mode and the second operating mode, the rotation speed and output torque of the at least two drive sources 301 are the same.

[0051] As shown in FIG1 , in some embodiments, at least two drive sources 301 are located on a side of the first fixed member 101 facing away from the first movable member 102, and at least two drive ropes 302 pass through the first fixed member 101 to connect to the first movable member 102, and pass through the second fixed member 201 to connect to the second movable member 202. Thus, in the robotic arm of this embodiment, at least two drive sources 301 are disposed on a side of the first fixed member 101 facing away from the first movable member 102, and the drive ropes 302 pass through the first fixed member 101 to connect to the first movable member 102, and pass through the second fixed member 201 to connect to the second movable member 202. The mass of the at least two drive sources 301 is concentrated on the side where the first fixed member 101 is located, while the mass on the side where the first movable member 102, the second fixed member 201, and the second movable member 202 are located is relatively small, which is beneficial to increasing the moment of inertia of the structure on that side and improving its operating performance.

[0052] As shown in Figure 2, in some embodiments, the first mechanical joint 10 is a mechanical shoulder joint, and the second mechanical joint 20 is a mechanical elbow joint; the first fixed part 101 and the first movable part 102 are rotationally connected along the first axis 001; the second fixed part 201 and the second movable part 202 are rotationally connected along the second axis 002.

[0053] In the first working mode, at least two driving sources 301 can drive the second movable part 202 to rotate around the second axis 002 relative to the second fixed part 201, and fix the position of the first movable part 102 relative to the first fixed part 101; in the second working mode, at least two driving sources 301 can drive the second mechanical joint 20 and the first movable part 102 to rotate around the first axis 001 relative to the first fixed part 101, and fix the position of the second movable part 202 relative to the second fixed part 201.

[0054] In other embodiments, the first mechanical joint 10 is a mechanical shoulder joint, and the second mechanical joint 20 is a mechanical elbow joint. In the first working mode, at least two driving sources 301 can drive the second movable part 202 of the mechanical elbow joint to rotate around the second axis 002 relative to the second fixed part 201 of the mechanical elbow joint, and the first movable part 102 of the mechanical shoulder joint is fixed relative to the first fixed part 101 of the mechanical shoulder joint, thereby realizing independent movement of the mechanical elbow joint.

[0055] In the second working mode, at least two driving sources 301 can drive the first movable part 102 of the mechanical shoulder joint to drive the entire mechanical elbow joint (including the second fixed part 201 and the second movable part 202) to rotate around the first axis 001 relative to the first fixed part 101 of the mechanical shoulder joint, but the position of the second movable part 202 of the mechanical elbow joint relative to the second fixed part 201 of the mechanical elbow joint is fixed, thereby realizing the coupled movement of the mechanical elbow joint and the mechanical shoulder joint.

[0056] For example, the robotic arm can utilize a set of drive sources 301. The controller can control the set of drive sources 301 to operate in different operating modes, thereby separately driving the mechanical elbow joint and the mechanical shoulder joint. The degrees of freedom of the mechanical elbow joint and the mechanical shoulder joint can each be driven by at least two drive sources 301, achieving at least twice the traction force, which is beneficial for improving the mechanical elbow joint and mechanical shoulder joint's operating performance, such as torque and rotational speed.

[0057] In some possible implementations, the robotic arm further includes a wrist joint, a shoulder joint connected to an elbow joint, and a wrist joint connected to an elbow joint, forming a complete robotic arm. In some possible implementations, at least two drive sources 301 are located within the second movable member 202 and are connected to the second movable member 202 so as to move with the second movable member 202.

[0058] As shown in FIG2 , in some embodiments, the first axis 001 and the second axis 002 intersect perpendicularly. Thus, the first mechanical joint 10 (e.g., a mechanical shoulder joint) can drive the second mechanical joint 20 (e.g., a mechanical elbow joint) to rotate, simulating the spin of the forearm in a human arm. The second mechanical joint 20 can rotate within a wide range (e.g., 0-360°) in space, enriching the robot's motion scenarios and increasing its applicability. As shown in FIG2 , in some embodiments, the first mechanical joint 10 also includes a third fixed member 103; the first fixed member 101 is rotationally connected to the third fixed member 103. Thus, the first mechanical joint 10 includes the third fixed member 103, the first fixed member 101, and the first movable member 102, which are rotationally connected in sequence. In some possible implementations, the first fixed member 101 is driven to rotate relative to the second fixed member 201 by a shoulder drive assembly, simulating the lifting motion of the shoulder joint in a human arm. The second fixed member 201 is fixedly connected to the robot's torso or other supporting structure, providing fixed support for the entire robot arm.

[0059] As shown in FIG2 , in some embodiments, the second mechanical joint 20 further includes a first connecting member 203, the second fixed member 201 being rotationally connected to the first connecting member 203, and the first connecting member 203 being rotationally connected to the second movable member 202. Thus, in the robotic arm of this embodiment, the second fixed member 201 of the second mechanical joint 20 is rotationally connected to the second movable member 202 via the first connecting member 203, enabling the second axis 002 to be positioned farther from the second fixed member 201, thereby significantly increasing the angle at which the second movable member 202 can rotate relative to the second fixed member 201.

[0060] In the robotic arm of this embodiment, at least two driving sources 301 include two elbow driving pulleys, which are installed in the first movable part 102. The two elbow driving pulleys can drive two elbow driving ropes 302 respectively. The two elbow driving ropes 302 are wound around the two elbow driving pulleys, which also realizes the connection between the driving ropes 302 and the first movable part 102.

[0061] At least two drive ropes 302 include two elbow drive ropes 302, which are respectively connected to the first fixed part 101, the first movable part 102, and the second movable part 202, and are respectively connected to the first position and the second position of the second movable part 202, and finally connected to the second movable part 202 along opposite winding directions.

[0062] Referring to Figure 3, taking the shoulder joint as an example, the low-inertia differential shoulder joint structure of a 7-degree-of-freedom robotic arm utilizes a differential rope drive mechanism at the shoulder. This reduces the weight of the mechanism, allowing the motor module to be placed at the rear, and in some cases, allows for torque superposition. The shoulder joint's third degree of freedom utilizes a pair of large and small pulleys, which are rope-driven, further improving transmission accuracy and reducing weight. Finally, the drive modules for the wrist and elbow joints are placed at the rear of the shoulder joint arm module, reducing the weight of the entire robotic arm.

[0063] Referring to the foregoing, the end of a robotic arm is typically used to perform manipulation tasks. This embodiment of the present application provides a method for controlling a robotic arm that can perform the task of throwing and catching a three-dimensional object using a non-end of the robotic arm, thereby maintaining balance on the three-dimensional object at any position on the robotic arm except the end.

[0064] Taking a three-dimensional object such as a bottle as an example, for a robotic arm with multiple degrees of freedom, the control method for the robotic arm provided in the embodiments of the present application uses a non-terminal link of the robotic arm (such as the forearm of the robotic arm) to achieve the purpose of tossing a three-dimensional object (such as a bottle) and then catching the tossed three-dimensional object in the air. It should be understood that the control method provided in the embodiments of the present application can be implemented by the aforementioned controller of the robotic arm. The controller can be set in the robotic arm or can be set outside the robotic arm and connected to the robotic arm by wire or wirelessly to control the movement of the robotic arm.

[0065] FIG4 shows a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application. The method may be executed by a controller of the robotic arm. The method includes:

[0066] Step 510: Control the robotic arm to throw the three-dimensional object;

[0067] Exemplarily, a three-dimensional object is placed at any position on the robotic arm except the end, and the robotic arm throws up the three-dimensional object to indicate that the three-dimensional object and the robotic arm are out of contact; further, for example: there is no interaction force between the three-dimensional object and the robotic arm, and there is no contact point between the three-dimensional object and the robotic arm. Exemplarily, the shape, size, material, mass, etc. of the three-dimensional object are not restricted. Furthermore, at least one outer surface of the three-dimensional object is a curved surface, or at least one edge on the outer surface of the three-dimensional object is a curve. In one implementation, the three-dimensional object can roll and / or slide on the robotic arm under the influence of gravity; for example, the three-dimensional object can be a bottle, a rod, a sphere, an irregular object, etc. Furthermore, a cross-section of the three-dimensional object is a circle, an ellipse, or a closed shape surrounded by curves.

[0068] FIG5 shows a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application. In which, a three-dimensional object 402 is placed at any position on the robotic arm 401 except the end 401a. Referring to FIG5 , taking the three-dimensional object 402 as an example, which is a bottle, the bottle is placed on the forearm of the robotic arm 401. Exemplarily, the robotic arm throws up the three-dimensional object so that the three-dimensional object obtains a vertical upward velocity. The vertical upward direction is the opposite direction of the direction of gravity. Furthermore, the component of the velocity of the three-dimensional object in the vertical upward direction is a positive value, and this embodiment does not limit whether the three-dimensional object has velocity components in other directions. For example: the three-dimensional object can also have a velocity component in any direction on a plane perpendicular to the vertical direction.

[0069] Step 515: Obtain a first control signal;

[0070] Exemplarily, the first control signal is a control signal for controlling any position of the robotic arm except the end to catch the thrown three-dimensional object; optionally, the first control signal controls the movement of the robotic arm with reference to the motion trajectory information of the three-dimensional object; the first control signal can be generated by the controller, or generated by other devices and transmitted to the controller, and the present application does not limit the method for obtaining the first control signal. Exemplarily, the first control signal carries control information, and the transmission method of the first control signal includes but is not limited to at least one of an electrical signal, an optical signal, etc. In one example, the first control signal can also be referred to as the first control information; similarly, the second control signal hereinafter can also be referred to as the second control information, and the third control signal, the fourth control signal and other control signals in the text are similar to the above and are not listed one by one. The first control signal can be a control signal for controlling the movement of the robotic arm on one or more rotating axes, and the first control signal usually controls the movement of the robotic arm by controlling the torque.

[0071] Step 520: Control the robotic arm to catch the thrown three-dimensional object based on the first control signal;

[0072] Exemplarily, the position where the robotic arm catches the three-dimensional object is any position except the end, and there is a non-grasping operation (Nonprehensile Manipulation) between any position on the robotic arm except the end and the three-dimensional object; the contact between any position on the robotic arm except the end and the three-dimensional object does not constitute at least one of a form closure and a force closure of the three-dimensional object.

[0073] It should be noted that in this step, the robotic arm catches the thrown three-dimensional object while the three-dimensional object is moving in space, and the three-dimensional object is caught by the end of the robotic arm while it is moving in space. Exemplarily, after the robotic arm throws the three-dimensional object, the three-dimensional object and the robotic arm lose contact, and the three-dimensional object moves in space according to parabolic or quasi-parabolic motion. In this step, the robotic arm catches the three-dimensional object in motion. Furthermore, before the robotic arm grasps the three-dimensional object, at least one of the position, velocity, and acceleration of the three-dimensional object changes, and the three-dimensional object is in motion; further, when the robotic arm catches the three-dimensional object, contact is established between the robotic arm and the three-dimensional object.

[0074] Step 525: Acquire a second control signal;

[0075] Exemplarily, the second control signal is used to control the movement of the robotic arm so that the three-dimensional object is rebalanced at any position other than the end. Similar to the first control signal, this application does not limit the method for obtaining the second control signal. Similar to the first control signal, the second control signal can be a control signal for controlling the movement of the robotic arm on one or more rotating axes. The second control signal is typically used to control the movement of the robotic arm by controlling the torque.

[0076] Step 530: Control the robotic arm based on the second control signal so that the three-dimensional object reaches a force equilibrium state again at any position except the end;

[0077] Exemplarily, the three-dimensional object re-establishes a state of force equilibrium on the robotic arm, and the three-dimensional object remains balanced on the robotic arm. The purpose of controlling the robotic arm provided in this step is to ensure that the three-dimensional object is in a state of balance on the robotic arm, so that the three-dimensional object can always remain balanced on the robotic arm and not fall. Exemplarily, the force equilibrium state of the three-dimensional object (also referred to as maintaining balance) can include at least one of the following two types: a static equilibrium state, in which the three-dimensional object in the static equilibrium state is stationary on the robotic arm; and a dynamic equilibrium state, in which the three-dimensional object in the dynamic equilibrium state is displaced or rolled on the robotic arm but remains stationary on the robotic arm. This embodiment does not restrict the speed and direction of the displacement or rolling of the movable object on the robotic arm. Exemplarily, the equilibrium state indicates that the movable object is in a state of force equilibrium. At this point, the movable object can be no longer moving or in a state of uniform linear motion relative to the robotic arm. Furthermore, the movable object's movement speed is less than a preset speed, such as 1 cm per second, also known as a state of small-amplitude motion. Furthermore, the equilibrium state indicates that the movable object is in a state of force equilibrium and no longer moving (the movable object and the robotic arm remain relatively stationary).

[0078] To summarize, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller controls the robotic arm to realize the throwing and catching action of the three-dimensional object, expanding the control method of throwing and catching the three-dimensional object and maintaining balance at any position of the robotic arm except the end.

[0079] The control method for the robotic arm provided in this application, which controls the robotic arm to toss and catch a three-dimensional object, can be implemented using a single robotic arm or two robotic arms, as described below. It should be noted that the two embodiments described below for tossing and catching a three-dimensional object while maintaining balance using one or two robotic arms can be combined with other embodiments of this application to form new embodiments, and this application does not limit this.

[0080] In one example, the control method of the robotic arm can be executed by a controller of the robotic arm. In the embodiment shown in FIG4 , step 510 can be implemented as the following sub-step 1, step 520 can be implemented as the following sub-step 2, and step 530 can be implemented as the following sub-step 3:

[0081] Sub-step 1: Control the first arm to throw the three-dimensional object;

[0082] Exemplarily, the robotic arm includes a first arm. It should be noted that this embodiment does not limit the structure of the first arm. In one example, the first arm can be a robotic arm with multiple degrees of freedom as shown in FIG1 . In this embodiment, the control method for controlling the robotic arm to toss a three-dimensional object and then catch the tossed three-dimensional object is implemented via the first arm. Exemplarily, the first arm tossing the three-dimensional object indicates a break in contact between the first arm and the three-dimensional object.

[0083] Sub-step 2: controlling the first arm to catch the thrown three-dimensional object based on the first control signal;

[0084] Exemplarily, there is a non-grasping operation between any position on the first arm except the end and the three-dimensional object. Exemplarily, the non-grasping operation is used to indicate that the non-grasping operation refers to performing a grasping operation without the need for a manipulator or a claw-like structure. Exemplarily, the non-grasping operation is used to indicate that the three-dimensional object maintains contact on the forearm or upper arm of the first arm by adjusting the angle, position, etc. of the first arm. The contact between any position on the first arm except the end and the three-dimensional object does not constitute at least one of form closure and force closure of the three-dimensional object. Exemplarily, form closure refers to a contact closure state between two objects achieved by shape matching. Form closure can be achieved by geometric shape matching, such as the matching of convex and concave shapes, or by the matching of assembly parts such as threads and gears. Exemplarily, force closure refers to the contact closure state between two objects achieved by applying force. When the contact surface between the two objects is subjected to sufficient pressure or friction, the contact closure can be maintained by applying force. Force closure can be achieved by applying external force, such as fastening two objects together with bolts, or fixing the workpiece on the workbench with a clamp. Exemplarily, the end of the robotic arm is used to indicate the end of the robotic arm away from the shoulder joint. In some embodiments, the robotic arm is composed of multiple links connected end to end. For example, link 1 and link 2 constitute the robotic arm, the first end of link 1 is the shoulder joint, and the second end of link 1 is connected to the first end of link 2, then the end is used to indicate the second end of link 2. In some embodiments, the end can also be understood as the end of the robotic arm away from the shoulder joint. The mechanical device connected to one end of the joint, such as: a manipulator that provides a grasping function, a magnetic suction cup that provides adsorption ability, a bionic hand that provides bionic movement ability, etc., such as a manipulator composed of connecting rod 1 and connecting rod 2, the first end of connecting rod 2 is connected to connecting rod 1, and the second end of connecting rod 2 is a manipulator, then the end is used to indicate the manipulator on connecting rod 2. In this embodiment, the end of the first arm is used to indicate the end of the first arm that moves independently in the manipulator that is away from the shoulder joint. Similarly, the end of the second arm is used to indicate the end of the second arm that moves independently in the manipulator that is away from the shoulder joint. The introduction of the end of the manipulator in this embodiment can be applied to step 520 above, and can also be applied to sub-step 5, sub-step 6 and other embodiments below, and this application does not limit it.

[0085] Sub-step 3: controlling the first arm based on the second control signal so that the three-dimensional object regains a force equilibrium state at any position except the end;

[0086] Exemplarily, the three-dimensional object regains balance on the first arm. The purpose of controlling the first arm provided in this step is to ensure that the three-dimensional object is in a balanced state on the first arm, so that the three-dimensional object can always remain balanced on the first arm without falling.

[0087] In summary, the method provided in this embodiment provides a new method for using a robotic arm, which is completed by one arm; it can control the first arm to first throw up a three-dimensional object, and then control the first arm to catch the three-dimensional object through any position on the first arm except the end, and make the three-dimensional object regain balance; the controller executes control of the robotic arm to realize the throwing and catching action of the three-dimensional object, expanding the control method of throwing and catching the three-dimensional object and maintaining balance at any position of the robotic arm except the end.

[0088] In one example, the control method of the robotic arm can be executed by a controller of the robotic arm. In the embodiment shown in FIG4 , step 510 can be implemented as the following sub-step 4, step 520 can be implemented as the following sub-step 5, and step 530 can be implemented as the following sub-step 6:

[0089] Sub-step 4: Control the first arm to throw the three-dimensional object;

[0090] Exemplarily, the robotic arm includes a first arm and a second arm that move independently of each other; it should be noted that this embodiment does not limit the structures of the first arm and the second arm. In one example, the first arm and the second arm can be robotic arms with multiple degrees of freedom as shown in Figure 1. Figure 6 shows a schematic diagram of a robotic arm provided by an exemplary embodiment of the present application. Sub-figure (a) is a side view of the robotic arm, and sub-figure (b) is a front view of the robotic arm. A three-dimensional object 612 is thrown up by the first arm 602; the thrown three-dimensional object 612 is caught by any position of the second arm 604 except the end, and the second arm 604 is controlled so that the three-dimensional object 612 regains balance at any position except the end. The figure takes the three-dimensional object 612 as a bottle as an example for illustration, and this application does not limit the shape characteristics of the three-dimensional object.

[0091] Sub-step 5: controlling the second arm to catch the thrown three-dimensional object based on the first control signal;

[0092] Illustratively, there is a non-grasping operation between any position on the second arm except the end and the three-dimensional object; the contact between any position on the second arm except the end and the three-dimensional object does not constitute at least one of form closure and force closure of the three-dimensional object.

[0093] Sub-step 6: controlling the second arm based on the second control signal so that the three-dimensional object regains a force equilibrium state at any position other than the end;

[0094] Exemplarily, the three-dimensional object regains balance on the second arm. The purpose of controlling the first arm provided in this step is to ensure that the three-dimensional object is in a balanced state on the second arm, so that the three-dimensional object can always maintain balance on the second arm without falling.

[0095] In summary, the method provided in this embodiment provides a new method for using a robotic arm, which is completed by two arms; it can control the first arm to first throw up a three-dimensional object, and then control the second arm to catch the three-dimensional object through any position on the second arm except the end, and make the three-dimensional object regain balance; the controller executes control of the robotic arm to realize the throwing and catching action of the three-dimensional object, expanding the control method of the robotic arm to throw and catch the three-dimensional object and maintain balance at any position except the end.

[0096] Next, we will introduce how the robotic arm catches a thrown three-dimensional object.

[0097] FIG7 shows a flow chart of a method for controlling a robotic arm according to an exemplary embodiment of the present application. The method can be executed by a controller of the robotic arm. That is, in the embodiment shown in FIG4 , the method further includes step 512:

[0098] Step 512: Obtain motion trajectory information of the three-dimensional object;

[0099] Exemplarily, the motion trajectory information of a three-dimensional object is the motion trajectory of the three-dimensional object in the air after being thrown. Exemplarily, the motion trajectory information may include the motion trajectory of the center of mass of the three-dimensional object, or the motion trajectory of at least one point on the outer surface of the three-dimensional object or within the three-dimensional object, although this embodiment does not limit this.

[0100] For example, the motion trajectory information is usually predicted by the information of the three-dimensional object thrown by the robotic arm, but it is not ruled out that the motion trajectory information is obtained or predicted by measuring the posture information of the three-dimensional object in the air.

[0101] In an optional implementation, the information obtained by throwing a three-dimensional object by the robotic arm includes the position characteristics and force characteristics of the three-dimensional object before the robotic arm throws the three-dimensional object; the motion trajectory information is predicted by the position characteristics and force characteristics of the three-dimensional object before the robotic arm throws the three-dimensional object. Furthermore, the position characteristics of the three-dimensional object include but are not limited to the position information before the robotic arm and the three-dimensional object lose contact. The force characteristics of the three-dimensional object include but are not limited to at least one of the force information before the robotic arm and the three-dimensional object lose contact, the joint angular position of the robotic arm, the joint angular velocity of the robotic arm, the current information of the robotic arm, and the torque of the robotic arm. In a specific example, the position characteristics and force characteristics of the three-dimensional object are sequence values ​​that change over time. The above information can be represented in the form of a vector or a matrix. The time difference between adjacent values ​​in the sequence value can be predetermined or carried in the sequence, which is not limited in this embodiment.

[0102] Exemplarily, the first control signal is determined based on a first actual posture of the robotic arm and motion trajectory information of the three-dimensional object. The first control signal of the robotic arm is determined based on the first actual posture of the robotic arm and motion trajectory information of the three-dimensional object;

[0103] Exemplarily, the motion trajectory information is a parabolic trajectory after the three-dimensional object and the robotic arm lose contact; the first actual posture of the robotic arm is used to indicate the posture position information of the robotic arm at the current timestamp, for example, the posture information is described by at least one of the angle and angular velocity of the robotic arm. The first control signal is a control signal used to control any position on the robotic arm except the end to catch the thrown three-dimensional object. Exemplarily, the motion mode of the robotic arm is obtained based on the motion trajectory information so that the robotic arm can catch the posture information of the thrown three-dimensional object. Exemplarily, the robotic arm is instructed to move with reference to the motion trajectory information of the three-dimensional object, and the motion mode of the robotic arm indicated by the first control signal causes the relative speed between any position on the robotic arm except the end and the three-dimensional object to gradually decrease, thereby causing any position on the robotic arm except the end and the three-dimensional object to remain relatively stationary and catch the three-dimensional object.

[0104] In some embodiments, the control method of the robotic arm provided in the embodiments of the present application can be implemented by a Proportional Integration Differentiation (PID) controller. Among them, the PID controller is a feedback loop component used in industrial control applications. According to the control principle of the PID controller, the collected data can be compared with the corresponding reference value (or can be understood as the expected value, target value), and the difference between the two can be used to calculate a new input value. The purpose of this new input value is to allow the system data to reach or remain at the reference value. Exemplarily, according to the first control signal, any position on the robotic arm except the end is controlled to catch the thrown three-dimensional object;

[0105] After the first control signal is determined, the robotic arm can be controlled according to the first control signal.

[0106] Furthermore, the first control signal can be a control signal on one or more rotating axes, and the first control signal is usually used to control the movement of the robotic arm by controlling the torque. Figure 8 shows a schematic diagram of the robotic arm and three-dimensional object provided by an exemplary embodiment of the present application; for example, Figure 8 shows a schematic diagram of the robotic arm in a fully extended state; the direction of the extension line 652 of the robotic arm 650 when extended is determined as the y direction, the direction of the horizontal line perpendicular to the robotic arm 650 when extended is determined as the x direction, and the direction of the vertical line perpendicular to the robotic arm 650 when extended is determined as the z direction. The first control signal can be a control signal around at least one rotating axis in the x direction, y direction, or z direction.

[0107] To sum up, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller executes control of the robotic arm, determines the first control signal based on the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object, and completes the control of the robotic arm to catch the thrown three-dimensional object at any position except the end, expanding the control method of throwing and catching three-dimensional objects and maintaining balance at any position of the robotic arm except the end.

[0108] In one example, the control method of the robotic arm may be executed by a controller of the robotic arm. In the embodiment shown in FIG7 , step 515 may be implemented as sub-steps 11 and 12:

[0109] Sub-step 11: determining a first desired posture of the robotic arm based on the motion trajectory information of the three-dimensional object;

[0110] Exemplarily, the first expected posture may be the same as the motion trajectory information, or may be determined based on the motion trajectory information. The first expected posture is determined based on the motion trajectory information of the three-dimensional object. In one example, the first expected posture is determined by correcting the motion trajectory information of the three-dimensional object based on the shape characteristics of the three-dimensional object. Correcting the motion trajectory information based on the shape characteristics of the three-dimensional object is to ensure contact between the robotic arm and the three-dimensional object. Specifically, the motion trajectory information of the three-dimensional object is corrected by the shape characteristics of the three-dimensional object, and the first expected posture is determined so that any position on the robotic arm except the end (such as the forearm of the robotic arm shown in Figure 5) contacts the lower edge of the three-dimensional object in the vertical direction. Exemplarily, the vertical direction and the direction of the earth's gravity are on the same straight line, and the horizontal plane is the plane where the horizontal direction perpendicular to the earth's gravity is located.

[0111] Sub-step 12: determining a first control signal according to a difference between the first actual posture and the first desired posture;

[0112] Exemplarily, the first expected posture is used to indicate the posture information of the robotic arm when receiving the thrown three-dimensional object; please refer to the introduction above for the first actual posture and the first expected posture. In one implementation, the first actual posture includes the angle and angular velocity of the robotic arm rotating around the first rotation axis; correspondingly, the first expected posture includes the expected angle and expected angular velocity of the robotic arm rotating around the first rotation axis, and the first control signal includes a first control torque; exemplarily, the difference between the first actual posture and the first expected posture is used to indicate the difference between the current actual posture and the posture of the robotic arm when receiving the thrown three-dimensional object. The above difference is used to indicate that the first control signal is determined based on the current actual posture as the reference, and the first expected posture is approached as the motion target. The first control signal is used to control the robotic arm to move to the first expected posture based on the current actual posture. Exemplarily, the first control signal is determined by multiplying the control parameter and the above difference.

[0113] Exemplarily, this step can be implemented as the following sub-steps:

[0114] Determining a first control torque according to a difference between the angle and the desired angle, and a difference between the angular velocity and the desired angular velocity;

[0115] The first control torque is used to indicate the torque applied in the roll direction of the robotic arm when rotating about the first rotation axis, where the first rotation axis is a horizontal line perpendicular to the robotic arm; and / or the first control torque is used to indicate the torque applied in the pitch direction of the robotic arm when rotating about the first rotation axis, where the first rotation axis is an extension line of the robotic arm. Referring to Figure 8 above, the first rotation axis is the x-direction and / or the y-direction in Figure 8 . Optionally, the extension line of the robotic arm is the extension direction of the robotic arm when the robotic arm is extended. Exemplarily, Figure 8 shows the extension line when the robotic arm is extended. Exemplarily, the extension line is a ray extending from the end of the robotic arm and pointing outside the robotic arm. The direction of the extension line is parallel to the center of mass of the robotic arm and points toward the end of the robotic arm. For example, in Figure 8 , the extension line is parallel to the y-axis. Exemplarily, the extension line in Figure 8 originates from the robotic arm, but the extension line can originate from any location on the robotic arm. In another implementation, the direction of the extension line can be indicated by a ray extending from a location outside the robotic arm; this embodiment is not limiting. For example, there is a first difference between the angle and the desired angle, and a second difference between the angular velocity and the desired angular velocity; the sum of the first product and the second product is determined as the first control torque; the first product is the product of the first difference and a first control parameter, also known as a proportional control parameter; the second product is the product of the second difference and the second control parameter, also known as a differential control parameter. Further, the sum of the first product, the second product, and the third product is determined as the first control torque; the third product is the product of the integral calculation result of the first difference and the third control parameter, also known as an integral control parameter.

[0116] Specifically, the control method for the robotic arm provided in the embodiment of the present application is executed by a PID controller, and the control signal is further determined based on at least one of a proportional control parameter, a differential control parameter, and an integral control parameter. According to the control principle of the PID controller, taking the first control signal as the first control torque as an example, the PID controller can be implemented using the following formula:

[0117] Wherein, τ is used to indicate the first control torque, a is used to indicate the angle of rotation around the first axis in the first actual posture, used to indicate the angular velocity of rotation around the first axis in the first actual posture, is the first-order derivative of a with respect to time, a ref 、 k is used to indicate a first desired posture, specifically, the first desired posture includes a desired angle and a desired angular velocity of the robot arm rotating around the first rotation axis; p 、k d 、k iThey are proportional control parameter, differential control parameter, and integral control parameter, respectively. For example, the proportional control parameter, differential control parameter, and integral control parameter are usually preset empirical values; s , t f They are used to indicate the start and end time of the first control torque respectively.

[0118] It should be noted that, in one implementation, the first control torque can be used to control the x-direction and the y-direction in FIG8 separately. For example, the first control torque includes two sub-torques, which are controlled in the above two directions respectively. The formula of the first control torque can be implemented as the following two formulas, which represent the sub-torques in the x-direction and the y-direction respectively. For example:

[0119] Among them, τ1 is used to indicate the control torque applied in the roll angle direction of rotation around the y direction. a1 is used to indicate the angle around the y direction, Used to indicate the angular velocity around the y direction; a1 ref 、 It is used to indicate the desired angle and desired angular velocity of the manipulator rotating around the y direction. τ2 is used to indicate the control torque applied in the roll angle direction of the manipulator rotating around the x direction. a2 is used to indicate the angle around the x direction. Used to indicate the angular velocity around the x direction; a2 ref 、 Used to indicate the desired angle and desired angular velocity of the robot arm around the x-direction.

[0120] k p1 、k d1 、k i1 are proportional control parameter, differential control parameter, and integral control parameter respectively; k p2 、k d2 、k i2 are proportional control parameter, differential control parameter, integral control parameter, respectively, t s , t f Used to indicate the start and end time respectively.

[0121] To sum up, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller executes control of the robotic arm, and determines the first control signal according to the PID controller based on the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object, and completes the control of the robotic arm to catch the thrown three-dimensional object at any position except the end, thereby expanding the control method of throwing and catching three-dimensional objects and maintaining balance at any position of the robotic arm except the end.

[0122] Next, the robot arm is introduced to restore the balance of three-dimensional objects.

[0123] FIG9 shows a flow chart of a method for controlling a robotic arm according to an exemplary embodiment of the present application. The method can be executed by a controller of the robotic arm. That is, in the embodiment shown in FIG4 , step 522 is further included:

[0124] Step 522: Obtain a second actual posture;

[0125] Exemplarily, the second actual posture indicates contact information between the robotic arm and the three-dimensional object. Contact information indicates the interaction between the robotic arm and the three-dimensional object, such as at least one of mechanical characteristics and positional characteristics. Taking positional characteristics as an example, the second actual posture is at least one of information such as the contact position between the robotic arm and the three-dimensional object, the velocity at the contact position, and the acceleration. Exemplarily, at least one of a contact point, a contact line, and a contact surface exists between the robotic arm and the three-dimensional object. Optionally, this embodiment does not limit the recording method of contact information. Contact information can be indicated by constructing a coordinate system using the robotic arm as a reference object, or by constructing a natural coordinate system using the Earth as a reference object. Alternatively, the coordinate system can be constructed using other methods. Exemplarily, the second control signal is determined based on the second actual posture and the second desired posture. The second control signal of the robotic arm is determined based on the second actual posture and the second desired posture. Exemplarily, the second desired posture indicates the posture information of the robotic arm to maintain balance on the three-dimensional object. In some embodiments, the second desired posture indicates the velocity of the three-dimensional object. If the second desired posture is 0, it can be understood that the three-dimensional object is expected to be in a static equilibrium state, so that the three-dimensional object remains stationary on the robotic arm. If the second expected posture is not 0, it can be understood that the three-dimensional object is expected to be in a dynamic equilibrium state, so that the three-dimensional object is displaced or rolled on the robotic arm but does not fall.

[0126] In some embodiments, the control method of the robotic arm provided in the embodiments of the present application can be implemented by a Proportional-Integral-Differential (PID) controller. For example, based on the second control signal, the robotic arm is controlled so that the three-dimensional object is rebalanced at any position other than the end.

[0127] After the second control signal is determined, the robotic arm can be controlled according to the second control signal.

[0128] Furthermore, the second control signal can be a control signal on one or more rotational axes. The second control signal is typically used to control the motion of the robotic arm by controlling the torque. Referring to FIG8 , the second control signal can be a control signal about at least one rotational axis in the x-direction, the y-direction, or the z-direction.

[0129] To sum up, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller executes control of the robotic arm, and determines the second control signal based on the second actual posture and the second expected posture of the robotic arm, so as to complete the restoration of the balance of the three-dimensional object at any position except the end, thereby expanding the control method of throwing and catching three-dimensional objects and maintaining balance at any position of the robotic arm except the end.

[0130] In one example, the control method of the robotic arm may be executed by a controller of the robotic arm. In the embodiment shown in FIG9 , step 525 may be implemented as sub-step 21:

[0131] Sub-step 21: determining a second control signal according to a difference between the second actual posture and the second desired posture;

[0132] For example, the second desired posture indicates the posture information of the robotic arm so that the three-dimensional object is balanced on the robotic arm; the second actual posture and the second desired posture are described above. The second control signal is information used to control the robotic arm to restore the balance of the three-dimensional object at any position other than the end.

[0133] In one implementation, the second actual posture includes position information of the three-dimensional object's center of mass in the direction of the second rotation axis and the offset velocity of the three-dimensional object in the direction of the second rotation axis. Correspondingly, the second desired posture includes the desired position of the three-dimensional object's center of mass in the direction of the second rotation axis and the desired velocity of the three-dimensional object in the direction of the second rotation axis. The second control signal includes a second control torque. In one implementation, the second desired posture is pre-set and provides posture information that enables the three-dimensional object to maintain balance at any position other than the end. Exemplarily, the difference between the second actual posture and the second desired posture indicates the difference between the current actual posture and the posture that enables the three-dimensional object to maintain balance on the robotic arm. This difference indicates the determination of a second control signal based on the current actual posture and the movement target of approaching the second desired posture. The second control signal is used to control the robotic arm to move to the second desired posture based on the current actual posture. Exemplarily, the second control signal is determined by multiplying the control parameter and the difference.

[0134] Exemplarily, this step can be implemented as the following sub-steps:

[0135] determining a second control torque according to a difference between the position information and the desired position, and a difference between the offset speed and the desired speed;

[0136] The second control torque is used to indicate the torque applied in the roll direction of the manipulator arm when rotating about the second axis, which is a horizontal line perpendicular to the manipulator arm; and / or the second control torque is used to indicate the torque applied in the pitch direction of the manipulator arm when rotating about the second axis, which is an extension of the manipulator arm. Referring to FIG. 8 above, the first axis is the x-direction and / or the y-direction in FIG. Exemplarily, there is a third difference between the position information and the desired position, and a fourth difference between the offset velocity and the desired velocity; the sum of the fourth product and the fifth product is determined as the second control torque; the fourth product is the product of the third difference and a fourth control parameter, also known as a proportional control parameter; the fifth product is the product of the fourth difference and a fifth control parameter, also known as a differential control parameter. Furthermore, the sum of the fourth, fifth, and sixth products is determined as the second control torque; and the sixth product is the product of the integral calculation result of the third difference and the sixth control parameter, also known as an integral control parameter.

[0137] Specifically, the control method for the robotic arm provided in the embodiment of the present application is executed by a PID controller, and the control signal is further determined based on at least one of a proportional control parameter, a differential control parameter, and an integral control parameter. According to the control principle of the PID controller, taking the second control signal as the second control torque as an example, the PID controller can be implemented using the following formula:

[0138] Wherein, τ is used to indicate the second control torque, and y is used to indicate the position information of the center of mass of the three-dimensional object in the direction of the second rotation axis in the second actual posture. It is used to indicate the offset speed of the three-dimensional object in the direction of the second rotation axis in the second actual posture. is the first derivative of y with respect to time, y eef 、 k is used to indicate a second desired posture, specifically, the second desired posture includes a desired position of the center of mass of the three-dimensional object in the direction of the second rotation axis and a desired speed of the three-dimensional object in the direction of the second rotation axis; p 、k d 、k i are proportional control parameter, differential control parameter, integral control parameter, respectively, t s , t f They are used to indicate the start and end time of the second control torque respectively.

[0139] It should be noted that, in one implementation, the second control torque can be used to control the x-direction and the y-direction in FIG8 separately. For example, the second control torque includes two sub-torques, which are controlled in the above two directions. The formula of the second control torque can be implemented as the following two formulas, which represent the sub-torques in the x-direction and the y-direction respectively. For example:

[0140] Among them, τ1 is used to indicate the control torque applied in the roll angle direction of rotation around the y direction. y1 is used to indicate the position information of the center of mass of the three-dimensional object in the y direction. Used to indicate the displacement speed of the center of mass of a three-dimensional object in the y direction; y1 ref 、 Used to indicate the desired position and desired velocity of the center of mass of a three-dimensional object in the y direction.

[0141] τ2 is used to indicate the control torque applied in the roll angle direction of rotation around the x direction. y2 is used to indicate the position information of the center of mass of the three-dimensional object in the x direction. Used to indicate the displacement speed of the center of mass of a three-dimensional object in the x direction; y2 ref 、 Used to indicate the desired position and desired velocity of the center of mass of a three-dimensional object in the x-direction.

[0142] k p1 、k d1 、k i1 are proportional control parameter, differential control parameter, and integral control parameter respectively; k p2 、k d2 、k i2 are proportional control parameter, differential control parameter, integral control parameter, respectively, t s , t f It should be noted that, in this embodiment, the proportional control parameter, the differential control parameter, the integral control parameter, the start and end times are the same as those in the formula in sub-step 11 above for ease of illustration, and the same parameter symbols are used. However, the values ​​of the parameters are independent of each other and usually have different values.

[0143] In some embodiments, based on the estimated states of the robotic arm and the three-dimensional object, it is determined that the three-dimensional object is in a relatively stable state on the robotic arm. For example, the contact position between the robotic arm and the three-dimensional object is close to the center of gravity of the robotic arm, and the center of mass of the three-dimensional object is also close to the center of gravity of the robotic arm. For another example, the difference between the coordinates of the contact position between the robotic arm and the three-dimensional object and the coordinates of the center of gravity of the robotic arm is less than a first threshold, and the coordinates of the center of mass of the three-dimensional object and the coordinates of the center of gravity of the robotic arm are less than a second threshold. The first threshold and the second threshold are set according to actual needs, and this application does not limit this.

[0144] At this point, if you want the three-dimensional object to maintain balance on the robotic arm, you can make y1 ref = 0; If the three-dimensional object is expected to be in a static equilibrium state on the robot arm, then If the center of mass of the three-dimensional object is expected to be as close as possible to the center of gravity of the robot arm in the direction of the y-axis, then y2 ref = 0; If the center of mass of the three-dimensional object is expected to move as slowly as possible in the direction of the y-axis, then The second control torque thus obtained will place the three-dimensional object in a static equilibrium state on the robotic arm. This can also be understood as being able to keep the three-dimensional object and the robotic arm relatively stationary.

[0145] In other embodiments, based on the state estimation of the robotic arm and the three-dimensional object, it is determined that the three-dimensional object is in a relatively unstable state on the robotic arm. For example, the contact position between the robotic arm and the three-dimensional object is far away from the center of gravity of the robotic arm, and / or the center of mass of the three-dimensional object is also far away from the center of gravity of the robotic arm. Specifically, the three-dimensional object is in a relatively unstable state on the robotic arm to indicate that the difference between the coordinates of the contact position between the robotic arm and the three-dimensional object and the coordinates of the center of gravity of the robotic arm is not less than a first threshold, and / or the coordinates of the center of mass of the three-dimensional object and the coordinates of the center of gravity of the robotic arm are not less than a second threshold. The first threshold and the second threshold can be set according to actual needs, and this application does not limit this.

[0146] At this time, the expected posture information can be assigned a value based on the state estimation result, and the assigned value can be 0 or a non-zero value. The second control torque thus obtained will cause the three-dimensional object to be in a dynamic equilibrium state on the robotic arm, which can also be understood as being able to cause the three-dimensional object to move or roll on the robotic arm without falling. Exemplarily, when the three-dimensional object is in a relatively unstable state on the robotic arm, the assigned value of the expected posture information is not equal to 0; when the three-dimensional object is not in a relatively unstable state on the robotic arm, the assigned value of the expected posture information is 0. It can be understood that when the three-dimensional object is in a relatively unstable state on the robotic arm, the contact position between the robotic arm and the three-dimensional object is far away from the center of gravity of the robotic arm, and / or the center of mass of the three-dimensional object is also far away from the center of gravity of the robotic arm; that is, the three-dimensional object is on one side of the robotic arm.

[0147] In the process of controlling the movement of the robotic arm so that the three-dimensional object is in a balanced state, the contact position between the robotic arm and the three-dimensional object is close to the center of gravity of the robotic arm, and the center of mass of the three-dimensional object is close to the center of gravity of the robotic arm; this is beneficial for the robotic arm and the three-dimensional object to maintain a smaller relative speed; when the three-dimensional object is in a relatively unstable state on the robotic arm, it is expected that the value assigned to the posture information is not equal to 0, which facilitates the three-dimensional object to maintain a balanced state more quickly and improves the efficiency of controlling the robotic arm based on the second control signal so that the three-dimensional object can regain a force balanced state.

[0148] To sum up, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller executes control of the robotic arm, and determines the second control signal according to the PID controller based on the second actual posture and the second expected posture of the robotic arm, so as to complete the restoration of the balance of the three-dimensional object at any position except the end, thereby expanding the control method of throwing and catching three-dimensional objects and maintaining balance at any position of the robotic arm except the end.

[0149] The following further describes how to obtain the second actual posture through several embodiments. The second actual posture is obtained based on a visual sensor, or based on a visual sensor and a tactile sensor.

[0150] Schematically, the deployment locations of visual and tactile sensors are as follows: the visual sensor is mounted on the robotic arm or on its exterior; the tactile sensor is mounted on the robotic arm's outer shell, serving as the robotic arm's electronic skin. For example, joint motor encoders are installed on the robotic arm's joint motors to provide feedback on the angle, angular velocity, and current of each joint's rotation. This information can be used to estimate the robotic arm's state. Another example is the deployment of tactile sensors on the robotic arm's fingers, palm, or connecting rods to obtain feedback information about a three-dimensional object. In some embodiments, a second actual posture can also be obtained using a proximity sensor. The proximity sensor is configured to emit a signal when two objects approach. When a three-dimensional object approaches the proximity sensor, the second actual posture can be obtained. Exemplarily, the second actual posture includes the position information of the three-dimensional object's center of mass in the direction of the second rotation axis. The proximity sensor is deployed at the joint where the three-dimensional object and the robotic arm rotate. The distance from the outer surface of the three-dimensional object where the sensor is located to the center of mass is subtracted from the signal emitted by the proximity sensor to obtain the position information of the three-dimensional object's center of mass in the direction of the second rotation axis. This is used to obtain the second actual posture.

[0151] Illustratively, to obtain the second actual posture, this application provides the following three optional implementation methods:

[0152] Implementation method 1: Full-degree-of-freedom posture recognition of three-dimensional objects based on visual perception.

[0153] Taking the 7-DOF robotic arm shown in Figures 1 to 3 as an example, in related technologies, a visual sensor can be used to obtain posture recognition that achieves all six degrees of freedom of a three-dimensional object, thereby determining the relative positional relationship between the three-dimensional object and the robotic arm, and thus determining the second actual posture. Exemplarily, by acquiring image information of the robotic arm and the three-dimensional object in six directions along three coordinate axes in a three-dimensional coordinate system, the relative positional relationship between the three-dimensional object and the robotic arm, as reflected in the image information, is extracted. In some embodiments, because this implementation relies on obtaining image information in six directions, the amount of data processing required during the posture recognition process is high, and the posture recognition operation time is approximately 100 milliseconds, or 10 Hz.

[0154] Implementation method 2: Data image processing based on visual sensors.

[0155] Exemplarily, this implementation corresponds to the embodiment shown in FIG9 , where step 522 can be implemented as sub-step 25:

[0156] Sub-step 25: Acquire a second actual posture based on the visual sensor;

[0157] Exemplarily, the second actual posture is obtained by processing image information using a data image. A visual sensor is used to acquire the image information, and the second actual posture is used to indicate the position of the three-dimensional object in the dynamic system. Optionally, a lightweight data image processing method can be applied to determine the position of the three-dimensional object in the dynamic system, i.e., the second actual posture. The dynamic system provides a reference frame for describing the second actual posture. For example, a camera can be positioned on the robotic arm or in the external environment to capture image information of the robotic arm and the three-dimensional object. This image information is used to demonstrate the placement of the three-dimensional object on the robotic arm. Subsequently, the image information is analyzed and processed to obtain an image processing result, and the position of the three-dimensional object in the dynamic system is extracted. Exemplarily, after acquiring the image information, a cluster analysis is performed on at least one of the color, material, surface texture, and connected area information of the three-dimensional object and objects in the environment. The three-dimensional object and the robotic arm are separated based on the difference in at least one of the color, material, surface texture, and connected area information between the three-dimensional object and the robotic arm. The geometric center of the three-dimensional object is determined based on its shape. The position of the geometric center and the center of mass in the dynamic system can then be determined. Based on this, combined with relevant information about the robotic arm, a second actual posture can be derived. For example, the coordinates of the contact position and movement speed are determined based on the geometric center of the three-dimensional object, and the offset and offset speed are determined based on the center of mass of the three-dimensional object. In some embodiments, due to the lightweight computing in this implementation, the operation speed is relatively fast, with a running time of approximately 10 milliseconds, or 10 Hz.

[0158] Based on this, optionally, sub-step 25 can be implemented as follows:

[0159] Image information is acquired through a visual sensor, and the image information is used to display the three-dimensional object placed on the robotic arm;

[0160] A second actual posture is determined based on an image processing result obtained by processing the image information.

[0161] Exemplarily, the second actual posture includes position information of the three-dimensional object's center of mass in the direction of the second rotation axis and the offset velocity of the three-dimensional object in the direction of the second rotation axis; an image processing result obtained based on image information processing is used to indicate the relative positional relationship between the three-dimensional object and the robotic arm, and the image information processing directly carries the position information of the three-dimensional object's center of mass in the direction of the second rotation axis. Furthermore, the image information processing includes the position of the three-dimensional object at two timestamps, and the quotient of the three-dimensional object's position and the time difference is determined as the offset velocity of the three-dimensional object in the direction of the second rotation axis, where the time difference is the time difference between the two timestamps included in the image information processing.

[0162] Implementation method three: Based on visual sensors and tactile sensors, fuse and process data.

[0163] Exemplarily, this implementation corresponds to the embodiment shown in FIG9 , where step 522 can be implemented as sub-step 26:

[0164] Sub-step 26: Acquire a second actual posture based on the visual sensor and the tactile sensor;

[0165] It should be understood that sub-step 25 and sub-step 26 can be performed one by one and cannot be performed at the same time.

[0166] In some embodiments, the second actual posture may also be obtained based on a visual sensor and a tactile sensor. The processing of the visual sensor may refer to the above content, and the processing of the tactile sensor is specifically as follows.

[0167] Based on the above, when applying lightweight data image processing methods, there may be large errors in the depth direction of the camera (i.e., the direction of the y-axis shown in Figure 8). Based on this, tactile sensors can be used to compensate. For example, tactile sensors are laid on the outer shell of the robotic arm to collect tactile signals corresponding to when a three-dimensional object is placed on the robotic arm. Based on this, the specific position of the three-dimensional object in the y-direction on the robotic arm can be accurately obtained.

[0168] That is to say, sub-step 26 can be implemented as follows: based on the visual sensor, determine the first information of the three-dimensional object in the first direction; based on the tactile sensor, determine the second information of the three-dimensional object in the second direction; fuse the first information and the second information to obtain the second actual posture; wherein, the first direction is the direction of the horizontal line perpendicular to the robotic arm, and the second direction is the direction of the extension line of the robotic arm. The determination of the first information can refer to the above content and will not be repeated; the determination of the second information and the fusion processing will be described in detail below. For example, the tactile sensor is laid on the outer shell of the robotic arm and can be used as the electronic skin of the robotic arm. The contact information between the three-dimensional object and the robotic arm collected by the tactile sensor records the position and pitch angle posture of the three-dimensional object in the y direction; at the same time, combined with the lightweight image processing of the visual sensor and compared with the prior image data, the specific position of the three-dimensional object in the y direction on the robotic arm can be determined.

[0169] In some embodiments, the operation time of the tactile sensor in this implementation is about 10 milliseconds, that is, 10 Hz. Referring to the above content, a comparison of the three implementations is given in the following table:

[0170] It should be understood that when implementing method 1, there will be a linear error of 1-2 centimeters and an angular error of 5-10 degrees in determining the position of a three-dimensional object on the robotic arm, which means that the second actual posture obtained has certain linear and angular errors. Similarly, implementing methods 2 and 3 also have certain errors. Furthermore, implementing method 3 is an improved implementation method based on implementing method 2, which can overcome the shortcoming of implementing method 2 in the inaccurate measurement of the center of mass in the direction of the y-axis, thereby making the error of the second actual posture obtained smaller.

[0171] It should be understood that when using the robotic arm control method provided in this application, an appropriate implementation method can be selected based on actual needs to obtain the second actual posture, and this application does not limit this. Referring to the above content, sub-step 26 can be implemented as follows: determining first information about the three-dimensional object in a first direction based on the visual sensor; determining second information about the three-dimensional object in a second direction based on the tactile sensor; and fusing the first information and the second information to obtain the second actual posture.

[0172] Optionally, the determination of the second information may be specifically implemented as follows: determining the position information of the contact point between the three-dimensional object and the robotic arm relative to the robotic arm through a tactile sensor.

[0173] It should be understood that the position information determined thereby includes at least the coordinates of the contact position between the three-dimensional object and the robotic arm. The details of how the tactile sensor acquires position information are described above and are not further elaborated. In some embodiments, the tactile sensor is disposed on the outer shell of the robotic arm, and the tactile sensor acquires the contact position between the three-dimensional object and the robotic arm.

[0174] Referring to the above content, the first information is visually perceived data, and the second information is tactilely perceived data, and the two data can be fused. Optionally, the fusion process can use any one or more of the following algorithms: Kalman Filtering (KF), Extended Kalman Filtering (EKF), and Particle Filtering (PF).

[0175] It should be understood that there are many ways to implement data fusion processing, and the above content is only for illustrative purposes and does not limit this application. At the same time, as the fusion processing method is updated, fusion processing that appears after this application should also be applicable to this application. In other words, the results of the fusion processing do not limit the control method of the robotic arm provided in this application.

[0176] In summary, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; based on a visual sensor, or based on a visual sensor and a tactile sensor, a second actual posture is determined, and multiple acquisition methods are provided for the second actual posture; and the control method for throwing and catching three-dimensional objects and maintaining balance at any position of the robotic arm except the end is expanded.

[0177] FIG10 shows a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application. The method can be executed by a controller of the robotic arm. That is, in the embodiment shown in FIG4 , the method further includes steps 502 and 504:

[0178] Step 502: Acquire a third desired posture of the robotic arm;

[0179] Exemplarily, the third desired posture is used to instruct the robotic arm to disengage the three-dimensional object from the robotic arm and obtain posture information of a vertical upward speed; in one implementation, the third desired information is that the robotic arm is lifted upward in the pitch direction, so that the three-dimensional object obtains a vertical upward speed.

[0180] Step 504: determining a third control signal for the robotic arm according to the third actual posture and the third desired posture of the robotic arm;

[0181] Exemplarily, the third desired posture is used to instruct the robotic arm to disengage the three-dimensional object and the robotic arm, and obtain posture information of the vertical upward speed; the third control signal is used to control the robotic arm to move from the third actual posture to the third desired posture. In some embodiments, the control method of the robotic arm provided in the embodiments of the present application can be implemented by a PID controller. Exemplarily, the third desired posture can be implemented as a posture sequence, such as a time series that changes over time. Exemplarily, the difference between the third actual posture and the third desired posture is used to indicate the difference between the current actual posture and the posture of the robotic arm that disengages the three-dimensional object and the robotic arm. The above difference is used to indicate that the second control signal is determined based on the current actual posture, with the approach to the third desired posture as the motion target.

[0182] In one implementation, the third actual posture includes the angle and angular velocity of the robot arm's rotation around the rotation axis; correspondingly, the third expected posture includes the expected angle and expected angular velocity of the robot arm's rotation around the rotation axis. Referring to Figure 8, the rotation axis can be at least one of the rotation axes in the x-direction, the y-direction, or the z-direction. The specific method for determining the third control signal of the robot arm can refer to the formula of the PID controller in sub-step 12 above. Exemplarily, the third expected posture includes, within a first time period (such as 0.1s), reducing the values ​​of joint angle 4 and joint angle 5 (forearm elbow joint) from the initial value of the preparatory posture to 0 degrees, moving joint angle 3 from 1.57 radians to 1.37 radians, and the values ​​of other joint angles remain unchanged. Determining the third control signal is determined based on the formula of the PID controller in sub-step 12 with reference to the third actual posture and the third expected posture.

[0183] Exemplarily, according to the third control signal, the robotic arm is controlled to throw the three-dimensional object;

[0184] After determining the third control signal, the robotic arm can be controlled based on the third control signal. The third control signal is used to control the robotic arm's movement based on its current actual posture, moving it to a third desired posture. By controlling the movement of the robotic arm, the three-dimensional object and the robotic arm are disengaged. Furthermore, the third control signal can be a control signal for one or more rotating axes. The third control signal typically controls the movement of the robotic arm by controlling torque. It should be noted that even if the third control signal is used to control the robotic arm so that the three-dimensional object achieves a vertical upward velocity, it does not rule out the possibility that the three-dimensional object can achieve a velocity component in any direction on a plane perpendicular to the vertical direction. Specifically, when the first arm tosses a three-dimensional object and the second arm catches the tossed three-dimensional object at any position other than the end, the three-dimensional object can achieve a velocity component in any direction on a plane perpendicular to the vertical direction to move from the first arm toward the second arm, facilitating the second arm's catching of the three-dimensional object in mid-air. Referring to Figure 8, the third control signal can be a control signal about at least one rotating axis in the x-, y-, or z-directions.

[0185] In an optional implementation, before step 512, the following steps are further included: obtaining a fourth desired posture of the robotic arm; determining a fourth control signal of the robotic arm according to the fourth actual posture and the fourth desired posture of the robotic arm;

[0186] Exemplarily, the fourth desired posture indicates the posture information for the robotic arm to maintain contact between the three-dimensional object and the robotic arm and to achieve a vertical downward velocity. Exemplarily, before controlling the robotic arm to disengage the three-dimensional object and achieve a vertical upward velocity, the robotic arm achieves a vertical downward velocity, which helps the robotic arm gain space for movement and facilitates increasing the vertical upward velocity achieved by the three-dimensional object. The fourth desired posture includes a desired angle and a desired angular velocity for the robotic arm to rotate about its axis. Similarly, the fourth desired posture can be implemented as a posture sequence, such as a time series that changes over time. Exemplarily, the difference between the fourth actual posture and the fourth desired posture indicates the difference between the current actual posture and the posture of the robotic arm that maintains contact between the three-dimensional object and the robotic arm and achieves a vertical downward velocity. This difference indicates the determination of a second control signal based on the current actual posture, with the movement target being approximation to the fourth desired posture. The fourth control signal is used to control the robotic arm to move to the fourth desired posture based on the current actual posture, thereby controlling the movement of the robotic arm to maintain contact between the three-dimensional object and the robotic arm and achieve a vertical downward velocity.

[0187] The specific method for determining the third control signal of the manipulator can refer to the formula of the PID controller in sub-step 12 above. Exemplarily, the fourth desired posture includes increasing the value of joint angle 4 and joint angle 5 (forearm elbow joint) from 0 degrees to a value greater than the initial value of the preparatory posture (such as 0.5 radians) within the second time period (such as 0.2s), rotating joint angle 1 from the initial angle to a preset value (such as 0.3 radians), and moving joint angle 3 from 1.37 radians to 1.17 radians. The values ​​of other joint angles remain unchanged. The third control signal is determined based on the formula of the PID controller in sub-step 12 with reference to the third actual posture and the third desired posture. It should be noted that the above-mentioned joint angles refer to the 7-degree-of-freedom manipulator in Figure 1, from the angle between the two movable parts of the shoulder joint and the upper arm as joint angle 1, to the angle between the two movable parts at the end of the manipulator as joint angle 7. The description of the joint angles below is determined based on the 7-degree-of-freedom manipulator in Figure 1 and will not be repeated here.

[0188] Step 510 may be implemented as follows: controlling the robotic arm to throw the three-dimensional object according to the third control signal and the fourth control signal;

[0189] Exemplarily, the third control signal is used to control the three-dimensional object and the robotic arm to be out of contact, and the three-dimensional object obtains a vertical upward speed, and the fourth control signal is used to control the three-dimensional object and the robotic arm to maintain contact, and the robotic arm obtains a vertical downward speed. Exemplarily, first, the three-dimensional object and the robotic arm are controlled to maintain contact and the robotic arm obtains a vertical downward speed according to the fourth control signal, and then the three-dimensional object and the robotic arm are controlled to be out of contact according to the third control signal, and the three-dimensional object obtains a vertical upward speed; so that the three-dimensional object and the robotic arm are out of contact and the speed of throwing the three-dimensional object is increased. Exemplarily, first, the fourth control signal is used to control the robotic arm to move with the current actual posture as a reference, and move to a fourth desired posture. After reaching the fourth desired posture, the third control signal is used to control the robotic arm to move with the current actual posture as a reference, and move to the third desired posture. The three-dimensional object and the robotic arm are out of contact by controlling the movement of the robotic arm. Exemplarily, controlling the robotic arm to throw up a three-dimensional object is achieved by first controlling the three-dimensional object and the robotic arm to maintain contact and the robotic arm to obtain a vertical downward speed through the fourth control signal, and then controlling the three-dimensional object and the robotic arm to break contact and the three-dimensional object to obtain a vertical upward speed through the third control signal.

[0190] To sum up, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller executes control of the robotic arm, determines the third control signal based on the third actual posture and the third expected posture of the robotic arm, and completes the control of the robotic arm to throw up the three-dimensional object, expanding the control method of throwing and catching three-dimensional objects and maintaining balance at any position of the robotic arm except the end.

[0191] Figure 11 shows a schematic diagram of a robotic arm and a three-dimensional object according to an exemplary embodiment of the present application. Figure 11 includes sub-figures a through f, each showing six time stamps during the robotic arm's process of lifting a three-dimensional object 612. For example, in sub-figure a, three-dimensional object 612 is placed on a forearm 600a of the robotic arm, which also includes a large arm 600b. For an introduction to the forearm and large arm of the robotic arm, please refer to sub-step 16b, step 604, and the relevant descriptions in Figure 3, which are not shown here. In sub-figure b, forearm 600a performs a pitching motion, rotating about the elbow joint, causing the end 600c of the robotic arm to decrease in height. In sub-figure c, forearm 600a performs a pitching motion, rotating about the elbow joint, causing the end 600c of the robotic arm to increase in height. In sub-figure d, forearm 600a rotates about the elbow joint, while large arm 600b rotates about the shoulder joint, causing the end 600c of the robotic arm to continue to increase in height. For example, sub-graph d corresponds to the timestamp before the three-dimensional object 612 and the robotic arm lose contact. In sub-graph e, the three-dimensional object 612 and the robotic arm lose contact and the three-dimensional object 612 is thrown up. In sub-graph f, the three-dimensional object 612 reaches the highest point.

[0192] FIG12 shows a flow chart of a method for controlling a robotic arm according to an exemplary embodiment of the present application. The method can be executed by a controller of the robotic arm. That is, in the embodiment shown in FIG4 , the method further includes steps 535 and 540:

[0193] Step 535: Acquire a capture control signal;

[0194] Exemplarily, the grasping control signal is used to control the end of the robotic arm to grasp a three-dimensional object. Optionally, the grasping control signal controls the movement of the robotic arm based on the motion trajectory information of the three-dimensional object; further, the grasping control signal can control the end of the robotic arm and the three-dimensional object to remain relatively stationary; and control the end of the robotic arm to close, allowing the robotic arm deployed at the end of the robotic arm to grasp the three-dimensional object. Similar to the first control signal, this application does not limit the method for obtaining the grasping control signal.

[0195] Step 540: Control the end of the robotic arm to grasp the thrown three-dimensional object based on the grasping control signal, and the three-dimensional object reaches a force balance state when being grasped;

[0196] Exemplarily, there is a grasping operation between the end of the robotic arm and the three-dimensional object; the end of the robotic arm is a robotic hand that can open or close; the three-dimensional object reaches a force equilibrium state, the end of the robotic arm grasps the three-dimensional object, and at least one of form closure and force closure exists between the end of the robotic arm and the three-dimensional object. Furthermore, the grasping operation limits the movement of the three-dimensional object; the end of the robotic arm and the three-dimensional object are kept relatively stationary by contact between the end of the robotic arm and the three-dimensional object, or there is relative movement between the three-dimensional object and the robotic arm but the three-dimensional object does not lose contact with the end of the robotic arm. Exemplarily, the grasping control signal is used to control the movement of the robotic arm based on the current actual posture to achieve the movement goal of controlling the end of the robotic arm to grasp the thrown three-dimensional object.

[0197] In one implementation, before step 540 , the following steps are further included: obtaining motion trajectory information of the three-dimensional object;

[0198] Exemplarily, the grasping control signal is determined based on the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object. Exemplarily, the grasping control signal of the end of the robotic arm is determined based on the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object; according to the grasping control signal, the end of the robotic arm is controlled to grasp the three-dimensional object;

[0199] For example, the method for obtaining motion trajectory information is described in step 522 above and will not be further described here. The motion trajectory information is the parabolic trajectory after the three-dimensional object and the robotic arm lose contact. The grasping control signal is used to control the end of the robotic arm to grasp the three-dimensional object; the first actual posture of the robotic arm is used to indicate the posture position information of the robotic arm at the current timestamp, for example, the posture information is described by at least one of the angle and angular velocity of the robotic arm.

[0200] The grasping control signal includes information instructing the manipulator to move with reference to the motion trajectory information of the three-dimensional object, and controlling the movement of the end of the manipulator to perform a grasping operation on the three-dimensional object. Exemplarily, the information instructing the manipulator to move with reference to the motion trajectory information of the three-dimensional object can refer to step 524 above. The control signal for controlling the movement of the end of the manipulator to perform a grasping operation on the three-dimensional object is determined based on the shape characteristics of the three-dimensional object, such as determining the control signal for the manipulator to perform a grasping operation based on information such as the size and curvature of the three-dimensional object. In some embodiments, the control method for the manipulator provided in the embodiments of the present application can be implemented by a proportional-integral-differential (PID) controller. For specific implementation methods, reference can be made to sub-step 12 above.

[0201] To sum up, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object and then grab the three-dimensional object through the end of the robotic arm; the controller executes control of the robotic arm to realize the throwing and catching action of the three-dimensional object, expanding the control method of the robotic arm to throw and catch the three-dimensional object and maintain balance at any position except the end.

[0202] FIG13 shows a flow chart of a method for controlling a robotic arm according to an exemplary embodiment of the present application. The method may be executed by a controller of the robotic arm. The method includes:

[0203] Step 602: Receive first instruction information;

[0204] For example, if the first command information is not received, the robotic arm continues to wait for user commands in a preset command preparation posture. The first command information can be sent via an input device such as voice, gesture, keyboard, or remote control. The first command information can be obtained through artificial intelligence-based cluster analysis and pattern recognition of voice and gesture, or through command signal transmission and analysis.

[0205] The first instruction information is used to instruct the robotic arm to throw up a three-dimensional object (such as a bottle) and then catch the three-dimensional object thrown in the air.

[0206] Step 604: Control the robotic arm to move to a preparatory posture for the throwing action;

[0207] The robot arm is controlled to move to a preparatory posture for throwing the bottle with the forearm, and the preparatory posture is a pre-set robot arm posture. For example, the preparatory posture is convenient for starting the forearm throwing bottle action at any time and is a safe and stable posture for the robot arm.

[0208] Specifically, the initial posture can be set as the first arm of the dual robotic arm platform is straightened and points to the right front, while the 1st joint (the upper arm shoulder joint) moves downward, and the 4th and 5th joints (the lower arm elbow joint) move upward, keeping the rigid body of the lower arm basically parallel to the ground, and the distance between the lower arm and the ground is less than the distance between the shoulder joint and the ground.

[0209] Step 606: Determine whether the bottle position meets the action requirements;

[0210] Exemplarily, if the bottle position does not meet the action requirements, step 608 is executed; if the bottle position meets the action requirements, steps 610 and 612 are executed;

[0211] For example, the bottle's position meets the action requirements for a tossing motion. These requirements are planned within the mechanical model of the robotic arm and bottle, or can be preset. For example, the bottle should be parallel to the ground, perpendicular to the robotic arm's forearm, the contact point between the bottle and the forearm should be at the edge of the forearm near the elbow, or at about one-third of the forearm's elbow.

[0212] Step 608: If the bottle position does not meet the action requirements, control the robotic arm to adjust the bottle posture;

[0213] Exemplarily, after executing step 608, step 606 is executed to determine again whether the bottle position meets the action requirements. Exemplarily, if the bottle position does not meet the action requirements, the robot arm is controlled to move to indirectly adjust the bottle posture until the bottle position meets the action requirements.

[0214] Step 610: When the bottle position meets the action requirements, control the first arm to perform the throwing action;

[0215] For example, this embodiment uses a dual robotic arm platform for illustration. In another implementation, all the steps in this embodiment can be implemented by a single robotic arm. For example, the first arm is controlled to perform a throwing action, and the bottle placed on the forearm of the first arm obtains an upward velocity, and has a velocity after separating from the upper surface of the forearm, and continues to perform the upward throwing motion. During the process of the forearm and the bottle interacting in contact, that is, before the forearm and the bottle are separated from contact, the bottle can slide on the forearm, but the bottle will not fall from the upper surface of the forearm during the sliding process, nor will it slide out of the forearm's forward and backward range due to excessive movement speed or long movement distance. After being thrown into the air, the bottle can have a velocity in the forward direction of the forearm, a velocity from the first arm to the second arm, and a velocity of the bottle's own rotation.

[0216] In a specific implementation, the first arm performs a throwing action including: the robotic arm starts from a preparatory posture, and within a first time period (for example, 0.1s), the values ​​of joint angle 4 and joint angle 5 (forearm elbow joint) are reduced from the initial value of the preparatory posture to 0 degrees, and joint angle 3 moves from 1.57 radians to 1.37 radians, and the values ​​of other joint angles remain unchanged; within a second time period (for example, 0.2s), the values ​​of joint angle 4 and joint angle 5 (forearm elbow joint) are increased from 0 degrees to a value greater than the initial value of the preparatory posture (for example, 0.5 radians), joint angle 1 rotates from the initial angle to a preset value (for example, 0.3 radians), joint angle 3 moves from 1.37 radians to 1.17 radians, and the values ​​of other joint angles remain unchanged.

[0217] Step 612: When the bottle position meets the action requirements, control the second arm to move to a preparatory posture for the receiving movement;

[0218] Illustratively, the ready posture facilitates the second arm to start receiving the bottle at any time, and the ready posture is a safe and stable posture for the second arm.

[0219] Step 614: predicting the trajectory information of the bottle in the air;

[0220] For example, after the bottle separates from the forearm, the tactile position and force magnitude timing information before the forearm and bottle separate, the joint angle position, speed and current information of the robotic arm, and the visual sensing information are used to predict the trajectory information of the bottle in the world coordinate system or the center of mass coordinate system relative to the first arm after it is thrown.

[0221] Step 616: Control the second arm to move according to the predicted trajectory information;

[0222] For example, based on the bottle's trajectory in mid-air, the second arm moves toward the bottle's position and direction, maintaining a similar speed to the bottle when near it. A time series of the second arm's position and posture is mapped based on the bottle's trajectory in mid-air. This time series is used to control the second arm's movement.

[0223] Step 618: Control the robot arm at the end of the second arm to close and grasp the bottle;

[0224] In one implementation, the bottle is grasped by a robotic arm at the end of the second arm. The robotic arm controls the position of each joint angle on the robotic arm according to the time sequence obtained from the trajectory information of the bottle in the air when the bottle approaches the palm, and controls the posture of the robotic arm from open to closed to complete the grasping of the flying bottle.

[0225] Step 620: Control any position of the second arm except the end to catch the thrown three-dimensional object, and restore the balance of the three-dimensional object at any position except the end;

[0226] There is no gripping between any position on the second arm, except the end, and the three-dimensional object; contact between any position on the second arm, except the end, and the three-dimensional object does not constitute at least one of form closure and force closure of the three-dimensional object. The three-dimensional object is rebalanced on the second arm. The purpose of controlling the first arm in this step is to ensure that the three-dimensional object remains balanced on the second arm, preventing it from falling.

[0227] To summarize, the method provided in this embodiment provides a new method for using a robotic arm, which can first throw up a three-dimensional object, then catch the three-dimensional object at any position on the robotic arm except the end, and restore the balance of the three-dimensional object; the controller controls the robotic arm to realize the throwing and catching action of the three-dimensional object, expanding the control method of throwing and catching the three-dimensional object and maintaining balance at any position of the robotic arm except the end.

[0228] FIG14 shows a flow chart of a method for controlling a robotic arm provided by an exemplary embodiment of the present application. The method may be executed by a controller of the robotic arm. The method includes:

[0229] Step 632: Receive second instruction information;

[0230] Exemplarily, if the second command information is not received, the robotic arm continues to wait for user commands in a preset command preparation posture. The second command information can be sent via an input device such as voice, gesture, keyboard, or remote control. The second command information can be obtained through artificial intelligence-based cluster analysis and pattern recognition of voice and gesture, or through command signal transmission and analysis. The second command information is used to instruct the robotic arm to balance a three-dimensional object (such as a bottle) placed anywhere on the robotic arm except at the end.

[0231] Step 634: Control the robotic arm to move to a preparatory posture for the balancing action;

[0232] The robot arm is controlled to move to a preparatory posture for throwing the bottle with the forearm, and the preparatory posture is a pre-set robot arm posture. For example, the preparatory posture facilitates the forearm to start the action of balancing the bottle at any time and is a safe and stable posture for the robot arm.

[0233] Specifically, the initial posture can be set to that the first arm of the dual-manipulator platform is straight and points to the right front.

[0234] Step 636: Determine whether the tactile information is normal;

[0235] Exemplarily, when it is determined that the tactile information is abnormal, this step is repeated until normal tactile information is obtained. The abnormal tactile information includes no tactile signal received or an abnormal tactile signal received.

[0236] Step 638: If the tactile information is determined to be normal, determine whether the visual information is normal;

[0237] Exemplarily, if the visual information is determined to be abnormal, this step is repeated until normal visual information is obtained. Abnormal visual information includes no visual signal received or abnormal visual signal received.

[0238] Step 640: If the visual information is normal, determine whether the bottle position meets the action requirements;

[0239] The bottle's position is determined based on a fusion of received visual and tactile information, indicating the bottle's position and posture on the robotic arm. Exemplarily, the action requirement is to keep the bottle stationary on the robotic arm. This action requirement is calculated within the mechanical model of the robotic arm and bottle, or it can be preset. Exemplarily, if the bottle is in a relatively unstable state, the bottle's position may not meet the action requirement. For details on the relatively unstable state of the bottle, please refer to sub-step 21 above and will not be repeated here.

[0240] Step 642: If the bottle position does not meet the action requirements, control the robotic arm to adjust the bottle posture;

[0241] For example, if the bottle's position does not meet the motion requirements, the robot arm is controlled to move, indirectly adjusting the bottle's posture until the bottle's position meets the motion requirements. For example, by controlling the robot arm to adjust the bottle's posture until the bottle's position meets the motion requirements, a bottle in a relatively unstable state is first adjusted out of the relatively unstable state, and then the bottle is brought to rest on the robot arm by controlling the first arm to perform a balancing action.

[0242] Step 644: When the bottle position meets the action requirements, control the first arm to perform a balancing action;

[0243] Exemplarily, controlling the first arm to perform the balancing action includes: expecting the three-dimensional object to be in a static equilibrium state so that the three-dimensional object remains stationary on the robotic arm, and expecting the three-dimensional object to be in a dynamic equilibrium state so that the three-dimensional object moves or rolls on the robotic arm but does not fall.

[0244] Furthermore, the robotic arm can also be used to perform actions including but not limited to at least one of the following: using the robotic arm at the end of the robotic arm to grasp, throw, and catch, using the end tool of the robotic arm to perform jacking, screwing, and installation and assembly actions, using the robotic arm at the end of the robotic arm to open and close doors, grab objects on the desktop and in the workspace, etc.

[0245] In summary, the embodiments of the present application provide a novel method for using a robotic arm, capable of maintaining balance on a three-dimensional object at any position on the robotic arm except at the end, without causing it to fall. Based on the posture information and desired posture information of the dynamic system constructed by the robotic arm and the three-dimensional object, control signals for the robotic arm can be determined, thereby achieving control of the robotic arm.

[0246] Those skilled in the art will appreciate that the above embodiments may be implemented independently, or the above embodiments may be freely combined to form new embodiments to implement the control method of the robotic arm of the present application.

[0247] Figure 15 shows a block diagram of a control device for a robotic arm provided by an exemplary embodiment of the present application. A three-dimensional object is placed at any position on the robotic arm except the end. The device includes: a control module 810 for executing step 510 in the embodiment of Figure 4; an acquisition module 820 for executing step 515 in the embodiment of Figure 4; the control module 810 is further configured to execute step 520 in the embodiment of Figure 4; the acquisition module 820 is further configured to execute step 525 in the embodiment of Figure 4; and the control module 810 is further configured to execute step 530 in the embodiment of Figure 4.

[0248] In an optional design of the present application, the robotic arm includes a first arm; and the control module 810 is further configured to:

[0249] controlling the first arm to throw the three-dimensional object;

[0250] controlling the first arm to catch the thrown three-dimensional object based on the first control signal;

[0251] The first arm is controlled based on the second control signal so that the three-dimensional object reaches a force balance state again at any position except the end.

[0252] In an optional design of the present application, the robotic arm includes a first arm and a second arm that move independently of each other; the control module 810 is further configured to:

[0253] controlling the first arm to throw the three-dimensional object;

[0254] controlling the second arm to catch the thrown three-dimensional object based on the first control signal;

[0255] The second arm is controlled based on the second control signal so that the three-dimensional object reaches a force balance state again at any position except the end.

[0256] In an optional design of the present application, the acquisition module 820 is also used to execute step 512 in the embodiment of Figure 7, and the motion trajectory information is a parabolic trajectory after the three-dimensional object and the robotic arm lose contact; wherein, the first control signal is determined based on the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object.

[0257] In an optional design of the present application, the acquisition module 820 is further configured to:

[0258] determining a first desired posture of the robotic arm according to the motion trajectory information of the three-dimensional object, wherein the first desired posture is used to indicate posture information of the robotic arm receiving the thrown three-dimensional object;

[0259] The first control signal is determined according to a difference between the first actual posture and the first expected posture.

[0260] In an optional design of the present application, the first actual posture includes the angle and angular velocity of the robot arm rotating around the first rotation axis, the first expected posture includes the expected angle and expected angular velocity of the robot arm rotating around the first rotation axis, and the first control signal includes a first control torque; the acquisition module 820 is further configured to:

[0261] The first control torque is determined based on the difference between the angle and the expected angle, and the difference between the angular velocity and the expected angular velocity; wherein the first control torque is used to indicate the torque applied in the roll angle direction of the rotation of the robotic arm around the first rotation axis, and the first rotation axis is a horizontal line perpendicular to the robotic arm; and / or, the first control torque is used to indicate the torque applied in the pitch angle direction of the rotation of the robotic arm around the first rotation axis, and the first rotation axis is an extension line of the robotic arm.

[0262] In an optional design of the present application, the acquisition module 820 is further configured to:

[0263] Acquire a second actual posture, where the second actual posture is contact information between the robotic arm and the three-dimensional object;

[0264] The second control signal is determined according to the second actual posture and a second expected posture, and the second expected posture is used to indicate posture information of the robotic arm so that the three-dimensional object maintains balance on the robotic arm.

[0265] In an optional design of the present application, the acquisition module 820 is further configured to:

[0266] The second control signal is determined according to a difference between the second actual posture and the second expected posture.

[0267] In an optional design of the present application, the second actual posture includes the position information of the center of mass of the three-dimensional object in the direction of the second rotation axis and the offset speed of the three-dimensional object in the direction of the second rotation axis, the second expected posture includes the expected position of the center of mass of the three-dimensional object in the direction of the second rotation axis and the expected speed of the three-dimensional object in the direction of the second rotation axis, and the second control signal includes a second control torque; the acquisition module 820 is also used to: determine the second control torque based on the difference between the position information and the expected position, and the difference between the offset speed and the expected speed; wherein the second control torque is used to indicate the torque applied in the roll angle direction of the rotation of the robotic arm around the second rotation axis, and the second rotation axis is a horizontal line perpendicular to the robotic arm; and / or, the second control torque is used to indicate the torque applied in the pitch angle direction of the rotation of the robotic arm around the second rotation axis, and the second rotation axis is an extension line of the robotic arm.

[0268] In an optional design of the present application, the acquisition module 820 is further configured to:

[0269] Acquiring the second actual posture based on the visual sensor;

[0270] Alternatively, the second actual posture is acquired based on the visual sensor and the tactile sensor.

[0271] In an optional design of the present application, the acquisition module 820 is further configured to:

[0272] Acquire an image through the visual sensor, wherein the image is used to show that the three-dimensional object is placed on the robotic arm;

[0273] The second actual posture is determined according to an image processing result obtained by the image processing.

[0274] In an optional design of the present application, the acquisition module 820 is further configured to: determine first information of the three-dimensional object in a first direction based on the visual sensor; determine second information of the three-dimensional object in a second direction based on the tactile sensor; and fuse the first information and the second information to obtain the second actual posture;

[0275] The first direction is the direction of a horizontal line perpendicular to the robotic arm, and the second direction is the direction of an extension line of the robotic arm.

[0276] In an optional design of the present application, the acquisition module 820 is further configured to execute step 502 in the embodiment of FIG. 10 , wherein the third desired posture is used to instruct the robotic arm to disengage the three-dimensional object from the robotic arm and obtain posture information of a vertical upward velocity;

[0277] Execute step 504 in the embodiment of FIG. 10 , wherein controlling the robotic arm to throw the three-dimensional object is based on the third control signal.

[0278] In an optional design of the present application, the acquisition module 820 is further configured to:

[0279] Acquiring a fourth desired posture of the robotic arm, wherein the fourth desired posture is used to instruct the robotic arm to maintain contact between the three-dimensional object and the robotic arm, and the robotic arm obtains posture information of a vertical downward speed;

[0280] determining a fourth control signal for the robotic arm according to a fourth actual posture of the robotic arm and the fourth desired posture;

[0281] The control module 810 is also used to: control the robotic arm to throw up the three-dimensional object according to the third control signal and the fourth control signal; wherein the third control signal is used to control the three-dimensional object and the robotic arm to break contact, and the three-dimensional object to obtain a vertical upward speed, and the fourth control signal is used to control the three-dimensional object and the robotic arm to maintain contact and the robotic arm to obtain a vertical downward speed.

[0282] In an optional design of the present application, the acquisition module 820 is further used to execute step 535 in the embodiment of FIG. 12 ; the control module 810 is further used to execute step 540 in the embodiment of FIG. 12 .

[0283] In an optional design of the present application, the acquisition module 820 is further configured to:

[0284] Obtain motion trajectory information of the three-dimensional object, where the motion trajectory information is a parabolic trajectory after the three-dimensional object and the robotic arm lose contact; wherein the grasping control signal is determined based on the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object.

[0285] It should be noted that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0286] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method; the technical effects achieved by each module performing operations are the same as the technical effects in the embodiment of the method, and will not be elaborated here.

[0287] Figure 16 shows a schematic block diagram of the structure of a robotic arm provided in an embodiment of the present application. The robotic arm in this embodiment may include: one or more controllers 1501; one or more sensors 1502, one or more motors 1503 and a memory 1504. The above-mentioned controller 1501, sensor 1502, motor 1503 and memory 1504 are connected via a bus 1505. The memory 1504 is used to store computer programs, which include program instructions, and the controller 1501 is used to execute the program instructions stored in the memory 1504. The memory 1504 may include a volatile memory (Volatile Memory), such as a random-access memory (Random-Access Memory, RAM); the memory 1504 may also include a non-volatile memory (Non-Volatile Memory), such as a flash memory (Flash Memory), a solid-state drive (SSD), etc.; the memory 1504 may also include a combination of the above-mentioned types of memory.

[0288] Controller 1501 may be a central processing unit (CPU). Controller 1501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a generic array logic (GAL), or the like. Controller 1501 may also be a combination of the above structures.

[0289] In the embodiment of the present application, the memory 1504 is used to store a computer program, which includes program instructions. The controller 1501 is used to execute the program instructions stored in the memory 1504 to implement the steps of the aforementioned robotic arm control method.

[0290] In one embodiment, the controller 1501 is configured to call program instructions to execute steps 510 , 520 , and 530 in the embodiment of FIG. 4 .

[0291] Illustratively, an embodiment of the present application further provides a robot comprising the aforementioned robotic arm, which can be used to implement the robotic arm control methods provided in the aforementioned method embodiments. The structure of the robotic arm can be described above, and the control methods of the robotic arm can be described in the aforementioned method embodiments, which will not be further described.

[0292] An embodiment of the present application further provides a robotic arm, comprising a controller and a memory, wherein the memory stores at least one program code, which is loaded and executed by the controller to implement the robotic arm control methods provided in the above-mentioned method embodiments. An embodiment of the present application further provides a computer device, comprising a processor and a memory, wherein the memory stores at least one program, which is loaded and executed by the processor to implement the robotic arm control methods provided in the above-mentioned method embodiments.

[0293] The embodiments of the present application also provide a computer-readable storage medium having a computer program stored thereon, and the computer program is used to be executed by a processor to implement the control method of the robotic arm provided by the above-mentioned method embodiments. Optionally, the computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid-state drive (SSD) or an optical disc, etc. Among them, the random access memory may include a resistive random access memory (ReRAM) and a dynamic random access memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0294] Those skilled in the art will appreciate that all or part of the steps in the above embodiments may be implemented by hardware or by programs instructing the relevant hardware to perform the steps. The programs may be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk, or an optical disk. The above are merely optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

[0295] An embodiment of the present application further provides a chip comprising a programmable logic circuit or program, which is used to implement the robotic arm control method provided in each of the above-described method embodiments. An embodiment of the present application further provides a computer program product comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the robotic arm control method described in any of the above-described embodiments.

[0296] Those skilled in the art will appreciate that all or part of the steps of implementing the above-mentioned embodiments can be accomplished by hardware, or by instructing the relevant hardware to accomplish the steps through a program, and the program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

Claims

1. A control method for a robotic arm, wherein a three-dimensional object is placed at any position of the robotic arm except the end thereof, the method being executed by a controller of the robotic arm, the method comprising: Controlling the robotic arm to throw up the three-dimensional object; Acquiring a first control signal; Controlling the robotic arm to catch the thrown three-dimensional object based on the first control signal, wherein the position where the robotic arm catches the three-dimensional object is any position except the end; acquiring a second control signal; The robotic arm is controlled based on the second control signal so that the three-dimensional object can regain a force balance state at any position except the end.

2. The method according to claim 1, wherein: The mechanical arm comprises a first arm; The controlling the mechanical arm to throw up the three-dimensional object comprises: Controlling the first arm to throw up the three-dimensional object; The controlling the robot arm to catch the thrown three-dimensional object based on the first control signal comprises: Controlling the first arm to catch the thrown three-dimensional object based on the first control signal; The controlling the mechanical arm based on the second control signal so that the three-dimensional object reaches a force balance state again at any position except the end, comprises: The first arm is controlled based on the second control signal so that the three-dimensional object can regain a force balance state at any position except the end.

3. The method according to claim 1, wherein: The mechanical arm comprises a first arm and a second arm which move independently of each other; The controlling the mechanical arm to throw up the three-dimensional object comprises: Controlling the first arm to throw up the three-dimensional object; The controlling the robot arm to catch the thrown three-dimensional object based on the first control signal comprises: Controlling the second arm to catch the thrown three-dimensional object based on the first control signal; The controlling the mechanical arm based on the second control signal so that the three-dimensional object reaches a force balance state again at any position except the end, comprises: The second arm is controlled based on the second control signal so that the three-dimensional object can regain a force balance state at any position except the end.

4. The method according to any one of claims 1 to 3, wherein: The method further comprises: Acquiring motion trajectory information of the three-dimensional object, wherein the motion trajectory information is a parabolic trajectory after the three-dimensional object and the robotic arm lose contact; Wherein, the first control signal is determined according to the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object.

5. The method according to claim 4, wherein: The obtaining of the first control signal comprises: Determine a first expected posture of the robotic arm according to the motion trajectory information of the three-dimensional object, wherein the first expected posture is used to indicate posture information of the robotic arm receiving the thrown three-dimensional object; The first control signal is determined according to a difference between the first actual posture and the first expected posture.

6. The method according to claim 5, wherein: The first actual posture includes the angle and angular velocity of the mechanical arm rotating around the first rotation axis, the first expected posture includes the expected angle and expected angular velocity of the mechanical arm rotating around the first rotation axis, and the first control signal includes a first control torque; The determining the first control signal according to the difference between the first actual posture and the first expected posture includes: Determine the angle according to the difference between the angle and the expected angle, and the angular velocity according to the difference between the angular velocity and the expected angular velocity. First control torque; Among them, the first control torque is used to indicate the torque applied in the roll angle direction of the rotation of the robotic arm around the first rotation axis, and the first rotation axis is a horizontal line perpendicular to the robotic arm; and / or, the first control torque is used to indicate the torque applied in the pitch angle direction of the rotation of the robotic arm around the first rotation axis, and the first rotation axis is the extension line of the robotic arm.

7. The method according to any one of claims 1 to 6, wherein: The method further comprises: Acquire a second actual posture, where the second actual posture is contact information between the robotic arm and the three-dimensional object; The second control signal is determined according to the second actual posture and the second expected posture, and the second expected posture is used to indicate posture information of the robotic arm so that the three-dimensional object maintains balance on the robotic arm.

8. The method according to claim 7, wherein: The obtaining of the second control signal comprises: The second control signal is determined according to a difference between the second actual posture and the second expected posture.

9. The method according to claim 8, wherein: The second actual posture includes position information of the center of mass of the three-dimensional object in the direction where the second rotation axis is located and the offset speed of the three-dimensional object in the direction where the second rotation axis is located, the second expected posture includes the expected position of the center of mass of the three-dimensional object in the direction where the second rotation axis is located and the expected speed of the three-dimensional object in the direction where the second rotation axis is located, and the second control signal includes a second control torque; The step of determining the second control signal according to a difference between the second actual posture and the second expected posture comprises: Determining the second control torque according to a difference between the position information and the expected position, and a difference between the offset speed and the expected speed; Wherein, the second control torque is used to indicate the torque applied in the roll angle direction of the rotation of the robotic arm around the second rotation axis, and the second rotation axis is a horizontal line perpendicular to the robotic arm; and / or, the second control torque is used to indicate the torque applied in the pitch angle direction of the rotation of the robotic arm around the second rotation axis, and the second rotation axis is the extension line of the robotic arm.

10. The method according to claim 7, wherein: The obtaining of the second actual posture comprises: Based on the visual sensor, acquiring the second actual posture; Alternatively, the second actual posture is acquired based on the visual sensor and the tactile sensor.

11. The method according to claim 10, wherein: The acquiring the second actual posture based on the visual sensor includes: Acquire an image through the visual sensor, wherein the image is used to show that the three-dimensional object is placed on the robotic arm; The second actual posture is determined according to an image processing result obtained by the image processing.

12. The method according to claim 10, wherein: The acquiring the second actual posture based on the visual sensor and the tactile sensor includes: Determine first information of the three-dimensional object in a first direction based on the visual sensor; Determining second information of the three-dimensional object in a second direction based on the tactile sensor; fusing the first information and the second information to obtain the second actual posture; The first direction is the direction of a horizontal line perpendicular to the robotic arm, and the second direction is the direction of an extension line of the robotic arm.

13. The method according to any one of claims 1 to 12, wherein: The method further comprises: Acquire a third desired posture of the robotic arm, wherein the third desired posture is used to instruct the robotic arm to make the three-dimensional object and the robotic arm break contact, and obtain posture information of a vertical upward speed; Determining a third control signal of the robotic arm according to a third actual posture of the robotic arm and the third expected posture; Wherein, controlling the robotic arm to throw up the three-dimensional object is based on the third control signal.

14. The method according to claim 1, wherein: The method further comprises: Get the grab control signal; Based on the grasping control signal, the end of the robot arm is controlled to grasp the thrown three-dimensional object, and the three-dimensional object reaches a force balance state when being grasped.

15. The method according to claim 14, wherein: The method further comprises: Acquiring motion trajectory information of the three-dimensional object, wherein the motion trajectory information is a parabolic trajectory after the three-dimensional object and the robotic arm lose contact; Wherein, the grasping control signal is determined according to the first actual posture of the robotic arm and the motion trajectory information of the three-dimensional object.

16. A control device for a robotic arm, wherein a three-dimensional object is placed at any position of the robotic arm except the end thereof, the device comprising: A control module, used for controlling the robotic arm to throw up the three-dimensional object; An acquisition module, used for acquiring a first control signal; The control module is further used to control the mechanical arm to catch the thrown three-dimensional object based on the first control signal, and the position where the mechanical arm catches the three-dimensional object is any position except the end; The acquisition module is further used to acquire a second control signal; The control module is further used to control the robotic arm based on the second control signal so that the three-dimensional object can regain a force balance state at any position except the end.

17. A robotic arm, comprising a memory and a controller; At least one program code is stored in the memory, and the program code is loaded and executed by the controller to implement the control method of the robot arm according to any one of claims 1 to 15.

18. A computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the control method of the robot arm according to any one of claims 1 to 15.

19. A chip, comprising a programmable logic circuit and / or program instructions, which is used to implement the control method of the robotic arm as described in any one of claims 1 to 15 when an electronic device equipped with the chip is running.

20. A computer program product, comprising computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the control method of the robotic arm as described in any one of claims 1 to 15.

Citation Information

Patent Citations

  • Entertainment robot capable of throwing and catching balls

    CN107890678A

  • Method for holding person by mechanical arm based on human body comfort

    CN113177310A

  • Ppartner training robot, control method and control system

    CN114797047A

  • Control method, device and equipment of mechanical arm and storage medium

    CN116945153A

  • Robot of receiving is thrown to triaxial based on machine vision

    CN206154324U

Cited By

  • Mechanical arm system and control method thereof

    TWI926535B