CN115302505B - Path correction method, system, storage medium and machine tool equipment - Google Patents

Path correction method, system, storage medium and machine tool equipment Download PDF

Info

Publication number
CN115302505B
CN115302505B CN202210936702.5A CN202210936702A CN115302505B CN 115302505 B CN115302505 B CN 115302505B CN 202210936702 A CN202210936702 A CN 202210936702A CN 115302505 B CN115302505 B CN 115302505B
Authority
CN
China
Prior art keywords
machine tool
coordinate system
robot
workpiece
path
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
Application number
CN202210936702.5A
Other languages
Chinese (zh)
Other versions
CN115302505A (en
Inventor
李卫铳
李卫燊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Ligong Industrial Co ltd
Original Assignee
Guangzhou Ligong Industrial Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Ligong Industrial Co ltd filed Critical Guangzhou Ligong Industrial Co ltd
Priority to CN202210936702.5A priority Critical patent/CN115302505B/en
Publication of CN115302505A publication Critical patent/CN115302505A/en
Application granted granted Critical
Publication of CN115302505B publication Critical patent/CN115302505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

The invention discloses a path correction method, a system, a storage medium and machine tool equipment, wherein the path correction method comprises the steps of obtaining a first position, wherein the first position is the relative position between the tail end of a mechanical arm of a robot and the origin of the machine tool; acquiring a second position, wherein the second position is a relative position between a workpiece in the machine tool and an origin of the machine tool; calculating a third position according to the first position and the second position, wherein the third position is the relative position between the tail end of the mechanical arm and the workpiece; and adding variable compensation to the reference point according to the third position to realize path correction. The relative relation between the tail end of the mechanical arm and the original point of the machine tool and the relative relation between the workpiece in the machine tool and the original point of the machine tool, namely the first position and the second position are obtained, the relative position between the tail end of the mechanical arm and the workpiece in the machine tool, namely the third position is obtained through calculation by combining the first position and the second position, and the third position is adopted for carrying out path correction, so that the pose of the mechanical arm is corrected, and the closed-loop high-precision feeding and discharging operation is realized.

Description

Path correction method, system, storage medium and machine tool equipment
Technical Field
The present invention relates to the field of robotics, and in particular, to a path correction method, a system, a storage medium, and a machine tool device.
Background
Aiming at the problems that in the operation of the loading and unloading robot of the prior numerical control machine tool, when new parts or working procedures are switched, because of the change of a clamp and a jaw, a large number of road points need to be modified manually, and the modification leads to low production efficiency and low precision stability.
The robot path for feeding and discharging the numerical control machine tool is generally divided into a plurality of sections of preset paths, but when the size and the processing procedure of the finally fed and discharged workpiece are changed, the clamp in the machine tool is required to be changed so as to achieve the requirements of reasonable clamping and proper processing. Often, the final path is changed most frequently and has the highest precision requirement, an operator adjusts the path point by visual observation, the path correction mode is low in efficiency, the internal space of some machine tools is narrow, a good enough view is difficult to operate, and even certain safety problems exist.
The camera is mounted on the mechanical arm to take a picture, and coordinate values of a workpiece are acquired through images, but because the cutting cooling liquid is used for cooling the heat of a cutter and the heat of the workpiece in the processing process in the machine tool, and the environment in the machine tool is relatively closed, the use effect of the camera can be influenced by mist of the cutting cooling liquid in the machine tool, and the effect is poorer and poorer along with the accumulation of the use time, and the robustness is not strong. Meanwhile, when the camera shoots and samples, the light environment in the machine tool is different, the standardization is difficult, and the false alarm rate is high.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a path correction method, a system, a storage medium and machine tool equipment, which can acquire high-precision road points so as to correct paths.
According to an embodiment of the first aspect of the present invention, a path correction method is applied to a loading and unloading robot of a numerical control machine tool, and the path correction method includes:
acquiring a first position, wherein the first position is a relative position between the tail end of a mechanical arm of the robot and the origin of a machine tool;
acquiring a second position, wherein the second position is a relative position between a workpiece in the machine tool and an origin of the machine tool;
calculating a third position according to the first position and the second position, wherein the third position is the relative position between the tail end of the mechanical arm and the workpiece;
and adding variable compensation to the reference point according to the third position to realize path correction.
The path correction method according to the embodiment of the first aspect of the present invention has at least the following advantages: the relative relation between the tail end of the mechanical arm and the original point of the machine tool and the relative relation between the workpiece in the machine tool and the original point of the machine tool, namely the first position and the second position are obtained, the relative position between the tail end of the mechanical arm and the workpiece in the machine tool, namely the third position is obtained through calculation by combining the first position and the second position, and the third position is adopted for carrying out path correction, so that the pose of the mechanical arm is corrected, and the closed-loop high-precision feeding and discharging operation is realized.
According to an embodiment of the first aspect of the present invention, a method for acquiring the first position includes:
the robot moves or is installed at a position nearby the machine tool, and the relative position between the tail end of the mechanical arm and the origin of the machine tool is obtained;
in the moving process of the mechanical arm of the robot, based on the fact that the relative position between the base of the robot and the origin of the machine tool is kept unchanged, the tail end of the mechanical arm is set to be TCP, the origin of the machine tool is MBase, the base of the robot is RBase, and therefore the following steps are achieved:
Figure SMS_1
);
this is the variable compensation of the third position to the reference point increase.
According to an embodiment of the first aspect of the present invention, the path correction method further includes:
establishing a rigid body transformation matrix of a base coordinate system of the robot and a machine tool coordinate system of the machine tool;
correcting the rigid transformation moment according to the first position and the second position;
and correcting the required path point in the path by combining the correction matrix and the preset path point.
According to an embodiment of the first aspect of the present invention, the path correction method further includes:
calibrating a base coordinate system of the base and a tool coordinate system of the tail end of the mechanical arm so as to obtain the first position;
acquiring a workpiece coordinate system in the machine tool, and establishing conversion between the workpiece coordinate system and the machine tool coordinate system so as to obtain the second position;
and correcting the matrix rigid body transformation matrix by combining the calibrated coordinate system and the transformed coordinate system.
According to the path correction method of the embodiment of the first aspect of the invention, the base coordinate system of the robot is marked as O r X r Y r Z r The machine coordinate system is marked as O m X m Y m Z m Establishing a slave baseCoordinate system O r X r Y r Z r To the machine tool coordinate system O m X m Y m Z m Rigid body transformation matrix of (a)
Figure SMS_2
The method comprises the following steps:
for robot-based coordinate systems
Figure SMS_3
A representation;
for machine tool coordinate systems
Figure SMS_4
A representation;
by using
Figure SMS_5
Expressed in the reference base coordinate system->
Figure SMS_6
Lower machine tool coordinate system->
Figure SMS_7
Is the origin of coordinates of (a);
assume that the mp coordinate system of a workpiece in a machine tool is relative to the machine tool coordinate system
Figure SMS_8
Lower position->
Figure SMS_9
A representation;
the origin of the mp coordinate system of the workpiece in the machine tool relative to the coordinate system of the machine tool
Figure SMS_10
Lower position->
Figure SMS_11
The representation is made of a combination of a first and a second color,
then the object mp coordinate system is relative to the base coordinate system
Figure SMS_12
Lower position->
Figure SMS_13
Expressed as:
Figure SMS_14
for the combination of rotation mapping and translation mapping, a machine tool coordinate system is firstly adopted
Figure SMS_15
Rotating according to the rotation matrix, and translating along the displacement vector;
performing homogeneous transformation to obtain a transformation matrix
Figure SMS_16
Figure SMS_17
Wherein the matrix is transformed secondarily
Figure SMS_18
For a matrix of 4x4, the coordinate system of the machine tool is represented +>
Figure SMS_19
To the base coordinate system->
Figure SMS_20
Is a transformation relation of:
it follows that:
Figure SMS_21
according to a second aspect of the present invention, a path correction system applied to a loading and unloading robot of a numerical control machine tool includes:
the first acquisition module is used for acquiring a first position, wherein the first position is a relative position between the tail end of a mechanical arm of the robot and a base of the robot;
the second acquisition module is used for acquiring a second position, wherein the second position is the relative position between a workpiece in the machine tool and the origin of the machine tool;
the analysis module is used for calculating a third position according to the first position and the second position, wherein the third position is the relative position between the tail end of the mechanical arm and the workpiece;
and the correction module is used for adding variable compensation to the reference point according to the third position to realize path correction.
According to an embodiment of the second aspect of the present invention, the path correction system further includes:
the generation module is used for establishing a rigid body transformation matrix of a base coordinate system of the robot and a machine tool coordinate system of the machine tool;
a calculation module for correcting the rigid body transformation moment according to the first position and the second position;
the correction module is also used for correcting the required path point in the path by combining the calculation module and the preset path point.
According to an embodiment of the second aspect of the present invention, the path correction system further includes:
the calibration module is used for calibrating a base coordinate system of the base and a tool coordinate system of the tail end of the mechanical arm so as to obtain the first position;
the establishing module is used for acquiring a workpiece coordinate system in the machine tool, and establishing conversion between the workpiece coordinate system and the machine tool coordinate system so as to obtain the second position;
the correction module is also used for correcting the matrix rigid body transformation matrix by combining the calibrated coordinate system and the transformed coordinate system.
According to an embodiment of the third aspect of the present invention, the storage medium has stored therein at least one instruction that is loaded and executed by a processor to implement the operations performed by the path correction method according to the embodiment of the first aspect of the present invention.
A machine tool apparatus according to an embodiment of the fourth aspect of the present invention comprises a processor and a memory having stored therein at least one instruction that is loaded and executed by the processor to implement the operations performed by the path modification method according to the embodiment of the first aspect of the present invention.
It will be appreciated that the path correction system according to the second aspect of the present invention, the storage medium according to the third aspect of the present invention, and the machine tool apparatus according to the fourth aspect of the present invention all have the technical effects of the path correction method according to the first aspect of the present invention, and thus will not be described in detail.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described below with reference to the drawings and examples;
FIG. 1 is a flowchart of an alternative path modification method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative path modification method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a path correction system according to an embodiment of the invention.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it should be understood that references to orientation descriptions, such as directions of up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the drawings, are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the apparatus or element referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application.
In the description of the present application, the meaning of several is one or more, the meaning of a plurality is at least two, greater than, less than, exceeding, etc. is understood to not include the present number, and above, below, within, etc. is understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present application, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present application can be reasonably determined by a person skilled in the art after combining the specific contents of the technical solutions.
Referring to fig. 1 to 2, a path correction method according to an embodiment of a first aspect of the present application is applied to a loading and unloading robot of a numerically-controlled machine tool, and the path correction method includes the following steps:
step 101, acquiring a first position, wherein the first position is the relative position between the tail end of a mechanical arm of a robot and the origin of a machine tool;
102, acquiring a second position, wherein the second position is the relative position between a workpiece in a machine tool and the origin of the machine tool;
step 103, calculating a third position according to the first position and the second position, wherein the third position is the relative position between the tail end of the mechanical arm and the workpiece;
and 104, adding variable compensation to the reference point according to the third position to realize path correction.
The relative relation between the tail end of the mechanical arm and the original point of the machine tool and the relative relation between the workpiece in the machine tool and the original point of the machine tool, namely the first position and the second position are obtained, the relative position between the tail end of the mechanical arm and the workpiece in the machine tool, namely the third position is obtained through calculation by combining the first position and the second position, and the third position is adopted for carrying out path correction, so that the pose of the mechanical arm is corrected, and the closed-loop high-precision feeding and discharging operation is realized.
It is understood that the lathe in this application optionally sets up numerical control lathe, is provided with the work piece of waiting to process on the numerical control lathe, and the robot in this application optionally sets up as last unloading robot, goes up unloading robot and has base and arm, disposes the instrument of processing at the arm end.
It should be noted that, referring specifically to fig. 1, after the loading and unloading robot of the numerically-controlled machine tool is configured in the production workshop, the position of the machine tool and the position of the base of the loading and unloading robot are generally fixed, so that a relative positional relationship is established between the end of the movable mechanical arm and the base of the loading and unloading robot, and a relative positional relationship is established between a random workpiece and the numerically-controlled machine tool so as to correct a path, thereby realizing loading and unloading with high precision and low manual intervention, and further solving the problems of inefficient loading and unloading path correction and multiple manual intervention of the numerically-controlled machine tool. The method can effectively improve the utilization rate of the machine tool and the robot.
In some embodiments of the present application, and with particular reference to fig. 1, a method of acquiring a first location includes:
the robot moves or is installed to a position near the machine tool, and the relative position between the tail end of the mechanical arm and the origin of the machine tool is obtained;
in the moving process of the mechanical arm of the robot, based on the fact that the relative position between the base of the robot and the origin of the machine tool is kept unchanged, the tail end of the mechanical arm is set to be TCP, the origin of the machine tool is MBase, the base of the robot is RBase, and therefore the following steps are achieved:
Figure SMS_22
);
this is the variable compensation of the third position to the reference point increase.
It can be understood that the relation between the mechanical arm and the machine tool is realized by an optimization algorithm and closed-loop communication, and meanwhile, the relation between the base of the self-defined robot, the workpiece to be clamped and the clamp in the machine tool is calculated once to meet the requirement of high precision.
In some embodiments of the present application, the first position and the second position may be defined by a coordinate system, and a coordinate system is fed back to the robot by using an absolute coordinate, a relative coordinate and a mechanical coordinate on the numerical control machine as a method for correcting the path, so that the calibration accuracy is high, the operation is simple and convenient, and the effect of manually correcting the path is not required.
The origin of the machine tool is a fixed point which is already set when the machine tool is designed, manufactured, assembled and debugged. The origin of the machine tool is a datum reference point for controlling the movement of the machine tool by the numerical control device, and is also a unified datum for measuring, controlling and displaying the position of the numerical control machine tool. The origin of the machine tool is a defined point which cannot be directly measured, and the user has no modification authority. In a numerical control milling machine, the origin of the machine tool is generally taken at the positive direction limit position of a X, Y, Z coordinate axis, but the origin of the machine tools of all manufacturers is inconsistent, and the machine tool operation manual of all systems should be referred to during operation.
The machine tool coordinate system is a coordinate system established with the origin of the machine tool. The machine coordinate system is the one that serves the numerical control of the machine.
The origin of the workpiece coordinate system in the machine tool is the machined workpiece origin, also known as the workpiece zero point. Unlike the machine tool coordinate system, the workpiece coordinate system is set manually. Usually also the coordinate system set by the programmer at the time of programming, also called the programming coordinate system.
The base coordinate system is a rectangular coordinate system which is used for describing the motion of the robot body by taking the robot installation base as a reference. Any robot is not separated from the basic coordinate system, and is also a basic coordinate system (front and back: X axis, left and right: Y axis, up and down: Z axis) necessary for the robot TCP to move in the three-dimensional space.
Tool coordinate system: the tool center point is taken as a zero point, and the track of the robot refers to the tool center point.
Workpiece coordinate system: the workpiece coordinate system is a rectangular coordinate system based on the workpiece and can be used for describing the coordinate system of TCP motion, wherein the workpiece coordinate system in the machine tool is a coordinate system used in programming, also called a programming coordinate system, and the coordinate system is artificially set. Establishing a workpiece coordinate system is an indispensable step before numerical control machining. Different systems and methods vary.
The main establishment method comprises the following steps: the system acquires a workpiece coordinate system in the machine tool through communication with the machine tool or manually inputs the workpiece coordinate system into the system to participate in coordinate system conversion through a trial cutting tool setting method/workpiece setting method, a split rod tool setting method/workpiece setting method and a contact sensing tool setting method/workpiece setting method.
Wherein all coordinates mentioned above obey the right hand criterion.
In some embodiments of the present application, the path correction method further includes:
establishing a rigid body transformation matrix of a base coordinate system of the robot and a machine tool coordinate system of the machine tool;
correcting the rigid body transformation moment according to the first position and the second position;
and the required path points in the path are corrected by combining the correction matrix and the preset path points, so that the feeding and discharging high precision of the numerical control machine tool is realized, and the intervention requirement of personnel is low.
In some embodiments of the present application, the path correction method further includes:
calibrating a base coordinate system of a robot base and a tool coordinate system of the tail end of the mechanical arm so as to obtain a first position;
acquiring a workpiece coordinate system in a machine tool, and establishing conversion between the workpiece coordinate system and the machine tool coordinate system so as to obtain a second position;
and correcting the matrix rigid body transformation matrix by combining the calibrated coordinate system and the transformed coordinate system.
And calibrating and communicating the coordinate system of the mechanical arm and the coordinate system of the machine tool, acquiring the coordinate of a workpiece in the machine tool, and converting the coordinate into the coordinate of the mechanical arm to acquire a high-precision road point so as to correct the path.
It will be readily appreciated that the machine coordinate system is generally parallel to the corresponding coordinate axes of the workpiece coordinate system in the machine, and the directions are the same, but the origin O is different. Workpiece origin O in machine tool mp With the origin O of the machine tool m The distance between the two is called the workpiece origin offset, and the offset value is required to be input into a numerical control system in advance or automatically input into the numerical control system after being measured by a contact probe system in a machine tool during processing.
Referring specifically to fig. 2, in some embodiments of the present application, a path correction method includes:
step 201, establishing a rigid body transformation matrix of a base coordinate system and a machine tool coordinate system of a robot;
step 202, calibrating a base coordinate system of a robot and a tool coordinate system of the robot;
step 203, obtaining a workpiece coordinate system in a machine tool;
step 204, establishing conversion between a workpiece coordinate system and a machine tool coordinate system;
step 205, correcting a matrix rigid body transformation matrix;
step 206, combining the correction matrix and the preset path point to correct the required path point in the path.
It should be noted that, the pose variable is a vector description of the position and direction of the waypoint in the cartesian coordinate system, including: position vector (x, y, z), selection vector (rx, ry, rz).
In some embodiments of the present application, the base coordinate system of the robot is labeled O r X r Y r Z r The machine coordinate system is marked as O m X m Y m Z m Establishing a slave base coordinate system O r X r Y r Z r To the machine tool coordinate system O m X m Y m Z m Rigid body transformation matrix of (a)
Figure SMS_23
The method comprises the following steps:
for robot-based coordinate systems
Figure SMS_24
A representation;
for machine tool coordinate systems
Figure SMS_25
A representation;
by using
Figure SMS_26
Expressed in the reference base coordinate system->
Figure SMS_27
Lower machine tool coordinate system->
Figure SMS_28
Is the origin of coordinates of (a);
assume that the mp coordinate system of a workpiece in a machine tool is relative to the machine tool coordinate system
Figure SMS_29
Lower position->
Figure SMS_30
A representation;
workpiece mp coordinate system origin in machine tool relative to machine tool coordinate system
Figure SMS_31
Lower position->
Figure SMS_32
The representation is made of a combination of a first and a second color,
then the object mp coordinate system is relative to the base coordinate system
Figure SMS_33
Lower position->
Figure SMS_34
Expressed as:
Figure SMS_35
for the combination of rotation mapping and translation mapping, a machine tool coordinate system is firstly adopted
Figure SMS_36
Rotating according to the rotation matrix, and translating along the displacement vector;
performing homogeneous transformation to obtain a transformation matrix
Figure SMS_37
Figure SMS_38
Wherein the matrix is transformed secondarily
Figure SMS_39
For a matrix of 4x4, the coordinate system of the machine tool is represented +>
Figure SMS_40
To the base coordinate system->
Figure SMS_41
Is a transformation relation of:
it follows that:
Figure SMS_42
。/>
referring to fig. 3, a path correction system according to a second aspect of the present invention is applied to a loading and unloading robot of a numerical control machine, and includes:
the first obtaining module 301 is configured to obtain a first position, where the first position is a relative position between a tail end of a mechanical arm of the robot and a base of the robot;
the second obtaining module 302 is configured to obtain a second position, where the second position is a relative position between a workpiece in the machine tool and an origin of the machine tool;
the analysis module 303 is configured to calculate a third position according to the first position and the second position, where the third position is a relative position between the end of the mechanical arm and the workpiece;
and the correction module 304 is configured to add variable compensation to the reference point according to the third position, so as to implement path correction.
According to the path correction system of the embodiment of the second aspect of the present invention, the path correction system further includes:
the generation module is used for establishing a rigid body transformation matrix of a base coordinate system of the robot and a machine tool coordinate system of the machine tool;
a calculation module for correcting the rigid body transformation moment according to the first position and the second position;
the correction module 304 is further configured to correct a desired path point in the path by combining the calculation module and the preset path point.
According to the path correction system of the embodiment of the second aspect of the present invention, the path correction system further includes:
the calibration module is used for calibrating a base coordinate system of the robot base and a tool coordinate system of the tail end of the mechanical arm so as to obtain a first position;
the establishing module is used for acquiring a workpiece coordinate system in the machine tool, and establishing conversion between the workpiece coordinate system and the machine tool coordinate system so as to obtain a second position;
the correction module 304 is further configured to correct the matrix rigid transformation matrix by combining the calibrated coordinate system and the transformed coordinate system.
It can be understood that the relative position of the origin coordinate of the machine tool and the workpiece coordinate is used as the reference value of the variable pose of the robot, and the precision of the machine tool is always higher than that of the mechanical arm, so that the reference precision of the method is higher, the relative position in the machine tool is communicated or read through the machine tool and is input into the final waypoint of the robot for correction, the method belongs to closed-loop communication, the precision error of modes such as a lens is avoided, the correction waypoint is avoided by manual intervention, and the working efficiency is improved.
Referring to fig. 1 to 3, a storage medium of an embodiment of a third aspect of the present invention has at least one instruction stored therein, the instruction being loaded and executed by a processor to implement operations performed by the path correction method of the embodiment of the first aspect of the present invention.
Referring to fig. 1 to 3, a machine tool apparatus according to an embodiment of the fourth aspect of the present invention comprises a processor and a memory in which at least one instruction is stored, the instruction being loaded and executed by the processor to implement operations as performed by the path correction method according to the embodiment of the first aspect of the present invention.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The embodiments of the present application have been described in detail above with reference to the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application.

