Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS4811235 A
Publication typeGrant
Application numberUS 07/000,336
Publication dateMar 7, 1989
Filing dateJan 5, 1987
Priority dateJan 14, 1986
Fee statusPaid
Also published asDE3700887A1, DE3700887C2
Publication number000336, 07000336, US 4811235 A, US 4811235A, US-A-4811235, US4811235 A, US4811235A
InventorsKenji Shirakata
Original AssigneeMitsubishi Denki Kabushiki Kaisha
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Coordinate interpolation in numerical control apparatus
US 4811235 A
Abstract
A rectangular coordinate system instruction is converted into a cylindrical coordinate system instruction which is supplied to a multi-axis machine tool each unit interpolation time, so that planar milling can be realized using a lathe.
Images(2)
Previous page
Next page
Claims(1)
What is claimed is:
1. A numerical control apparatus for a composite multi-axis machine tool (11) having a rotary axis (C) and a pair of linear axes (X, Z) orthogonal to each other and to said rotary axis, and including servo drive means (8, 9, 10) for displacing said machine tool along said linear axes and about said rotary axis, comprising: an interpolation circuit (3) responsive to displacement instructions in a rectangular coordinate system inputted from a machining program (1) for generating coordinate values (XN, YN, ZN) after a unit interpolation time, a coordinate transforming circuit (4) for converting said coordinate values into cylindrical coordinate values (RN, ZN, CN), and an axis displacement calculation circuit (5) responsive to respective differences between said cylindrical coordinate values and preceding cylindrical coordinate values (RN-1, ZN-1, CN-1) for calculating amounts of displacement (ΔR, ΔZ, ΔC) in each of said axes for the unit interpolation time such that machining is performed by said machine tool in accordance with a simultaneous three axis interpolation by transforming the displacement instructions of the rectangular coordinate system into displacement instructions of the cylindrical coordinate system, said axis displacement calculation circuit comprising means for supplying linear displacement control signals and non-constant variable rotational displacement control signals to said servo drive means, wherein said machine tool is a three-axis lathe having a rotary cutting tool, linear displacement control is implemented by said servo drive means along said pair of linear axes, and non-constant, variable rotational displacement control is implemented by said servo drive means about said rotary axis to mill a planar surface on a workpiece using said lathe.
Description
BACKGROUND OF THE INVENTION

The present invention relates to a numerical control apparatus and, particularly, to such apparatus for a composite machine tool having a rotary axia and a pair of linear axes perpendicular to each other and to the rotary axis, which is capable of simultaneously interpolating the three axes according to a displacement instruction in a rectangular coordinate system which is easily programmable.

In a machine tool such as lathe, a workpiece is machined into a body of revolution and, therefore, a machining operation is controlled in a cylindrical coordinate system according to instructions programmed in a cylindrical coordinate system. When the workpiece is to be machined into a configuration other than a body of revolution, a milling machine having control axes in a rectangular coordinate system is utilized usually.

When the workpiece is to be milled by a lathe with an aid of a numerical control apparatus, it is necessary to transform displacement instructions for the linear axes in the rectangular coordinate system into displacement instructions for a rotary axis and the linear axes in the cylindrical coordinate system, which requires very complicated programming. Since it is usual that such transformation has been performed manually, the number of samplings is limited, causing a machining accuracy to be degraded comparing with a machine tool having control axes in the rectangular coordinate system.

SUMMARY OF THE INVENTION

The present invention was made in view of the problems mentioned above and, therefore, an object of the present invention is to provide a numerical control apparatus for a machine tool, such as lathe having control axes in the cylindrical coordinate system, which is capable of interpolating all of the axes thereof simultaneously to enable a milling operation by automatically transforming an instruction in the rectangular coordinates system which is easy to program into an instruction in the cylindrical coordinate system.

A numerical control apparatus according to the present invention comprises an interpolation circuit responsive to a displacement instruction in a rectangular coordinate system supplied from a machining program for obtaining a coordinate values of a cutting tool after a unit interpolation time, a coordinate transforming circuit for transforming the coordinate values into coordinate values in a cylindrical coordinates system, and an axis displacement calculation circuit responsive to a difference between current cylindrical coordinate values and preceding cylindrical coordinate values for calculating amounts of displacement along the respective axes for the unit interpolation time, so that a workpiece can be milled by a lathe having a rotary axis and two linear axes whose displacement amounts are provided by a simultaneous interpolation.

That is, the numerical control apparatus according to the present invention realizes a milling machining by using a lathe by means of transformation of the displacement instructions in the rectangular coordinate system set in the control apparatus as programmed data in the rectangular coordinate system into displacement instructions in the cylindrical coordinate system, which is supplied to the machine tool.

BRIEF DESCRIPTION OF THE DRAWING

FIG. 1 shows an example of a setting of a workpiece in the rectangular coordinate system, perspectively;

FIG. 2 illustrates a machining scheme for the workpiece in FIG. 1; and

FIG. 3 is a block diagram showing a control apparatus according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

In FIG. 1, a workpiece W is to be machined by a cutting tool (not shown) of a three-axis lathe (not shown) having a rotary axis C and orthogonal axes X and Z orthogonal to the rotary axis C. The cutting tool may be an end mill.

A letter O depicts a center point of a cylindrical coordinate system of a program of the lathe with various points being given by coordinates values (R, Z, C). A cutting tool is firstly moved according to an instruction of an initial setting program GOX(RS)Z(ZS) to a start point S represented by cylindrical coordinate value PS =(Rs, Zs, Cs) by a usual interpolation.

In order to obtain a flat surface of the workpiece W shown by hatching, it is performed by using the axes X and CO. In order to move the cutting tool along a straight line SE in FIG. 2, by instructing the axes X and C, it is necessary to instruct them movement blocks ΔF, respectively.

Accoring to the present invention, a linear axis Y orthogonal to the linear axes X and Z is assumed and is instructed. The present numerical control apparatus performs interpolations with the axes X and C by merely instructing end point coordinates E(XE, YE) to control the machine tool such that the cutting tool thereof moves along the straight line SE.

An internal coordinates data of the present numerical control apparatus includes not only the cylindrical coordinate data but also rectangular coordinate data PS '(XS, YS, ZS) where XS =RS and YS =O, since the centers of both coordinate systems coincide with each other.

Then, when a first displacement instruction GOX(XE)Y(YE) of the rectangular coordinate system is inputted, an interplation represented by equation (1) below is performed in the numerical control apparatus on the basis of amount (ΔF) of displacement per unit interpolation time ΔT, to obtain the coordinates PN =(XN, YN, ZN) in the rectangular coordinate system. ##EQU1##

Assuming L as the displacement amount indicated by the instruction GOX(XE)Y(YE).

cos α=(XE -XS)/L and sin α=(YE -YS)/L

Then, the coordinate value thus obtained is converted into a coordinate value of the point PN =(RN, ZN, CN) in the cylindrical coordinate system according to the following equations. ##EQU2##

That is, when the cutting tool moves along the X and Z axes by ΔR and ΔZ, respectively, and the workpiece W rotates by ΔC=CN -CN-1, the tool moves along the straight line SE to thereby realize a kind of milling.

FIG. 3 is a block diagram of the numerical control apparatus of the present invention, which comprises a control circuit 2 supplied with a machining program 1. The control circuit 2 comprises an interpolation circuit 3, a coordinate conversion circuit 4 and an axis movement calculation circuit 5. The control apparatus further comprises an axis movement output circuit 6, a pulse delivering circuit 7, a servo unit 8, a motor 9 and a detector 10 associated with the motor which is coupled to the machine tool 11.

In operation, when an instruction G11 of rectangular coordinate system is supplied, movement instructions, X, Y and Z are supplied from the machining porgram to the interpolation circuit 3 in which the interpolation is performed according to the equation (1) to provide coordinate values XN, YN and ZN after a unit intepolation time.

