CN114918924B - Robot traction teaching method and device, electronic device and storage medium - Google Patents
Robot traction teaching method and device, electronic device and storage medium Download PDFInfo
- Publication number
- CN114918924B CN114918924B CN202210849954.4A CN202210849954A CN114918924B CN 114918924 B CN114918924 B CN 114918924B CN 202210849954 A CN202210849954 A CN 202210849954A CN 114918924 B CN114918924 B CN 114918924B
- Authority
- CN
- China
- Prior art keywords
- robot
- joint
- damping
- traction
- calculating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000013016 damping Methods 0.000 claims abstract description 84
- 239000011159 matrix material Substances 0.000 claims abstract description 42
- 230000006870 function Effects 0.000 claims description 29
- 230000001133 acceleration Effects 0.000 claims description 26
- 230000008569 process Effects 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 230000005484 gravity Effects 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 5
- 238000009795 derivation Methods 0.000 claims description 3
- 230000009471 action Effects 0.000 abstract description 5
- 230000008859 change Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 11
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 7
- 238000006073 displacement reaction Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 230000006698 induction Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1628—Programme controls characterised by the control loop
- B25J9/163—Programme controls characterised by the control loop learning, adaptive, model based, rule based expert control
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J13/00—Controls for manipulators
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
- B25J9/1607—Calculation of inertia, jacobian matrixes and inverses
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
- B25J9/161—Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Fuzzy Systems (AREA)
- Software Systems (AREA)
- Numerical Control (AREA)
Abstract
The invention belongs to the technical field of robots, and discloses a robot traction teaching method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the position information of the robot joint in real time; after receiving the position information of the joints of the robot, calculating the terminal speed of the robot through a differentiator and a Jacobian matrix; the controller calculates a damping coefficient according to the damping speed relation; calculating joint control torque through an impedance controller; the joint control torque command output by the impedance controller is output to a robot joint servo motor to control the joint to rotate so as to match the traction action of a demonstrator. The robot traction teaching method provided by the invention can judge the traction intention of a demonstrator at low cost and can make a slow traction area smoother.
Description
Technical Field
The invention relates to the technical field of robots, in particular to a robot traction teaching method and device, electronic equipment and a storage medium.
Background
With the rapid development of robot technology, robots are increasingly applied to industrial practical production. The cooperative robot has the advantages of high cost performance, convenience in deployment, convenience in man-machine cooperation and the like, and greatly promotes the development of small and medium-sized manufacturing enterprises. The traction teaching is an important function of the cooperative robot, a demonstrator can freely pull the cooperative robot by hands in a traction teaching mode, the robot can automatically record taught track points and generate action tracks according to the track points, so that complicated code compiling steps are omitted, and the use threshold of the cooperative robot is reduced. The impedance control is one of the schemes for realizing the traction teaching of the cooperative robot and is realized by the quality coefficient in the control algorithmMCoefficient of stiffnessKAnd damping coefficientDThe robot joint control torque is adjusted, so that a demonstrator can freely pull the robot.
However, in the prior art, external devices such as a six-dimensional torque sensor or a laser displacement sensor and the like except for the robot body and the control box are required to acquire information, and a learning algorithm is required to predict a desired position for position control, so that not only is the cost of the whole system greatly increased due to the introduction of the external devices, but also the complexity of the control system is increased due to the communication between different devices and the prediction process of the algorithm, and the real-time performance of control is further influenced. In addition, when the speed of the robot tip is small, for example, when the teach pendant starts to pull or adjusts the pulling direction and the speed is reduced, the damping coefficient is often large, and the robot is difficult to pull.
Therefore, how to judge the traction indication of the robot terminal slow speed area at low cost is a problem to be solved.
Disclosure of Invention
The invention aims to provide a robot traction teaching method, a device, an electronic device and a storage medium, which are used for judging the traction indication of a robot tail end slow speed area with low cost.
In a first aspect, an embodiment of the present invention provides a robot traction teaching method, including:
s1, acquiring joint position information in the traction process of the robot in real time;
s2, after receiving the position information of the robot joint, calculating the terminal speed of the robot through a differentiator and a Jacobian matrix;
s3, calculating a damping function through the damping speed relation, and firstly calculating an adjusting functionRecalculating the damping functionWherein、Andis a constant set according to the range of the actual speed achievable by the robot in traction and the experimentally measured damping coefficient range,is a modulus of the robot tip velocity vector;
and S4, calculating joint control torque:whereinThe moment is controlled for the joint in question,qfor the information on the position of the joints of the robot,is a transpose of the jacobian matrix of the robot,KandDrespectively the rigidity coefficient, the damping coefficient and the damping coefficient of the impedance modelDBy damping functionThe method comprises the steps of (1) obtaining,for the difference between the desired position and the actual position of the robot end,is the speed of the end of the robot,is the velocity of the joints of the robot,in the form of a matrix of the coriolis forces,G(q)is a gravity term;
and S5, outputting the joint control torque command output by the impedance controller to a robot joint servo motor to control the joint to rotate so as to match the traction action of a demonstrator.
Further, the air conditioner is characterized in that,to the damping coefficientDBecome intoThe speed of time, the teaching of traction at that speed is labor-saving.
In a second aspect, an embodiment of the present invention provides a robot traction teaching device, including:
the acquisition module is used for acquiring joint position information in the robot traction process in real time;
the processing module is used for calculating the tail end speed of the robot through a differentiator and a Jacobian matrix after receiving the position information of the robot joint;
an adjusting module for calculating a damping function according to the damping velocity relationship, and calculating an adjusting functionRecalculating the damping functionWherein、Andis a constant set according to the range of the actual speed that the robot can reach in traction and the range of the experimentally measured damping coefficient,is a modulus of the robot tip velocity vector;
the calculation module is used for calculating the joint control torque:whereinThe moment is controlled for the joint in question,qfor the information on the position of the joints of the robot,is a transpose of the jacobian matrix of the robot,KandDrespectively the rigidity coefficient, the damping coefficient and the damping coefficient of the impedance modelDBy damping functionThe method comprises the steps of (1) obtaining,for the difference between the desired position and the actual position of the robot tip,is the speed of the end of the robot,for robot to closeThe speed of the motor is saved,in the form of a matrix of the coriolis forces,G(q)is the gravity term.
Further, the air conditioner is provided with a fan,is a damping coefficientDBecome intoThe speed of time, the teaching of traction at that speed is labor-saving.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the processor is connected with the memory through the bus, and the memory stores computer readable instructions which are used for realizing the steps of the method provided by the first aspect and any one of the implementation modes of the first aspect when being executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program is used to implement the steps in the method provided by any implementation manner of the first aspect and the first aspect.
By the method, the traction intention of the demonstrator can be effectively judged under the condition that peripheral devices such as a force sensor, a displacement sensor and the like are not added, so that the joint control torque of the robot is adjusted, and the traction of the demonstrator is more labor-saving. The cost of the whole system is reduced because no peripheral equipment is needed, in addition, the whole control process is simpler, links for improving the complexity of the control system such as communication and learning algorithms among a plurality of devices are not introduced, and the real-time performance of the control is ensured. The smoother nature of the slow draft zone may better address these issues when the teach pendant adjusts the tip orientation to cause deceleration to a critical speed.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram of a robot traction teaching control system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for robot towing teaching according to an embodiment of the present invention;
fig. 3 is a diagram of a damping velocity function of a robot traction teaching method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a device for teaching robot traction according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, the teaching of the cooperative robot needs to use external equipment such as a six-dimensional torque sensor or a laser displacement sensor except a robot body and a control box to acquire information, and a desired position needs to be predicted through a learning algorithm to control the position, so that the cost of the whole system is greatly increased due to the introduction of the external equipment, the complexity of the control system is increased by the communication among different equipment and the prediction process of the algorithm, and the real-time performance of the control is influenced. In addition, when the speed of the robot end is slow, for example, the speed is decreased when the teach pendant starts to pull or adjusts the pulling direction, and the damping coefficient is often large, so that the robot is difficult to pull.
As shown in fig. 1, the whole robot traction teaching system can be divided into two main parts: controllers and actuators (robots). The main components of the controller are a differentiator, a positive kinematic model, a damping regulator and an impedance controller, and the main components of the actuator are a servo motor and an encoder.
The embodiment provides a robot traction teaching method, as shown in fig. 2, the traction teaching method may include the following steps:
step S1: acquiring joint position information in the robot traction process in real time;
in the process that a demonstrator drags the robot to carry out traction teaching, an induction encoder at a robot joint acquires the position information of the robot joint in real time and sends the information to a controller;
step S2: after receiving the position information of the robot joint, calculating the terminal speed of the robot through a differentiator and a Jacobian matrix;
after receiving the position information of the robot joint, the controller calculates the tail end speed of the robot through a differentiator;
the specific calculation process in the differentiator is that the joint position is firstly filtered by ButterworthAnd carrying out filtering processing to reduce noise in the data and avoid inaccurate speed obtained by subsequent differential calculation. Then, the differential calculation is carried out on the joint positions after filtering to obtain the joint speed. Then, the Jacobian matrix calculated according to a specific robot model is usedJ (q)Calculating the terminal velocity;
And step S3: at the time of obtaining the terminal velocityThen, the controller calculates the damping coefficient according to the damping speed relation;
Wherein、Andis a constant set according to the range of the actual speed that the robot can reach in traction and the range of the experimentally measured damping coefficient,is the modulus of the terminal velocity vector. Damping velocity function as shown in the velocity damping diagram of fig. 3, velocity on the horizontal axis, damping value on the vertical axis,it is decided thatDIs reduced toVelocity of the end of time, i.e.It is decided thatThe speed of the change along with the speed of the tail end;it is determined that the damping coefficientMaximum value achievableI.e. by。
In particular, as tip speedSize of (2)Is equal toThen, can obtainTherefore, it isThe value of (A) represents when the damping parameter isDIs reduced toThe velocity of the tip.
firstly, a damping regulator in the controller adjusts the damping coefficient of the robotSet as a function of the velocity of the robot tip rather than a preset fixed value. The function has the following functions: the damping coefficient decreases when the tip speed increases and increases when the tip speed decreases. The damping coefficient participates in the calculation of the joint control torque, so that the joint control torque output by the controller is correspondingly adjusted according to the traction speed of a demonstrator.
Secondly, during the traction teaching, the situation that the traction is just started or the orientation of the tail end is adjusted is often encountered, at this time, the speed of the tail end is very small, the tail end of the robot is in a slow traction area, as shown in fig. 3, in the slow traction area at the upper right corner,the change of the damping function is smoother, and sudden change can not occur, thereby influencing the feeling of a demonstrator. Specifically, the conventional method requires the demonstrator to spend a large amount of effort to increase the tip speed to break through the critical speed and make the damping parameterDDescending; conventional methods result in damping parameters when the teach pendant adjusts the tip orientation resulting in deceleration to a critical speedDSuddenly rises to the maximum value, so that the robot is difficult to pull and the demonstrator cannot react in time.The smoother nature of the traction zone at slow speeds may better address these issues.
Finally, the parametersDetermine (a)DIs reduced toVelocity of the tip, which means no matter what the velocity of the tipbOrcHow to change the number of the first and second groups,must pass through the pointI.e. this constraint can ensure that the velocity changes to at the endWhen necessary, there areD=This enables to select an appropriate one according to actual needsThe value is obtained. Through experimental tests, the method has the advantages thatD=The demonstrator feels more labor-saving,is a damping coefficientDBecome intoThe speed of time, the traction teaching is more labor-saving at the speed.
And step S4: calculating joint control torque through an impedance controller;
the robot impedance control is realized by firstly representing the dynamic characteristics of the robot to the external force in the terminal Cartesian space by the impedance model:
wherein,M、DandKfor the mass, damping and stiffness coefficients of the impedance model,the difference between the desired acceleration and the actual acceleration for the end of the robot,for the difference between the desired velocity and the actual velocity of the robot tip,for the difference between the desired position and the actual position of the robot tip,the contact external force applied to the tail end of the robot;
Wherein,is the actual acceleration of the end of the robot,an acceleration is desired for the robot tip and,J(q) Is a jacobian matrix of the robot,derivation for Jacobian matrix;
through inverse dynamics of the robot, the joint control torque is obtained as follows:
wherein,in order to control the moment for the joint,M(q)is the inertial matrix of the robot in question,is the inverse of the jacobian matrix,is a jacobian matrix of the joint velocities,is the transpose of the Jacobian matrix,is a matrix of the coriolis forces,G(q) Is a gravity term;
because the external force term in the above formula needs a six-dimensional force sensor, and the six-dimensional force sensor belongs to a peripheral with higher cost, impedance control is simplified, so that the measurement of the external force is omitted, and the influence of the terminal acceleration term is eliminated.
Calculating a system dynamic characteristic function:,the acceleration of the joint is brought into the joint control moment, and the updated joint control moment is obtained
And controlling the moment based on the joint, thereby realizing the motion control of the robot.
Step S5: the joint control torque command output by the impedance controller is output to a robot joint servo motor, and the joint servo motor receives the joint control torque output by the impedance controller and drives the robot joint to move so as to conform to the guiding action of a demonstrator, so that the comfort of the demonstrator is improved.
Through the technical scheme, the traction robot teaching method effectively judges the traction intention of a demonstrator under the condition that peripheral devices such as a force sensor or a displacement sensor are not added, so that the joint control torque of the robot is adjusted, and the traction of the demonstrator is more labor-saving. The cost of the whole system is reduced because no peripheral equipment is needed, in addition, the whole control process is simpler, links for improving the complexity of the control system such as communication and learning algorithms among a plurality of devices are not introduced, and the real-time performance of the control is ensured; in addition, in a slow speed area when the tail end of the robot just starts to pull or the position of the tail end is adjusted, the pulling change is smoother by setting a damping function, and the feeling of a demonstrator is not influenced like sudden change; by selecting appropriate ones according to actual requirementsThe value can judge when the demonstrator feels more labor-saving.
According to an embodiment of the present invention, there is also provided a robot teaching apparatus corresponding to the robot teaching method, specifically, the apparatus including:
an acquisition module: acquiring joint position information in the robot traction process in real time;
in the process that a demonstrator drags the robot to carry out traction teaching, an induction encoder at a robot joint acquires the position information of the robot joint in real time and sends the information to a controller;
a processing module: after receiving the position information of the robot joint, calculating the tail end speed of the robot through a differentiator and a Jacobian matrix;
after receiving the position information of the robot joint, the controller calculates the tail end speed of the robot through a differentiator;
the specific calculation process in the differentiator is that the joint position is firstly filtered by ButterworthAnd carrying out filtering processing to reduce noise in the data and avoid inaccurate speed obtained by subsequent differential calculation. Then, the differential calculation is carried out on the joint positions after filtering to obtain the joint speed. Then, the Jacobian matrix calculated according to a specific robot model is usedCalculating the terminal velocity;
An adjusting module: at the time of obtaining the terminal velocityThen, the controller calculates the resistance according to the damping speed relationCoefficient of damping;
Wherein、Andis a constant set according to the range of the actual speed that the robot can reach in traction and the range of the experimentally measured damping coefficient,is the modulus of the terminal velocity vector. Damping velocity function as shown in the velocity damping diagram of fig. 3, velocity on the horizontal axis, damping value on the vertical axis,it is decided thatDIs reduced toVelocity of the end of time, i.e.It is decided thatDThe speed of the change along with the speed of the tail end;it is determined that the damping coefficientDMaximum value achievableI.e. by。
In particular, the magnitude of the tip speedIs equal toThen, can obtainTherefore, it isThe value of (A) represents when the damping parameter isDIs reduced toThe velocity of the tip.
firstly, a damping regulator in the controller adjusts the damping coefficient of the robotSet as a function of the velocity of the robot tip rather than a preset fixed value. The function has the effect of: the damping coefficient decreases when the tip speed increases and increases when the tip speed decreases. The damping coefficient participates in the calculation of the joint control torque, so that the joint control torque output by the controller is correspondingly adjusted according to the traction speed of a demonstrator.
Secondly, during the towing teaching, the end of the towing or adjusting is often touchedIn the case of azimuth, when the speed of the end is very low, the end of the robot is in the slow traction zone, as shown in fig. 3, in the slow zone in the upper right corner,the change of the damping function is smoother, and sudden change cannot occur, so that the feeling of a demonstrator is influenced. Specifically, the conventional method requires the demonstrator to spend a large amount of effort to increase the tip speed to break through the critical speed and make the damping parameterDDescending; conventional methods result in damping parameters when the teach pendant adjusts the tip orientation resulting in deceleration to a critical speedDSuddenly rises to the maximum value, so that the robot is difficult to pull and the demonstrator cannot react in time.The smoother nature of the traction zone at slow speeds may better address these issues.
Finally, the parametersDetermine (ing)DIs reduced toThe velocity of the tip, which means that no matter how b or c changes,must pass through the pointI.e. this constraint can ensure that the velocity changes to at the endWhen necessary, there areThis enables to select an appropriate one according to actual needsThe value is obtained. Through experimental tests, the method has the advantages that ,The demonstrator feels that the labor is saved,is a damping coefficientDBecome intoThe speed of time, the teaching of traction at that speed is labor-saving.
A calculation module: calculating joint control torque through an impedance controller;
the robot impedance control is realized by firstly representing the dynamic characteristics of the robot to the external force in the terminal Cartesian space by the impedance model:
wherein,M、DandKfor the mass, damping and stiffness coefficients of the impedance model,the difference between the desired acceleration and the actual acceleration for the end of the robot,for the difference between the desired velocity and the actual velocity of the robot tip,for the difference between the desired position and the actual position of the robot tip,outside of the contact of the robot endForce;
Wherein,is the actual acceleration of the end of the robot,an acceleration is desired for the robot tip,is a jacobian matrix of the robot,;
and obtaining the joint control torque through inverse dynamics of the robot as follows:
wherein,in order to control the moment for the joint,is an inertia matrix of the robotJacobian matrix for joint velocityIs the transpose of the Jacobian matrix,is a matrix of the coriolis forces,is a gravity term;
because the external force term in the above formula needs a six-dimensional force sensor, and the six-dimensional force sensor belongs to a peripheral with higher cost, impedance control is simplified, so that the measurement of the external force is omitted, and the influence of the terminal acceleration term is eliminated.
Calculating a system dynamic characteristic function:,the acceleration of the joint is brought into the joint control moment, and the updated joint control moment is obtained
A control module: the joint control torque command output by the impedance controller is output to a robot joint servo motor, and the joint servo motor receives the joint control torque output by the impedance controller and drives the robot joint to move so as to conform to the guiding action of a demonstrator, so that the comfort of the demonstrator is improved.
Through the technical scheme, the traction robot teaching device provided by the invention can effectively judge the traction intention of a demonstrator under the condition of not increasing external devices such as a force sensor or a displacement sensor, so that the joint control torque of the robot is adjusted, and the traction of the demonstrator is more labor-saving. The cost of the whole system is reduced because no peripheral equipment is needed, in addition, the whole control process is simpler, and links for improving the complexity of the control system, such as communication among a plurality of devices, learning algorithm and the like are not introducedThe real-time performance of control is ensured; in addition, in a slow speed area when the tail end of the robot just starts to pull or the position of the tail end is adjusted, the pulling change is smoother by setting a damping function, and the feeling of a demonstrator is not influenced like sudden change; by selecting appropriate ones according to actual requirementsThe value can judge when the demonstrator feels more labor-saving.
According to an embodiment of the present invention, there is also provided an electronic device corresponding to a robot teaching method, including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method steps of the above teaching method when executing the computer program.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium corresponding to the robot teaching method, the computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps of the above teaching method.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device 500 shown in fig. 5 may include: at least one processor 510, e.g., a CPU, at least one communication interface 520, at least one memory 530, and at least one communication bus 540. Wherein the communication bus 540 is used for realizing direct connection communication of the components. The communication interface 520 of the device in the embodiment of the present invention is used for performing signaling or data communication with other node devices. Memory 530 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. Memory 530 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 530 stores computer readable instructions, which when executed by the processor 510, cause the electronic device to perform the method process of fig. 3.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a server, implements the method process shown in fig. 3.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. The above-described system embodiments are merely illustrative, and for example, the division of the system apparatus into only one logical functional division may be implemented in other ways, and for example, a plurality of apparatuses or components may be combined or integrated into another system, or some features may be omitted, or not implemented.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention, and it will be apparent to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A robot traction teaching method is characterized by comprising the following steps:
s1, acquiring joint position information in the traction process of the robot in real time;
s2, after receiving the position information of the robot joint, calculating the tail end speed of the robot through a differentiator and a Jacobian matrix;
s3, calculating a damping function through the damping speed relation, and firstly calculating an adjusting functionAccording to the regulationFunction calculation damping functionWherein、bandcis a constant set according to the range of the actual speed that the robot can reach in traction and the range of the experimentally measured damping coefficient,is a modulus of the robot tip velocity vector;
and S4, calculating joint control torque:whereinThe moment is controlled for the joint in question,qfor the information on the position of the joints of the robot,is a transpose of the jacobian matrix of the robot,KandDrespectively the rigidity coefficient and the damping coefficient of the impedance modelDBy damping functionThe method comprises the steps of (1) obtaining,for the difference between the desired position and the actual position of the robot end,is the speed of the end of the robot,is the speed of the joint of the robot,in the form of a matrix of the coriolis forces,G(q) Is a gravity term;
and S5, outputting the joint control torque command output by the impedance controller to a robot joint servo motor to control the joint to rotate.
4. The robot tow teaching method according to claim 1, wherein the calculating a joint control moment includes:
representing the dynamic characteristics of the robot to the external force in the terminal Cartesian space by using the impedance model:
wherein,M、DandKfor the mass, damping and stiffness coefficients of the impedance model,the difference between the desired acceleration and the actual acceleration for the end of the robot,for the difference between the desired velocity and the actual velocity of the robot tip,for the difference between the desired position and the actual position of the robot tip,the contact external force applied to the tail end of the robot;
Wherein,is the actual acceleration of the end of the robot,an acceleration is desired for the robot tip,J(q) Is a jacobian matrix of the robot,derivation for Jacobian matrix;
and obtaining the joint control torque through inverse dynamics of the robot as follows:
wherein,in order to control the moment for the joint,M(q) Is the inertial matrix of the robot in question,is the inverse of the jacobian matrix,is a Jacobian matrix of joint velocities,is the transpose of the Jacobian matrix,is a matrix of the coriolis forces,G(q) Is a gravity term;
calculating a system dynamic characteristic function:,the joint acceleration is brought into the joint control torque, and the updated joint control torque is obtained
5. A robot traction teaching device is characterized by comprising the following modules:
the acquisition module is used for acquiring joint position information in the robot traction process in real time;
the processing module is used for calculating the tail end speed of the robot through a differentiator and a Jacobian matrix after receiving the position information of the joints of the robot;
an adjusting module for calculating the damping function according to the damping speed function relation and calculating the adjusting functionThen, calculating a damping function from the adjustment functionWherein, in the process,、bandcis a constant set according to the range of the actual speed that the robot can reach in traction and the range of the experimentally measured damping coefficient,is a modulus of the robot tip velocity vector;
the calculation module is used for calculating the joint control torque:whereinThe moment is controlled for the joint in question,qfor the information on the position of the joints of the robot,as a machineThe transpose of the human jacobian matrix,KandDrespectively the rigidity coefficient, the damping coefficient and the damping coefficient of the impedance modelDBy damping functionThe method comprises the steps of (1) obtaining,for the difference between the desired position and the actual position of the robot tip,is the speed of the end of the robot,is the velocity of the joints of the robot,in the form of a matrix of the coriolis forces,G(q) Is a gravity term;
and the control module is used for outputting the joint control torque command output by the impedance controller to a robot joint servo motor to control the joint to rotate.
8. The robotic traction teaching device according to claim 5, wherein the calculating a joint control torque includes:
firstly, the dynamic characteristics of the robot presented to external force in the terminal Cartesian space are represented by the impedance model:
wherein,M、DandKfor the mass, damping and stiffness coefficients of the impedance model,the difference between the desired acceleration and the actual acceleration for the end of the robot,for the difference between the desired velocity and the actual velocity of the robot tip,for the difference between the desired position and the actual position of the robot tip,the contact external force applied to the tail end of the robot;
Wherein,is the actual acceleration of the end of the robot,an acceleration is desired for the robot tip,J(q) Is a jacobian matrix of the robot,derivation for Jacobian matrix;
through inverse dynamics of the robot, the joint control torque is obtained as follows:
wherein,in order to control the moment for the joint,M(q) Is the inertial matrix of the robot in question,is the inverse of the jacobian matrix,is a Jacobian matrix of joint velocities,as a transpose of Jacobian matricesIs a matrix of the coriolis forces which,G(q) Is a gravity term;
calculating a system dynamic characteristic function:,the acceleration of the joint is brought into the joint control moment, and the updated joint control moment is obtained
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the robot-towing teaching method of any of claims 1-4 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210849954.4A CN114918924B (en) | 2022-07-20 | 2022-07-20 | Robot traction teaching method and device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210849954.4A CN114918924B (en) | 2022-07-20 | 2022-07-20 | Robot traction teaching method and device, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114918924A CN114918924A (en) | 2022-08-19 |
CN114918924B true CN114918924B (en) | 2022-10-04 |
Family
ID=82815638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210849954.4A Active CN114918924B (en) | 2022-07-20 | 2022-07-20 | Robot traction teaching method and device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114918924B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117921665B (en) * | 2024-01-31 | 2024-09-20 | 北京纳通医用机器人科技有限公司 | Mechanical arm control method, device, equipment and storage medium |
CN118357956B (en) * | 2024-06-19 | 2024-10-01 | 上海交大智邦科技有限公司 | Integrated intelligent clamping jaw device and control method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101332604B (en) * | 2008-06-20 | 2010-06-09 | 哈尔滨工业大学 | Control method of man machine interaction mechanical arm |
CN107026755B (en) * | 2017-03-13 | 2019-07-16 | 南京邮电大学 | A kind of service recommendation method based on sequence study |
CN108983601B (en) * | 2018-06-19 | 2021-08-03 | 江苏大学 | Parameter self-tuning impedance control system construction method for improving flexible grabbing performance of picking robot |
WO2020001742A1 (en) * | 2018-06-26 | 2020-01-02 | Franka Emika Gmbh | Device for controlling a robot manipulator |
CN109848983B (en) * | 2018-12-10 | 2020-07-28 | 华中科技大学 | Method for guiding robot to cooperatively work by high-compliance person |
CN109746913B (en) * | 2018-12-29 | 2022-03-15 | 深圳市大象机器人科技有限公司 | Method and system for teaching robot posture keeping dragging |
CN114310965A (en) * | 2022-01-18 | 2022-04-12 | 上海景吾酷租科技发展有限公司 | Mechanical arm impedance control method and system without joint torque measurement |
CN114571444A (en) * | 2022-03-01 | 2022-06-03 | 中南大学 | Q-learning-based impedance control method for slagging-off robot |
-
2022
- 2022-07-20 CN CN202210849954.4A patent/CN114918924B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114918924A (en) | 2022-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114918924B (en) | Robot traction teaching method and device, electronic device and storage medium | |
DE102018001676B4 (en) | Robot for learning control with regard to operation of a production line and method for controlling the same | |
US10261497B2 (en) | Machine tool for generating optimum acceleration/deceleration | |
DE102015010124B4 (en) | A robot program generating device that generates a robot program for reducing bumps of the joints of the robot | |
JP6669715B2 (en) | Vibration suppressor | |
CN102189550A (en) | Robot having learning control function | |
CN112809667B (en) | Force control method and device of industrial robot and application of force control device | |
CN106965171A (en) | Possesses the robot device of learning functionality | |
CN109746913B (en) | Method and system for teaching robot posture keeping dragging | |
CN112894821B (en) | Current method based collaborative robot dragging teaching control method, device and equipment | |
US20170090452A1 (en) | Machine tool for generating speed distribution | |
CN107748496B (en) | Impedance controller algorithm based on parameter self-adaptive adjustment | |
CN109507879B (en) | Control device and machine learning device | |
TWI594858B (en) | Robotic arm teaching system | |
US20230191600A1 (en) | Motion control method, robot, and computer-readable storage medium | |
CN116604565A (en) | Force guiding control method and system for variable admittance of robot | |
CN114800523B (en) | Mechanical arm track correction method, system, computer and readable storage medium | |
CN114800513B (en) | System and method for automatically generating robot shaft hole assembly program based on single dragging teaching | |
WO2022247615A1 (en) | Method and apparatus for reducing acting force of robot on mounting platform, and storage medium | |
JPH0635525A (en) | Robot arm control method | |
CN107972029A (en) | Mechanical arm instructs control system | |
JPH08190433A (en) | Load weight estimating method | |
Arango et al. | Automatic tuning of adaptive gradient descent based motion cueing algorithm using particle swarm optimisation | |
CN111742270A (en) | Information processing apparatus, information processing method, and computer program | |
WO2024050729A1 (en) | Robot teleoperation system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |