KR20230045736A - A method and apparatus for controlling a robot using feedback from a laser tracker - Google Patents

A method and apparatus for controlling a robot using feedback from a laser tracker Download PDF

Info

Publication number
KR20230045736A
KR20230045736A KR1020210128099A KR20210128099A KR20230045736A KR 20230045736 A KR20230045736 A KR 20230045736A KR 1020210128099 A KR1020210128099 A KR 1020210128099A KR 20210128099 A KR20210128099 A KR 20210128099A KR 20230045736 A KR20230045736 A KR 20230045736A
Authority
KR
South Korea
Prior art keywords
contour
tool
robot
reference position
laser tracker
Prior art date
Application number
KR1020210128099A
Other languages
Korean (ko)
Other versions
KR102582430B1 (en
Inventor
김성현
김태곤
남정수
이석우
신강우
Original Assignee
한국생산기술연구원
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 한국생산기술연구원 filed Critical 한국생산기술연구원
Priority to KR1020210128099A priority Critical patent/KR102582430B1/en
Priority to PCT/KR2021/013384 priority patent/WO2023054751A1/en
Publication of KR20230045736A publication Critical patent/KR20230045736A/en
Application granted granted Critical
Publication of KR102582430B1 publication Critical patent/KR102582430B1/en

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/1679Programme controls characterised by the tasks executed
    • B25J9/1692Calibration of manipulator
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J19/00Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
    • B25J19/02Sensing devices
    • B25J19/021Optical sensing devices
    • B25J19/022Optical sensing devices using lasers
    • 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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1679Programme controls characterised by the tasks executed
    • B25J9/1684Tracking a line or surface by means of sensors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/39Robotics, robotics to robotics hand
    • G05B2219/39046Compare image of plate on robot with reference, move till coincidence, camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Numerical Control (AREA)

Abstract

In accordance with one embodiment of the present invention, provided is technology for controlling a robot such that an error of a processing path for an object to be processed can be easily corrected, in a processing process using a robot. In accordance with an embodiment of the present invention, a robot control method using laser tracker feedback, includes: a first step in a laser tracker is coupled to a robot to radiate a laser to a processing part provided with a tool, thereby measuring an actual position and an actual direction of a tool, which are a position and a direction in real time; a second step in which a reference processing path, which is a processing path of the tool preset in accordance with an object to be processed, is divided into a plurality of straight lines, and a reference position and a reference direction, which are a position and a direction of the tool on the reference processing path, are set; a third step in which a contour reference position which is a position of the tool with a position error corrected is derived by using two vertical connection lines connecting the actual position with each of two straight lines, passing through the nearest reference position which is a reference position nearest to the actual position, among the plurality of straight lines; a fourth step in which a contour reference direction which is a direction of the tool with a direction error corrected is derived by using the reference direction and the actual direction on the nearest reference position; and a fifth step in which as the robot is controlled with the contour reference position and the contour reference direction, the position and the direction of the tool are controlled.

Description

레이저 트래커 피드백을 이용한 로봇 제어 방법 및 장치 {A METHOD AND APPARATUS FOR CONTROLLING A ROBOT USING FEEDBACK FROM A LASER TRACKER}Robot control method and apparatus using laser tracker feedback {A METHOD AND APPARATUS FOR CONTROLLING A ROBOT USING FEEDBACK FROM A LASER TRACKER}

본 발명은 레이저 트래커 피드백을 이용한 로봇 제어 방법 및 장치에 관한 것으로, 더욱 상세하게는, 로봇을 이용한 가공 공정에서, 가공대상에 대한 가공경로의 오차 보정이 용이하게 수행되도록 로봇을 제어하는 기술에 관한 것이다.The present invention relates to a method and apparatus for controlling a robot using laser tracker feedback, and more particularly, to a technology for controlling a robot so that an error correction of a processing path for a processing target is easily performed in a processing process using a robot. will be.

최근에는 복수 개의 로봇을 이용한 제조 시스템이 증가하고 있으며, 자동차와 항공기 등과 같은 제품의 생산에 있어서, 로봇을 이용한 자동 제조 효율의 향상 및 가공 정밀도의 증가에 대한 요구가 지속적으로 증가하고 있다.In recent years, manufacturing systems using a plurality of robots are increasing, and in the production of products such as automobiles and aircraft, demands for improvement of automatic manufacturing efficiency and increase in processing precision using robots are continuously increasing.

로봇을 이용하여 가공을 수행하는 경우, 로봇의 강성, 기구학 요인 등에 의해 가공오차가 발생하는데, 종래기술의 로봇 제어 장치에서는 상기와 같은 가공오차에 대한 정밀한 측정이 용이하지 않았으며, 이에 따라, 종래기술에서는 가공오차에 대한 정밀도를 향상시키기 위하여 복수 개의 센서를 이용하여 로봇의 가공에 대한 피드백을 수집하고 이와 같은 정보를 분석함으로써 로봇의 가공오차를 감소시키는 방식이 이용되었으나, 이와 같은 방식은 사용자가 개발한 제어 알고리즘을 적용할 수 있는 일부 개방형 로봇 제어기에만 적용할 수 있다는 문제점이 있다.When machining is performed using a robot, machining errors occur due to rigidity and kinematic factors of the robot. However, in the prior art robot control device, it was not easy to precisely measure the machining errors. In the technology, in order to improve the precision of machining errors, a method of reducing machining errors of the robot by collecting feedback on robot machining using a plurality of sensors and analyzing this information has been used, but this method is There is a problem that the developed control algorithm can be applied only to some open type robot controllers.

대한민국 공개특허 제10-2015-0070370호(발명의 명칭: 산업용 로봇의 인라인 교정을 위한 방법, 이러한 방법을 수행하기 위한 교정 시스템, 및 이러한 교정 시스템을 포함하는 산업용 로봇)에서는, 적어도 세 개의 광선들이 상기 로봇 팔(3)의 상기 말단(6)에 견고하게 연결된 적어도 하나의 광원(7)을 써서 생성되고, 상기 센서에 영향을 주는 광선의 위치를 2-차원 평면 내에 결정하기 위해 적응되는 적어도 하나의 광학 위치센서(12)는, 상기 로봇 팔(3)의 상기 말단(6)의 미리 정의된 교정 장소에서 상기 적어도 하나의 광원(7)에 의해 생성된 적어도 몇몇의 상기 광선들이 상기 센서(12) 또는 상기 센서들(12) 중 적어도 하나에 영향을 주도록 상기 로봇의 베이스부(2)에 대해 고정된 장소에 위치되는 사항이 개시되어 있다.In Korean Patent Publication No. 10-2015-0070370 (Title of Invention: Method for Inline Calibration of Industrial Robot, Calibration System for Performing the Method, and Industrial Robot Including the Calibration System), at least three rays At least one generated using at least one light source 7 rigidly connected to the distal end 6 of the robotic arm 3 and adapted to determine the position of a light beam impinging on the sensor in a two-dimensional plane. The optical position sensor (12) of the robot arm (3) is configured so that at least some of the light rays generated by the at least one light source (7) at a predefined calibration site of the distal end (6) of the robotic arm (3) ) or positioned in a fixed location relative to the base part 2 of the robot to influence at least one of the sensors 12.

대한민국 공개특허 제10-2015-0070370호Republic of Korea Patent Publication No. 10-2015-0070370

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 로봇을 이용한 가공 공정에서, 가공대상에 대한 가공경로의 오차 보정이 용이하게 수행되도록 로봇을 제어하는 것이다.An object of the present invention to solve the above problems is to control a robot so that an error correction of a machining path for a machining target is easily performed in a machining process using a robot.

그리고, 본 발명의 목적은, 추가적인 별도의 장치나 복잡한 연산을 최소화하면서도 로봇에 대한 상기와 같은 제어를 수행할 수 있도록 하는 것이다.And, an object of the present invention is to perform the above-described control for a robot while minimizing an additional separate device or complicated calculation.

본 발명이 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problem to be achieved by the present invention is not limited to the above-mentioned technical problem, and other technical problems not mentioned can be clearly understood by those skilled in the art from the description below. There will be.

상기와 같은 목적을 달성하기 위한 본 발명의 구성은, 레이저 트래커가 로봇에 결합되어 공구를 구비하는 가공부로 레이저를 조사하여 상기 공구의 실시간 위치와 방향인 실제위치와 실제방향을 측정하는 제1단계; 가공대상에 따라 사전에 설정된 상기 공구의 가공경로인 참조가공경로를 복수 개의 직선으로 분할하고, 상기 참조가공경로 상 상기 공구의 위치와 방향인 참조위치와 참조방향을 설정하는 제2단계; 상기 복수 개의 직선 중 상기 실제위치에 가장 근접한 참조위치인 최근접참조위치를 통과하는 2개의 직선 각각과 상기 실제위치를 수직 연결한 2개의 수직연결선을 이용하여, 상기 공구의 위치 오차를 보정한 위치인 윤곽기준위치를 도출하는 제3단계; 상기 최근접참조위치에서의 상기 참조방향과 상기 실제방향을 이용하여 상기 공구의 방향 오차를 보정한 방향인 윤곽기준방향을 도출하는 제4단계; 및 상기 윤곽기준위치와 상기 윤곽기준방향을 이용하여 상기 로봇을 제어함으로써 상기 공구의 위치와 방향을 제어하는 제5단계;를 포함한다.The configuration of the present invention for achieving the above object is a first step of measuring the real position and direction, which is the real-time position and direction of the tool, by irradiating a laser to a processing unit having a tool in which a laser tracker is coupled to a robot ; A second step of dividing a reference machining path, which is a machining path of the tool previously set according to a machining target, into a plurality of straight lines, and setting a reference position and direction, which are the position and direction of the tool, on the reference machining path; The position where the position error of the tool is corrected using two straight lines each passing through the nearest reference position, which is the reference position closest to the actual position among the plurality of straight lines, and two vertical connecting lines vertically connecting the actual position. a third step of deriving the reference position of the contour; a fourth step of deriving a contour reference direction, which is a direction obtained by correcting a direction error of the tool, using the reference direction and the actual direction at the nearest reference position; and a fifth step of controlling the position and direction of the tool by controlling the robot using the contour reference position and the contour reference direction.

본 발명의 실시 예에 있어서, 상기 제2단계에서, 상기 복수 개의 직선은 상기 참조가공경로가 보간기(interpolator)에 의해 분할되어 형성될 수 있다.In an embodiment of the present invention, in the second step, the plurality of straight lines may be formed by dividing the reference machining path by an interpolator.

본 발명의 실시 예에 있어서, 상기 제3단계에서, 상기 2개의 직선은, 상기 최근접참조위치에 인접한 2개의 참조위치 각각과 상기 최근접참조위치를 연결하여 형성되는 제1연결직선 및 제2연결직선을 포함할 수 있다.In an embodiment of the present invention, in the third step, the two straight lines are a first connecting straight line and a second straight line formed by connecting each of the two reference positions adjacent to the nearest reference position and the nearest reference position. It may contain connecting lines.

본 발명의 실시 예에 있어서, 상기 실제위치로부터 상기 제1연결직선으로 연결되는 제1수직연결선과 상기 제1연결직선의 교점인 제1투영점 및, 상기 실제위치로부터 상기 제2연결직선으로 연결되는 제2수직연결선과 상기 제2연결직선의 교점인 제2투영점이 설정될 수 있다.In an embodiment of the present invention, a first vertical connection line connected from the actual position to the first connecting straight line and a first projection point that is an intersection of the first connecting straight line, and connected from the actual position to the second connecting straight line A second projection point that is the intersection of the second vertical connecting line and the second connecting straight line may be set.

본 발명의 실시 예에 있어서, 상기 제1연결직선과 상기 제2연결직선 각각에 대한 상기 제1투영점과 상기 제2투영점 각각의 위치에 따라 상기 윤곽기준위치와 상기 윤곽기준방향이 결정될 수 있다.In an embodiment of the present invention, the contour reference position and the contour reference direction may be determined according to positions of the first projection point and the second projection point with respect to the first connecting straight line and the second connecting straight line, respectively. there is.

본 발명의 실시 예에 있어서, 상기 제1투영점이 상기 제1연결직선의 연장선 상에 위치하고 상기 제2투영점이 상기 제2연결직선의 연장선 상에 위치하는 경우, 상기 최근접참조위치가 상기 윤곽기준위치로 설정될 수 있다.In an embodiment of the present invention, when the first projection point is located on an extension of the first connecting straight line and the second projection point is located on an extension of the second connecting straight line, the closest reference position is the contour reference position can be set.

본 발명의 실시 예에 있어서, 상기 제4단계에서, 상기 윤곽기준방향은, 상기 최근접참조위치에서의 참조방향일 수 있다.In an embodiment of the present invention, in the fourth step, the outline reference direction may be a reference direction at the nearest reference position.

본 발명의 실시 예에 있어서, 상기 제1투영점이 상기 제1연결직선의 연장선 상에 위치하고 상기 제2투영점이 상기 제2연결직선 상에 위치하는 경우, 상기 제2투영점이 상기 윤곽기준위치로 설정될 수 있다.In an embodiment of the present invention, when the first projected point is positioned on an extension of the first connecting straight line and the second projected point is positioned on the second connecting straight line, the second projected point is set as the contour reference position. It can be.

본 발명의 실시 예에 있어서, 상기 제1투영점이 상기 제1연결직선 상에 위치하고 상기 제2투영점이 상기 제2연결직선의 연장선 상에 위치하는 경우, 상기 제1투영점이 상기 윤곽기준위치로 설정될 수 있다.In an embodiment of the present invention, when the first projected point is located on the first connecting straight line and the second projected point is located on an extended line of the second connecting straight line, the first projected point is set as the contour reference position. It can be.

본 발명의 실시 예에 있어서, 상기 제1투영점이 상기 제1연결직선 상에 위치하고 상기 제2투영점이 상기 제2연결직선 상에 위치하는 경우, 상기 제1투영점과 상기 제2투영점 중 상기 실제위치에 더 근접한 투영점이 상기 윤곽기준위치로 설정될 수 있다.In an embodiment of the present invention, when the first projection point is located on the first connection straight line and the second projection point is located on the second connection straight line, the first projection point and the second projection point are A projected point closer to the actual position may be set as the contour reference position.

본 발명의 실시 예에 있어서, 상기 제4단계에서, 상기 윤곽기준방향은, 상기 최근접참조위치에서의 참조방향과 상기 최근접참조위치에 인접한 참조위치에서의 참조방향를 이용한 쿼터니언(Quternion) 구면선형보간(SLERP) 연산으로 획득될 수 있다.In an embodiment of the present invention, in the fourth step, the contour reference direction is a quaternion spherical linear shape using a reference direction at the nearest reference position and a reference direction at a reference position adjacent to the nearest reference position. It can be obtained by interpolation (SLERP) operation.

본 발명의 실시 예에 있어서, 상기 제4단계에서, 상기 윤곽기준방향은, 상기 윤곽기준위치에서 상기 공구의 길이 방향을 따라 형성되는 축의 벡터 방향일 수 있다.In an embodiment of the present invention, in the fourth step, the contour reference direction may be a vector direction of an axis formed along a longitudinal direction of the tool at the contour reference position.

본 발명의 실시 예에 있어서, 상기 제1단계에서, 상기 가공부에 결합된 반사체의 위치에 대한 행렬에 균일변환행렬(HTM)을 곱하는 변환 행렬 곱셈을 통해 상기 공구의 실제위치가 측정될 수 있다.In an embodiment of the present invention, in the first step, the actual position of the tool can be measured through transformation matrix multiplication in which a uniform transformation matrix (HTM) is multiplied by a matrix for the position of a reflector coupled to the processing unit. .

상기와 같은 목적을 달성하기 위한 본 발명의 구성은, 상기 로봇에 결합되고 상기 공구를 구비하는 가공부; 상기 가공부로 레이저를 조사하여 상기 공구의 실시간 위치와 방향인 상기 실제위치와 상기 실제방향을 측정하는 레이저 트래커; 가공대상에 따라 사전에 설정된 상기 공구의 가공경로인 참조가공경로 상 상기 공구의 위치와 방향인 상기 참조위치와 상기 참조방향을 설정하며, 상기 레이저 트래커로부터 상기 실제위치와 상기 실제방향에 대한 정보를 전달받고, 상기 윤곽기준위치와 상기 윤곽기준방향을 도출하여, 상기 로봇으로 제어신호를 전달함으로써 상기 공구의 위치와 방향을 제어하는 제어부;를 포함한다.The configuration of the present invention for achieving the above object is coupled to the robot and processing unit having the tool; a laser tracker for measuring the actual position and direction, which are the real-time position and direction of the tool, by radiating a laser to the processing unit; The reference position and the reference direction, which are the position and direction of the tool, are set on the reference machining path, which is the machining path of the tool previously set according to the target to be processed, and information on the actual position and the actual direction is obtained from the laser tracker. and a controller that controls the position and direction of the tool by receiving the information, deriving the contour reference position and the contour reference direction, and transmitting a control signal to the robot.

본 발명의 실시 예에 있어서, 상기 제어부는, 상기 공구가 상기 실제위치로부터 상기 윤곽기준위치로 이동하고 상기 실제방향으로부터 상기 윤곽기준방향으로 자세를 변경하도록 상기 로봇으로 제어신호를 전달할 수 있다.In an embodiment of the present invention, the control unit may transmit a control signal to the robot so that the tool moves from the actual position to the contour reference position and changes its attitude from the actual direction to the contour reference direction.

상기와 같은 구성에 따른 본 발명의 효과는, 공구의 실제위치와 사전에 설정된 참조위치 간 차이를 이용하여 가공대상에 대한 가공경로의 오차 보정을 수행하므로, 오차 보정의 성능을 향상시킬 수 있다는 것이다.The effect of the present invention according to the configuration as described above is that the performance of error correction can be improved because the error correction of the machining path for the machining target is performed using the difference between the actual position of the tool and the reference position set in advance. .

그리고, 본 발명의 효과는, 추가적인 별도의 장치나 복잡한 연산을 최소화하면서도 로봇에 대한 오차 보정 제어를 수행할 수 있어, 로봇을 이용한 가공공정에서의 효율을 현저히 향상시킬 수 있다는 것이다.And, the effect of the present invention is that it is possible to perform error correction control for the robot while minimizing an additional separate device or complicated calculation, so that the efficiency in the machining process using the robot can be significantly improved.

본 발명의 효과는 상기한 효과로 한정되는 것은 아니며, 본 발명의 상세한 설명 또는 특허청구범위에 기재된 발명의 구성으로부터 추론 가능한 모든 효과를 포함하는 것으로 이해되어야 한다.The effects of the present invention are not limited to the above effects, and should be understood to include all effects that can be inferred from the detailed description of the present invention or the configuration of the invention described in the claims.

도 1은 본 발명의 일 실시 예에 따른 공구의 위치 보정에 대한 모식도이다.
도 2는 본 발명의 일 실시 예에 따른 공구의 위치 보정에 대한 그래프이다.
도 3은 본 발명의 일 실시 예에 따른 로봇 제어 장치에 대한 개략도이다.
도 4는 본 발명의 일 실시 예에 따른 윤곽기준위치를 측정하기 위한 각 케이스의 설명을 위한 이미지이다.
도 5는 본 발명의 일 실시 예에 따른 방향윤곽오차의 측정에 대한 이미지이다.
도 6은 본 발명의 일 실시 예에 따른 가공대상에 대한 설계도이다.
도 7은 본 발명의 일 실시 예에 따른 로봇 제어 장치를 이용한 로봇 가공에 대한 이미지이다.
1 is a schematic diagram of position correction of a tool according to an embodiment of the present invention.
2 is a graph of position correction of a tool according to an embodiment of the present invention.
Figure 3 is a schematic diagram of a robot control device according to an embodiment of the present invention.
4 is an image for explanation of each case for measuring the contour reference position according to an embodiment of the present invention.
5 is an image of measurement of directional contour error according to an embodiment of the present invention.
6 is a design diagram of a processing target according to an embodiment of the present invention.
7 is an image of robot processing using a robot control device according to an embodiment of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명을 설명하기로 한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며, 따라서 여기에서 설명하는 실시 예로 한정되는 것은 아니다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, the present invention will be described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms, and therefore is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결(접속, 접촉, 결합)"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 부재를 사이에 두고 "간접적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 구비할 수 있다는 것을 의미한다.Throughout the specification, when a part is said to be "connected (connected, contacted, combined)" with another part, this is not only "directly connected", but also "indirectly connected" with another member in between. "Including cases where In addition, when a part "includes" a certain component, it means that it may further include other components without excluding other components unless otherwise stated.

본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Terms used in this specification are only used to describe specific embodiments, and are not intended to limit the present invention. Singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, terms such as "include" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, but one or more other features It should be understood that the presence or addition of numbers, steps, operations, components, parts, or combinations thereof is not precluded.

이하, 첨부된 도면을 참고하여 본 발명에 대하여 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시 예에 따른 공구(111)의 위치 보정에 대한 모식도이고, 도 2는 본 발명의 일 실시 예에 따른 공구(111)의 위치 보정에 대한 그래프이다. 그리고, 도 3은 본 발명의 일 실시 예에 따른 로봇(120) 제어 장치에 대한 개략도이다.1 is a schematic diagram of position correction of a tool 111 according to an embodiment of the present invention, and FIG. 2 is a graph of position correction of a tool 111 according to an embodiment of the present invention. And, Figure 3 is a schematic diagram of a robot 120 control device according to an embodiment of the present invention.

가공 중 공구(111)의 실제 자세(실제 위치 및 방향)는 주로 절삭력으로 인한 처짐, 즉, 컴플라이언스 오류 및 운동학적 매개변수의 부정확성으로 인해 원하는 궤적에서 벗어나 윤곽 오류가 발생할 수 있다. 3차원(3-D) 로봇(120) 가공에서, 윤곽 오차는, 공구(111)의 참조위치와 실제위치(Pact)의 차이인 위치윤곽오차(εp) 및, 공구(111)의 참조방향과 실제방향(Oact)의 차이인 방향윤곽오차(εo)로 구성될 수 있다.During machining, the actual posture (actual position and orientation) of the tool 111 may deviate from the desired trajectory due to deflection mainly due to cutting forces, i.e., compliance errors and inaccuracies in kinematic parameters, resulting in contour errors. In the three-dimensional (3-D) robot 120 machining, the contour error is the positional contour error ε p , which is the difference between the reference position and the actual position P act of the tool 111, and the reference position of the tool 111 It can be composed of the direction contour error (ε o ), which is the difference between the direction and the actual direction (O act ).

