Corner cutting method and NC controller

申请号 US10004882 申请日 2001-12-07 公开(公告)号 US20020071732A1 公开(公告)日 2002-06-13
申请人 TOSHIBA KIKAI KABUSHIKI KAISHA; 发明人 Takahiro Funaki; Tomoo Hayashi;
摘要 An NC controller determines a subsequent point sequence position in each sampling by interpolation calculation with a section between a corner cutting starting point and a corner cutting end point as a machined section. The NC controller then internally calculates a spindle rotating angle in a coordinate position where an outer end of a cutting edge is positioned at the subsequent point sequence position. Based on the spindle rotating angle and the substantial diameter of the rotary tool, the NC controller internally calculates coordinate values of the spindle at the subsequent point sequence position. Based on the coordinate values of the spindle, the rotary tool and a workpiece are relatively shifted on a plane parallel to the bottom surface of the tool while the spindle rotation is controlled in synchronization with the shifting, thereby cutting the corner.
权利要求

What is claimed is:1. A corner cutting method in which a rotary tool having a cutting edge at least on a bottom surface thereof and on an outer periphery thereof is used, the rotary tool and a workpiece are relatively shifted on a plane parallel to the bottom surface of the tool so that an outer end of the cutting edge of the rotary tool rotated by a spindle creates a shifting path meeting a desirable shape of a corner to be machined, and the rotary tool is shifted while cutting in an axis direction of the rotary tool, the method comprising the steps of: inputting information on coordinate values and a direction and an angle of a corner to be machined and information on the rotary tool, to an NC controller; internally calculating coordinate values at a corner cutting starting point where the outer end of the cutting edge is positioned, and a spindle rotating angle in this position, and coordinate values of a corner cutting end point, based on the input information; internally calculating a spindle rotating angle at a coordinate position where the outer end of the cutting edge is positioned at a subsequent point sequence position in each sampling, the subsequent point sequence position being obtained by an interpolation calculation, letting a section between the corner cutting starting point and the corner cutting end point be a section to be machined; internally calculating coordinate values of the spindle at the subsequent point sequence position based on the spindle rotating angle and a substantial diameter of the rotary tool; and relatively shifting the rotary tool and the workpiece based on the coordinate values of the spindle on a plane parallel to the bottom surface of the tool while controlling the spindle rotation in synchronization with the shifting. 2. A corner cutting method according to claim 1, wherein the interpolation comprises one of a linear interpolation, a circular interpolation, a free-form curve interpolation, and an arbitrary combination thereof. 3. An NC controller for implementing the corner cutting method according to claim 1 or 2, comprising: an analyzer for analyzing a machining program comprising commands for implementing the corner cutting method, the commands being set as one code of G function.

说明书全文

BACKGROUND OF THE INVENTION

&null;0001&null; 1. Field of the Invention

&null;0002&null; This invention relates to a method of cutting a corner as a recess or angle, and an NC (numerically controlling) controller therefor.

&null;0003&null; 2. Description of the Related Art

&null;0004&null; For processing corners of a pocket such as a die cavity, conventionally employed is a cutting process by a rotary tool such as a cylindrical end mill, or an electrical discharge process by a bar electrode or wire electrode.

&null;0005&null; Now focused is a cutting process by an end mill that is inapplicable to a corner R processing of a pocket having a corner recessed with a smaller radius of curvature than the tool radius. Given a minimum radius of curvature of a recessed corner, the end mill to be employed for processing the corner needs a tool radius smaller than, and hence not exceeding at maximum, the given minimum radius. Still less, if the pocket is deep, the tool needs to have a long stem small in diameter, with an insufficient rigidity for the cutting to be proper. Yet, the end mill is inapplicable to processing an angled corner with a sharp angle, such as 90&null;, called &null;pin angle&null;.

&null;0006&null; Accordingly, for such a processing as to a pin angle or a pocket with deep recessed corners small of radius of curvature, the electrical discharge process is typically employed, which however is less efficient and dearer in cost than the cutting process, thus leading to a desideratum for a process to be complete with a single machine tool, without needing the electrical discharge as a different process, for a successful reduction of process lead time.

SUMMARY OF THE INVENTION

&null;0007&null; This invention was made as a solution to such problems. It therefore is an object of the invention to provide a corner cutting method and an NC controller therefor, allowing for the cutting to be efficient in application to a corner processing such as of a pocket with deep recessed corners small of radius of curvature (minute R), or of an angled corner with a sharp angle, such as 90&null;, called &null;pin angle&null;.

&null;0008&null; According to an aspect of this invention, there is provided a corner cutting method in which a rotary tool having a cutting edge at least on a bottom surface thereof and on an outer periphery thereof is used, the rotary tool and a workpiece are relatively shifted on a plane parallel to the bottom surface of the tool so that an outer end of the cutting edge of the rotary tool rotated by a spindle creates a shifting path meeting a desirable shape of a corner to be machined, and the rotary tool is shifted while cutting in an axis direction of the rotary tool, the method comprising the steps of: inputting information on coordinate values and a direction and an angle of a corner to be machined and information on the rotary tool, to an NC controller; internally calculating coordinate values at a corner cutting starting point where the outer end of the cutting edge is positioned, and a spindle rotating angle in this position, and coordinate values of a corner cutting end point, based on the input information; internally calculating a spindle rotating angle at a coordinate position where the outer end of the cutting edge is positioned at a subsequent point sequence position in each sampling, the subsequent point sequence position being obtained by an interpolation calculation, letting a section between the corner cutting starting point and the corner cutting end point be a section to be machined; internally calculating coordinate values of the spindle at the subsequent point sequence position based on the spindle rotating angle and a substantial diameter of the rotary tool; and relatively shifting the rotary tool and the workpiece based on the coordinate values of the spindle on a plane parallel to the bottom surface of the tool while controlling the spindle rotation in synchronization with the shifting.

&null;0009&null; The above method thus allows effective machining of a deep pocket with corners of a small radius of curvature or a corner of 90 degrees or less while maintaining sufficient rigidity of the tool.

&null;0010&null; According to another aspect of this invention, the interpolation comprises one of a linear interpolation, a circular interpolation, a free-form curve interpolation, and an arbitrary combination thereof.

&null;0011&null; Thus the interpolation may be any existing interpolation.

&null;0012&null; According to yet another aspect of this invention, there is provided an NC controller for implementing a corner cutting method according to either of the above aspects, comprising: an analyzer for analyzing a machining program comprising commands for implementing the corner cutting method, the commands being set as one code of G function.

&null;0013&null; Thus the method does not depend on a macro program with a divided point-shifting block sequence made as another program, allowing efficient machining in a smooth cutting-edge path at a high cutting speed.

BRIEF DESCRIPTION OF THE DRAWINGS

&null;0014&null; The above and further objects and novel features of this invention will more fully appear from the following detailed description when the same is read in conjunction with the accompanying drawings, in which:

&null;0015&null; FIG. 1 is a perspective illustration of a machine tool for implementing a corner cutting method embodying this invention;

&null;0016&null; FIG. 2 is a perspective view of a rotary tool to be used in the embodying method, as it is in an inverted position with a bottom oriented upward,

&null;0017&null; FIG. 3 is a bottom view of the rotary tool;

&null;0018&null; FIG. 4 is a plan as an illustration of a corner cutting in the embodying method;

&null;0019&null; FIGS. 5A to 5C are plans illustrating a process of cutting a 90-degree corner in the embodying method;

&null;0020&null; FIG. 6 is a graph plotting a tool moving path in the cutting of 90-degree corner;

&null;0021&null; FIG. 7 is an illustration showing a direction and an angle of a corner;

&null;0022&null; FIGS. 8A to 8C illustrate various rotary tools applicable to the embodying method;

&null;0023&null; FIG. 9 is an illustration of a corner cutting method according to corner cutting code G180 (G181);

&null;0024&null; FIG. 10 is a functional block diagram of an NC controller according to an embodiment of this invention;

&null;0025&null; FIG. 11 is a flow chart of a corner cutting process by the NC controller;

&null;0026&null; FIG. 12 is an illustration of a corner cutting method according to another embodiment of this invention;

&null;0027&null; FIG. 13 illustrates another rotary tool applicable to this invention; and

&null;0028&null; FIG. 14 illustrates another rotary tool applicable this invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

&null;0029&null; There will be detailed below the preferred embodiments of this invention with reference to the accompanying drawings. Like members are designated by like reference characters.

&null;0030&null; FIG. 1 shows a machine tool for use in a corner cutting method according to this invention. The machine tool has an X-axis table 1 movable in the X-axis direction, a Y-axis table 2 movable in the Y-axis direction mounted on the X-axis table, a headstock 3 movable in the Z-axis direction and a spindle 4 attached to the headstock 3. A workpiece W is set on the Y-axis table.

&null;0031&null; The X-axis table 1 is shifted in the X-axis direction by an X-axis feed mechanism 6 driven by an X-axis servomotor 5. The Y-axis table 2 is shifted in the Y-axis direction by a Y-axis feed mechanism 8 driven by a Y-axis servomotor 7. The headstock 3 is shifted in the Z-axis direction by a Z-axis feed mechanism 10 driven by a Z-axis servomotor 9. Rotary encoders 11, 12 and 13 for position detection are mounted to the X-, Y- and Z-axis servomotors 5, 7 and 9, respectively.

&null;0032&null; The spindle 4 is driven by a spindle motor 14. A rotary encoder 15 mounted to the spindle motor 14 detects an angle of rotation (C-axis angle) of the spindle 4. A rotary tool 50 is attached to the spindle 4.

&null;0033&null; The machine tool may be of a numerical control type. An NC controller 20 is input position information and C-axis angle information from the rotary encoders 11, 12, 13 and 15 of the respective axes, and controls the rotational driving of the spindle 4 by the spindle motor 14 and the driving of the servomotors 5, 7 and 9 of the respective axes.

&null;0034&null; FIGS. 2 and 3 show a rotary tool to be used in the embodiment according to the this invention. In FIG. 2, the rotary tool is seen in an inverted position with a bottom oriented upward, and FIG. 3 is a bottom view of the rotary tool.

&null;0035&null; The rotary tool used in the embodying method has a polygonal bottom surface such as a triangular, quadrangular or pentagonal surface, having at least one cutting edge at the bottom and one on the outer periphery. A rotary tool 50 as shown in FIGS. 2 and 3 has a regular triangular bottom surface 51. Each side of the triangular bottom 51 has a cutting edge 52, 53 or 54 extending half the length of the side to the vertex &null;a&null;, &null;b&null; or &null;c&null; (outer ends of the cutting edge) of the triangle. Clearance angles (flanks 55, 56 and 57) are provided rearward of the cutting edges. The cutting edges 52, 53 and 54 also extend the length of the peripheral ridges extending from the vertices &null;a&null;, &null;b&null; and &null;c&null; in the axis direction.

&null;0036&null; The rotary tool 50 also has a trunk 58 in a cylindrical shape extending along the axis line passing the internal center of the regular triangular bottom surface 51. The trunk 58 is held by a chuck (not shown) of the spindle 4 and is driven to rotate in the counterclockwise direction around the axis line in FIGS. 2 and 3.

&null;0037&null; FIG. 4 shows the rotary tool 50 used for cutting off remaining parts (hatched) of corners (internal angles) of a workpiece W while being shifted along the corner sides. The rotary tool 50 is also rotated by the spindle 4 in correspondence with the shifting.

&null;0038&null; In this corner cutting method, the NC controller 20 is given vertex coordinate values (Xo, Yo) as shown in FIGS. 5A to 5C and information on a direction and an angle of a corner to be machined, and information on the rotary tool 50. Based on the information, the NC controller 20 internally calculates coordinate values of corner cutting starting points S1, S2, i.e., (Xs1, Ys1), (Xs2, Ys2), at which any of the vertices (outer ends) &null;a&null;, &null;b&null; and &null;c&null; of the cutting edges 52, 53 and 54 is positioned at Pc, spindle rotating angles in the coordinates, and coordinate values of corner cutting end points E1, E2, i.e., (Xe1, Ye1), (Xe2, Ye2). Then, a subsequent point sequence position in each sampling is determined by linear interpolation calculation with each of the interval between the starting point S1 and the end point E1 and the interval between the starting point S2 and the end point E2 as a machined section. The NC controller 20 internally calculates a spindle rotating angle at a coordinate position where any of the vertices (outer ends) of the cutting edges 52, 53 and 54 is positioned at the determined subsequent position Ps. From this spindle rotating angle and the substantial diameter of the rotary tool 50, the NC controller 20 internally calculates coordinate values of the spindle 4 at the determined subsequent position. Based on the coordinate values of the spindle 4, the X-axis table 1 and the Y-axis table 2 are shifted in the respective axis directions so as to relatively shift the rotary tool 50 and the workpiece W on a plane parallel to the bottom surface of the tool. In synchronization with the shifting, the rotation of the spindle 4 is controlled to machine the corner.

&null;0039&null; The interpolation is not limited to the linear interpolation, and may be circular interpolation, free-form curve interpolation, or any combination thereof. Circular interpolation is used to machine round corners.

&null;0040&null; The above-described corner cutting method allows cutting a round corner of a small radius of curvature with a tool of a radius greater than that of the round corner. Further the method enables cutting of a right angle, which is larger than the internal angle of the polygonal bottom surface 51. The rotary tool 50 with the regular triangle bottom surface has an internal angle of 60 degrees, so that the tool can cut a right angle as shown in FIG. 6. FIG. 6 shows a moving path of the tool when machining a right angle. In the figure, reference sign Cc denotes the shape of the corner before machining. The area surrounded by the imaginary line Cc, the X-coordinate axis line and the Y-coordinate axis line is to be removed by the machining. Designated by reference character Dr is the direction of tool rotation.

&null;0041&null; In this example, the rotary tool 50 rotates 120 degrees is a cycle. Upon one cycle, the subsequent edge is positioned at a starting point S1. Thus repetition of the above machining cycle enables continuous corner cutting. Shifting the rotary tool 50 cutting in the depth direction in a cycle or upon completion of cycles allows the machining of a deep corner.

&null;0042&null; The NC controller 20 analyzes a machining program consisting of commands for implementing the corner cutting method, set as a code of G function, G180 (CW direction), G181 (CCW direction), for example, thereby implementing the method. An exemplary format of G180 (G181) is as follows:

G180 (G181) Xo_Yo_A_B_Zo_Z_Q_P_K_(:r)F_, in which:

&null;0043&null; Xo, Yo are corner vertex coordinate values (ABS/INS);

&null;0044&null; A is a corner direction (&null;an angle between an X-axis direction and a corner position) (See FIG. 7);

&null;0045&null; B is a corner angle (See FIG. 7);

&null;0046&null; Zo is a clearance point in a Z-axis direction (ABS/INS);

&null;0047&null; Z is a depth end point in the Z-axis direction (ABS/INS);

&null;0048&null; Q is a cutting amount in a depth direction;

&null;0049&null; P is a shape of a cutting tool (2: two-vertices tool; 3: triangle tool; 4: quadrangle tool) (See FIGS. 8A to 8C);

&null;0050&null; K is the length of one side of the cutting tool (See FIGS. 8A to 8C);

&null;0051&null; :r is a round of a corner (no round when not specified); and

&null;0052&null; F is an edge cutting speed (when specified, subsequent F is the specified one).

&null;0053&null; Now, with reference to FIG. 9, the corner cutting based on the corner cutting code G180 (G181) will be described.

&null;0054&null; The substantial radius R of the cutting tool 50 is expressed as R&null;K/(2 cos &null;) derived from K&null;2R cos &null;. &null; depends on P specified, and is 0 degree in a two-vertices tool, 30 degrees in a triangular tool, and 45 degrees in a quadrangular tool.

&null;0055&null; Here, corner angle B is not less than 90 degrees, and the cutting edge is shifted from S1 through (Xo, Yo) to E2.

&null;&null;(180&null;B)/2

C&null;A&null;180&null;(B/2)

L1 cos &null;&null;K/2

Hence, L1&null;K/(2 cos &null;)

L2 cos &null;&null;K/2

Hence, L2&null;K/(2 cos &null;)

&null;0056&null; The starting point is indicated as (Xs1, Ys1), the corner vertex coordinates (Xo, Yo), and the end point (Xe2, Ye2).

Xs1&null;Xo&null;L1 cos C

&null;Xo&null;K cos C/2(cos &null;)

Ys1&null;Yo&null;L1 sin C

&null;Yo&null;K sin C/(2 cos &null;)

Xe2&null;Xo&null;L2 cos(B&null;C)

&null;Xo&null;K cos(B&null;C)/2(cos &null;)

Ys1&null;Yo&null;L2 sin(B&null;C)

&null;Yo&null;K sin(B&null;C)/(2 cos &null;)

&null;0057&null; The spindle angle at (Xo, Yo) is expressed as &null;o. The spindle angle at the starting point (Xs1, Ys1) is expressed by &null;o&null;&null;e. &null;e is (90&null;&null;), and is 90 degrees in the two-vertices tool, 60 degrees in the triangular tool, and 45 degrees in the quadrangular tool.

&null;0058&null; The spindle angle &null; new when the cutting edge is shifted by Llead on a path from the starting point is expressed with the remaining shifting amount Ldist to the end point.

Ldist&null;L1(or L2)&null;Llead

&null;new&null;A&null;(Ldist/L1(or L2))G

&null;0059&null; Initially, Ldist&null;L1(or L2). G is the spindle rotating angle from the starting point to the corner vertex.

&null;0060&null; The spindle rotating angle &null;&null; in each sampling is expressed as:

&null;&null;&null;&null;new&null;&null;old

&null;0061&null; &null; old is a spindle rotating angle one sampling before.

&null;0062&null; Coordinates (Xt, Yt) of a tool edge shifting on the path is expressed as follows:

&null;0063&null; I. From the starting point S1 to the corner vertex position (Xo, Yo)

Xt&null;Xo&null;Ldist&null;cos C

Yt&null;Yo&null;Ldist&null;sin C

&null;0064&null; II. From (Xo, Yo) to the end point E2

Xt&null;Xo&null;Ldist&null;cos(B&null;C)

Yt&null;Yo&null;Ldist&null;sin(B&null;C)

&null;0065&null; The spindle center coordinates (Xsp, Ysp) is expressed as follows:

Xsp&null;Xt&null;R cos &null;new

Ysp&null;Yt&null;R sin &null;new

&null;0066&null; Spindle position distributing amounts &null;Xsp, &null;Ysp during one sampling are expressed as follows:

&null;Xsp&null;R cos &null;new&null;R cos &null;old

&null;Ysp&null;R sin &null;new&null;R sin &null;old

&null;0067&null; The spindle rotating angle &null;&null; and the spindle position distributing amounts &null;Xsp, &null;Ysp are specified every sampling to the servomotors 5, 7 and the spindle motor 14 for corner cutting.

&null;0068&null; The machining may be implemented by a macro program with a divided point-shifting block sequence made as another program. However, the machining based on the corner cutting code G180 (G181) does not depend on the number of blocks divided, allowing more effective cutting in a smoother cutting edge path at a higher speed as compared with the machining by such a macro program.

&null;0069&null; FIG. 10 shows the architecture of the NC controller 20. The NC controller 20 is input a machining program by a machining program specifying section 31 of an input device 30, and stores the machining program in a machining program memory 21. The NC controller 20 includes a machining program executing section 22, XYZ position calculating section 23, and spindle position calculating section 24 implemented by a computer.

&null;0070&null; The executing section 22 reads the machining program from the memory 21, and analyzes the program to execute. The XYZ position calculating section 23 calculates control target values of the X, Y and Z axes based on the data from the executing section 22. The spindle position calculating section 24 calculates a control target value of the spindle position (spindle rotating angle) based on data from the executing section 22 and data from the XYZ position calculating section 23. These control target values are outputted to an output controller 25. The output controller 25 controls the driving of the servomotors 5, 7 and 9 and the spindle motor 14 based on the control target values.

&null;0071&null; Now, the process of corner cutting with the NC controller 20 will be described with reference to a flow chart shown in FIGS. 11.

&null;0072&null; The first step is to read the machining program from the machining program specifying section 31 to store it in the machining program memory 21 (step S11). Then in the machining program executing section 22, the program is analyzed and executed, and control commands required for desired machining are outputted to the XYZ position calculating section 23 (step S12).

&null;0073&null; Next, based on the control commands from the executing section 22, the spindle 4 is rotated to a machining starting angle (initial angle) (step S13), and the rotary tool 50 is positioned at the starting position (initial position) (step S14). Then, based on the control commands from the executing section 22, the rotary tool 50 is positioned at Zo point (clearance point in the Z-axis direction) (step S15).

&null;0074&null; Next, based on the control commands from the executing section 22, machining is performed, synchronizing the shifting of the workpiece W in the X-, Y-axis directions and the rotation of the spindle 4 (step S16). It is determined whether the Z-axis direction reaches the final cutting position (hole bottom position) (step S17). When the decision is NO, the cutting in the Z-axis direction is carried out (step S18). When YES, the rotary tool 50 is returned to the initial position (step S19).

&null;0075&null; Instead of shifting the workpiece W in the X- and Y-axis directions, the rotary tool 50, that is, the headstock 3 may be shifted in the X- and Y-axis directions.

&null;0076&null; The above-described machining with the triangular tool is limited to the corner from the starting point S1 to the end point E2. In some cases, however, a wider area extending before the starting point S1 and after the end point E2 is to be machined as shown in FIG. 12. In these cases, the rotary tool 50 is shifted while cutting without rotation of the spindle 4 in a section from P1 to P2. In a section from P2 to P3, the above-described corner cutting is performed with the shifting of the rotary tool 50 and the rotation of the spindle 4, synchronized to one another. In a section from P3 to P4, the rotary tool 50 is shifted while cutting without rotation of the spindle 4. Thus the wider area extending before the starting point S1 and after the end point E2 can be continuously machined.

&null;0077&null; Cutting edge angles with respect to the workpiece in the sections from P1 to P2 and from P3 to P4 may be arbitrarily set in accordance with the shape of the tool cutting edge, the material of the workpiece, and the like. The sections from P1 to P2 and from P3 to P4 are not limited to linear ones. Any path may be specified as desired.

&null;0078&null; When the front shape of the rotary tool 50 is tapered as shown in FIG. 13, an inclined corner surface can be machined. When the front end of the rotary tool 50 is shaped as desired as shown in FIG. 14, various shapes of machined surfaces are obtained.

&null;0079&null; While preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the following claims.

QQ群二维码
意见反馈