KR930000128B1 - Position detecting method of rectangular coordinate - Google Patents

Position detecting method of rectangular coordinate Download PDF

Info

Publication number
KR930000128B1
KR930000128B1 KR1019890017987A KR890017987A KR930000128B1 KR 930000128 B1 KR930000128 B1 KR 930000128B1 KR 1019890017987 A KR1019890017987 A KR 1019890017987A KR 890017987 A KR890017987 A KR 890017987A KR 930000128 B1 KR930000128 B1 KR 930000128B1
Authority
KR
South Korea
Prior art keywords
coordinate
point
radius
calculating
calculation
Prior art date
Application number
KR1019890017987A
Other languages
Korean (ko)
Other versions
KR910012665A (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 KR1019890017987A priority Critical patent/KR930000128B1/en
Publication of KR910012665A publication Critical patent/KR910012665A/en
Application granted granted Critical
Publication of KR930000128B1 publication Critical patent/KR930000128B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/004Measuring arrangements characterised by the use of electric or magnetic techniques for measuring coordinates of points

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)
  • Numerical Control (AREA)

Abstract

The method simplifies the calculation of the X,Y coordinates by using the rotation of the coordinate axis. The method comprises: (a) reading conditions of X1 for starting point, X2 for passing point, X3 for arriving point, and Δl for arc length against the fine displacement; (b) calculating the radius (r) against the circular arc by using the conditions; (c) calculating the shift angle (ΔO) by using the r and Δl; (d) determining the rotating direction; (e) calculating the position coordinates against the coordinate rotation; and (f) storing the coordinate value of X3 when the present calculation value reaches the approximate point.

Description

원호보간에 있어서 평면이동 직교좌표위치 검출방법.Method for detecting plane moving Cartesian coordinate position in circular interpolation.

제1도는 본 발명을 수행하기 위한 하드웨어 블록도.1 is a hardware block diagram for carrying out the present invention.

제2도는 본 발명에 따른 흐름도.2 is a flow chart in accordance with the present invention.

제3도는 본 발명을 설명하는 좌표이동 상태도.3 is a coordinate state diagram illustrating the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : CPU 12 : 펜덴트10: CPU 12: Pendent

14 : 프로그램로더 16 : 인터페이스14: Program loader 16: Interface

18 : W축 모터 20 : 메모리18: W-axis motor 20: memory

22 : DAC 24,26,28 : 제1, 제2, 제3모터22: DAC 24, 26, 28: 1st, 2nd, 3rd motor

42 : 타코 제네레이터부 44 : 엔코더부42: taco generator section 44: encoder section

46 : 카운터46: counter

본 발명은 산업용 기기의 원호보간에 관한 것으로, 특히 산업용기기의 원호보간에 있어서 좌표측 회전을 이용한 정, 역방향의 평면이동 직교좌표 위치 검출방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to circular interpolation of industrial equipment. In particular, the present invention relates to a method for detecting a positive and reverse planar moving coordinate position using coordinate side rotation in circular interpolation of industrial equipment.

통상적으로 원호를 따라서 동작하는 산업용기기, 예를들면 CNC등과 같은 수치제어기기, 로보트등의 원호보간에 있어서는 주어진 원호에 따라서 매 샘플링 시간마다 주제어장치에 컴퓨터에서 이동될 다음의 X,Y좌표의 위치를 계산하여야 한다.In the case of industrial equipment which normally operates along the arc, for example, numerical control equipment such as CNC, etc., and circular interpolation such as robots, the position of the next X and Y coordinates to be moved from the computer to the main controller at every sampling time according to the given arc. Should be calculated.

종래의 산업용 기기에 있어서 상기와 같은 X,Y좌표의 위치 계산 방법은 미소 변위에 대한 현의 길이로부터 삼각함수 법칙으로부터 이동좌표위치(ΔX,ΔY)를 계산하는 방법과, 원의 방정식을 이용하여 이동좌표위치를 계산하였다.In the conventional industrial equipment, the method of calculating the position of the X and Y coordinates as described above is calculated by using the method of calculating the moving coordinate position (ΔX, ΔY) from the trigonometric law from the length of the chord for the micro displacement, and using the equation of the circle The moving coordinate position was calculated.