도 1과 도 2에서 보는 바와 같이, 참조자세(Reference pose)와 실제자세(Actual pose)를 이용하여, 윤곽기준위치(Pc)와 윤곽기준방향(Oc)를 포함하는 윤곽기준자세(Contour reference pose)를 도출할 수 있으며, 로봇(120) 가공에서의 위치윤곽오차(εp) 및 방향윤곽오차(εo)에 의한 자세오차(εcontour)를 도출할 수 있다.As shown in FIGS. 1 and 2, using the reference pose and the actual pose, the contour reference pose including the contour reference position Pc and the contour reference direction Oc ) can be derived, and the posture error (ε contour) can be derived by the positional contour error (ε p ) and the directional contour error (ε o ) in the robot 120 processing.

위치윤곽오차(εp)는 실제위치(Pact)에서 직교 좌표의 원하는 참조 궤적까지의 직교 거리로 정의될 수 있고, 위치윤곽오차(εp)는 실제위치(Pact)와 실제위치(Pact)에서 참조 궤적에서 가장 가까운 참조위치인 최근접참조위치(Pn)를 이용하여 연산될 수 있다. 그리고, 방향윤곽오차(εo)는, 원하는 방향(윤곽기준자세의 방향)과 실제 방향을 사용하여 연산할 수 있다. 이와 같은 사항에 대해서는 하기의 나머지 각 단계에서 상세히 설명하도록 한다.The position contour error (ε p ) can be defined as the orthogonal distance from the actual position (P act ) to the desired reference locus of Cartesian coordinates, and the position contour error (ε p ) is the actual position (P act ) and the actual position (P It can be calculated using the closest reference position (P n ), which is the closest reference position in the reference trajectory in act ). Further, the directional contour error ε o can be calculated using the desired direction (the direction of the contour reference posture) and the actual direction. These matters will be described in detail in each of the remaining steps below.

이하, 본 발명의 로봇(120) 제어 방법에 대해서 설명하기로 한다.Hereinafter, a method for controlling the robot 120 according to the present invention will be described.

먼저, 제1단계에서, 레이저 트래커(200)가 로봇(120)에 결합되어 공구(111)를 구비하는 가공부(110)로 레이저를 조사하여 공구(111)의 실시간 위치와 방향인 실제위치(Pact)와 실제방향(Oact)을 측정할 수 있다. 여기서, 로봇(120)은 복수 개의 링크과 관절을 구비하는 로봇(120)일 수 있으며, 공구(111)는 드릴링, 밀링, 연마 등을 수행하는 공구(111)일 수 있다. 다만, 이에 한정되는 것은 아니다.First, in the first step, the laser tracker 200 is coupled to the robot 120 and irradiates a laser to the processing unit 110 having the tool 111 to determine the real-time position and direction of the tool 111 (actual position) P act ) and actual direction (O act ) can be measured. Here, the robot 120 may be a robot 120 having a plurality of links and joints, and the tool 111 may be a tool 111 that performs drilling, milling, polishing, and the like. However, it is not limited thereto.

도 3에서 보는 바와 같이, 공구(111)의 위치윤곽오차(εp) 및 방향윤곽오차(εo)를 정확하게 보정하기 위하여 레이저 트래커(200)를 사용하여 공구(111)의 실제 자세(위치와 방향)을 측정할 수 있다. 여기서, 공구(111) 관련 위치는 공구(111) 말단의 3차원 위치를 의미하고, 공구(111) 관련 방향은 공구(111)의 길이 방향으로 연장되는 z축 벡터 방향을 의미할 수 있다. 이하, 동일하다.As shown in FIG. 3, in order to accurately correct the position contour error (ε p ) and the directional contour error (ε o ) of the tool 111, the laser tracker 200 is used to correct the actual posture (position and position) of the tool 111. direction) can be measured. Here, the tool 111-related position may mean a 3-dimensional position of the end of the tool 111, and the tool 111-related direction may mean a z-axis vector direction extending in the longitudinal direction of the tool 111. Below, the same.

가공부(110)에 결합된 반사체(112)의 위치에 대한 행렬에 균일변환행렬(HTM)을 곱하는 변환 행렬 곱셈을 통해 공구(111)의 실제위치(Pact)가 측정될 수 있다.The actual position (P act ) of the tool 111 may be measured through transformation matrix multiplication in which a uniform transformation matrix (HTM) is multiplied by a matrix for the position of the reflector 112 coupled to the processing unit 110 .

구체적으로, 도 3에서, {a}, {l}, {r} 및 {t}는 각각 로봇(120), 레이저 트래커(200), 반사체(112)인 6-DOF 반사경 및 공구(111) 각각의 프레임을 나타낼 수 있다. 여기서, 도구의 실제 자세는 직접 측정하는 것이 용이하지 않기 때문에, 변환 행렬 곱셈을 사용하여 간접적으로 획득될 수 있다.Specifically, in FIG. 3, {a}, {l}, {r}, and {t} denote the robot 120, the laser tracker 200, the 6-DOF reflector 112, and the tool 111, respectively. can represent the frame of Here, since it is not easy to directly measure the actual pose of the tool, it can be obtained indirectly using transformation matrix multiplication.

구체적으로, 로봇(120) 프레임({a})에 대한 공구(111)의 자세는 하기의 [수학식 1]과 같이 연산될 수 있다.Specifically, the posture of the tool 111 with respect to the frame {a} of the robot 120 may be calculated as in [Equation 1] below.

[수학식 1][Equation 1]

Figure pat00001
Figure pat00001

Figure pat00002
은 균일변환행렬(HTM)이고 R, P 및 0은 각각 3x3 회전 행렬, 위치 벡터 및 1x3 제로 행렬을 나타낼 수 있다. 균일변환행렬(HTM)은, 프레임 {a}에서 프레임 {b}로의 변환 행렬, 또는, 프레임 {a}에 대한 프레임 {b}의 자세(또는 좌표)로 설명할 수 있다.
Figure pat00002
is a uniform transformation matrix (HTM), and R, P, and 0 may represent a 3x3 rotation matrix, a position vector, and a 1x3 zero matrix, respectively. A uniform transformation matrix (HTM) can be described as a transformation matrix from frame {a} to frame {b}, or a posture (or coordinates) of frame {b} with respect to frame {a}.

여기서, Tat는 로봇(120) 프레임({a})에 대한 공구(111)의 자세일 수 있고, Tal은 로봇(120) 프레임({a})에서 레이저 트래커(200)({l})로의 변환 행렬일 수 있다. 그리고, Tlr은 레이저 트래커(200)({l})에 대한 반사체(112)({r})의 자세일 수 있으며, Trt는 반사체(112)({r})에서 공구(111) 프레임({t})으로의 변환 행렬일 수 있다.Here, T at may be the posture of the tool 111 with respect to the frame ({a}) of the robot 120, and T al is the laser tracker 200 ({l} in the frame ({a}) of the robot 120. ) may be a transformation matrix to And, T lr may be the posture of the reflector 112 ({r}) with respect to the laser tracker 200 ({l}), and T rt is the frame of the tool 111 in the reflector 112 ({r}). It can be a transformation matrix to ({t}).

Tal 및 Trt는 가공 프로세스의 영향을 받지 않는 상수 행렬이지만, 레이저 트래커(200)에서 제공하는 Tlr은 로봇(120)의 링크(매니퓰레이터)가 이동함에 따라 가공 중에 변경될 수 있다.T al and T rt are constant matrices that are not affected by the machining process, but T lr provided by the laser tracker 200 may change during machining as the link (manipulator) of the robot 120 moves.

상기와 같은 제1단계 이후 제2단계에서, 가공대상(10)에 따라 사전에 설정된 공구(111)의 가공경로인 참조가공경로를 복수 개의 직선으로 분할하고, 참조가공경로 상 공구(111)의 위치와 방향인 참조위치와 참조방향을 설정할 수 있다. 여기서, 복수 개의 직선은 참조가공경로가 보간기(interpolator)에 의해 분할되어 형성될 수 있다.In the second step after the first step as described above, the reference machining path, which is the machining path of the tool 111 set in advance according to the machining target 10, is divided into a plurality of straight lines, and the You can set the reference position and reference direction, which are positions and directions. Here, a plurality of straight lines may be formed by dividing a reference machining path by an interpolator.

로봇(120)을 제어하는 제어부(130)는, 로봇(120)의 가공 경로 계획을 위해 각 샘플링 주기에서 참조위치와 참조방향으로 구성된 참조자세 세트를 하기의 [수학식 2]와 같이 제공할 수 있다.The control unit 130 that controls the robot 120 may provide a set of reference postures composed of a reference position and a reference direction in each sampling period as shown in [Equation 2] below to plan a machining path of the robot 120. there is.

[수학식 2][Equation 2]

Figure pat00003
Figure pat00003

여기서, Pr 및 Or은 데카르트 좌표의 기준 위치 및 방향일 수 있다. 또한, Xr, Yr 및 Zr은 각각 X, Y 및 Z축의 참조위치일 수 있다. 그리고, Rxr, Ryr, Rzr은 각각 오일러 각으로 표시되는 Rx, Ry, Rz축의 참조방향일 수 있다.Here, Pr and Or may be the reference position and direction of Cartesian coordinates. In addition, Xr, Yr, and Zr may be reference positions of the X, Y, and Z axes, respectively. Further, Rx r , Ry r , and Rz r may be reference directions of the Rx, Ry, and Rz axes, each represented by an Euler angle.

위치윤곽오차(εp)와 방향윤곽오차(εo)를 도출하기 위해서는 상기와 같은 참조자세를 찾아야 하며, 참조 가공경로에 의한 참조 궤적은 보간기에 의해 분할된 복수 개의 직선으로 분할되며, 결과적으로 각 샘플링 기간에 대해 참조위치가 생성될 수 있다. 그리고, 각각의 참조위치에서의 공구(111)의 방향인 참조방향이 생성될 수 있다.In order to derive the positional contour error (ε p ) and the directional contour error (ε o ), the reference posture as described above must be found, and the reference trajectory by the reference machining path is divided into a plurality of straight lines divided by an interpolator. As a result, A reference location may be created for each sampling period. Also, a reference direction, which is the direction of the tool 111 at each reference position, can be created.

상기와 같은 제2단계 이후 제3단계에서, 복수 개의 직선 중 실제위치(Pact)에 가장 근접한 참조위치인 최근접참조위치(Pn)를 통과하는 2개의 직선 각각과 실제위치(Pact)를 수직 연결한 2개의 수직연결선을 이용하여, 공구(111)의 위치 오차를 보정한 위치인 윤곽기준위치(Pc)를 도출할 수 있다. 여기서, 2개의 직선은, 최근접참조위치(Pn)에 인접한 2개의 참조위치 각각과 최근접참조위치(Pn)를 연결하여 형성되는 제1연결직선 및 제2연결직선을 포함할 수 있다.In the third step after the second step as described above, each of the two straight lines passing through the nearest reference position (P n ), which is the reference position closest to the actual position (P act ) among the plurality of straight lines, and the actual position (P act ) The contour reference position Pc, which is a position where the positional error of the tool 111 is corrected, can be derived using two vertical connecting lines vertically connecting . Here, the two straight lines may include a first connecting straight line and a second connecting straight line formed by connecting each of the two reference positions adjacent to the nearest reference position (P n ) and the nearest reference position (P n ). .

위치윤곽오차(εp)는 실제위치(Pact)와 보간된 참조위치를 연결하는 선분에서 찾은 윤곽기준위치(Pc) 사이의 거리를 사용하여 연산될 수 있다. 이를 위해, 먼저, 탐색범위를 설정하고 탐색범위 내의 참조가공경로에 복수 개의 참조위치를 설정한 다음, 복수 개의 참조위치 중 공구(111)의 실제위치(Pact)와 가장 근접한 최근접참조위치(Pn)를 연산하여 도출할 수 있다. The position contour error (ε p ) can be calculated using the distance between the contour reference position (Pc) found on the line segment connecting the actual position (P act ) and the interpolated reference position. To this end, first, a search range is set, a plurality of reference positions are set in the reference machining path within the search range, and then, among the plurality of reference positions, the closest reference position (P act ) closest to the actual position of the tool 111 ( It can be derived by calculating P n ).

여기서, 탐색범위 내 복수 개의 참조위치는 실험적으로 20개 이상이 바람직할 수 있으나, 반드시 이에 한정되는 것은 아니다.Here, the plurality of reference positions within the search range may be preferably 20 or more experimentally, but are not necessarily limited thereto.

상기와 같은 최근접참조위치(Pn)를 도출한 후, 최근접참조위치(Pn)에 인접한 2개의 참조위치, 즉, 참조가공경로 상 가공 방향에 대해 최근접참조위치(Pn)의 전과 후의 방향에 위치한 2개의 참조위치인 제1인접참조위치(Pn-1)과 제2인접참조위치(Pn+1)가 설정될 수 있다.After deriving the nearest reference position (P n ) as described above, two reference positions adjacent to the nearest reference position (P n ), that is, the closest reference position (P n ) with respect to the machining direction on the reference machining path A first adjacent reference position (P n−1 ) and a second adjacent reference position (P n+1 ), which are two reference positions located in the forward and backward directions, may be set.

여기서, 제1인접참조위치(Pn-1)와 최근접참조위치(Pn)를 연결하여 제1연결직선이 형성되고, 제2인접참조위치(Pn+1)와 최근접참조위치(Pn)를 연결하여 제2연결직선이 형성될 수 있다.Here, a first connecting line is formed by connecting the first adjacent reference position (P n−1 ) and the nearest reference position (P n ), and the second adjacent reference position (P n+1 ) and the nearest reference position ( A second connection straight line may be formed by connecting P n ).

그리고, 실제위치(Pact)로부터 제1연결직선으로 연결되는 제1수직연결선과 제1연결직선의 교점인 제1투영점(H1) 및, 실제위치(Pact)로부터 제2연결직선으로 연결되는 제2수직연결선과 제2연결직선의 교점인 제2투영점(H2)이 설정될 수 있다. And, the first vertical connecting line connected to the first connecting straight line from the actual position (P act ) and the first projection point (H 1 ) which is the intersection of the first connecting straight line, and the second connecting straight line from the actual position (P act ) A second projection point (H 2 ), which is an intersection of the connected second vertical connecting line and the second connecting straight line, may be set.

상기와 같은 최근접참조위치(Pn)와 제1투영점(H1) 및 제2투영점(H1)을 이용하여 각각의 케이스에 따라 윤곽기준위치(Pc)를 도출할 수 있으며, 이에 대해서 하기에 상세히 설명하기로 한다.The contour reference position (Pc) can be derived according to each case using the closest reference position (P n ) and the first projection point (H 1 ) and the second projection point (H 1 ) as described above. It will be explained in detail below.

도 4는 본 발명의 일 실시 예에 따른 윤곽기준위치(Pc)를 측정하기 위한 각 케이스의 설명을 위한 이미지이다. 도 4의 (a)는 제1케이스에 대한 것이고, 도 4의 (b)는 제2케이스에 대한 것이며, 도 4의 (c)는 제3케이스에 대한 것이다. 그리고, 도 4의 (d)는 제4케이스에 대한 것이다.4 is an image for explanation of each case for measuring the contour reference position Pc according to an embodiment of the present invention. Figure 4 (a) is for the first case, Figure 4 (b) is for the second case, Figure 4 (c) is for the third case. And, (d) of FIG. 4 is for the fourth case.

도 4에서 보는 바와 같이, 제1연결직선과 제2연결직선 각각에 대한 제1투영점과 제2투영점 각각의 위치에 따라 윤곽기준위치(Pc)와 윤곽기준방향(Oc)이 결정될 수 있다. 구체적으로, 4개의 케이스가 성립될 수 있으며, 제1연결직선과 제2연결직선 각각에 대한 제1투영점(H1) 및 제2투영점(H1) 각각의 위치를 기준으로 실제위치(Pact)에 대한 윤곽기준위치(Pc)가 결정될 수 있다.As shown in FIG. 4, the contour reference position Pc and the contour reference direction Oc may be determined according to the positions of the first projection point and the second projection point with respect to the first connecting straight line and the second connecting straight line, respectively. . Specifically, four cases may be established, and the actual position (based on the position of each of the first projection point (H 1 ) and the second projection point (H 1 ) for each of the first connecting straight line and the second connecting straight line ( A contour reference position Pc for P act ) may be determined.

그리고, 하기의 [수학식 3-1]과 [수학식 3-2]에서 보는 바와 같이, 제1투영점(H1)과 제2투영점(H1) 및 윤곽기준위치(Pc)의 연산을 위한 가중치를 결정하기 위해 r1 및 r2를 정의할 수 있다.And, as shown in [Equation 3-1] and [Equation 3-2] below, the calculation of the first projection point (H 1 ), the second projection point (H 1 ), and the contour reference position (Pc) r1 and r2 can be defined to determine the weights for

[수학식 3-1][Equation 3-1]

Figure pat00004
=
Figure pat00005
Figure pat00004
=
Figure pat00005

[수학식 3-2][Equation 3-2]

Figure pat00006
=
Figure pat00007
Figure pat00006
=
Figure pat00007

여기서, Pc는 윤곽기준위치를 나타내고, Pn-1은 제1인접참조위치를 나타내며, Pn+1은 제2인접참조위치를 나타낼 수 있다. 그리고, H1은 제1투영점을 나타내고, H2는 제2투영점을 나타낼 수 있다.Here, Pc may indicate a contour reference position, P n−1 may indicate a first neighboring reference position, and P n+1 may indicate a second neighboring reference position. Also, H 1 may represent a first projection point, and H 2 may represent a second projection point.

도 4의 (a)에서 보는 바와 같이, 제1케이스로써, 제1투영점(H1)이 제1연결직선의 연장선 상에 위치하고 제2투영점(H2)이 제2연결직선의 연장선 상에 위치하는 경우, 최근접참조위치(Pn)가 윤곽기준위치(Pc)일 수 있다.As shown in (a) of FIG. 4, as a first case, the first projection point (H 1 ) is located on the extension of the first connecting straight line and the second projection point (H 2 ) is on the extension of the second connecting straight line. When located at , the closest reference position P n may be the contour reference position Pc.

제1케이스의 경우, r1>1이고 r2>1이므로, 실제위치(Pact)에 가장 가까운 최근접참조위치(Pn)가 윤곽기준위치(Pc)일 수 있다.In case of the first case, since r 1 >1 and r 2 >1, the closest reference position P n to the actual position P act may be the contour reference position Pc.

도 4의 (b)에서 보는 바와 같이, 제2케이스로써, 제1투영점(H1)이 제1연결직선의 연장선 상에 위치하고 제2투영점(H2)이 제2연결직선 상에 위치하는 경우, 제2투영점(H2)이 윤곽기준위치(Pc)일 수 있다.As shown in (b) of FIG. 4, as a second case, the first projection point (H 1 ) is located on the extension of the first connecting straight line and the second projecting point (H 2 ) is located on the second connecting straight line. In this case, the second projection point H 2 may be the contour reference position Pc.

그리고, 도 4의 (c)에서 보는 바와 같이, 제3케이스로써, 제1투영점(H1)이 제1연결직선 상에 위치하고 제2투영점(H2)이 제2연결직선의 연장선 상에 위치하는 경우, 제1투영점(H1)이 윤곽기준위치(Pc)일 수 있다.And, as shown in (c) of FIG. 4, as a third case, the first projection point (H 1 ) is located on the first connecting straight line and the second projecting point (H 2 ) is on the extension line of the second connecting straight line. When located at , the first projection point H 1 may be the contour reference position Pc.

제2케이스와 제3케이스의 경우, 제1투영점(H1)과 제2투영점(H2) 중 어느 하나의 투영점은 하나의 연결직선 내부에 위치하고, 다른 투영점은 다른 연결직선의 외부에 위치할 수 있다. 그리고, r1 및 r2이며, 연결직선의 내부, 즉, 연결직선 상에 위치하는 투영점이 윤곽기준위치(Pc)일 수 있다.In the case of the second case and the third case, one projection point of the first projection point (H 1 ) and the second projection point (H 2 ) is located inside one connecting straight line, and the other projected point is located on the other connecting straight line. may be located outside. Also, r 1 and r 2 , and a projected point positioned inside the connecting straight line, that is, on the connecting straight line may be the contour reference position Pc.

도 4의 (d)에서 보는 바와 같이, 제4케이스로써, 제1투영점(H1)이 제1연결직선 상에 위치하고 제2투영점(H2)이 제2연결직선 상에 위치하는 경우, 제1투영점(H1)과 제2투영점(H2) 중 실제위치(Pact)에 더 근접한 투영점이 윤곽기준위치(Pc)일 수 있다.As shown in (d) of FIG. 4, as a fourth case, when the first projection point (H 1 ) is located on the first connecting straight line and the second projected point (H 2 ) is located on the second connecting straight line. , a projection point closer to the actual position P act among the first projection point H 1 and the second projection point H 2 may be the contour reference position Pc.

제4케이스의 경우, 제1투영점(H1)과 제2투영점(H2) 각각은 제1연결직선과 제2연결직선 내부에 위치하고, 0≤r1≤1 및 0≤r2≤1이며, 실제위치(Pact)에 가장 가까운 투영점이 윤곽기준위치(Pc)일 수 있다.In the case of the fourth case, the first projection point (H 1 ) and the second projection point (H 2 ) are located inside the first connecting straight line and the second connecting straight line, respectively, and 0≤r 1 ≤1 and 0≤r 2 ≤ 1, and the projected point closest to the actual position (P act ) may be the contour reference position (Pc).

그리고, 상기와 같은 제2케이스 내지 제4케이스에서, 연결직선 상에 있는 윤곽기준위치(Pc)는, 하기의 [수학식 4-1] 또는 [수학식 4-2]에 의해, 최근접참조위치(Pn)와 인접한 참조위치인 제1인접참조위치(Pn-1)와 제2인접참조위치(Pn+1)의 선형 보간을 사용하여 연산될 수 있다.And, in the second to fourth cases as described above, the contour reference position Pc on the connecting line is the nearest reference by [Equation 4-1] or [Equation 4-2] below. It can be calculated using linear interpolation of the first neighboring reference position (P n-1 ) and the second neighboring reference position (P n+1 ), which are reference positions adjacent to the position (P n ).

[수학식 4-1][Equation 4-1]

Figure pat00008
Figure pat00008

[수학식 4-2][Equation 4-2]

Figure pat00009
Figure pat00009

여기서, Pc는 윤곽기준위치를 나타내고, Pn-1은 제1인접참조위치를 나타내며, Pn+1은 제2인접참조위치를 나타낼 수 있다.Here, Pc may indicate a contour reference position, P n−1 may indicate a first neighboring reference position, and P n+1 may indicate a second neighboring reference position.

그리고, 위치윤곽오차(εp)는 참조위치와 실제위치(Pact) 사이를 하기의 [수학식 5]와 같이 연산될 수 있다.And, the position contour error (ε p ) can be calculated between the reference position and the actual position (P act ) as shown in [Equation 5] below.

[수학식 5][Equation 5]

Figure pat00010
Figure pat00010

여기서, εp는 위치윤곽오차를 나타내고, Pc는 윤곽기준위치를 나타내며, Pa는 실제위치(Pact)를 나타낼 수 있다.Here, ε p denotes a positional contour error, Pc denotes a contour reference position, and Pa denotes an actual position (P act ).

상기와 같은 제3단계 이후 제4단계에서, 최근접참조위치(Pn)에서의 참조방향과 실제방향(Oact)을 이용하여 공구(111)의 방향 오차를 보정한 방향인 윤곽기준방향(Oc)을 도출할 수 있다.In the fourth step after the third step as described above, the reference direction at the nearest reference position (P n ) and the actual direction (O act ) are used to correct the direction error of the tool 111, and the contour reference direction ( Oc) can be derived.

일반적인 로봇(120) 제어는 직관적이기 때문에 공구(111)의 방향 표현을 위해 오일러각을 이용할 수 있다. 그러나, 오일러각은 하나의 축의 변경이 순차적 회전으로 인해 다른 축에 영향을 미치기 때문에, 방향 보정을 처리하는데 적합하지 않을 수 있다.Since general control of the robot 120 is intuitive, Euler angles can be used to express the direction of the tool 111 . However, Euler angles may not be suitable for handling orientation corrections because a change in one axis will affect the other axis due to sequential rotation.

따라서, 쿼터니언(Quternion, 사원수)은 회전 축을 동시에 처리하고 회전 행렬에 비해 연산이 더 효율적이기 때문에 방향 연산에 용이할 수 있다. 방향윤곽오차(εo)는, 참조방향과 실제방향(Oact)을 이용하여 연산될 수 있으며, 윤곽기준방향(Oc)은, 상기된 제3단계에서의 각각의 케이스에 따라 방식을 달리하여 도출될 수 있다.Therefore, since quaternion (quaternion) simultaneously processes the rotation axis and is more efficient than rotation matrix, it can be easy to calculate direction. The directional contour error (ε o ) can be calculated using the reference direction and the actual direction (O act ), and the contour reference direction (Oc) is determined in a different way according to each case in the above-described third step. can be derived.

구체적으로, 상기된 제1케이스의 경우, 윤곽기준방향(Oc)은, 최근접참조위치(Pn)에서의 참조방향일 수 있다. 그리고, 상기된 제2케이스 내지 제4케이스의 경우, 윤곽기준방향(Oc)은, 최근접참조위치(Pn)에서의 참조방향과 최근접참조위치(Pn)에 인접한 참조위치(제1인접참조위치(Pn-1)와 제2인접참조위치(Pn+1))에서의 참조방향을 이용한 쿼터니언(Quternion) 구면선형보간(SLERP) 연산으로 획득될 수 있다.Specifically, in the case of the first case described above, the outline reference direction Oc may be a reference direction at the nearest reference position P n . In the case of the second to fourth cases described above, the contour reference direction Oc is a reference direction at the nearest reference position P n and a reference position adjacent to the nearest reference position P n (first It can be obtained by a quaternion spherical linear interpolation (SLERP) operation using reference directions at the adjacent reference position (P n−1 ) and the second adjacent reference position (P n+1 ).

제2케이스 내지 제4케이스에서, 윤곽기준방향(Oc)은, 최근접참조위치(Pn)에서의 참조방향인 최근접참조방향(On) 및 상기된 제1인접참조위치(Pn-1)와 제2인접참조위치(Pn+1) 각각에서의 참조방향인 제1인접참조방향(On-1)과 제2인접참조방향(On+1)의 쿼터니언(Quternion) 구면선형보간(SLERP) 연산으로 획득할 수 있다. 여기서, 쿼터니언(Quternion) 구면선형보간(SLERP) 연산은 하기의 [수학식 6-1]과 [수학식 6-2]에 의해 연산될 수 있다.In the second to fourth cases, the outline reference direction Oc is the nearest reference direction O n , which is a reference direction at the nearest reference position P n , and the first neighboring reference position P n - 1 ) and the second neighboring reference position (P n + 1 ) quaternion of the first neighboring reference direction (O n-1 ) and the second neighboring reference direction (O n + 1 ) respectively (P n + 1 ) spherical linear shape It can be obtained by interpolation (SLERP) operation. Here, the quaternion spherical linear interpolation (SLERP) operation can be performed by [Equation 6-1] and [Equation 6-2] below.

[수학식 6-1][Equation 6-1]

Figure pat00011
Figure pat00011

[수학식 6-2][Equation 6-2]

Figure pat00012
Figure pat00012

여기서, 상기된 바와 같이, qc는 윤곽기준방향(Oc)의 쿼터니언을 나타내고, qn은 최근접참조방향(On)의 쿼터니언을 나타내며, qn-1는 제1인접참조방향(On-1)의 쿼터니언을 나타낼 수 있다. 그리고, qn+1은 제2인접참조방향(On+1)의 쿼터니언을 나타낼 수 있다.Here, as described above, q c denotes the quaternion of the contour reference direction (Oc), q n denotes the quaternion of the nearest reference direction (O n ), and q n-1 is the first neighboring reference direction (O n -1 ) can represent the quaternion. Also, q n+1 may represent a quaternion of the second adjacent reference direction (O n+1 ).

그리고, 상기와 같이 획득되는 윤곽기준방향(Oc)의 3차원 좌표와 실제방향(Oact)의 3차원 좌표 간 차이를 이용하여 방향윤곽오차(εo)에 대한 3차원 좌표를 도출할 수 있다. 이에 대해서는 하기의 제5단계 설명에서 상세히 설명하기로 한다.In addition, the 3D coordinates for the directional contour error ε o can be derived using the difference between the 3D coordinates of the contour reference direction Oc obtained as described above and the 3D coordinates of the actual direction O act . . This will be described in detail in the description of the fifth step below.

상기와 같이 윤곽기준방향(Oc)을 도출하는 하나의 방식 외에, 윤곽기준방향(Oc)은, 윤곽기준위치(Pc)에서 공구(111)의 길이 방향을 따라 형성되는 축의 벡터 방향일 수 있다. 여기서, 공구(111)의 길이 방향을 따라 형성되는 축의 벡터는 공구(111)에서 z축 벡터일 수 있다.In addition to one method of deriving the contour reference direction Oc as described above, the contour reference direction Oc may be a vector direction of an axis formed along the longitudinal direction of the tool 111 at the contour reference position Pc. Here, the axis vector formed along the longitudinal direction of the tool 111 may be the z-axis vector of the tool 111 .

구체적으로, 방향윤곽오차(εo)를 연산하기 위해 실제위치(Pact)에서의 실제방향(Oact)과 윤곽기준위치(Pc)에서의 참조방향으로부터 z축 벡터를 추출할 수 있다. 그리고, 하기의 [수학식 7]과 같이, 방향윤곽오차(εo)는, 실제방향(Oact)과 윤곽기준위치(Pc)에서의 참조방향 각각의 z축 벡터 간 각도 차이를 이용하여 연산될 수 있다.Specifically, in order to calculate the directional contour error ε o , the z-axis vector may be extracted from the actual direction O act at the actual position P act and the reference direction at the contour reference position Pc. And, as shown in [Equation 7] below, the directional contour error (ε o ) is calculated using the angle difference between the actual direction (O act ) and the z-axis vector of each reference direction in the contour reference position (Pc). It can be.

[수학식 7][Equation 7]

Figure pat00013
Figure pat00013

여기서, εo는 방향윤곽오차를 나타내고, ν'c는 윤곽기준위치(Pc)에서의 참조방향의 z축 벡터를 나타내며, νa는 실제방향(Oact)의 z축 벡터를 나타낼 수 있다.Here, ε o denotes a directional contour error, ν' c denotes a z-axis vector of a reference direction in the contour reference position Pc, and ν a may denote a z-axis vector of an actual direction O act .

그리고, 상기와 같은 방향윤곽오차(εo)를 이용하여 각도 차이를 보정함으로써, 윤곽기준방향(Oc)을 도출할 수 있다.In addition, the contour reference direction Oc can be derived by correcting the angular difference using the directional contour error ε o as described above.

상기와 같은 제4단계 이후 제5단계에서, 윤곽기준위치(Pc)와 윤곽기준방향(Oc)을 이용하여 로봇(120)을 제어함으로써 공구(111)의 위치와 방향을 제어할 수 있다. 상기와 같이, 공구(111)에 대해서, 실제위치(Pact)와 윤곽기준위치(Pc)를 이용하여 위치윤곽오차(εp)를 도출할 수 있고, 실제방향(Oact)과 윤곽기준방향(Oc)을 이용하여 방향윤곽오차(εo)을 도출할 수 있다. 그리고, 위치윤곽오차(εp)와 방향윤곽오차(εo)가 보정되도록 공구(111)의 위치와 방향이 변경되도록 로봇(120)으로 제어신호를 전달할 수 있다.In the fifth step after the fourth step as described above, the position and direction of the tool 111 can be controlled by controlling the robot 120 using the contour reference position Pc and the contour reference direction Oc. As described above, for the tool 111, the position contour error ε p can be derived using the actual position P act and the contour reference position Pc, and the actual direction O act and the contour reference direction Orientation contour error (ε o ) can be derived using (Oc). In addition, a control signal may be transmitted to the robot 120 to change the position and direction of the tool 111 so that the positional contour error ε p and the directional contour error ε o are corrected.

상기와 같은 제어신호는 하기된 제어부(130)에 의해 생성되며, 로봇(120)의 관절 축은 개별적으로 제어되고, 개별 축 각각에 대한 제어기는 위치, 속도 및 전류 루프와 연결된 캐스케이드 제어 구조로 구성될 수 있다. 이와 같은 제어부(130)에서는 상기와 같은 윤곽제어 알고리즘을 이용하여 위치윤곽오차(εp)와 방향윤곽오차(εo)를 도출할 수 있다.The control signal as described above is generated by the control unit 130 described below, the joint axes of the robot 120 are individually controlled, and the controllers for each of the individual axes are composed of a cascade control structure connected to position, velocity, and current loops. can In such a controller 130, the positional contour error ε p and the directional contour error ε o can be derived using the contour control algorithm as described above.

종래기술의 로봇(120) 제어기에서는 내부 제어 구조의 수정을 허용하지 않기 때문에, 추가 PI(proportional-integral) 위치 제어 루프를 데카르트 좌표로 설계하여 등고선 오류를 보정할 수 있도록 함으로써, 본 발명의 제어부(130)를 형성할 수 있다. Since the prior art robot 120 controller does not allow modification of the internal control structure, an additional PI (proportional-integral) position control loop is designed in Cartesian coordinates to correct the contour error, so that the control unit of the present invention ( 130) can be formed.

따라서, 상기된 [수학식 2]를 수정하여 하기의 [수학식 8]을 도출할 수 있다.Accordingly, the following [Equation 8] may be derived by modifying [Equation 2] described above.

[수학식 8][Equation 8]

Figure pat00014
Figure pat00014

여기서, Pr,m은 수정된 참조위치이고, Or,m은 수정된 참조방향일 수 있다. 그리고, KPI는 각각의 축에 대한 PI제어 게인일 수 있으며, 는 각각의 축에 대한 위치윤곽오차(εp)와 방향윤곽오차(εo)를 나타낼 수 있다.Here, P r,m may be a modified reference position, and O r,m may be a modified reference direction. Also, K PI may be a PI control gain for each axis, and may represent a positional contour error (ε p ) and a directional contour error (ε o ) for each axis.

이에 따라, 공구(111)의 위치 보정량은 하기의 [수학식 9]와 같이 나타날 수 있다.Accordingly, the position correction amount of the tool 111 may be expressed as in [Equation 9] below.

[수학식 9][Equation 9]

Figure pat00015
Figure pat00015

여기서, 는 각각의 축에 대한 위치윤곽오차(εp)이고, Pc는 윤곽기준위치이며, Pa는 실제위치(Pact)이다.Here, is the position contour error (ε p ) for each axis, Pc is the contour reference position, and Pa is the actual position (P act ).

방향윤곽오차(εo)를 보상하기 위해 상기와 같이 z축 벡터를 이용할 수 있으며, 이와 같은 방식의 경우, [수학식 10]에서 보는 바와 같이, 실제방향(Oact)과 윤곽기준위치(Pc)에서의 참조방향 각각의 z축 벡터에 직교하는 단위방향벡터(n)가 생성될 수 있다. 그 다음, 방향윤곽오차(εo)의 양 만큼 단위방향벡터(n)에 대한 오차 보정을 수행할 수 있다.In order to compensate for the directional contour error (ε o ), the z-axis vector can be used as described above. In this case, as shown in [Equation 10], the actual direction (O act ) and the contour reference position (Pc) ), a unit direction vector (n) orthogonal to each z-axis vector of the reference direction may be generated. Then, error correction for the unit direction vector n may be performed by the amount of the directional contour error ε o .

[수학식 10][Equation 10]

Figure pat00016
Figure pat00016

여기서, n은 단위방향벡터이고, νa는 실제방향(Oact)의 z축 벡터를 나타내고, νc는 윤곽기준위치(Pc)에서의 참조방향의 z축 벡터를 나타낼 수 있다.Here, n is a unit direction vector, ν a represents the z-axis vector of the actual direction (O act ), and ν c represents the z-axis vector of the reference direction in the contour reference position Pc.

도 5는 본 발명의 일 실시 예에 따른 방향윤곽오차(εo)의 측정에 대한 이미지이다.5 is an image of measurement of a directional contour error (ε o ) according to an embodiment of the present invention.

방향윤곽오차(εo)를 보상하기 위해 상기와 같이 쿼터니언(Quternion) 구면선형보간(SLERP)을 이용할 수 있으며, 쿼터니언은 단위방향벡터(n)과 회전량(εo)을 사용하여 계산되고 오일러각으로 변환될 수 있다. 하기의 [수학식 11]에 의해서, q->E는 쿼터니언에서 오일러각으로 변환을 나타낼 수 있다.To compensate for the directional contour error (ε o ), quaternion spherical linear interpolation (SLERP) can be used as described above, and the quaternion is calculated using a unit direction vector (n) and rotation amount (ε o ), and Euler can be converted to an angle. By the following [Equation 11], q -> E may represent a conversion from a quaternion to an Euler angle.

[수학식 11][Equation 11]

Figure pat00017
Figure pat00017

여기서, n은 단위방향벡터이고, 는 각각의 축에 대한 방향윤곽오차(εo)이다.Here, n is the unit direction vector, and is the directional contour error (ε o ) for each axis.

이하, 본 발명의 로봇(120) 제어 장치에 대해 설명하기로 한다.Hereinafter, the robot 120 control device of the present invention will be described.

본 발명의 로봇(120) 제어 방법을 수행하는 본 발명의 로봇(120) 제어 장치는, 로봇(120)에 결합되어 공구(111)를 구비하는 가공부(110); 가공부(110)로 레이저를 조사하여 공구(111)의 실시간 위치와 방향인 실제위치(Pact)와 실제방향(Oact)을 측정하는 레이저 트래커(200); 가공대상(10)에 따라 사전에 설정된 공구(111)의 가공경로인 참조가공경로 상 공구(111)의 위치와 방향인 참조위치와 참조방향을 설정하며, 레이저 트래커(200)로부터 실제위치(Pact)와 실제방향(Oact)에 대한 정보를 전달받고, 윤곽기준위치(Pc)와 윤곽기준방향(Oc)을 도출하여, 로봇(120)으로 제어신호를 전달함으로써 공구(111)의 위치와 방향을 제어하는 제어부(130);를 포함한다. 여기서, 제어부(130)는, 공구(111)가 실제위치(Pact)로부터 윤곽기준위치(Pc)로 이동하고 실제방향(Oact)으로부터 윤곽기준방향(Oc)으로 자세를 변경하도록 로봇(120)으로 제어신호를 전달할 수 있다.The robot 120 control apparatus of the present invention for performing the robot 120 control method of the present invention is coupled to the robot 120 and includes a processing unit 110 having a tool 111; Laser tracker 200 for measuring the real-time position and direction of the tool 111 by irradiating a laser to the processing unit 110 (P act ) and the actual direction (O act ); The reference position and reference direction, which is the position and direction of the tool 111 on the reference machining path, which is the machining path of the tool 111 set in advance according to the processing target 10, are set, and the actual position (P) from the laser tracker 200 act ) and the actual direction (O act ) are received, the contour reference position (Pc) and the contour reference direction (Oc) are derived, and a control signal is transmitted to the robot 120, thereby determining the position of the tool 111 and the position of the tool 111. A control unit 130 for controlling the direction; includes. Here, the controller 130 controls the robot 120 so that the tool 111 moves from the actual position P act to the contour reference position Pc and changes its posture from the actual direction O act to the contour reference direction Oc. ) to transmit the control signal.

상기된 제1단계의 수행은 레이저 트래커(200)에 의해 수행될 수 있으며, 상기된 제2단계 내지 제5단계에서 수행되는 각각의 제어 관련 사항은 제어부(130)에서 수행될 수 있다.The first step described above may be performed by the laser tracker 200, and each control-related matter performed in the second to fifth steps described above may be performed by the control unit 130.

본 발명의 로봇(120) 제어 장치에 대한 나머지 상세한 사항은, 본 발명의 로봇(120) 제어 방법에서 관련되어 기재된 사항과 동일하다.The remaining details of the robot 120 control device of the present invention are the same as those described in relation to the method of controlling the robot 120 of the present invention.

상기와 같이 형성되는 본 발명의 로봇(120) 제어 장치; 및 로봇(120)의 형상, 참조가공경로 및 공구(111)에 대한 윤곽기준위치(Pc)와 윤곽기준방향(Oc) 각각으로의 보정량에 대한 수치를 표시하는 디스플레이 장치를 포함하는 가공 시스템을 형성할 수 있다.The robot 120 control device of the present invention formed as described above; and a display device displaying numerical values for correction amounts in the shape of the robot 120, the reference machining path, and the contour reference position Pc and the contour reference direction Oc for the tool 111, respectively. can do.

디스플레이 장치에는, 로봇(120)의 3차원 형상 및 상기된 각각의 수치 값 중 일부 또는 전체가 표시될 수 있으며, 사용자는 디스플레이 화면을 보면서 로봇(120) 및 공구(111)의 작동 상황 등에 대해 육안으로 확인할 수 있다.The display device may display some or all of the three-dimensional shape of the robot 120 and each of the numerical values described above, and the user may observe the operating conditions of the robot 120 and the tool 111 while viewing the display screen. can be checked with

도 6은 본 발명의 일 실시 예에 따른 가공대상(10)에 대한 설계도이고, 도 7은 본 발명의 일 실시 예에 따른 로봇(120) 제어 장치를 이용한 로봇(120) 가공에 대한 이미지이다.6 is a design diagram of a processing target 10 according to an embodiment of the present invention, and FIG. 7 is an image of robot 120 processing using a robot 120 control device according to an embodiment of the present invention.

도 6은 본 발명의 로봇(120) 제어 장치를 이용한 본 발명의 로봇(120) 제어 방법의 성능을 테스트하기 위한 가공대상(10)에 대한 설계도로써 제어부(130)에 저장되며, 도 6의 (a)는 가공대상(10)의 평면도이고, 도 6의 (b)는 가공대상(10)의 측면도이며, 도 6의 (c)는 가공대상(10)의 사시도이다.6 is a design diagram for a processing target 10 for testing the performance of the robot 120 control method of the present invention using the robot 120 control device of the present invention and is stored in the control unit 130, in FIG. 6 ( a) is a plan view of the target 10, FIG. 6(b) is a side view of the target 10, and FIG. 6(c) is a perspective view of the target 10.

상기와 같은 본 발명의 로봇(120) 제어 방법에 의한 가공정밀도 향상을 측정하기 위하여, 로봇(120)(TX200, Staubli), 스핀들(ES929A, HSD) 및 레이저 트래커(200) 시스템(AT960MR, Leica geosystems)으로 구성된 로봇(120) 제어 장치를 마련하였다.In order to measure the improvement in processing precision by the robot 120 control method of the present invention as described above, the robot 120 (TX200, Staubli), the spindle (ES929A, HSD) and the laser tracker 200 system (AT960MR, Leica geosystems ) A robot 120 control device composed of was provided.

로봇(120)의 엔드이펙터인 가공부(110)에 스핀들이 부착되어 있고, 가공부(110)에 반사체(112)로써 6-DOF 센서(T-Mac, Leica geosystems)를 부착하였다. 레이저 트래커(200)는 반사체(112)의 위치와 방향을 최대 1kHz까지 실시간으로 측정할 수 있고, 상기와 같은 본 발명의 로봇(120) 제어 방법에 의한 알고리즘은 산업용 PC(C6930, Beckhoff)에서 실행되는 Beckhoff TwinCAT 실시간 프로그래밍 환경에서 구현되었으며 250Hz의 샘플 레이트로 실행되었다. 실시간 PC는 레이저 트래커(200) 컨트롤러에서 공간 측정 데이터를 수집하고 EtherCAT 프로토콜을 사용하여 로봇(120) 컨트롤러(CS8C, Stδubli)와 공구(111) 경로 및 수정 값을 교환할 수 있다.A spindle is attached to the processing unit 110, which is an end effector of the robot 120, and a 6-DOF sensor (T-Mac, Leica geosystems) is attached to the processing unit 110 as a reflector 112. The laser tracker 200 can measure the position and direction of the reflector 112 in real time up to 1 kHz, and the algorithm by the robot 120 control method of the present invention as described above is executed on an industrial PC (C6930, Beckhoff). It was implemented in the Beckhoff TwinCAT real-time programming environment and ran at a sample rate of 250 Hz. The real-time PC can collect space measurement data from the laser tracker 200 controller and exchange tool 111 path and correction values with the robot 120 controller (CS8C, Stδubli) using the EtherCAT protocol.

본 발명의 로봇(120) 제어 방법에 의한 알고리즘의 성능을 비교 평가하기 위하여, NAS 979 공작물이 5축 공작 기계에 대한 성능 테스트로 널리 인정되기 때문에, 도 6에서 보는 바와 같이, 상기와 같은 로봇(120) 제어 장치를 이용하여 NAS(National Aerospace Standard) 979 공작물을 가공하였다.In order to compare and evaluate the performance of the algorithm by the control method of the robot 120 of the present invention, since the NAS 979 workpiece is widely recognized as a performance test for a 5-axis machine tool, as shown in FIG. 6, the robot as described above ( 120) A National Aerospace Standard (NAS) 979 work piece was machined using a control device.

이 때, 원과 사각형 및 측면 경사를 가공하여 성능을 평가하였다. 가공조건은 이송 속도 900mm/min, 스핀들 속도 6,000rpm, 절입 깊이 2mm로 결정되었다.(ISO 10791-1 참조)At this time, the performance was evaluated by processing circles, squares, and side slopes. The machining conditions were determined as feed speed 900 mm/min, spindle speed 6,000 rpm, and depth of cut 2 mm (refer to ISO 10791-1).

가공된 가공대상(10)인 공작물의 치수 정확도는 좌표 측정기(CMM)를 이용하여 측정되었다. 좌표 측정기(CMM)의 반복성은 0.006mm이고 체적 정확도는 2.4㎛ + 길이/250mm이다. 원의 지름과 정사각형의 길이를 측정했으며, 원의 경계는 20포인트, 정사각형의 각 변은 10포인트를 측정하였다.The dimensional accuracy of the workpiece, which is the processed processing target 10, was measured using a coordinate measuring machine (CMM). The repeatability of the coordinate measuring machine (CMM) is 0.006 mm and the volume accuracy is 2.4 μm + length/250 mm. The diameter of the circle and the length of the square were measured, and the boundary of the circle was measured at 20 points and each side of the square was measured at 10 points.

상기와 같은 공작물은 2개가 마련되어, 하나의 공작물인 실시용 공작물은 본 발명의 로봇(120) 제어 방법을 적용하여 가공하였으며, 다른 공작물인 비교용 공작물은 종래기술의 로봇(120) 제어 방법을 적용하여 가공하였다.Two workpieces as described above are provided, and one workpiece, a workpiece for implementation, was processed by applying the robot 120 control method of the present invention, and the other workpiece, a workpiece for comparison, applied the robot 120 control method of the prior art. It was processed.

여기서, 원에 대한 목표지름은 108mm이고, 정사각형의 각 변의 목표길이는 110mm이었다.Here, the target diameter of the circle is 108 mm, and the target length of each side of the square is 110 mm.

각각의 공작물에 대한 가공 종료 후, 비교용 공작물을 측정한 경우, 측정된 원의 지름은 108.322mm로써 원의 가공 오차는 322㎛이었고, 정사각형의 측정된 길이는 각 변에 대해 110.356 및 110.353mm로써 정사각형의 가공 오차는 356㎛이었다.When the workpieces for comparison were measured after completion of machining for each workpiece, the diameter of the measured circle was 108.322mm, the machining error of the circle was 322㎛, and the measured lengths of the square were 110.356 and 110.353mm for each side, respectively. The processing error of the square was 356 μm.

반면에, 실시용 공작물을 측정한 경우, 측정된 원의 지름은 107.945mm로써 원의 가공오차는 55㎛이고, 정사각형의 측정된 길이는 각 변에 대해 110.049 및 109.950mm로써 정사각형의 가공 오차는 50㎛이었다.On the other hand, when the workpiece for practice was measured, the diameter of the measured circle was 107.945mm, and the machining error of the circle was 55㎛, and the measured lengths of the square were 110.049 and 109.950mm for each side, so the machining error of the square was 50 μm.

상기된 비교용 공작물과 실시용 공작물의 가공 후 가공오차 비교에서 보는 바와 같이, 본 발명의 로봇(120) 제어 방법을 이용하여 공작물에 대한 가공을 수행하는 경우, 가공 정밀도가 향상됨을 확인할 수 있다.As can be seen from the comparison of machining errors after machining of the workpiece for comparison and the workpiece for implementation described above, it can be confirmed that machining accuracy is improved when machining the workpiece using the robot 120 control method of the present invention.

상기와 같은 본 발명의 로봇(120) 제어 방법 및 장치를 이용하는 경우, 공구(111)의 실제위치(Pact)와 사전에 설정된 참조위치 간 차이를 이용하여 가공대상(10)에 대한 가공경로의 오차 보정을 수행하므로, 오차 보정의 성능을 향상시킬 수 있다.In the case of using the robot 120 control method and device of the present invention as described above, using the difference between the actual position (P act ) of the tool 111 and the reference position set in advance, the machining path for the machining target 10 Since error correction is performed, performance of error correction can be improved.

그리고, 추가적인 별도의 장치나 복잡한 연산을 최소화하면서도 로봇(120)에 대한 오차 보정 제어를 수행할 수 있어, 로봇(120)을 이용한 가공공정에서의 효율을 현저히 향상시킬 수 있다.In addition, it is possible to perform error correction control for the robot 120 while minimizing an additional separate device or complicated calculation, so that efficiency in a machining process using the robot 120 can be significantly improved.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시 예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.The above description of the present invention is for illustrative purposes, and those skilled in the art can understand that it can be easily modified into other specific forms without changing the technical spirit or essential features of the present invention. will be. Therefore, the embodiments described above should be understood as illustrative in all respects and not limiting. For example, each component described as a single type may be implemented in a distributed manner, and similarly, components described as distributed may be implemented in a combined form.

본 발명의 범위는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is indicated by the following claims, and all changes or modifications derived from the meaning and scope of the claims and equivalent concepts should be interpreted as being included in the scope of the present invention.

10 : 가공대상 110 : 가공부
111 : 공구 112 : 반사체
120 : 로봇 130 : 제어부
200 : 레이저 트래커
10: processing target 110: processing unit
111: tool 112: reflector
120: robot 130: control unit
200: laser tracker

Claims (16)

레이저 트래커가 로봇에 결합되어 공구를 구비하는 가공부로 레이저를 조사하여 상기 공구의 실시간 위치와 방향인 실제위치와 실제방향을 측정하는 제1단계;
가공대상에 따라 사전에 설정된 상기 공구의 가공경로인 참조가공경로를 복수 개의 직선으로 분할하고, 상기 참조가공경로 상 상기 공구의 위치와 방향인 참조위치와 참조방향을 설정하는 제2단계;
상기 복수 개의 직선 중 상기 실제위치에 가장 근접한 참조위치인 최근접참조위치를 통과하는 2개의 직선 각각과 상기 실제위치를 수직 연결한 2개의 수직연결선을 이용하여, 상기 공구의 위치 오차를 보정한 위치인 윤곽기준위치를 도출하는 제3단계;
상기 최근접참조위치에서의 상기 참조방향과 상기 실제방향을 이용하여 상기 공구의 방향 오차를 보정한 방향인 윤곽기준방향을 도출하는 제4단계; 및
상기 윤곽기준위치와 상기 윤곽기준방향을 이용하여 상기 로봇을 제어함으로써 상기 공구의 위치와 방향을 제어하는 제5단계;를 포함하는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
A first step in which a laser tracker is coupled to a robot and irradiates a laser to a processing unit having a tool to measure the real position and direction of the tool in real time;
A second step of dividing a reference machining path, which is a machining path of the tool previously set according to a machining target, into a plurality of straight lines, and setting a reference position and direction, which are the position and direction of the tool, on the reference machining path;
The position where the position error of the tool is corrected using two straight lines each passing through the nearest reference position, which is the reference position closest to the actual position among the plurality of straight lines, and two vertical connecting lines vertically connecting the actual position. a third step of deriving the reference position of the contour;
a fourth step of deriving a contour reference direction, which is a direction obtained by correcting a direction error of the tool, using the reference direction and the actual direction at the nearest reference position; and
and a fifth step of controlling the position and direction of the tool by controlling the robot using the contour reference position and the contour reference direction.
청구항 1에 있어서,
상기 제2단계에서, 상기 복수 개의 직선은 상기 참조가공경로가 보간기(interpolator)에 의해 분할되어 형성되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 1,
In the second step, the plurality of straight lines is a robot control method using laser tracker feedback, characterized in that formed by dividing the reference machining path by an interpolator.
청구항 1에 있어서,
상기 제3단계에서, 상기 2개의 직선은, 상기 최근접참조위치에 인접한 2개의 참조위치 각각과 상기 최근접참조위치를 연결하여 형성되는 제1연결직선 및 제2연결직선을 포함하는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 1,
In the third step, the two straight lines include a first connecting straight line and a second connecting straight line formed by connecting each of the two reference positions adjacent to the nearest reference position and the nearest reference position. Robot control method using laser tracker feedback.
청구항 3에 있어서,
상기 실제위치로부터 상기 제1연결직선으로 연결되는 제1수직연결선과 상기 제1연결직선의 교점인 제1투영점 및, 상기 실제위치로부터 상기 제2연결직선으로 연결되는 제2수직연결선과 상기 제2연결직선의 교점인 제2투영점이 설정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 3,
A first vertical connection line connected from the actual position to the first connection straight line and a first projection point that is an intersection of the first connection straight line, and a second vertical connection line connected from the actual position to the second connection straight line and the first projection point. A robot control method using laser tracker feedback, characterized in that the second projection point, which is the intersection of two connecting lines, is set.
청구항 4에 있어서,
상기 제1연결직선과 상기 제2연결직선 각각에 대한 상기 제1투영점과 상기 제2투영점 각각의 위치에 따라 상기 윤곽기준위치와 상기 윤곽기준방향이 결정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 4,
The laser tracker feedback, characterized in that the contour reference position and the contour reference direction are determined according to the position of each of the first projection point and the second projection point with respect to each of the first connecting line and the second connecting straight line. Robot control method used.
청구항 5에 있어서,
상기 제1투영점이 상기 제1연결직선의 연장선 상에 위치하고 상기 제2투영점이 상기 제2연결직선의 연장선 상에 위치하는 경우, 상기 최근접참조위치가 상기 윤곽기준위치로 설정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 5,
When the first projection point is located on the extension of the first connecting line and the second projection point is located on the extension of the second connecting straight line, the nearest reference position is set as the contour reference position. Robot control method using laser tracker feedback.
청구항 6에 있어서,
상기 제4단계에서, 상기 윤곽기준방향은, 상기 최근접참조위치에서의 참조방향인 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 6,
In the fourth step, the robot control method using laser tracker feedback, characterized in that the contour reference direction is the reference direction at the nearest reference position.
청구항 5에 있어서,
상기 제1투영점이 상기 제1연결직선의 연장선 상에 위치하고 상기 제2투영점이 상기 제2연결직선 상에 위치하는 경우, 상기 제2투영점이 상기 윤곽기준위치로 설정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 5,
When the first projected point is located on an extension of the first connecting line and the second projected point is located on the second connecting straight line, the second projected point is set as the contour reference position. Robot control method using.
청구항 5에 있어서,
상기 제1투영점이 상기 제1연결직선 상에 위치하고 상기 제2투영점이 상기 제2연결직선의 연장선 상에 위치하는 경우, 상기 제1투영점이 상기 윤곽기준위치로 설정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 5,
When the first projected point is located on the first connecting straight line and the second projected point is located on an extension of the second connecting straight line, the first projected point is set as the contour reference position. Robot control method using.
청구항 5에 있어서,
상기 제1투영점이 상기 제1연결직선 상에 위치하고 상기 제2투영점이 상기 제2연결직선 상에 위치하는 경우, 상기 제1투영점과 상기 제2투영점 중 상기 실제위치에 더 근접한 투영점이 상기 윤곽기준위치로 설정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 5,
When the first projection point is located on the first connection line and the second projection point is located on the second connection line, the projection point closest to the actual position among the first projection point and the second projection point is the Robot control method using laser tracker feedback, characterized in that set to the contour reference position.
청구항 8 내지 청구항 10에 있어서,
상기 제4단계에서, 상기 윤곽기준방향은, 상기 최근접참조위치에서의 참조방향과 상기 최근접참조위치에 인접한 참조위치에서의 참조방향를 이용한 쿼터니언(Quternion) 구면선형보간(SLERP) 연산으로 획득되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
According to claims 8 to 10,
In the fourth step, the contour reference direction is obtained by a quaternion spherical linear interpolation (SLERP) operation using a reference direction at the nearest reference position and a reference direction at a reference position adjacent to the nearest reference position. Robot control method using laser tracker feedback, characterized in that.
청구항 7 내지 청구항 10에 있어서,
상기 제4단계에서, 상기 윤곽기준방향은, 상기 윤곽기준위치에서 상기 공구의 길이 방향을 따라 형성되는 축의 벡터 방향인 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
According to claims 7 to 10,
In the fourth step, the robot control method using laser tracker feedback, characterized in that the contour reference direction is a vector direction of an axis formed along the longitudinal direction of the tool at the contour reference position.
청구항 1에 있어서,
상기 제1단계에서, 상기 가공부에 결합된 반사체의 위치에 대한 행렬에 균일변환행렬(HTM)을 곱하는 변환 행렬 곱셈을 통해 상기 공구의 실제위치가 측정되는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 방법.
The method of claim 1,
In the first step, the robot using laser tracker feedback, characterized in that the actual position of the tool is measured through transformation matrix multiplication that multiplies the matrix for the position of the reflector coupled to the processing unit by a uniform transformation matrix (HTM) control method.
청구항 1의 레이저 트래커 피드백을 이용한 로봇 제어 방법을 수행하는 레이저 트래커 피드백을 이용한 로봇 제어 장치에 있어서,
상기 로봇에 결합되고 상기 공구를 구비하는 가공부;
상기 가공부로 레이저를 조사하여 상기 공구의 실시간 위치와 방향인 상기 실제위치와 상기 실제방향을 측정하는 레이저 트래커;
가공대상에 따라 사전에 설정된 상기 공구의 가공경로인 참조가공경로 상 상기 공구의 위치와 방향인 상기 참조위치와 상기 참조방향을 설정하며, 상기 레이저 트래커로부터 상기 실제위치와 상기 실제방향에 대한 정보를 전달받고, 상기 윤곽기준위치와 상기 윤곽기준방향을 도출하여, 상기 로봇으로 제어신호를 전달함으로써 상기 공구의 위치와 방향을 제어하는 제어부;를 포함하는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 장치.
In the robot control device using laser tracker feedback for performing the robot control method using laser tracker feedback of claim 1,
a processing unit coupled to the robot and having the tool;
a laser tracker for measuring the actual position and direction, which are the real-time position and direction of the tool, by radiating a laser to the processing unit;
The reference position and the reference direction, which are the position and direction of the tool, are set on the reference machining path, which is the machining path of the tool previously set according to the target to be processed, and information on the actual position and the actual direction is obtained from the laser tracker. and a control unit for controlling the position and direction of the tool by receiving the information, deriving the contour reference position and the contour reference direction, and transmitting a control signal to the robot. .
청구항 14에 있어서,
상기 제어부는, 상기 공구가 상기 실제위치로부터 상기 윤곽기준위치로 이동하고 상기 실제방향으로부터 상기 윤곽기준방향으로 자세를 변경하도록 상기 로봇으로 제어신호를 전달하는 것을 특징으로 하는 레이저 트래커 피드백을 이용한 로봇 제어 장치.
The method of claim 14,
The controller controls the robot using laser tracker feedback, characterized in that the controller transmits a control signal to the robot so that the tool moves from the actual position to the contour reference position and changes its posture from the actual direction to the contour reference direction. Device.
청구항 14에 의한 레이저 트래커 피드백을 이용한 로봇 제어 장치; 및
상기 로봇의 형상, 상기 참조가공경로 및 상기 공구에 대한 상기 윤곽기준위치와 상기 윤곽기준방향 각각으로의 보정량에 대한 수치를 표시하는 디스플레이 장치를 포함하는 것을 특징으로 하는 가공 시스템.
A robot control device using laser tracker feedback according to claim 14; and
and a display device displaying numerical values for correction amounts in the contour reference position and the contour reference direction, respectively, for the shape of the robot, the reference machining path, and the tool.
KR1020210128099A 2021-09-28 2021-09-28 A method and apparatus for controlling a robot using feedback from a laser tracker KR102582430B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210128099A KR102582430B1 (en) 2021-09-28 2021-09-28 A method and apparatus for controlling a robot using feedback from a laser tracker
PCT/KR2021/013384 WO2023054751A1 (en) 2021-09-28 2021-09-29 Robot control method using contour control algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210128099A KR102582430B1 (en) 2021-09-28 2021-09-28 A method and apparatus for controlling a robot using feedback from a laser tracker

Publications (2)

Publication Number Publication Date
KR20230045736A true KR20230045736A (en) 2023-04-05
KR102582430B1 KR102582430B1 (en) 2023-09-27

Family

ID=85884328

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210128099A KR102582430B1 (en) 2021-09-28 2021-09-28 A method and apparatus for controlling a robot using feedback from a laser tracker

Country Status (1)

Country Link
KR (1) KR102582430B1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050108645A (en) * 2004-05-12 2005-11-17 고등기술연구원연구조합 Apparatus for compensating in welding robot and method
KR20150070370A (en) 2012-10-19 2015-06-24 이노스 오토메이션스소프트웨어 게엠베하 Method for in-line calibration of an industrial robot, calibration system for performing such a method and industrial robot comprising such a calibration system
KR20170016631A (en) * 2015-08-04 2017-02-14 한국전기연구원 System, method for controlling redundant robot, and a recording medium having computer readable program for executing the method
JP2017505240A (en) * 2014-02-11 2017-02-16 タイコ エレクトロニクス (シャンハイ) カンパニー リミテッド Automatic calibration method for robotic systems using visual sensors
KR20180126539A (en) * 2016-03-22 2018-11-27 티이 커넥티비티 코포레이션 Automatic calibration method for robot system
JP2020049633A (en) * 2018-09-28 2020-04-02 三菱重工業株式会社 Teaching work support system for robot and teaching work support method
KR102096897B1 (en) * 2018-12-31 2020-04-03 (주) 엠엔비젼 The auto teaching system for controlling a robot using a 3D file and teaching method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050108645A (en) * 2004-05-12 2005-11-17 고등기술연구원연구조합 Apparatus for compensating in welding robot and method
KR20150070370A (en) 2012-10-19 2015-06-24 이노스 오토메이션스소프트웨어 게엠베하 Method for in-line calibration of an industrial robot, calibration system for performing such a method and industrial robot comprising such a calibration system
JP2017505240A (en) * 2014-02-11 2017-02-16 タイコ エレクトロニクス (シャンハイ) カンパニー リミテッド Automatic calibration method for robotic systems using visual sensors
KR20170016631A (en) * 2015-08-04 2017-02-14 한국전기연구원 System, method for controlling redundant robot, and a recording medium having computer readable program for executing the method
KR20180126539A (en) * 2016-03-22 2018-11-27 티이 커넥티비티 코포레이션 Automatic calibration method for robot system
JP2020049633A (en) * 2018-09-28 2020-04-02 三菱重工業株式会社 Teaching work support system for robot and teaching work support method
KR102096897B1 (en) * 2018-12-31 2020-04-03 (주) 엠엔비젼 The auto teaching system for controlling a robot using a 3D file and teaching method thereof

Also Published As

Publication number Publication date
KR102582430B1 (en) 2023-09-27

Similar Documents

Publication Publication Date Title
US11396100B2 (en) Robot calibration for AR and digital twin
USRE45391E1 (en) Method and an apparatus for performing a program controlled process on a component
CN108748159B (en) Self-calibration method for tool coordinate system of mechanical arm
US9895810B2 (en) Cooperation system having machine tool and robot
US6822412B1 (en) Method for calibrating and programming of a robot application
KR100311663B1 (en) Apparatus and method for tracking the appearance of an object using a spare shaft
US8706300B2 (en) Method of controlling a robotic tool
JP4271232B2 (en) Apparatus, method, program, and recording medium for executing offline programming of robot
JP2006048244A (en) Working program generating device
CN110682289B (en) Automatic calibration method for curved surface workpiece coordinate system based on industrial robot
US9114534B2 (en) Robot calibration systems
WO2015070010A1 (en) Calibration system and method for calibrating industrial robot
US20140365006A1 (en) Visual Datum Reference Tool
US9713869B2 (en) Calibration of robot work paths
JP2008020993A (en) Teaching data preparation device for working robot
EP2523786A1 (en) Method of finding feasible joint trajectories for an n-dof robot with rotation invariant process (n>5)
US20140365007A1 (en) Visual Datum Reference Tool
KR102582430B1 (en) A method and apparatus for controlling a robot using feedback from a laser tracker
WO2014042668A2 (en) Automatic and manual robot work finder calibration systems and methods
US20230278196A1 (en) Robot system
JP2019093504A (en) Article manufacturing method and robot system
KR102591942B1 (en) A method and apparatus for controlling a robot using a model for stiffness and a model for cutting force
JP2021186929A (en) Control method for multi-axis robot
US11654562B2 (en) Apparatus, robot control device, robot system, and method of setting robot coordinate system
Maťuga Control and positioning of robotic arm on CNC cutting machines and their applications in industry

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant