Method for dynamically correcting position error of mechanical arm
1. A method for dynamically correcting position errors of a mechanical arm is characterized by comprising the following steps:
setting at least one reference point on the periphery of a workpiece, setting at least one detection point corresponding to the reference point on a clamping jaw of the manipulator, setting a walking path of the manipulator at a control end of the manipulator, and if the detection point is coincident with the corresponding reference point, accurately reaching a clamping position along the walking path by the manipulator, and clamping the workpiece by the clamping jaw of the manipulator;
and dynamically detecting whether the manipulator generates errors, if so, correcting the walking path to obtain a corrected path, advancing the manipulator along the corrected path to the position where the detection point coincides with the corresponding reference point, accurately reaching a clamping position along the corrected path, and clamping a workpiece by a clamping jaw of the manipulator.
2. The method for dynamically correcting the position error of the mechanical arm according to claim 1, wherein the mechanical arm is provided with at least one clamping jaw, and a touch sensor for dynamically detecting the mechanical arm error is correspondingly arranged on a detection point of the clamping jaw.
3. The method of claim 2, wherein at least one tactile sensor is disposed on each of the plurality of fingers.
4. The method of dynamically correcting for robot arm position error of claim 3, wherein the touch sensor is a touch sensor, a pressure sensor and/or a proximity switch.
5. The method for dynamically correcting the position error of the mechanical arm according to claim 4, wherein the reference point is a center point of a position of a workpiece and/or a position of the detection point when the mechanical arm is at a clamping position.
6. The method of claim 5, wherein: after collision occurs, the position of the touch sensor corresponding to the detected collision is a collision point, a separation point is preset, and the control end controls the manipulator to be far away from the collision point and move to the separation point.
7. The method of claim 6, wherein the position of the break-away point is opposite to the position of the impact point.
8. The method of claim 7, wherein a distance between the point of departure and the point of impact is greater than a predetermined distance.
9. The method according to claim 8, wherein after the robot reaches the disengaging point, the robot travels along the correction path until the detection point coincides with the corresponding reference point, the robot accurately reaches a clamping position along the correction path, and a clamping jaw of the robot clamps the workpiece.
Background
In the prior art, the control end receives the angle position of the servo motor tail end encoder on the driving mechanical arm, the servo motor and the transmission structure are abraded along with long-time use, the tail end of the servo motor cannot reach the correct position, the mechanical arm can be seriously displaced, and finally the mechanical arm clamping jaw is collided with a workpiece. After collision, the mechanical arm is damaged, and if the mechanical arm is damaged seriously, the mechanical arm needs to stop working and return to a factory for renovation, and the whole production line is affected. The light person has to wait for the professional to revise the manipulator, which will be greatly affected by the manpower, working hours and productivity. The correction method for the manipulator is generally two, the first method is to re-teach once on the basis of the original action if the action is too complex and the time is too long, and the frequency of generating the impact is more and more frequent; the second method is to re-correct the reference point of the manipulator through the inspection instrument, and the two methods have low efficiency, require professional maintenance personnel to maintain, and cannot quickly and efficiently correct the error of the manipulator.
Disclosure of Invention
The invention mainly solves the technical problem of providing a method for dynamically correcting the position error of a mechanical arm, and solves the problem that the error of the mechanical arm cannot be corrected quickly and efficiently.
In order to solve the above technical problem, one technical solution adopted by the present invention is to provide a method for dynamically correcting a position error of a robot arm, comprising the steps of:
setting at least one reference point on the periphery of a workpiece, setting at least one detection point corresponding to the reference point on a clamping jaw of the manipulator, setting a walking path of the manipulator at a control end of the manipulator, and if the detection point is coincident with the corresponding reference point, accurately reaching a clamping position along the walking path by the manipulator, and clamping the workpiece by the clamping jaw of the manipulator;
and dynamically detecting whether the manipulator generates errors, if so, correcting the walking path to obtain a corrected path, advancing the manipulator along the corrected path to the position where the detection point coincides with the corresponding reference point, accurately reaching a clamping position along the corrected path, and clamping a workpiece by a clamping jaw of the manipulator.
Preferably, the manipulator is provided with at least one clamping jaw, and a touch sensor for dynamically detecting the manipulator error is correspondingly arranged on a detection point of the clamping jaw.
Preferably, at least one tactile sensor is provided on each of the claws.
Preferably, the tactile sensor is a touch sensor, a pressure sensor and/or a proximity switch.
Preferably, the reference point is a central point of a position of the workpiece and/or a position of the detection point when the manipulator is at a clamping position.
Preferably, after collision occurs, the position of the touch sensor corresponding to the detected collision is a collision point, a separation point is preset, and the control end controls the manipulator to be far away from the collision point and move to the separation point.
Preferably, the position of the disengagement point is opposite to the position of the collision point.
Preferably, the distance between the departure point and the collision point is greater than a preset distance.
Preferably, after the manipulator reaches the separation point, the manipulator moves along the correction path to the position where the detection point coincides with the corresponding reference point, the manipulator accurately reaches a clamping position along the correction path, and a clamping jaw of the manipulator clamps a workpiece.
The invention has the beneficial effects that: the invention discloses a method for dynamically correcting a position error of a mechanical arm. The problem that the manipulator generates serious displacement errors due to accumulated errors caused by long-time use of the manipulator and the clamping jaw collides with a workpiece (or a placing mechanism of the manipulator) is solved, whether the manipulator generates errors is dynamically detected through the touch sensor, a clamping path of the manipulator is automatically corrected by the control end after the errors are generated, a professional is not needed to correct the path again, the labor cost is greatly saved, the manufacturing cost of the touch sensor is low, and the investment of the cost is greatly saved. The error of the manipulator can be rapidly detected through the touch sensor, and rapid correction can be performed through the control end, so that the correction efficiency is greatly improved. The operation reliability of the mechanical arm is greatly improved, the yield of the production performance is increased, the efficiency is improved, and the maintenance frequency and the maintenance cost of the mechanical arm are greatly reduced.
Drawings
FIG. 1 is a schematic diagram of a robot in a gripping position according to an embodiment of the method for dynamically correcting a position error of the robot according to the present invention;
FIG. 2 is a diagram illustrating a robot collision according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a vertical disengagement of a robot according to an embodiment of the method for dynamically correcting a position error of the robot of the present invention;
FIG. 4 is a schematic diagram illustrating a lateral disengagement of a robot according to an embodiment of the method for dynamically correcting a position error of the robot of the present invention;
FIG. 5 is a diagram illustrating a robot with a shortest distance deviation according to an embodiment of the method for dynamically correcting a robot position error according to the present invention;
FIG. 6 is a schematic diagram of a robot traveling along a correction path according to an embodiment of the method for dynamically correcting a position error of the robot according to the present invention;
FIG. 7 is a schematic diagram of the robot reaching the clamping position along the correction path according to an embodiment of the method for dynamically correcting the position error of the robot of the present invention.
Detailed Description
In order to facilitate an understanding of the invention, the invention is described in more detail below with reference to the accompanying drawings and specific examples. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It is to be noted that, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Fig. 1 shows an embodiment of the method of the invention for dynamically correcting a jaw position error of a robot, comprising the steps of:
setting at least one reference point on the periphery of a workpiece, setting at least one detection point corresponding to the reference point on a clamping jaw of the manipulator, setting a walking path of the manipulator at a control end of the manipulator, and if the detection point is coincident with the corresponding reference point, accurately reaching a clamping position along the walking path by the manipulator, and clamping the workpiece by the clamping jaw of the manipulator;
and dynamically detecting whether the manipulator generates errors, if so, correcting the walking path to obtain a corrected path, advancing the manipulator along the corrected path to the position where the detection point coincides with the corresponding reference point, accurately reaching a clamping position along the corrected path, and clamping a workpiece by a clamping jaw of the manipulator.
The manipulator is provided with at least two clamping jaws which can be assembled with clamping jaws of various styles and multiple groups of clamping jaws, and a touch sensor for dynamically detecting errors of the manipulator is correspondingly arranged on a detection point of each clamping jaw.
At least one tactile sensor is arranged on each jaw. If 2 clamping jaws need at least 2, and 6 clamping jaws are needed in figure 1. Preferably, one side of the clamping jaw for clamping the workpiece is an inner side face, and the other side faces are outer side faces. A touch sensor can be arranged on each outer side surface according to the requirement of actual conditions. The number of tactile sensors provided on the outer side surface of each of the claws is at least one as described above. Preferably, a plurality of rows and/or columns of tactile sensors can be adaptively arranged according to the length of the clamping jaw.
The tactile sensor is a touch sensor, a pressure sensor and/or a proximity switch. Preferably, the tactile sensors are connected to the control end of the manipulator, each tactile sensor being provided with a corresponding number.
The datum point is the central point of the position of the workpiece and/or the position of the detection point when the manipulator is at the clamping position. In practical applications, it is preferable that the center line point of the position of the workpiece is used as a reference point.
When the manipulator travels along a preset traveling path, whether the touch sensor on the clamping jaw collides or not is determined dynamically.
When any touch sensor touches a workpiece, the clamping jaw is judged to collide, and the transmission device for driving the manipulator to move generates errors when the manipulator moves along the path.
After collision occurs, the touch sensor immediately sends a signal to the control end, and the control end controls the manipulator to stop moving. And the position of the touch sensor corresponding to the detected collision is a collision point, a separation point is preset, and the control end controls the manipulator to be far away from the collision point and move to the separation point. The disengagement point may be at any position, and may be provided at an upper side, a lower side, a front side, a rear side, or the like of the collision point, and preferably, the disengagement point is located opposite to the collision point.
The distance between the separation point and the collision point is greater than a preset distance. The preset distance can be set according to parameters of a clamping jaw of the workpiece, such as the size of the workpiece, the size of the clamping jaw, the position of a detection point and the like.
After the manipulator reaches the separation point, the manipulator moves to the detection point along the correction path to coincide with the corresponding reference point, the manipulator accurately reaches a clamping position along the correction path, and a clamping jaw of the manipulator clamps a workpiece. Until an error is generated again, a correction path is obtained in the same manner. Namely, the error is generated when collision occurs once, and a new clamping path can be automatically acquired by the control end, so that the collision is avoided at the collision point.
Description of the drawings: the following figures are 2-dimensional plan views to illustrate that the 3-dimensional space is actually a 3-dimensional space.
As shown in fig. 1, the robot has two jaws, 6 tactile sensors 1, 2, 3, 4, 5, and 6 are disposed on the jaws, at this time, the position of the robot is a gripping position, the center point of the position of the workpiece is Z0, the center detection point corresponding to the jaws is J0, and the position coordinates of the tactile sensors on the jaws of the robot are Z1, Z2, Z3, Z4, Z5, and Z6, respectively. That is, at least one of Z0, Z1, Z2, Z3, Z4, Z5, and Z6 may be used as the reference point, and preferably, the center point of the position of the workpiece is Z0.
The positions of the corresponding detection points on the jaw, i.e. the tactile sensors, are J1, J2, J3, J4, J5, J6. The position of the detection point in the clamping coordinate system can change along with the movement of the clamping jaw. When in the correct clamping position, Z0, Z1, Z2, Z3, Z4, Z5, Z6 coincide with J0, J1, J2, J3, J4, J5, J6, respectively. And the manipulator accurately reaches the clamping position along the walking path, and the clamping jaw of the manipulator can clamp the workpiece.
When the manipulator is used for a long time and an error occurs, as shown in fig. 2, when the manipulator moves and an error occurs, for example, the tactile sensor 1 collides with a workpiece, and the description will be given with Z0 and/or Z1 as reference points. At the moment, the position of the touch sensor 1 is J1-1, the point is a collision point, the control terminal controls the manipulator to stop moving, and a coordinate point J1-1 and a central detection point J0-1 of the collision point are recorded.
And the control end controls the manipulator to be far away from the collision point and move to the separation point. Two moving modes can be adopted from the collision point to the moving point, the first moving mode is shown in figures 3 and 4, the control end controls the manipulator to vertically move away from the collision point J1-1 by a distance S1, the coordinate of the touch sensor 1 is changed into J1-2, and the coordinate of the center detection point is changed into J0-2. The control end controls the manipulator to move in the transverse direction by a distance of S2, at which time the coordinate of the tactile sensor 1 is changed to J1-3 and the coordinate of the center detection point is changed to J0-3. J1-3 and J0-3 are the detachment points. S1 and S2 are both preset distances.
The second movement is shown in fig. 5, and the control end controls the robot to reach the escape points J1-3 and J0-3 by the shortest distance. The paths from the departure points J1-3 and J0-3 to the reference points Z1 and Z0 are corrected paths.
As shown in fig. 6, the control end controls the manipulator to move vertically from the disengaging points J1-3 and J0-3 to the position of the workpiece, and moves to the point where the center detection point and the reference point Z0 are on the same horizontal line, at this time, the coordinate of the tactile sensor 1 changes to J1-4, and the coordinate of the center detection point changes to J0-4.
As shown in fig. 7, when the control end controls the robot to move laterally from the disengaging points J1-4 and J0-4 to the position of the workpiece, and moves to the coordinates J1-5 of the tactile sensor 1 and the reference point Z1, and the center detection point J0-5 coincides with the reference point Z0, it is described that the robot reaches the clamping position accurately along the correction path, and the clamping jaws of the robot can clamp the workpiece.
When clamping is carried out again, the manipulator can move to the separation point, and the control end controls the manipulator to move along the correction path from the separation point to clamp the workpiece. The control end may control the robot to move the workpiece to be clamped by correcting a predetermined distance based on the original clamping path, for example, as shown in fig. 4, the distance moved in the lateral direction is S2, and when the original clamping path is corrected, the robot may move a large distance of S2 in the lateral direction, and may similarly avoid the collision again, thereby completing the automatic correction of the clamping path.
Therefore, the invention discloses a method for dynamically correcting the position error of the mechanical arm. The problem of the manipulator produces serious displacement error that the production accumulative error that produces of manipulator uses for a long time, and causes clamping jaw and work piece (or its laying mechanism) collision is solved, whether produce the error through touch sensor dynamic detection manipulator, can automatic correction after producing the error, and do not need professional technical personnel to revise the route again, very big saving human cost to touch sensor's cost is lower, very big saving the input of cost. The error of the manipulator can be rapidly detected through the touch sensor, and rapid correction can be performed through the control end, so that the correction efficiency is greatly improved. The operation reliability of the mechanical arm is greatly improved, the yield of the production performance is increased, the efficiency is improved, and the maintenance frequency and the maintenance cost of the mechanical arm are greatly reduced.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent structural changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种空间机器人机械臂的控制方法