그러나 상기와 같은 계산방식은 그 계산방법이 매우 복잡하여 마이크로프로세서가 계산치 매우 많은 시간이 요구되어 고속동작에 문제가 되어 왔다. 특히 로보트에서는 연산내용이 많기 때문에 각 부분의 빠른 계산이 절실히 요청되는데도 불구하고 계산시간이 길기 때문에 고속 동작상에 커다란 문제가 있어 왔다.However, the calculation method as described above is very complicated and the microprocessor requires a very large amount of calculation time, which causes a problem of high speed operation. In particular, the robot has a large amount of calculations, but the fast calculation of each part is urgently required, but the calculation time is long.

따라서 본 발명의 목적은 마이크로프로세서를 사용하는 산업용기기에 있어서 좌표측 회전을 이용하여 평면이동 직교좌표 위치를 고속계산하여 검출하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for high-speed calculation of a plane moving rectangular coordinate position using coordinate side rotation in an industrial device using a microprocessor.

본 발명의 다른 목적은 좌표축 회전을 이용하여 정역방향 X,Y좌표의 계산을 간소화한 방법을 제공함에 있다.Another object of the present invention is to provide a method for simplifying calculation of forward and backward coordinates using X and Y coordinates.

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

제1도는 본 발명을 수행하기 위한 하드웨어 블록도로서, 적어도 3개 이상의 원호 좌표값을 읽어들여 회전방향을 판별하고, 상기 원호좌표값에 의한 목표위치와 제어대상의 현위치를 비교하여 그 편차를 계산하며 제어대상이 목위치에 도달도록 속도 명령 데이터들을 출력하는 CPU(10)와 , 소망하는 목표위치 값을 원호좌표값으로 세팅하기 위한 펜덴트(pendent)(12)와, 프로그램을 상기 CPU(10)에 로딩하기 위한 프로그램로더(program loder)(14)와, 상기 펜덴트(12), 프로그램로더(14)의 출력을 상기 CPU(10)에 인터페싱하는 인터페이스(16)와, 상기 인터페이스(16)에 접속되며 상기 CPU(10)의 제어에 따라 회전하는 W축 모터(18)와, 소정의 프로그램 데이터를 저장하고 있고 상기 CPU(40)의 제어에 의해 소정 데이터를 리이드/라이트하는 메모리(20)와, 상기 CPU(10)로부터 출력되는 속도명령 데이터를 아나로그 전압으로 변환하여 출력하는 DAC(Didital to Analog Converter)(22)와, 상기 DAC(22)로부터 출력되는 아나로그 전압을 기준전압으로 입력하고 타코 제네레이터(Tacho generator)(42)로부터의 피이드 백신호를 입력하여 2차로서 모터속도를 제어하는 서보팩(Servo pack)을 내장하는 제1,제2,제3모터(24)(26)(28)와, 상기 제1,제2,제3모터(24)(26)(28)의 축에 연결되어 모터의 현재 속도를 상기 제1,제2,제3모터(24, 26, 28)의 서보팩으로 피이드백하는 타코 제너레이터부(42)와, 상기 제1,제2,제3모터(24, 26, 28)의 축에 연결되어 상기 모터들의 회전속도에 비례하는 주기의 펄스열을 각각 발생하는 엔코더부(44)와, 상기 엔코더부(44)의 각 펄스열을 업/다운카운트하여 상기 CPU(10)에 현재 위치값을 입력시키는 카운트(46)로 구성된다.1 is a hardware block diagram for carrying out the present invention, which reads at least three or more arc coordinate values to determine a rotation direction, compares the target position by the arc coordinate value with the current position of the control target, and compares the deviation. A CPU 10 for calculating speed command data for calculating and reaching the neck position, a pendent 12 for setting a desired target position value to an arc coordinate value, and a program for the CPU (10). A program loader 14 for loading into the 10, an interface 16 for interfacing outputs of the pendant 12 and the program loader 14 to the CPU 10, and the interface ( 16, a W-axis motor 18 that rotates under the control of the CPU 10, and a predetermined program data, and a memory that reads / writes predetermined data under the control of the CPU 40 ( 20) and outputted from the CPU 10 A digital to analog converter (DAC) 22 for converting speed command data into an analog voltage and outputting the same, and the analog voltage output from the DAC 22 is inputted as a reference voltage and a tacho generator 42. First, second, and third motors 24, 26, 28 having a servo pack for controlling the motor speed as a secondary by inputting a feed vaccine from the feeder; and the first and second And a taco generator connected to the shafts of the third motors 24, 26, 28 to feed back the current speed of the motor to the SERVOPACKs of the first, second, and third motors 24, 26, 28. (42) and encoder portions (44) connected to the axes of the first, second, and third motors (24, 26, 28) to generate pulse trains of a period proportional to the rotational speed of the motors, respectively; And a count 46 which up / down counts each pulse train of the encoder unit 44 and inputs a current position value to the CPU 10.

제2도는 본 발명에 따른 흐름도로서, 주어지는 시작점 X1, 통과점 X2, 도착점 X3과 미소변위에 대한 현의 길이 Δℓ을 리이드하는 조건 리이드 과정과, 상기 시작점 X1, 통과점 X2, 도착점 X3 및 원의 중심좌표로부터 반지름 r를 연산하는 원호에 대한 반경계산 과정과, 상기 반경계산 과정의 반경 r과 조건리이드 과정의 현의 길이 Δℓ로서 이동각 Δθ를 계산하여 저장하는 이동각 계산과정과, 상기 조건 리이드과정의 시작점 X1, 통과점 X2, 도착점 X3의 직교좌표로서 정,역 회전방향을 판별하는 회전방향 판별과정과, 상기한 이동각 계산과정에서 계산된 이동각과 상기 리이드과정의 시작점 X1의 좌표값으로서 좌표축 회전에 의한 위치좌표를 계산하여 저장하는 위치 좌표계산 과정과, 현재 계산된 위치좌표가 도착점 X3의 좌표에 도달할때까지 상기 위치 좌표계산 과정을 수행하고 근사점에 도달시 도착점 X3의 좌표값을 저장하는 저장과정으로 이루어진다.2 is a flow chart according to the present invention, a conditional lead process for leading a given starting point X1, passing point X2, arrival point X3 and the length of the string Δℓ for the microdisplacement, and the starting point X1, passing point X2, arrival point X3 and circle A radius calculation process for an arc for calculating a radius r from a center coordinate, a movement angle calculation process for calculating and storing a movement angle Δθ as a radius r of the radius calculation process and a string length Δℓ of a condition lead process, and the condition lead As the Cartesian coordinates of the starting point X1, the passing point X2, and the arrival point X3 of the process, a rotation direction discrimination process for discriminating the forward and reverse rotation directions, and the coordinates of the travel angle calculated in the movement angle calculation process and the starting point X1 of the lead process Position coordinate calculation process of calculating and storing position coordinate by rotation of coordinate axis, and the position coordinate system until the currently calculated position coordinate reaches the coordinate of arrival point X3 It performs a process and consists of a storage process of storing the coordinates of the end points, X3 upon reaching the approximate point.

제3도는 본 발명을 설명하기 위한 좌표이동 상태도로서, 3A는 미소변위 각 Δθ에 대한 이동거리 Δℓ만큼 좌표축을 이동한 예를 도시한 것이며, 3B는 시작점 X1, 중간점 X2, 도착점 X3를 지나는 원호의 X,Y좌표를 구하기 위해 Δθ만큼 이동된 좌표축 X'와 Y'를 도시한 것이다.3 is a diagram illustrating a state of coordinate movement for explaining the present invention, wherein 3A shows an example in which the coordinate axis is moved by a movement distance Δℓ for the small displacement angle Δθ, and 3B is an arc passing through a starting point X1, an intermediate point X2, and an arrival point X3. The coordinate axes X 'and Y' are shifted by Δθ to obtain the X and Y coordinates.

3C도는 매 샘플링 주기마다 좌표축 회전에 의해 계산된 좌표를 도시화한 것이다.3C shows the coordinates calculated by the rotation of the coordinate axes at every sampling period.

이하 본 발명에 따른 제2도의 동작예를 제1도 및 제3도를 참조하여 설명한다.An operation example of FIG. 2 according to the present invention will now be described with reference to FIGS. 1 and 3.

우선 좌표축 회전을 이용하여 X,Y좌표 계산 방법에 대하여 기술한다. 제3도 3A와 같이 이동길이 Δℓ이 주어지고, 반경 r이 주어지면, 상기 이동 길이 Δℓ=rΔθ의 식에 의해 상기 Δθ는 하기 식(A)와 같이 구하여진다.First, a method of calculating X and Y coordinates using coordinate axis rotation will be described. Given the movement length Δℓ as shown in FIG. 3A and the radius r, the Δθ is obtained by the following equation (A) by the formula of the movement length Δℓ = rΔθ.

Δθ=Δℓ/r………………………………………………(식1)Δθ = ΔL / r... … … … … … … … … … … … … … … … … … (Eq. 1)

따라서 좌표축의 이동길이 Δℓ과 반경 r이 주어지면 미소변위 Δθ를 상기 식(A)에 의해 구할 수 있음을 알 수 있다.Therefore, it can be seen that the small displacement Δθ can be obtained by the above equation (A) given the moving length Δℓ and the radius r of the coordinate axis.

제3도 3b와 같이 x,y평면 좌표상에서 시작점 X1(x1,y1), 통과점 X2(x2,y2), 도착점 X3(x3,y3)를 지나는 원호의 x,y좌표를 구하기 위해 Δθ각만큼 이동된 좌표축 x',y'를 가정하면 x,y축에서 본점 A의 이동점 B는 하기 식(2a)와 (2b)와 같이 구할 수 있다.As shown in FIG. 3B, in order to find the x, y coordinate of the arc passing through the starting point X1 (x1, y1), the passing point X2 (x2, y2) and the arrival point X3 (x3, y3) on the x, y plane coordinates, Assuming the moved coordinate axes x ', y', the moving point B of the main point A in the x, y axes can be obtained as shown in Equations (2a) and (2b).

x=x'cos Δθ-y'sinΔθ………………………………(2a)x = x'cos Δθ-y'sinΔθ... … … … … … … … … … … … (2a)

y=x'sin Δθ-y'sinΔθ………………………………(2b)y = x'sin Δθ-y'sinΔθ... … … … … … … … … … … … (2b)

즉 A점이 B점으로 이동된, x,y좌표로 치환값을 구할 수 있다.That is, the substitution value can be obtained from the x and y coordinates in which A point is moved to B point.

이때 Δθ의 값은 상수이므로, cos Δθ를 α라 하고, sin Δθ를 β라 하면, 상기 α와 β도 상수가 된다.Since cos Δθ is α and sin Δθ is β, α and β also become constants.

또 x',y'는 또 다른 이동 Δθ로 보면 x,y로 같으므로 전술한 식(2a,2b)는 하기식(3a,3b)와 같이 된다.In addition, x 'and y' are the same as x and y in terms of another movement Δθ, so that the above formulas (2a, 2b) are represented by the following formulas (3a, 3b).

x(K+1)=α·x(K)-β·y(K)……………………………(3a)x (K + 1) = alpha x (K)-beta y (K)... … … … … … … … … … … (3a)

y(K+1)=β·x(K)-α·y(K)……………………………(3b)y (K + 1) = βx (K) -αy (K)... … … … … … … … … … … (3b)

상기 식 3a와 3b에서 ˝K˝는 상수로서, x',y'의 이동좌표이다.In Formulas 3a and 3b, kK is a constant and is a moving coordinate of x 'and y'.

따라서 시간이 많이 걸리는 cos 및 sin함수의 계산은 한번만 하고, 곱과 +,-등의 연산을 순차적으로 계산하면 됨으로써 마이크로컴퓨터등을 적용하면 고속의 연산이 가능하다.Therefore, calculation of cos and sin functions that takes a long time is done only once, and calculations of products and +,-, etc. can be performed sequentially so that high-speed operation can be achieved by applying a microcomputer.

한편 원의 원점이 제3도 3b와 같이 (a,b)인 일반적인 경우에는 상기 (식 3a,3b)를 계산하기 전에 하기식(4a,4b)를 이용 원의 원점(0,0)로 이동시킨다.On the other hand, in the general case where the origin of the circle is (a, b) as shown in FIG. 3B, the following equation (4a, 4b) is moved to the origin (0,0) of the circle before calculating (Equations 3a, 3b). Let's do it.

x(K)=x(x)-a……………………………………………(4a)x (K) = x (x) -a... … … … … … … … … … … … … … … … … (4a)

y(K)=y(x)-b……………………………………………(4b)y (K) = y (x) -b... … … … … … … … … … … … … … … … … (4b)

그리고 식(4a,4b)를 계산 후 다시 x(K+1)=x(K+1)+a,y (K+1)=y(K+1) +b)로 원점 (a,b)로 이동시킴으로써 좌표축 회전에 의한 x,y의 좌표위치를 계산할 수 있다. 즉, x(K)=x1-a,y(K)=y1-bCalculate Equation (4a, 4b) and return to the origin (a, b) with x (K + 1) = x (K + 1) + a, y (K + 1) = y (K + 1) + b). By moving to the coordinate position of x, y by the coordinate axis rotation can be calculated. That is, x (K) = x1-a, y (K) = y1-b

단 X1=(x1,y1)로 하면 전술한 (식4a,4b)는 하기 식(5a,5b)와 같이 된다.However, if X1 = (x1, y1), the above-described formulas (4a, 4b) are as shown in the following formulas (5a, 5b).

x(K+1)=α·x(K)-β·y(K)……………………………(5a)x (K + 1) = alpha x (K)-beta y (K)... … … … … … … … … … … (5a)

y(K+1)=β·x(K)-α·y(K)……………………………(5b)y (K + 1) = βx (K) -αy (K)... … … … … … … … … … … (5b)

따라서 원의 원점이 (a,b)인 경우에 상기 (식 5a,5b)에 의해 좌표축 회전에 의한 x.y좌표를 구할 수 있다.Therefore, when the origin of the circle is (a, b), the x.y coordinate by the rotation of the coordinate axis can be obtained by the above expressions (5a, 5b).

지금 유저가 소망하는 원호 제어를 위하여 제3도와 같이 X,Y평면 직교 좌표상에서 (X1,Y1)을 가지는 제1직교좌표 x1와, (X2,Y2)를 가지는 제2직교좌표 x2와, (x3,y3)의 좌표를 가지는 제3직교좌표 X3를 펜덴트(12)를 이용하여 세팅하면, 상기 직교좌표값 X1,X2,X3들은 인터페이스를 통해 CPU(10)에 입력되다.Now, for the desired arc control, the first rectangular coordinate x1 having (X1, Y1), the second rectangular coordinate x2 having (X2, Y2), and (x3) on the X, Y plane rectangular coordinates as shown in FIG. When the third rectangular coordinate X3 having the coordinate of y3) is set using the pendant 12, the rectangular coordinate values X1, X2, and X3 are input to the CPU 10 through an interface.

상기 CPU(10)는 제2도 2A과정에서 입력된 직교 좌표값 X1과 X3를 리이드하고 메모리(20)내에 저장된 미소변위에 대한 현의 길이, 즉, 이동길이 Δℓ를 리이드한다. 이때 상기 이동길이 Δℓ은 사용자에 의해서 세팅되어 CPU(10)가 메모리(20)로부터 억세스하게 된다.The CPU 10 reads the Cartesian coordinate values X1 and X3 input in the process of FIG. 2A and reads the length of the chord, that is, the moving length Δℓ, for the microdisplacement stored in the memory 20. At this time, the movement length Δℓ is set by the user so that the CPU 10 can access it from the memory 20.

상기 제2도 2A과정에서 직표좌표값 X1,X2,X3를 리이드한 CPU(10)는 제2도 2B과정에서 하기식(6)에 의해 반경 r2를 계산하고 내부의 메모리 영역에 저장한다.In the process of FIG. 2A, the CPU 10 having read the coordinate values X1, X2, and X3 in FIG. 2A calculates the radius r 2 by Equation (6) in the process of FIG. 2B and stores it in the internal memory area.

r2=(x-a)2+(y-b)2……………………………………(6)r 2 = (xa) 2 + (yb) 2 . … … … … … … … … … … … … … (6)

