INVOLUTE INTERPOLATION SYSTEM

Abstract: An involute interpolation system for effecting the machining by a numerical controller is disclosed. The involute un­ winding direction, the center position of a basic circle (C) and the radius (R) of the basic circle (C) are instructed to inter­ polate an involute that begins at a point (Ps) on a first involute (IC₁) and ends at a point (P c ) on a second involute (IC₂). A special involute curve that does not exist on the same involute curve can be machined.

Description: Technical Field The present invention relates to an involute interpolation method for machining operations in a numerical control apparatus, and more particularly to an involute interpolation method in which an involute curve depicted intermediately of two involute curves is subjected to interpolation. Background Art In a curve interpolation in association with a numerical control apparatus, interpolation of an involute curve has particularly been needed for machining gears, vanes of pumps and the like, and it has been a general practice to interpolate the involute curve with a computer or an NC program producing system which is distinctly provided from the numerical control apparatus to analyze a curve data into straight line data, whereupon numerical control machinings are performed with the use of a tape. The same applicant filed Japanese patent application No. 62-157303 in which it is proposed to readily interpolate an involute curve in a numerical control apparatus. In practical machinings, however, an involute curve is sometimes necessary such that it starts with one involute curve and ends with another involute curve in which two involute curves, not a single involute curve, are involved. Such type of involute curve cannot be interpolated according to the proposal stated above. An object of this invention is to provide an involute interpolation method in which such a combined involute curve can be interpolated. In order to resolve the above-noted problem, the invention provides a machining operation employing an involute interpolation method, which comprises the steps of: instructing a rotational direction of an involute curve, a centre position of a base circle, a radius (R) of said base circle and a tangential direction velocity (F) further instructing a curve start point of a first involute curve resulting from said base circle and a curve start point of a second curve resulting from said base circle; and wherein an interpolation is performed in order to obtain an involute curve having a start point on said first involute curve and an end point on said second involute curve, the interpolation comprising the steps of: computing a coordinate (X₀, Y₀) of the centre of the base circle, an angle (ϑ s ) of said start point, an angle of said end point (ϑ e ) and an angle of said involute curve start point (ϑ₀) based upon said instructions and the coordinates of said start points, the angles (ϑ s , ϑ e , ϑ₀) being subtended between an X-axis and lines joining the centre of the base circle to the specified start and end points; in accordance with equations representing an arbitrary point on an involute curve, X = R {cos ϑ + (ϑ - ϑ₀)sin ϑ} + X₀) Y = R {sin ϑ - (ϑ - ϑ₀)cos ϑ} + Y₀) obtaining points on said involute curve while incrementing ϑ in the range of ϑ s to ϑ e by a predetermined value, wherein ϑ₀ is set to ϑ₀ = ϑ₁ at said start point of the involute interpolation, ϑ₀ is set to ϑ₀ = ϑ₀ + (D/NR) during the interpolation of said involute curve, and ϑ₀ is set to ϑ₀ = ϑ₂ at said end point of said involute interpolation, and where D=(ϑ₁ - ϑ₂)R N={(ϑ e - ϑ₁)² - (ϑ s - ϑ₁)² }/2F A start angle of the involute curve is set at the start of the interpolation to a start angle of the first involute curve and at the end of the interpolation to a start angle of the second involute curve, wherein the interpolation is performed while proportionally dividing a distance between the first involute curve and the second involute curve. Brief Description of the Drawings Fig. 1 is a diagram showing an involute curve according to one embodiment of the present invention; and Fig. 2 is a block diagram showing a numerical control apparatus according to one embodiment of the present invention. Best Mode for Carrying Out the Invention One embodiment of the present invention will be described with reference to the accompanying drawings. Fig. 1 illustrates an example of an involute curve according to the embodiment of the invention. In the figure, there is depicted a base circle C for the involute curve which has a center represented by a coordinate O (X₀, Y₀) and a radius R. A first involute curve IC1 starts with a point P₁ (X₁, Y₁) and an angle ϑ1 is formed by a line connecting the points P₁ and O with respect to an X-axis. A second involute curve IC2 starts with a point P₂ (X₂, Y₂) and an angle ϑ₂ is formed by a line connecting the points P₂ and O with respect to the X-axis. An involute curve required as a result of interpolation is such that a point P s (X s , Y s ) on the first involute curve IC1 is a start point for interpolation and a point P e (X e , Y e ) on the second involute curve IC2 is an end point for interpolation, in which a moderate curve IC connectes between the start and end points as indicated by a dotted line. Now, a tangential line is drawn from the point P s (X s , Y s ) to the base circle C and the point of contact of this tangential line with the base circle is plotted as P sc to define an angle ϑ s that is formed between the X-axis and a line connecting the point P sc and the point O. Similarly, a tangential line is drawn from the point P e (X e , Y e to the base circle C and the point of contact of this tangential line with the base circle is plotted as P ec to define an angle ϑ e that is formed between the X-axis and a line connecting the point P ec and the center of the circle O. A tangential line is drawn from an interpolating point P (X, Y) to the base circle C and a point P c (X c , Y c ) is plotted on the point of contact. An angle formed between the line connecting the point P c and the center of the circle O and the X-axis is defined as ϑ. An instruction for the involute instruction is given by G17G03.2X--Y--I--J--R--F--;, in which G17 is an instruction for specifying an X-Y plane, G18 for a Z-X plane and G19 for a Y-Z plane. G03.2 is an instruction of interpolation for an involute curve rotating in a counterclockwise direction. Interpolation for an involute curve rotating in clockwise direction is given by G02.2. Whether the curve approaches the base circle or it leaves from the base circle is determined depending upon the coordinate values of the start and end points of the involute curve. X--Y-- represents coordinates of the end point of the involute curve, which in the figure, corresponds to P e (X e , Y e ). Instruction for this is given by an absolute value but it may be given by an incremental value. In the case of the latter, an instruction is given by the coordinate of the end point P e as viewed from the start point P s of the involute curve. I--J-- is a value of the center of the base circle C as viewed from the start point P s (X s , Y s ), which value is instructed with an incremental value. R-- is a radius of the base circle and F-- is a feeding speed. ";" is representative of an end-of-block. Next, values for defining the involute curve are obtained based upon those instructions. (1) Center Coordinate O of Base Circle The coordinate of the start point P s (X s , Y s )of the involute curve is not contained in the instructions. However, such has been stored interiorly of the numerical control apparatus as a current position. Based upon a distance (I, J) from the start point P s (X s , Y s ) to the center of the base circle of the involute curve as viewed from the start point, the center coordinate O (X o , Y o ) of the base circle is obtained from the following equations. X o = X s + I Y o = Y s + J (2) Angle ϑ s at Start Point of Involute Curve A tangential line is drawn to the base circle C from the point P s (X s , Y s ) and the point of contact of this tangential line with the base circle C is plotted as P sc , and an angle formed between a line connecting the point P sc and the center O of the circle and the X-axis is defined as ϑ s . (3) Angle ϑ e at End Point of Involute Curve A tangential line is drawn to the base circle C from the point P e (X e , Y e ) and the point of contact of this tangential line with the base circle C is plotted as P ec , and an angle formed between a line connecting the point P sc and the center O of the circle and the X-axis is defined as ϑ e . (4) Curve Start Point Angle ϑ1 of Involute Curve Assuming that the distance between the points P sc and P s is ℓ s , the length of the segment between the points P sc and P₁ is equal to the length of the straight line ℓ s according to the definition of the involute curve. Accordingly, representing the length of the straight line ℓ s with L, ϑ1 = ϑs - L/R (unit: radian) and the curve start point angle ϑ1 of the involute curve can be obtained from the above equation. (5) From the foregoing values, coordinate of an arbitrary point on the involute curve is given by the following equations. X = R {cos ϑ + (ϑ - ϑ o ) sin ϑ} + X o Y = R {sin ϑ - (ϑ - ϑ o ) cos ϑ} + Y o where ϑ is in the range from ϑ s to ϑ e . At the start point of the involute interpolation, ϑ o is set to ϑ o = ϑ₁, during the interpolation of the involute curve, ϑ o is set to ϑ o = ϑ o + (D/NR), and at the end point of the involute interpolation , ϑ o is set to ϑ o = ϑ₂. It is to be noted that N represents a number of interpolations performed in the range of ϑ s and ϑ e and is given by dividing a distance from the start point to the end point on the involute curve closer to the base circle by a tangential directional velocity F (instruction value). Specifically, N is given by: D = (ϑ₂ - ϑ₁)R N = R{(ϑ e -ϑ₁)² - (ϑ s - ϑ₁)²} / 2F where D represents a distance between the involute curves IC1 and IC2 or a segmental distance between the points P1 and P2. With respect to the method for obtaining ϑ o , as expressed in the following equation, ϑ o may be changed by the amount in proportion to the increment of ϑ. Such a method gives a more accurate curve in the case where the value of D is large. ϑ o = ϑ o + D(ϑ - ϑ s ) / {R(ϑ e - ϑ s )} Interpolation of the intended involute curve can be accomplished if line interpolation is performed while incrementing ϑ by a predetermined angle and sequentially obtaining points on the involute curve IC according to the above equation. Alternatively, the interpolation of the involute curve as intended can also be accomplished if segmental interpolation is performed with respect to three points obtained while incrementing ϑ by a predetermined angle. Although the above-described example is such that the involute curve rotates in counterclockwise direction and leaves from the base circle as it rotates, the above-noted equations are equally applicable to the three cases that the involute curve rotates in counterclockwise direction and approaches the base circle; the involute curve rotates in clockwise direction and approaches the base circle; and the involute curve rotates in clockwise direction and leaves from the base circle. Next, description will be made with respect to an arrangement of a numerical control apparatus used for embodying the interpolation of the involute curve. Fig. 2 is a block diagram showing a numerical control apparatus according to the embodiment of the present invention. A tape instruction 1 is given by a tape containing the aforementioned instruction, and a tape reader 2 reads the tape 1. A preprocessing means 3 discriminates an involute interpolation instruction from a G code. An involute interpolation data producing means 4 produces data needed for the involute interpolation from the instructions. A pulse distribution means is provided in which the data produced from the involute interpolation data producing means 4 is incremented by a predetermined angle in accordance with the above equations to obtain various points on the involute curve, the line or curve interpolation is performed, and the pulses are distributed. A servo control circuit 6 drives a servo motor in response to an instruction. The servo motor 7 moves a machine 8 through a ball screw, etc. As described, an involute curve is provided such that it starts with a point on a first involute curve and ends with a point on a second involute curve, in which the start point and the end point are connected with a moderate curve line. Therefore, interpolation can be performed with respect to the involute curve which has the start and end points on different involute curves.

Claims: A machining operation employing an involute interpolation method, which comprises the steps of: instructing a rotational direction of an involute curve, a centre position of a base circle, a radius (R) of said base circle and a tangential direction velocity (F) further instructing a curve start point of a first involute curve resulting from said base circle and a curve start point of a second curve resulting from said base circle; and wherein an interpolation is performed in order to obtain an involute curve having a start point on said first involute curve and an end point on said second involute curve, the interpolation comprising the steps of: computing a coordinate (X₀, Y₀) of the centre of the base circle, an angle (ϑ s ) of said start point, an angle of said end point (ϑ e ) and an angle of said involute curve start point (ϑ₀) based upon said instructions and the coordinates of said start points, the angles (ϑ s , ϑ e , ϑ₀) being subtended between an X-axis and lines joining the centre of the base circle to the specified start and end points; in accordance with equations representing an arbitrary point on an involute curve, X = R {cos ϑ + (ϑ - ϑ₀)sin ϑ} + X₀) Y = R {sin ϑ - (ϑ - ϑ₀)cos ϑ} + Y₀) obtaining points on said involute curve while incrementing ϑ in the range of ϑ s to ϑ e by a predetermined value, wherein ϑ₀ is set to ϑ₀ = ϑ₁ at said start point of the involute interpolation, ϑ₀ is set to ϑ₀ = ϑ₀ + (D/NR) during the interpolation of said involute curve, and ϑ₀ is set to ϑ₀ = ϑ₂ at said end point of said involute interpolation, and where D=(ϑ₁ - ϑ₂)R N={(ϑ e - ϑ₁)² - (ϑ s - ϑ₁)² }/2F

Inventors: FUJIBAYASHI KENTARO, KAWAMURA HIDEAKI, MURAKAMI KUNIHIKO, SANO MASAFUMI FANUC DAI- VIRA-, SASAKI TAKAO, FUJIBAYASHI, KENTARO, KAWAMURA, HIDEAKI, MURAKAMI, KUNIHIKO, SANO, MASAFUMI FANUC DAI-3 VIRA-KARAMATSU, SASAKI, TAKAO
Applicants: FANUC LTD, FANUC LTD.
Application year: 1988
Main classification: G05B19
IPC codes: G05B19, B23Q15