CN113280767A - Workpiece rapid automatic positioning method based on non-concentric circles - Google Patents

Workpiece rapid automatic positioning method based on non-concentric circles Download PDF

Info

Publication number
CN113280767A
CN113280767A CN202110472571.5A CN202110472571A CN113280767A CN 113280767 A CN113280767 A CN 113280767A CN 202110472571 A CN202110472571 A CN 202110472571A CN 113280767 A CN113280767 A CN 113280767A
Authority
CN
China
Prior art keywords
workpiece
coordinate system
coordinate
robot
taking
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.)
Pending
Application number
CN202110472571.5A
Other languages
Chinese (zh)
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.)
Donghua University
Foxsemicon Integrated Technology Inc
Original Assignee
Donghua University
Foxsemicon Integrated Technology Inc
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 Donghua University, Foxsemicon Integrated Technology Inc filed Critical Donghua University
Priority to CN202110472571.5A priority Critical patent/CN113280767A/en
Publication of CN113280767A publication Critical patent/CN113280767A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

The invention relates to a workpiece rapid automatic positioning method based on non-concentric circles, which comprises the following steps: firstly, taking the centers of two non-concentric circles of a workpiece as a base point, establishing a workpiece coordinate system, taking a circular workpiece as an example, taking the center of the outline of the workpiece as an original point of the coordinate system, selecting a circular hole which is closest to a workpiece identifier and is non-concentric with the outline of the workpiece as a positioning hole of the workpiece, and taking a straight line where the original point and the center of the positioning hole are located as a y axis of the workpiece coordinate system and pointing to the positive direction; then, unifying the workpiece coordinate system and the robot coordinate system; one set of coordinate system of the workpiece coordinate system and the robot coordinate system can be regarded as a new coordinate system obtained by the other set of coordinate system through translation and rotation operations, after the translation distance and the rotation angle are known, the corresponding relation between the two coordinate systems is calculated through a coordinate transformation formula, and the two coordinate systems are unified into the same coordinate system. The invention is suitable for quick and automatic positioning of any non-concentric circle workpiece, and is convenient for a robot to complete the operation task of the workpiece.

Description