Then these coordinate values are converted in the coordinate conversion circuit 4 into cylindrical coordinate values RN, ZN and CN by using the equation (2). The axis movement calculation circuit 5 differentiates these values from preceding values RN-1, ZN-1, and CN-1 to obtain differences ΔR, ΔZ and ΔC which are amounts of movements of the tool in the respective axises for unit interpolation time ΔT and expressed as follows.

ΔR=RN -RN-1 

ΔZ=ZN -ZN-1 

ΔC=CN -CN-1 

These values are supplied to the axis movement output circuit 6 having an output terminal connected to the pulse delivering circuit 7. An output pulse of the pulse delivering circuit 7 is used to actuate the servo unit 8 to thereby drive the motor 9. The detector 10 detects an amount of rotation of the motor which is fedback to the servo unit 8 to regulate the rotation of the motor 10. Thus, the workpiece W is machined with the simultaneous three axis interpolations as if it is interpolated by control axis of the rectangular coordinate system.

Although, in the described emobdiment, G11 is used as the rectangular coordinate system instruction, other G codes which are not used may be used.

As mentioned hereinbefore, according to the present invention, the rectangular coordinate system instruction is converted into the cylindrical coordinate system instruction which is supplied to the machine tool. The transformation is performed every minute interpolation unit time within the apparatus. Therefore, the milling machining can be realized by merely inserting the rectangular coordinate system instruction which is usually easily programmed as the machining program.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US4381608 *Aug 5, 1981May 3, 1983Siemens AktiengesellschaftMethod for interpolating between cartesian and rotary coordinates in machines
US4506335 *Jun 10, 1982Mar 19, 1985Cincinnati Milacron Inc.Manipulator with controlled path motion
US4514814 *Sep 7, 1982Apr 30, 1985General Electric CompanyFor operating a computer numerical control system for industrial machines
US4521721 *Jul 16, 1982Jun 4, 1985Fanuc Ltd.Numerical control method
US4541060 *Jul 26, 1983Sep 10, 1985Hitachi, Ltd.Path control method and apparatus
US4564914 *Jul 28, 1983Jan 14, 1986The Boeing CompanyMethod for machining three dimensional contours utilizing a numerically controlled lathe
US4581698 *Jul 16, 1984Apr 8, 1986General Electric CompanyMethod and system for generating interpolation pulses
US4597040 *Aug 29, 1983Jun 24, 1986U.S. Philips CorporationMethod of retracting and returning a tool from and to a workpiece during the machining of this workpiece by a numerically controlled machining device, and numerically controlled machining device for performing the method
US4616326 *Oct 28, 1983Oct 7, 1986Siemens AktiengesellschaftSelf optimizing robot controller
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US5282144 *May 26, 1991Jan 25, 1994Fanuc Ltd.Cylindrical interpolation system
US5463297 *Dec 6, 1994Oct 31, 1995Fanuc, Ltd.Circular tracking method for robot
US5471395 *Jun 4, 1992Nov 28, 1995Anca Pty. Ltd.Control of CNC machine tools
US5604677 *Jun 7, 1995Feb 18, 1997Anca Pty. Ltd.Control of CNC machine tools
US8260453 *Dec 1, 2008Sep 4, 2012Fanuc LtdNumerical controller for controlling five-axis machining apparatus
WO1992022024A1 *Jun 4, 1992Dec 10, 1992Anca Pty LtdImproved control of cnc machine tools
Classifications
U.S. Classification700/188
International ClassificationG05B19/414, G05B19/4093, G05B19/18
Cooperative ClassificationG05B19/414
European ClassificationG05B19/414
Legal Events
DateCodeEventDescription
Aug 28, 2000FPAYFee payment
Year of fee payment: 12
Aug 27, 1996FPAYFee payment
Year of fee payment: 8
Aug 26, 1992FPAYFee payment
Year of fee payment: 4
Jan 4, 1989ASAssignment
Owner name: MITSUBISHI DENKI KABUSHIKI KAISHA, 2-3 MARUNOUCHI
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:SHIRAKATA, KENJI;REEL/FRAME:004991/0819
Effective date: 19861227