Claims (4)

1. The path correction method is characterized by being applied to a loading and unloading robot of a numerical control machine tool, and comprises the following steps:
acquiring a first position, wherein the first position is a relative position between the tail end of a mechanical arm of the robot and the origin of a machine tool;
acquiring a second position, wherein the second position is a relative position between a workpiece in the machine tool and an origin of the machine tool;
calculating a third position according to the first position and the second position, wherein the third position is the relative position between the tail end of the mechanical arm and the workpiece;
adding variable compensation to the reference point according to the third position to realize path correction;
the method for acquiring the first position comprises the following steps:
the robot moves or is installed at a position nearby the machine tool, and the relative position between the tail end of the mechanical arm and the origin of the machine tool is obtained;
in the moving process of the mechanical arm of the robot, based on the fact that the relative position between the base of the robot and the origin of the machine tool is kept unchanged, the tail end of the mechanical arm is set to be TCP, the origin of the machine tool is MBase, the base of the robot is RBase, and therefore the following steps are achieved:
Figure QLYQS_1
);
this is the variable compensation of the third position to the reference point increase;
the path correction method further comprises the following steps:
establishing a rigid body transformation matrix of a base coordinate system of the robot and a machine tool coordinate system in the machine tool;
correcting the rigid transformation moment according to the first position and the second position;
combining the correction matrix and a preset path point to correct a required path point in the path;
the path correction method further comprises the following steps:
calibrating a base coordinate system of the base and a tool coordinate system of the tail end of the mechanical arm so as to obtain the first position;
acquiring a workpiece coordinate system in the machine tool, and establishing conversion between the workpiece coordinate system and the machine tool coordinate system so as to obtain the second position;
combining the calibrated coordinate system and the transformed coordinate system to correct the matrix rigid body transformation matrix;
marking the base coordinate system of the robot as O r X r Y r Z r The machine coordinate system is marked as O m X m Y m Z m Establishing a slave base coordinate system O r X r Y r Z r To the machine tool coordinate system O m X m Y m Z m Rigid body transformation matrix of (a)
Figure QLYQS_2
The method comprises the following steps:
for robot-based coordinate systems
Figure QLYQS_3
A representation;
for machine tool coordinate systems
Figure QLYQS_4
A representation;
by using
Figure QLYQS_5
Expressed in the reference base coordinate system->
Figure QLYQS_6
Lower machine tool coordinate system->
Figure QLYQS_7
Is the origin of coordinates of (a);
assume that the mp coordinate system of a workpiece in a machine tool is relative to the machine tool coordinate system
Figure QLYQS_8
Lower position->
Figure QLYQS_9
A representation;
the origin of the mp coordinate system of the workpiece in the machine tool relative to the coordinate system of the machine tool
Figure QLYQS_10
Lower position->
Figure QLYQS_11
The representation is made of a combination of a first and a second color,
then the object mp coordinate system is relative to the base coordinate system
Figure QLYQS_12
Lower position->
Figure QLYQS_13
Expressed as:
Figure QLYQS_14
for the combination of rotation mapping and translation mapping, a machine tool coordinate system is firstly adopted
Figure QLYQS_15
Rotating according to the rotation matrix, and translating along the displacement vector;
performing homogeneous transformation to obtain a transformation matrix
Figure QLYQS_16
/>
Figure QLYQS_17
Wherein the matrix is homogeneous
Figure QLYQS_18
Representing the coordinate system of the machine tool->
Figure QLYQS_19
To the base coordinate system->
Figure QLYQS_20
Is a transformation relation of:
it follows that:
Figure QLYQS_21
2. a path correction system, characterized in that it is applied to a loading and unloading robot of a numerical control machine, and uses the path correction method according to claim 1, and comprises:
the first acquisition module is used for acquiring a first position, wherein the first position is a relative position between the tail end of a mechanical arm of the robot and a base of the robot;
the second acquisition module is used for acquiring a second position, wherein the second position is the relative position between a workpiece in the machine tool and the origin of the machine tool;
the analysis module is used for calculating a third position according to the first position and the second position, wherein the third position is the relative position between the tail end of the mechanical arm and the workpiece;
the correction module is used for adding variable compensation to the reference point according to the third position to realize path correction;
the path correction system further includes:
the generation module is used for establishing a rigid body transformation matrix of a base coordinate system of the robot and a machine tool coordinate system in the machine tool;
a calculation module for correcting the rigid body transformation moment according to the first position and the second position;
the correction module is also used for correcting the required path point in the path by combining the calculation module and the preset path point;
the path correction system further includes:
the calibration module is used for calibrating a base coordinate system of the base and a tool coordinate system of the tail end of the mechanical arm so as to obtain the first position;
the establishing module is used for acquiring a workpiece coordinate system in the machine tool, and establishing conversion between the workpiece coordinate system and the machine tool coordinate system so as to obtain the second position;
the correction module is also used for correcting the matrix rigid body transformation matrix by combining the calibrated coordinate system and the transformed coordinate system.
3. A storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the operations performed by the path modification method of claim 1.
4. A machine tool apparatus comprising a processor and a memory having at least one instruction stored therein, the instruction being loaded and executed by the processor to perform the operations performed by the path modification method of claim 1.
CN202210936702.5A 2022-08-05 2022-08-05 Path correction method, system, storage medium and machine tool equipment Active CN115302505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210936702.5A CN115302505B (en) 2022-08-05 2022-08-05 Path correction method, system, storage medium and machine tool equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210936702.5A CN115302505B (en) 2022-08-05 2022-08-05 Path correction method, system, storage medium and machine tool equipment

Publications (2)

Publication Number Publication Date
CN115302505A CN115302505A (en) 2022-11-08
CN115302505B true CN115302505B (en) 2023-06-13

Family

ID=83861606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210936702.5A Active CN115302505B (en) 2022-08-05 2022-08-05 Path correction method, system, storage medium and machine tool equipment

Country Status (1)

Country Link
CN (1) CN115302505B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4453085A (en) * 1981-05-11 1984-06-05 Diffracto Ltd. Electro-optical systems for control of robots, manipulator arms and co-ordinate measuring machines
DE10312025A1 (en) * 2003-03-18 2004-10-07 Delta-X GmbH Ingenieurgesellschaft Gesellschaft für Strukturanalyse Position control error compensation method for machine, involves compensation mechanism for deformations of processing machines with continuously measuring circuit utilized on basis of finite element method computation
JP2009020846A (en) * 2007-07-14 2009-01-29 Kanto Auto Works Ltd Modification teaching method of electrostatic coating robot for vehicle
CN111923053A (en) * 2020-04-21 2020-11-13 广州里工实业有限公司 Industrial robot object grabbing teaching system and method based on depth vision
CN112318506A (en) * 2020-10-28 2021-02-05 上海交通大学医学院附属第九人民医院 Automatic calibration method, device, equipment, mechanical arm and medium for mechanical arm
CN113547522A (en) * 2021-07-30 2021-10-26 山东大学 Robot path precision compensation method and system
CN113787515A (en) * 2021-08-12 2021-12-14 佛山缔乐视觉科技有限公司 Loading and unloading method and device based on mobile robot and storage medium
CN114310868A (en) * 2020-09-29 2022-04-12 台达电子工业股份有限公司 Coordinate system correction device and method for robot arm
CN114378822A (en) * 2022-01-19 2022-04-22 合肥工业大学 Method for adjusting terminal pose of robot mechanical arm based on vision

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003007129A2 (en) * 2001-07-13 2003-01-23 Broks Automation, Inc. Trajectory planning and motion control strategies for a planar three-degree-of-freedom robotic arm

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4453085A (en) * 1981-05-11 1984-06-05 Diffracto Ltd. Electro-optical systems for control of robots, manipulator arms and co-ordinate measuring machines
DE10312025A1 (en) * 2003-03-18 2004-10-07 Delta-X GmbH Ingenieurgesellschaft Gesellschaft für Strukturanalyse Position control error compensation method for machine, involves compensation mechanism for deformations of processing machines with continuously measuring circuit utilized on basis of finite element method computation
JP2009020846A (en) * 2007-07-14 2009-01-29 Kanto Auto Works Ltd Modification teaching method of electrostatic coating robot for vehicle
CN111923053A (en) * 2020-04-21 2020-11-13 广州里工实业有限公司 Industrial robot object grabbing teaching system and method based on depth vision
CN114310868A (en) * 2020-09-29 2022-04-12 台达电子工业股份有限公司 Coordinate system correction device and method for robot arm
CN112318506A (en) * 2020-10-28 2021-02-05 上海交通大学医学院附属第九人民医院 Automatic calibration method, device, equipment, mechanical arm and medium for mechanical arm
CN113547522A (en) * 2021-07-30 2021-10-26 山东大学 Robot path precision compensation method and system
CN113787515A (en) * 2021-08-12 2021-12-14 佛山缔乐视觉科技有限公司 Loading and unloading method and device based on mobile robot and storage medium
CN114378822A (en) * 2022-01-19 2022-04-22 合肥工业大学 Method for adjusting terminal pose of robot mechanical arm based on vision

Also Published As

Publication number Publication date
CN115302505A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US9895810B2 (en) Cooperation system having machine tool and robot
CN108121294B (en) Standards for sports
KR102280663B1 (en) Calibration method for robot using vision technology
CN108717715B (en) Automatic calibration method for linear structured light vision system of arc welding robot
US8155789B2 (en) Device, method, program and recording medium for robot offline programming
EP1555508A1 (en) Measuring system
CN110682289B (en) Automatic calibration method for curved surface workpiece coordinate system based on industrial robot
CN108297100B (en) Mechanical arm parameter calibration method, device and system and mechanical arm
US10359266B2 (en) Position measurement method of object in machine tool and position measurement system of the same
JP2005342832A (en) Robot system
CN107953333B (en) Control method and system for calibrating tool at tail end of manipulator
EP3689540B1 (en) On-machine measuring method and control device of machine tool
CN109623822B (en) Robot hand-eye calibration method
US7957834B2 (en) Method for calculating rotation center point and axis of rotation, method for generating program, method for moving manipulator and positioning device, and robotic system
CN113211493A (en) Calibration method and calibration system
JPH09253979A (en) Tool edge position measuring device
JP2017142617A (en) Cutting machine and method for determining necessity of position correction
CN115302505B (en) Path correction method, system, storage medium and machine tool equipment
JPH07266194A (en) Tool cutting edge measurement compensator
CN117182931B (en) Calibration method and system for calibration data of mechanical arm and storage medium
JP2011036956A (en) Accuracy adjusting method for robot and robot
CN113240753A (en) Sphere fitting method for calibrating base coordinate system of robot and double-shaft deflection mechanism
Huang et al. Robotic hand-eye calibration based on active vision
JPH09222913A (en) Teaching position correcting device for robot
CN114643577B (en) Universal robot vision automatic calibration device 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 3-7, Jiucun West Road, Jiushuikeng Village, Dalong Street, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: GUANGZHOU LIGONG INDUSTRIAL CO.,LTD.

Address before: 510000 one of No. 3, Jiucun West Road, jiushuikeng village, Dalong street, Panyu District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU LIGONG INDUSTRIAL CO.,LTD.

GR01 Patent grant
GR01 Patent grant