Workpiece rapid automatic positioning method based on non-concentric circles
Technical Field
The invention relates to a method for quickly and automatically positioning a workpiece, in particular to a method for quickly and automatically positioning a workpiece, which is convenient for a robot to complete a task of operating the workpiece.
Background
Since the coordinate system of the workpiece is different from the coordinate system of the robot, it is an essential process to unify the two different coordinate systems to the same coordinate system before the robot is operated to work on the workpiece. For a workpiece with non-concentric circles, the workpiece coordinate system can be determined through the centers of the two circles, so that a method which is simple to operate and easy to implement needs to be designed, the workpiece coordinate system is quickly positioned, the workpiece coordinate system and the robot coordinate system are unified into the same coordinate system through coordinate transformation, and the work task of the robot on the workpiece is conveniently completed.
Disclosure of Invention
The invention provides a non-concentric circle-based workpiece rapid automatic positioning method, which establishes a workpiece coordinate system by rapidly determining the circle center position of a non-concentric circle, unifies the workpiece coordinate system and a robot coordinate system into the same coordinate system through coordinate transformation, and facilitates further work tasks of a robot on a workpiece. Taking a circular workpiece as an example, taking the circle center of the workpiece outline as the origin of a workpiece coordinate system, selecting a circular hole which is marked with the model of the workpiece and is not concentric with the workpiece outline on the back of the workpiece as a positioning hole, and taking the straight line where the origin and the circle center of the positioning hole are positioned as the y axis of the workpiece coordinate system and pointing to the positive direction.
In order to achieve the purpose, the technical scheme of the invention is as follows: a workpiece rapid automatic positioning method based on non-concentric circles is characterized in that: the robot is suitable for workpieces with any non-concentric circular arc shapes and circular arc holes, can unify a workpiece coordinate system and a robot coordinate system into the same coordinate system, and is convenient for the robot to complete the operation task on the workpiece, and the steps are as follows:
a first step of establishing a coordinate system of the workpiece
Taking the centers of two non-concentric circles of the workpiece as base points, establishing a workpiece coordinate system, taking a circular workpiece as an example, taking the center of the outline of the workpiece as an original point of the coordinate system, selecting a round hole which is closest to the workpiece identifier and is non-concentric with the outline of the workpiece as a positioning hole of the workpiece, and taking a straight line where the original point and the center of the positioning hole are located as a y axis of the workpiece coordinate system and pointing to the positive direction;
second step, unifying the workpiece coordinate system and the robot coordinate system
The workpiece coordinate system is different from the robot coordinate system, one set of coordinate system can be regarded as a new coordinate system obtained by the other set of coordinate system through translation and rotation operations, and after the translation distance and the rotation angle are known, the corresponding relation between the two coordinate systems is calculated through a coordinate transformation formula, so that the two coordinate systems can be unified into the same coordinate system.
Further, the specific method for unifying the workpiece coordinate system and the robot coordinate system is as follows:
(1) taking a circular workpiece as an example, searching any three points on a contour circle of the workpiece, wherein the three points are connected end to form an arbitrary triangle, the contour circle is a circumscribed circle of the arbitrary triangle, the center of the circumscribed circle is equivalent to the outer center of the triangle, namely the intersection point of perpendicular bisectors of three sides of the triangle is obtained, theoretically, the three lines are intersected in pairs, the intersection point is the same point, and the position of the center of the circle is obtained by taking the average value of the three intersection points in consideration of the existence of errors; after the circle center position of the workpiece outline and the circle center position of the positioning hole are respectively obtained, the size of the slope k between two coordinate axes is calculated:
Figure BDA0003045907770000021
wherein (x)1,y1)、(x2,y2) Coordinate values of the circle center of the workpiece outline and the circle center of the positioning hole in a robot coordinate system respectively, wherein alpha represents an included angle between the two coordinate systems, namely a rotation angle;
the rotation angle of the workpiece coordinate system relative to the robot coordinate system is:
Figure BDA0003045907770000022
coordinate conversion formula of the workpiece coordinate system relative to the robot coordinate system:
x1=x·cos(α)-y·sin(α)+x0
y1=y·cos(α)+x·sin(α)+y0
wherein (x, y) represents coordinate values on the workpiece coordinate system, (x)1,y1) Is the coordinate value on the robot coordinate system, (x)0,y0) The coordinate value of the origin of the workpiece coordinate system in the robot coordinate system;
coordinate data on the two coordinate systems can be unified to one coordinate system of the robot coordinate system through a coordinate transformation formula, so that the subsequent operation process is not influenced by different coordinate systems;
(2) taking a square workpiece as an example, a straight line in which two non-concentric circle centers of the workpiece are located is an x axis of a workpiece coordinate system, the midpoint of the two circle centers is an origin of the workpiece coordinate system, the positive direction of the y axis of the workpiece coordinate system points to a workpiece identifier, and the positive direction of the x axis obeys a right-hand spiral rule, so that the establishment of the workpiece coordinate system can be completed quickly; and the coordinate system of the workpiece and the coordinate system of the robot can be unified into the same coordinate system through the coordinate transformation formula above, so that the robot can conveniently finish the operation task of the workpiece.
The invention has the beneficial effects that:
the invention designs a workpiece rapid automatic positioning method based on non-concentric circles, which can rapidly match a workpiece coordinate system, unify the workpiece coordinate system and a robot coordinate system in the same coordinate system, and facilitate the robot to complete the work task on the workpiece. The method is simple to operate and easy to realize, and can be well applied to actual production environments.
Drawings
FIG. 1 is a schematic diagram of the positioning of a circular workpiece;
FIG. 2 is a schematic view of the center of a circle;
FIG. 3 is a schematic diagram of the positioning of a square workpiece.
Detailed Description
The invention is further described with reference to the following figures and examples.
The invention provides a workpiece rapid automatic positioning method based on non-concentric circles, which is easier to realize, solves the problems of complex design and difficult operation of the original positioning method, is simple to operate and easy to realize, and can be widely applied to production environments.
The first scheme is as follows:
the robot has a set of coordinate system belonging to the motor system, and is correspondent to the command for controlling motor operation, and is oriented to the instruction system of control program. The workpiece also has a set of coordinate systems corresponding to the position information on the workpiece.
FIG. 1 is a schematic diagram of positioning a circular workpiece, in which the center of the workpiece contour is the origin O of the coordinate system, the circular hole closest to the workpiece identifier and non-concentric with the workpiece contour is selected as the positioning hole of the workpiece, and the origin O and the center O of the positioning hole1The straight line is the y-axis of the workpiece coordinate system and points to the positive direction.
Although the object coordinate system and the robot coordinate system are different, a certain relation exists between the two coordinate systems. One set of coordinate system can be considered as a new coordinate system obtained by the other set of coordinate system through translation and rotation operations. After the translation distance and the rotation angle are known, the corresponding relation between the two coordinate systems can be calculated through a coordinate transformation formula, and at the moment, the two coordinate systems can be unified into the same coordinate system.
FIG. 2 is a schematic diagram of the positioning of the circle center. The solid line in the figure represents the circular outline a of the workpiece, and any A, B, C three points are automatically found on the outline circle a through a position sensor on the robot, and the three points are connected end to form an arbitrary triangle ABC which is represented by a dotted line in the figure. At this moment, the circle is the circumscribed circle of the arbitrary triangle, and the calculation of the center O of the circumscribed circle is equivalent to the calculation of the outer center of the triangle, i.e. the calculation of the intersection point of the three perpendicular bisectors of the triangle. The two-dot chain line in the figure indicates a perpendicular bisector c of each side, and theoretically, these three lines intersect two by two, and the intersection point is the same point. Taking the error into account, the position of the center of the circle can be obtained by taking the average value of the three intersection points.
After the circle center position of the workpiece contour and the circle center position of the positioning hole are respectively obtained, the size of the slope k between two coordinate axes can be calculated:
Figure BDA0003045907770000041
wherein (x)1,y1)、(x2,y2) The coordinate values of the center of the workpiece contour circle and the center of the positioning hole in the robot coordinate system are respectively. In the formula, α represents an included angle between two coordinate systems, namely, a rotation angle.
The rotation angle of the workpiece coordinate system relative to the robot coordinate system is:
Figure BDA0003045907770000042
coordinate conversion formula of the workpiece coordinate system relative to the robot coordinate system:
x1=x·cos(α)-y·sin(α)+x0
y1=y·cos(α)+x·sin(α)+y0
wherein (x, y) represents coordinates on the workpiece coordinate systemValue (x)1,y1) Is the coordinate value on the robot coordinate system, (x)0,y0) Is the coordinate value of the origin of the workpiece coordinate system in the robot coordinate system.
Coordinate data on the two coordinate systems can be unified to one coordinate system of the robot coordinate system through a coordinate transformation formula, so that the subsequent operation process is not influenced by different coordinate systems.
Scheme II:
for any workpiece with non-concentric circular arc shape and circular arc hole, the establishment of a workpiece coordinate system can be rapidly completed through the positions of the centers of two non-concentric circles, and the workpiece coordinate system and the robot coordinate system are unified into the same coordinate system, so that the robot can conveniently complete the operation task on the workpiece.
FIG. 3 is a schematic diagram of the positioning of a square workpiece. Using centers O and O of two non-concentric circles of the workpiece1The straight line is the x-axis of the workpiece coordinate system, the midpoint of the two circle centers is the origin of the workpiece coordinate system, the positive direction of the y-axis of the workpiece coordinate system points to the workpiece identifier, and the positive direction of the x-axis follows the right-hand spiral rule.
By the method illustrated in fig. 2, the position of the center of the non-concentric circle is quickly located, a workpiece coordinate system is established, and after the positions of the centers of the two non-concentric circles are respectively obtained, the magnitude of the slope k between the two coordinate axes can be calculated:
Figure BDA0003045907770000051
wherein (x)1,y1)、(x2,y2) Respectively are coordinate values of two non-concentric circle centers in a robot coordinate system. In the formula, α represents an included angle between two coordinate systems, namely, a rotation angle.
The rotation angle of the workpiece coordinate system relative to the robot coordinate system is:
α=arctan(k)
coordinate conversion formula of the workpiece coordinate system relative to the robot coordinate system:
x1=x·cos(α)-y·sin(α)+x0
y1=y·cos(α)+x·sin(α)+y0
wherein (x, y) represents coordinate values on the workpiece coordinate system, (x)1,y1) Is the coordinate value on the robot coordinate system, (x)0,y0) Is the coordinate value of the origin of the workpiece coordinate system in the robot coordinate system.
Coordinate data on the two coordinate systems can be unified to one coordinate system of the robot coordinate system through a coordinate transformation formula, and the robot can complete work tasks on workpieces conveniently.

Claims (2)

1. A workpiece rapid automatic positioning method based on non-concentric circles is characterized in that: the robot is suitable for workpieces with any non-concentric circular arc shapes and circular arc holes, can unify a workpiece coordinate system and a robot coordinate system into the same coordinate system, and is convenient for the robot to complete the operation task on the workpiece, and the steps are as follows:
a first step of establishing a coordinate system of the workpiece
Taking the centers of two non-concentric circles of the workpiece as base points, establishing a workpiece coordinate system, taking a circular workpiece as an example, taking the center of the outline of the workpiece as an original point of the coordinate system, selecting a round hole which is closest to the workpiece identifier and is non-concentric with the outline of the workpiece as a positioning hole of the workpiece, and taking a straight line where the original point and the center of the positioning hole are located as a y axis of the workpiece coordinate system and pointing to the positive direction;
second step, unifying the workpiece coordinate system and the robot coordinate system
The workpiece coordinate system is different from the robot coordinate system, one set of coordinate system can be regarded as a new coordinate system obtained by the other set of coordinate system through translation and rotation operations, and after the translation distance and the rotation angle are known, the corresponding relation between the two coordinate systems is calculated through a coordinate transformation formula, so that the two coordinate systems can be unified into the same coordinate system.
2. The method for rapidly and automatically positioning the workpiece based on the non-concentric circles as claimed in claim 1, wherein: the specific method for unifying the workpiece coordinate system and the robot coordinate system is as follows:
(1) taking a circular workpiece as an example, searching any three points on a contour circle of the workpiece, wherein the three points are connected end to form an arbitrary triangle, the contour circle is a circumscribed circle of the arbitrary triangle, the center of the circumscribed circle is equivalent to the outer center of the triangle, namely the intersection point of perpendicular bisectors of three sides of the triangle is obtained, theoretically, the three lines are intersected in pairs, the intersection point is the same point, and the position of the center of the circle is obtained by taking the average value of the three intersection points in consideration of the existence of errors; after the circle center position of the workpiece outline and the circle center position of the positioning hole are respectively obtained, the size of the slope k between two coordinate axes is calculated:
Figure FDA0003045907760000011
wherein (x)1,y1)、(x2,y2) Coordinate values of the circle center of the workpiece outline and the circle center of the positioning hole in a robot coordinate system respectively, wherein alpha represents an included angle between the two coordinate systems, namely a rotation angle;
the rotation angle of the workpiece coordinate system relative to the robot coordinate system is:
Figure FDA0003045907760000012
coordinate conversion formula of the workpiece coordinate system relative to the robot coordinate system:
x1=x·cos(α)-y·sin(α)+x0
y1=y·cos(α)+x·sin(α)+y0
wherein (x, y) represents coordinate values on the workpiece coordinate system, (x)1,y1) Is the coordinate value on the robot coordinate system, (x)0,y0) The coordinate value of the origin of the workpiece coordinate system in the robot coordinate system;
coordinate data on the two coordinate systems can be unified to one coordinate system of the robot coordinate system through a coordinate transformation formula, so that the subsequent operation process is not influenced by different coordinate systems;
(2) taking a square workpiece as an example, a straight line in which two non-concentric circle centers of the workpiece are located is an x axis of a workpiece coordinate system, the midpoint of the two circle centers is an origin of the workpiece coordinate system, the positive direction of the y axis of the workpiece coordinate system points to a workpiece identifier, and the positive direction of the x axis obeys a right-hand spiral rule, so that the establishment of the workpiece coordinate system can be completed quickly; and the coordinate system of the workpiece and the coordinate system of the robot can be unified into the same coordinate system through the coordinate transformation formula above, so that the robot can conveniently finish the operation task of the workpiece.
CN202110472571.5A 2021-04-29 2021-04-29 Workpiece rapid automatic positioning method based on non-concentric circles Pending CN113280767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110472571.5A CN113280767A (en) 2021-04-29 2021-04-29 Workpiece rapid automatic positioning method based on non-concentric circles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110472571.5A CN113280767A (en) 2021-04-29 2021-04-29 Workpiece rapid automatic positioning method based on non-concentric circles

Publications (1)

Publication Number Publication Date
CN113280767A true CN113280767A (en) 2021-08-20

Family

ID=77277945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110472571.5A Pending CN113280767A (en) 2021-04-29 2021-04-29 Workpiece rapid automatic positioning method based on non-concentric circles

Country Status (1)

Country Link
CN (1) CN113280767A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114670192A (en) * 2022-03-16 2022-06-28 江西瑞祥智能装备有限公司 Calibration method and device for robot workpiece coordinate system, storage medium and terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097132A (en) * 2006-06-30 2008-01-02 廊坊智通机器人系统有限公司 Workpieces reference frame marking method based on relative measurement
CN101630409A (en) * 2009-08-17 2010-01-20 北京航空航天大学 Hand-eye vision calibration method for robot hole boring system
CN102231066A (en) * 2011-03-01 2011-11-02 上海维宏电子科技有限公司 Method for realizing processed coordinate transition in numerical control system
CN102353346A (en) * 2011-06-23 2012-02-15 东华大学 Method and system for detection of verticality of CCD installation of laser cutting machine with automatically edge searching performance
CN103322953A (en) * 2013-05-22 2013-09-25 北京配天大富精密机械有限公司 Method and device for calibration of workpiece coordinate system, and method and device for workpiece processing
CN104165584A (en) * 2013-05-17 2014-11-26 上海三菱电梯有限公司 Non-contact high-precision calibration method and application of base reference coordinate system of robot
CN108871216A (en) * 2018-07-12 2018-11-23 湘潭大学 A kind of porous contact method for automatic measurement of robot of view-based access control model guidance
CN110524301A (en) * 2019-09-23 2019-12-03 珠海格力智能装备有限公司 The method of motor stator processing positioning
CN111941425A (en) * 2020-08-17 2020-11-17 沈阳飞机工业(集团)有限公司 Rapid workpiece positioning method of robot milling system based on laser tracker and binocular camera

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097132A (en) * 2006-06-30 2008-01-02 廊坊智通机器人系统有限公司 Workpieces reference frame marking method based on relative measurement
CN101630409A (en) * 2009-08-17 2010-01-20 北京航空航天大学 Hand-eye vision calibration method for robot hole boring system
CN102231066A (en) * 2011-03-01 2011-11-02 上海维宏电子科技有限公司 Method for realizing processed coordinate transition in numerical control system
CN102353346A (en) * 2011-06-23 2012-02-15 东华大学 Method and system for detection of verticality of CCD installation of laser cutting machine with automatically edge searching performance
CN104165584A (en) * 2013-05-17 2014-11-26 上海三菱电梯有限公司 Non-contact high-precision calibration method and application of base reference coordinate system of robot
CN103322953A (en) * 2013-05-22 2013-09-25 北京配天大富精密机械有限公司 Method and device for calibration of workpiece coordinate system, and method and device for workpiece processing
CN108871216A (en) * 2018-07-12 2018-11-23 湘潭大学 A kind of porous contact method for automatic measurement of robot of view-based access control model guidance
CN110524301A (en) * 2019-09-23 2019-12-03 珠海格力智能装备有限公司 The method of motor stator processing positioning
CN111941425A (en) * 2020-08-17 2020-11-17 沈阳飞机工业(集团)有限公司 Rapid workpiece positioning method of robot milling system based on laser tracker and binocular camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114670192A (en) * 2022-03-16 2022-06-28 江西瑞祥智能装备有限公司 Calibration method and device for robot workpiece coordinate system, storage medium and terminal

Similar Documents

Publication Publication Date Title
EP1533087B1 (en) Operation program preparation device
JP5980867B2 (en) Robot teaching device that teaches robots offline
CN110625600B (en) Robot tail end workpiece coordinate system calibration method
JP5268495B2 (en) Off-line teaching data creation method and robot system
CN106583974A (en) Laser quick locating welding system and laser quick locating welding method without programming structural part
CN110286652B (en) Control system method based on H-BOT structure
CN113280767A (en) Workpiece rapid automatic positioning method based on non-concentric circles
JP2006289580A (en) Teaching point correcting method of program and teaching point correcting device of program
CN109048887A (en) A kind of single-shaft position changing machine scaling method based on 3 standardizations
CN110815226B (en) Method for returning to initial position at any posture and any position of robot
CN114260625A (en) Method for welding intersecting line of circular tube, welding equipment and storage medium
CN117182931B (en) Calibration method and system for calibration data of mechanical arm and storage medium
CN112809167B (en) Robot weld joint tracking method for all-position welding of large-curvature pipe fitting
WO1997006473A1 (en) Jog operation method of robot
CN111702380A (en) Welding process control method of welding robot
JPS5878205A (en) Teaching method for industrial robot
JP3450609B2 (en) Offline teaching device for robots
CN115847437A (en) Automatic machining method and system for single-side Y-shaped groove of intersecting branch pipe by robot
JP2003005811A (en) Method and program for generating 6-axis control nc program, generating device and computer readable recording medium with the program stored therein
CN110465968B (en) Robot space position point mirroring method
JPS5960507A (en) Work point teaching method of plane multi-joint type robot
CN108068108B (en) Method for controlling motion of in-plane swinging telescopic robot
CN114018190B (en) Position error equal division method for positioning and hole making of local reference hole
JP3086172B2 (en) Industrial robot controller
US5773950A (en) Program creating method for uniform-shape machining

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210820

RJ01 Rejection of invention patent application after publication