상기 6식에서, a는 원의 중심의 x좌표, b는 원의 중심의 y좌표이다.In Formula 6, a is the x-coordinate of the center of the circle, b is the y-coordinate of the center of the circle.

따라서 현의 이동길이 Δℓ과 반경 r를 상기 제2도 2A,2B과정에서 인지한 CPU(10)는 제2도 2C과정에서 하기 제7식과 같은 공식을 이용하여 미소변위 각 Δθ를 8식과 같이 구한다.Therefore, the CPU 10, which recognizes the movement length Δℓ and the radius r of the strings in FIG. 2A and 2B, obtains the small displacement angle Δθ as shown in Equation 7 below in the process of FIG. 2C by using Equation 7 below. .

Δℓ=r·Δθ………………………………………………(7)DELTA L = r DELTA? … … … … … … … … … … … … … … … … … (7)

Δθ=Δℓ/r………………………………………………(8)Δθ = ΔL / r... … … … … … … … … … … … … … … … … … (8)

그러므로 CPU(10)는 소정반경 r에 대한 미소 이동거리 Δℓ의 미소변위 각 Δθ를 인지하게 되며, 상기 식(8)에 의해 계산된 미소 변위의 각 Δθ의 값을 cos Δθ 및 sinΔθ의 값으로 하여 내부 메모리에 저장한다.Therefore, the CPU 10 recognizes the small displacement angle Δθ of the small moving distance Δℓ with respect to the predetermined radius r, and sets the values of the angle Δθ of the small displacement calculated by the above equation (8) as the values of cos Δθ and sinΔθ. Store in internal memory.

상기한 과정들에 의해 Δθ를 구한 CPU(10)는 제2도 2D과정에서 주어진 시작점 X1, 통과점 X2, 도착점 X3의 직교좌표의 데이터로부터 회전방향이 정,역방향인가를 판별한다.The CPU 10 having obtained Δθ by the above processes determines whether the rotation direction is the forward or reverse direction from the data of the rectangular coordinates of the starting point X1, the passing point X2, and the arrival point X3 given in the process of FIG. 2D.

상기 2D과정의 검색결과 회전방향이 역방향인 경우 상기 제2도 2C과정에서 계산된 Δθ를 -Δθ로 2E과정에서 변환 세트한 후, 2F과정에서 좌표축 회전에 의한 위치계산을 하기 식(9a,9b)와 같이 실행한다.When the rotation direction is reverse in the search result of the 2D process, after converting and setting Δθ calculated in the process of FIG. 2C from 2C to -Δθ in the 2E process, the position is calculated by the rotation of the coordinate axis in the 2F process (9a, 9b) Execute as

만약 상기 제2도 2D과정에서의 회전방향 판별이 경방향인 경우 CPU(10)는 제2도 2F과정에서 직접 하기 식(9a,9b)와 같은 계산을 실행하여 좌표축 회전에 의한 위치를 검출한다.If the rotation direction discrimination in the process of FIG. 2D is the radial direction, the CPU 10 detects the position due to the coordinate axis rotation by directly performing the calculation as shown in Equations 9a and 9b in process 2F of FIG. .

x=x(K+1)+a…………………………………………(9a)x = x (K + 1) + a... … … … … … … … … … … … … … … … (9a)

y=y(K+1)+y…………………………………………(9b)y = y (K + 1) + y... … … … … … … … … … … … … … … … (9b)

상기 제2도 2F과정에 의해 전술한 식(5a,5b)와 동일한 식으로써 미소변위 Δθ만큼 좌표축이 회전된 x,y의 좌표값을 시작점 X1으로부터 매 샘플링의 주기마다 계산하여 회전방향에 따라 x,y의 좌표값을 산출하게 된다.In FIG. 2F, the coordinate values of x and y in which the coordinate axis is rotated by the small displacement Δθ are calculated in every sampling cycle from the starting point X1 in the same manner as the above formulas (5a and 5b), and x is determined according to the rotation direction. It will calculate the coordinate value of, y.

상기 제2도 2F과정에서 산출된 좌표축 회전에 의한 위치 계산값은 2G과정에서 CPU(10)가 메모리(20)에 저장하며, 2H과정에서 현재 계산된 위치가 사용자가 입력시킨 도착점 X3와 근접한가를 판단한다.The position calculation value of the coordinate axis rotation calculated in FIG. 2F by FIG. 2F is stored in the memory 20 by the CPU 10 in 2G, and whether the current calculated position in step 2H is close to the arrival point X3 input by the user. To judge.

상기 2H과정의 검색결과 현재의 위치가 도착점 X3에 근접하지 않는다면 Δθ만큼 좌표축을 회전시키어 다음 샘플링 주기에서 전술한 과정을 수행하여 차기의 위치 좌표값을 산정한다.If the current position is not close to the arrival point X3, the coordinate axis is rotated by Δθ and the above-described process is performed in the next sampling period to calculate the next position coordinate value.

만약 현재 계산된 좌표값이 도착점 X3의 좌표값과 일치한다면 도착점 X3의 좌표값을 2I과정에서 메모리(20)에 저장하고 좌표 위치계산을 종료한다.If the current calculated coordinate value coincides with the coordinate value of the arrival point X3, the coordinate value of the arrival point X3 is stored in the memory 20 in step 2I and the coordinate position calculation is completed.

따라서 상기 제2도에 의해 매 샘플링 주기마다 계산된 좌표축 회전에 의한 x,y좌표 위치를 도시적으로 표현하면 제3도 3C도와 같이 된다.Therefore, when the x, y coordinate position by the coordinate axis rotation calculated in every sampling period in FIG.

상술한 바와 같이 본 발명은 미소변위 Δθ에 대한 좌표축 회전에 의한 좌표 위치계산을 실행함으로써 원호보간에 있어서 좌표위치를 고속으로 계산할 수 있어 고속동작을 할 수 있다.As described above, the present invention can calculate the coordinate position at high speed in circular interpolation by performing the coordinate position calculation by the rotation of the coordinate axis with respect to the small displacement Δθ, thereby enabling high speed operation.

Claims (1)

원호보간을 행하는 시스템의 평면이동 직교 좌표위치 검출방법에 있어서, 주어지는 시작점 X1, 통과점 X2, 도착점 X3과 미소변위에 대한 현의 길이 Δℓ을 리이드하는 조건 리이드 과정과, 상기 시작점 X1, 통과점 X2, 도착점 X3 및 원의 중심좌표로부터 반지름 r를 연산하는 원호에 대한 반경계산 과정과, 상기 반경계산 과정의 반경 r과 조건리이드 과정의 현의 길이 Δℓ로서 이동각 Δθ를 계산하여 저장하는 이동각 계산과정과, 상기 조건 리이드과정의 시작점 X1, 통과점 X2, 도착점 X3의 직교좌표로서 정,역 회전방향을 판별하는 회전방향 판별과정과, 상기한 이동각 계산과정에서 계산된 이동각과 상기 리이드과정의 시작점 X1의 좌표값으로서 좌표축 회전에 의한 위치좌표를 계산하여 저장하는 위치 좌표계산 과정과, 현재 계산된 위치좌표가 도착점 X3의 좌표에 도달할때까지 상기 위치 좌표계산 과정을 수행하고 근사점에 도달시 도착점 X3의 좌표값을 저장하는 저장과정으로 이루어짐을 특징으로 하는 방법.In the planar moving Cartesian coordinate position detection method of the system which performs circular interpolation, the condition lead process which leads the given starting point X1, the passing point X2, the arrival point X3, and the string length (DELTA) with respect to a small displacement, and said starting point X1, the passing point X2 , A radius calculation process for a circular arc that calculates a radius r from the arrival point X3 and the center coordinates of the circle, and a travel angle calculation that calculates and stores the movement angle Δθ as the radius r of the radius calculation process and the string length Δℓ of the conditional lead process. And a rotation direction discrimination process for discriminating forward and reverse rotation directions as an orthogonal coordinate of a starting point X1, a passing point X2, and an arrival point X3 of the condition lead process, and the movement angle calculated in the moving angle calculation process and the lead process. The position coordinate calculation process of calculating and storing the position coordinate by the rotation of the coordinate axis as the coordinate value of the starting point X1, and the currently calculated position coordinate is the left of the arrival point X3. Performing a process of calculating the position coordinate until reaching a table and storing a coordinate value of the arrival point X3 when the approximate point is reached.
KR1019890017987A 1989-12-05 1989-12-05 Position detecting method of rectangular coordinate KR930000128B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890017987A KR930000128B1 (en) 1989-12-05 1989-12-05 Position detecting method of rectangular coordinate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890017987A KR930000128B1 (en) 1989-12-05 1989-12-05 Position detecting method of rectangular coordinate

Publications (2)

Publication Number Publication Date
KR910012665A KR910012665A (en) 1991-08-08
KR930000128B1 true KR930000128B1 (en) 1993-01-09

Family

ID=19292587

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890017987A KR930000128B1 (en) 1989-12-05 1989-12-05 Position detecting method of rectangular coordinate

Country Status (1)

Country Link
KR (1) KR930000128B1 (en)

Also Published As

Publication number Publication date
KR910012665A (en) 1991-08-08

Similar Documents

Publication Publication Date Title
US4617502A (en) Method and apparatus for controlling a robot hand along a predetermined path
JPS584377A (en) Controller for articulated industrial robot
US3720814A (en) Direct numerical control system
JPS6223322B2 (en)
JPS63291104A (en) Control of terminal effector for industrial robot
WO2020151406A1 (en) Motion control method, apparatus and system, and storage medium
JP2010238174A (en) Positioning device and positioning method
EP0062075A1 (en) Numerical control system
JPH074739B2 (en) Digitizing method
KR930000128B1 (en) Position detecting method of rectangular coordinate
Jie-chi et al. Two dimensional tracing and measurement using touch trigger probes
CN111496798A (en) Robot conveyor belt tracking method, equipment and storage device
JPS6145306A (en) Control system of multi-joint robot
JPS59229609A (en) Control device of industrial robot
JPS61199111A (en) Obstacle avoiding controller
JPH01147608A (en) Correction system for positioning error
JPS63245507A (en) Manipulator driving device
JPH04123205A (en) Initial position detector for target to be controlled
JP2802117B2 (en) Processing machine with teaching function
JP2687359B2 (en) How to limit the movement of industrial robots
JP3457693B2 (en) Robot trajectory control method
JPS60220408A (en) Joint type robot controller
KR940003133B1 (en) Trace distinction method of industrial robot
JPS5995614A (en) Digital servo device
JPS6277610A (en) Robot controller equipped with step-back function

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19970829

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee