This application is a new U.S. Patent Application that claims benefit of Japanese Patent Application No. 2017-012430, filed Jan. 26, 2017, the disclosure of this application is being incorporated herein by reference in its entirety for all purposes.
1. Field of the Invention
The present invention relates to a numerical controller, and particularly relates to a numerical controller that performs wire electrode compensation in consideration of a machined surface length.
2. Description of the Related Art
Wire electric discharge machining (wire-EDM) generates discharge by applying a voltage between a workpiece and a wire electrode, and machines the workpiece into an arbitrary shape using this discharge phenomenon. As illustrated in
In the wire-EDM, the wire electrode is consumed by discharge with the workpiece as machining of the workpiece advances. For example, in a case illustrated in
Meanwhile, since a center of the wire electrode 2 and an offset quantity (a value obtained by adding a gap amount between the wire electrode 2 and the workplace 4 to a radius of the wire electrode) of a shape to be machined from a program path are fixed, the gap amount increases toward a lower side of the workpiece 4 as the wire electrode 2 becomes thinner, so that the machining becomes insufficient. Further, a machining groove width and a machining amount become small.
For example, as illustrated in
In a conventional technology, to prevent an uncut portion from being generated on a workpiece product side caused by consumption of the wire electrode 2, as illustrated in
However, the above-described technology disclosed in Japanese Patent Application Laid-Open No. 2004-142027 does not adapts to a situation in which the wire electrode consumption amount d changes during the wire-EDM. For example, as illustrated in
In addition, considering performing taper machining illustrated in
In view of the above, an object of the invention is to provide a numerical controller that performs wire electrode compensation in consideration of a machined surface length.
In this invention, as shown in
The numerical controller according to the invention controls a wire electric discharge machine based on a machining program to move a wire electrode with respect to a workpiece, thereby machining the workpiece using the wire electrode. The numerical controller includes a machining path creation unit that creates a machining path to move the wire electrode by analyzing blocks of the machining program, an interpolation unit that creates interpolation data indicating an amount of movement for each interpolation period on the machining path based on the machining path created by the machining path creation unit, a machined surface length calculation unit that calculates a machined surface length corresponding to a length of the wire electrode to be used for the machining for each interpolation period, an electrode consumption amount calculation unit that calculates a consumption amount of the wire electrode for each interpolation period based on the machined surface length for each interpolation period, and a compensation amount calculation unit that calculates a compensation amount for compensating the amount of movement according to the interpolation data based on the consumption amount of the wire electrode for each interpolation period calculated by the electrode consumption amount calculation unit. Further, the numerical controller moves the wire electrode on the basis of the amount of movement, based on the interpolation data that is compensated by the compensation amount calculated by the compensation amount calculation unit.
The wire electric discharge machine may include an upper guide and a lower guide supporting the wire electrode, and the compensation amount calculated by the compensation amount calculation unit may correspond to compensation amounts of amounts of movement of the upper guide and the lower guide for each interpolation period.
According to the invention, it is possible to implement highly accurate machining without an uncut portion even in machining in which a machined surface length change from moment to moment.
A central processing unit (CPU) 11 included in a numerical controller 1 is a processor that controls the numerical controller 1 as a whole. The CPU 11 reads a system program stored in a read only memory (ROM) 12 via a bus 20, and controls the entire numerical controller 1 according to the system program. A random access memory (RAM) 13 stores temporary calculation data or display data, various data input by an operator via a display/manual data input (MDI) unit 70 described below, etc.
A nonvolatile memory 14 is configured as a memory maintained in a storage state even when a power supply of the numerical controller 1 is turned OFF, for example, by being backed up by a battery (not illustrated). The nonvolatile memory 14 stores a machining program read via an interface 15 or a machining program input via the display/MDI unit 70 described below. The nonvolatile memory 14 further stores a machining program operation machining program, etc. used to execute the machining program, and these programs are developed in the RAM 13 at the time of execution. In addition, various system programs (including a system program of wire electrode compensation) necessary to control a wire electric discharge machine are written to the ROM 12 in advance.
The interface 15 is an interface for connecting the numerical controller 1 to an external device 72 such as an adapter. A machining program, various parameters, etc. are read from the external device 72 side. In addition, a machining program edited in the numerical controller 1 can be stored in external storage means via the external device 72. A programmable machine controller (PMC) 16 outputs a signal to a peripheral device of the machining machine (for example, an actuator such as a robot hand for tool exchange) via an input/output (I/O) unit. 17 to control the peripheral device using a sequence program built in the numerical controller 1. In addition, the PMC 16 receives signals from various switches, etc. of an operator's panel provided in a main body of the machining machine, performs necessary signal processing, and then passes the signals to the CPU 11.
The display/MDI unit 70 is a manual data input device including a display, a keyboard, etc. An interface 18 receives a command and data from the keyboard of the display/MDI unit 70 and passes the command and data to the CPU 11. An interface 19 is connected to an operator's panel 71 having a manual pulse generator, etc. used to manually drive each axis.
An axis control circuit. 30 for controlling an axis included in the machining machine receives a movement command amount of the axis from the CPU 11, and outputs a command for the axis to a servo amplifier 40. The servo amplifier 40 receives this command, and drives a servomotor 50 that moves the axis included in the machining machine. The servomotor 50 of the axis incorporates a position/speed detector, and feeds back a position/speed feedback signal from the position/speed detector to the axis control circuit 30, thereby performing feedback control of a position/speed. In the hardware configuration diagram of
Each function block illustrated in
The machining path creation unit 100 successively reads and analyzes blocks that command operation of the wire electric discharge machine to be controlled from a machining program 200 stored in a memory (not illustrated), and creates a machining path used for machining of a workpiece, based on an analysis result. Since a program path commanded by each block of the machining program 200 indicates a shape of the workpiece to be machined, the machining path creation unit 100 creates a machining path in which a diameter of a wire electrode and a gap amount between the wire electrode and the workpiece are taken into consideration, with respect to the program path. Although not described in
The interpolation unit 110 creates interpolation data (amount of movement of each axis for each interpolation period) indicating the amount of movement for each interpolation period on the machining path, based on the machining path created by the machining path creation unit 100.
The machined surface length calculation unit 120 calculates a machined surface length hi in which machining is performed by the wire electrode for each interpolation period with respect to the interpolation data created by the interpolation unit 110. The machined surface length calculation unit 120 may acquire shape data of a workpiece which is currently being machined from CAD data stored in advance in the machining information storage unit 210, and acquire the machined surface length hi based on the acquire shape data of the workpiece and a position of the wire electrode in the corresponding interpolation period. In addition, when taper machining is performed, the machined surface length calculation unit 120 may calculate the machined surface length hi at the time of taper machining illustrated in
The electrode consumption amount calculation unit 130 calculates a wire electrode consumption amount di for each interpolation period based on a wire electrode consumption amount table and the machined surface length hi for each interpolation period calculated by the machined surface length calculation unit 120, wherein the wire electrode consumption amount table is a table in which the wire electrode consumption amount is associated with the combination of information related to machining such as a workpiece thickness, a workpiece material, a type of a wire electrode, a diameter of the wire electrode, a machining condition, and the like, stored in advance in the machining information storage unit 210 and information related to machining such as a workpiece thickness, a workpiece material, a type of a wire electrode, a diameter of the wire electrode, a machining condition, and the like, stored in advance in a consumption amount storage unit 220. As a wire electrode is generally consumed in proportion to a machined surface length, wire electrode consumption amount di in case where machined surface length is hi is expressed by the following Equation (2) if assumed that wire electrode consumption amount is d in case where tentative workpiece thickness is hv.
The electrode consumption amount calculation unit 130 acquires wire electrode consumption amount d in case -where tentative workpiece thickness is hv from a wire electrode consumption amount table stored in advance in the consumption amount storage unit 220. The electrode consumption amount calculation unit 130 may set the tentative workpiece thickness hv to a height h of the workpiece included in the CAD data stored in the machining information storage unit 210 (a height of the workpiece at a position of the upper guide may be used when the height of the workpiece is different depending on the position). Alternatively, when a wire electrode consumption amount d corresponding to a combination of information related to machining matching the height h of the workpiece is not stored in the wire electrode consumption amount table, the electrode consumption amount calculation unit 130 may use a value closest to the height h of the workpiece among workpiece thicknesses registered in the wire electrode consumption amount table as the tentative workpiece thickness hv. Hereinafter, a description will be given on the assumption that the tentative workpiece thickness hv is equivalent to the height h of the workpiece at the position of the upper guide.
The compensation amount calculation unit 140 calculates an upper guide compensation amount and a lower guide compensation amount for each interpolation period based on the wire electrode consumption amount di for each interpolation period calculated by the electrode consumption amount calculation unit 130. As illustrated in
The compensation amount calculation unit 140 calculates an electrode consumption rate in a workpiece lower plane direction illustrated in
The movement pulse addition unit 150 adds a movement pulse corresponding to the compensation amounts to the interpolation data on the basis of the upper guide compensation amount and the lower guide compensation amount that are calculated by the compensation amount calculation unit 140.
The coordinate update unit 160 updates a machine coordinate value of each axis of the wire electric discharge machine based on the movement amount to which the movement pulse based on the compensation amount in consideration of a machined surface length is added by the movement pulse addition unit 150.
Further, the servo control unit 170 controls the servomotor 50 that drives an axis of the wire electric discharge machine to be controlled based on the machine coordinate value updated by the coordinate update unit 160.
The embodiment of the invention has been described above. However, the invention is not limited only to an example of the embodiment described above, and may be implemented in various modes by making an appropriate change.
For example, even though the compensation amount of the wire electrode considering the machined surface length is calculated as the compensation amounts of the upper guide and the lower guide in the above embodiment, the compensation amount may be calculated as the compensation amount with respect to one of the guides and compensation amounts with respect to the X axis, the Y axis, and the Z axis.
Number | Date | Country | Kind |
---|---|---|---|
2017-012430 | Jan 2017 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4703146 | Kinoshita | Oct 1987 | A |
5072089 | Higashi | Dec 1991 | A |
7371989 | Miyajima et al. | May 2008 | B2 |
9442479 | Kobayashi et al. | Sep 2016 | B2 |
20040084419 | Kato | May 2004 | A1 |
20070068905 | Miyajima et al. | Mar 2007 | A1 |
20130150999 | Arakawa | Jun 2013 | A1 |
20140135975 | Kobayashi et al. | May 2014 | A1 |
20160158863 | Hiraga | Jun 2016 | A1 |
Number | Date | Country |
---|---|---|
9218090 | Oct 1993 | DE |
0920944 | Jun 1999 | EP |
0920945 | Jun 1999 | EP |
S59007525 | Jan 1984 | JP |
63120030 | May 1988 | JP |
01264722 | Oct 1989 | JP |
11165219 | Jun 1999 | JP |
H11165220 | Jun 1999 | JP |
2004-142027 | May 2004 | JP |
2007083372 | Apr 2007 | JP |
2014097541 | May 2014 | JP |
Entry |
---|
Notification of Reasons for Refusal for Japanese Application No. 2017-012430, dated Sep. 4, 2018 with translation, 5 pages. |
Extended European Search Report for European Application No. 18 151 551.1, dated Jun. 27, 2018, 8 pages. |
Decision to Grant a Patent for Japanese Application No. 2017-012430, dated Feb. 5, 2019, with translation, 5 pages. |
Number | Date | Country | |
---|---|---|---|
20180207737 A1 | Jul 2018 | US |