Machining time-estimating method for wire electrical discharge machine and control device for wire electrical discharge machine
10585404 ยท 2020-03-10
Assignee
Inventors
Cpc classification
B23H7/04
PERFORMING OPERATIONS; TRANSPORTING
B23H1/02
PERFORMING OPERATIONS; TRANSPORTING
B23H7/20
PERFORMING OPERATIONS; TRANSPORTING
International classification
B23H7/20
PERFORMING OPERATIONS; TRANSPORTING
B23H1/02
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A machining time-estimating method for a wire electrical discharge machine for estimating the remaining machining time (Tr) during the machining of a workpiece comprises: a step for setting a predicted machining velocity; a step for determining the actual machining velocity; a step for determining an estimated machining velocity so as to incorporate the predicted machining velocity and the actual machining velocity at a specified ratio, that is, a reference ratio; and a step for calculating remaining machining time from the estimated machining velocity. By executing the actual machining velocity-determining step to the remaining machining time-calculating step repeatedly to estimate remaining machining time moment by moment, remaining wire electrical discharge machining time is estimated with reduced error.
Claims
1. A method for estimating a machining time of a wire electrical discharge machine which estimates a remaining machining time while machining a workpiece, the method comprising steps of: setting a predicted machining speed; finding an actual machining speed; determining an estimated machining speed so that a ratio of referring to the predicted machining speed, defined as a predicted machining speed reference rate, and a ratio of referring to the actual machining speed, defined as an actual machining speed reference rate, respectively become predetermined values, wherein the predicted machining speed reference rate falls along with progression of the machining and the actual machining speed reference rate increases along with progression of the machining; and calculating the remaining machining time from the estimated machining speed, wherein the remaining machining time at each instant is estimated by repeatedly executing the process from the step of finding the actual machining speed to the step of calculating the remaining machining time.
2. The method according to claim 1, wherein, in the step of determining the estimated machining speed performed when machining is proceeding in a first predetermined time period right after a start of machining or in a first predetermined section of the workpiece, the predicted machining speed reference rate is made 100%, in the step of determining the estimated machining speed performed when machining is proceeding in a second predetermined time period after an elapse of the first predetermined time period or in a second predetermined section after the first predetermined section is passed, the predicted machining speed reference rate is gradually lowered and the actual machining speed reference rate is gradually raised in accordance with progression of the machining, and, in the step of determining the estimated machining speed performed when machining is proceeding in a third predetermined time period after an elapse of the second predetermined time period or in a third predetermined section after the second predetermined section is passed, a predetermined lower limit reference rate is applied for the predicted machining speed reference rate and a predetermined upper limit reference rate is applied for the actual machining speed reference rate.
3. The method according to claim 2, further comprising a step of adjusting a length of the second predetermined time period or the second predetermined section to become shorter than a set length when a machining stability is high and to become longer than a set length when a machining stability is low.
4. The method according to claim 1, further comprising estimating the remaining machining time during each of a plurality of stages of machining corresponding to a plurality of types of machining conditions, wherein all of the steps are performed for each of the plurality of stages of machining, the method further comprising a step of cumulatively adding the remaining machining times of the plurality of stages of machining calculated in the step of calculating the remaining machining time.
5. The method according to claim 1, wherein in the step of finding the actual machining speed, the actual machining speed is continuously found and, in the step of calculating the remaining machining time, the latest actual machining speed is used.
6. A control device of a wire electrical discharge machine for estimating a remaining machining time while machining a workpiece, the control device comprising a non-transitory storage medium having software program stored there on, the software program including instructions to: calculate an actual machining speed; determine an estimated machining speed so that a ratio of referring to a predetermined predicted machining speed, defined as a predicted machining speed reference rate, and a ratio of referring to an actual machining speed calculated at the actual machining speed calculating unit, defined as an actual machining speed reference rate, respectively become predetermined values; calculate the remaining machining time from the estimated machining speed, wherein the predicted machining speed reference rate falls along with progression of the machining and the actual machining speed reference rate increases along with progression of the machining; and to display on a display the calculated remaining machining time updated every instant.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6) Below, a method of estimating the machining time of a wire electrical discharge machine according to a first embodiment of the present invention will be explained while referring to
(7) In the workpiece 200 of
(8) Table 1 shows the machining conditions, predicted machining speed Vp, estimated machining circumferential length Le, actual machining circumferential length La, actual machining time Ta, actual machining speed Va, remaining machining circumferential length Lr, estimated machining speed Ve, and remaining machining time Tr in the case of performing the first to third machining operations on the different machining parts of three locations of the workpiece 200 shown in
(9) TABLE-US-00001 TABLE 1 Estimated Actual Remaining Predicted machining machining Actual machining Estimated machining circumferential circumferential Actual machining circumferential machining Remaining Stage speed length length machining speed length speed machining of Machining Vp Le La time Ta Va Lr Ve time Tr machining conditions mm/min mm mm min mm/min mm mm/min min 1051 .100 28.580 2.860 .284 .820 5.720 .820 2.569 1301 4.000 25.232 5.363 .005 2.650 9.869 3.457 .421 1302 7.000 24.872 24.872 7.000 .345 Total 7.335
(10) E1051 shown in Table 1 shows the machining conditions for rough machining, E1301 shows the conditions for semifinish machining, and E1302 shows the conditions for finish machining. These machining conditions and various corresponding machining parameters and predicted machining speeds Vp are formed into a database and stored in a control device of the wire electrical discharge machine. In this regard, the above-mentioned predicted machining speed Vp means the machining speed predicted before machining. For example, it is determined based on the actual values in similar machining in the past and values provided from an EDM machine manufacturer etc. The predicted machining speed Vp, as shown in Table 1, differs depending on the machining conditions. In rough machining, it is relatively slow, in semifinish machining, it is faster, while in finish machining, it becomes fastest. Although Table 1 shows three types of machining conditions, usually the control device stores a large number of other machining conditions as well.
(11) When performing the method according to the embodiment of the present invention, the operator designates the machining conditions. When the machining conditions are designated, a corresponding predicted machining speed Vp and various machining parameters are set in the control device. Further, the control device calculates the estimated machining circumferential length Le from the designated machining conditions and the already supplied shape data etc. of the machining part. The estimated machining circumferential length Le also differs depending on the machining conditions. This is because the gap between the workpiece and the wire differs depending on the machining conditions.
(12) In the method of estimation according to the first embodiment, the predicted machining speed Vp is set by designating the machining conditions, but an embodiment in which the predicted machining speed Vp is set independent of the machining conditions by input into the control device is also possible.
(13) The control device calculates the actual machining speed Va and the remaining machining circumferential length Lr during machining based on the actual machining circumferential length La and actual machining time Ta from the start of machining. Therefore, the actual machining speed Va in the present embodiment shows the average actual machining speed Va from the start of machining to the time of calculation. This calculation is performed continuously. In the present embodiment, the speed is updated by calculation at a frequency of once every 4 seconds in the program.
(14) In the example shown in
(15) The remaining machining time Tr is calculated from the estimated machining speed Ve and the remaining machining circumferential length Lr. In the present method of estimation, the estimated machining speed Ve is defined as including the predicted machining speed Vp and the actual machining speed Va in a specific ratio. In this Description, the ratio is called the reference rate. This is also expressed by a percentage. If the reference rate for the actual machining speed Va is P (%), the reference rate for the predicted machining speed Vp is (100P) (%). The estimated machining speed Ve is expressed as the following formula:
Ve=Vp(1P/100)+VaP/100(formula 1)
(16) In the method of estimation according to the first embodiment, the reference rate is defined as a function of time. As the machining progresses, the predicted machining speed Vp reference rate falls and therefore the actual machining speed Va reference rate increases.
(17) In
(18) The transitional time period start time T.sub.1 and the transitional time period end time T.sub.2 and the upper limit and lower limit reference rates in the graph of the reference rates of
(19) In the first embodiment, the reference rates are determined as functions of time, but a modification of the present embodiment where the reference rates are determined as functions of the machining circumferential length is also possible. This is because determining the reference rates based on the machining circumferential length rather than the machining time sometimes result in a rise in precision of the obtained remaining machining time Tr. In this case, the first to third time periods are read as the first to third sections.
(20) In the method of estimation according to the present embodiment, the machining times are counted individually for the first to third machining operations with the different machining conditions. Therefore, the start of the machining in the explanation of
(21) In the method of estimation according to the present embodiment, the remaining machining time Tr is calculated for each of the first to third machining operations. By the results of calculation being cumulatively added, the remaining machining time Tr of a single workpiece 200 is calculated.
(22) In the example shown in
(23) When the machining proceeds from the state of
(24) According to the method of estimation according to the first embodiment, the estimated machining speed Ve is determined from just the predicted machining speed Vp at the stage of the initial period of machining when the machining is not stable, while is determined while lowering the predicted machining speed Vp reference rate and raising the actual machining speed Va reference rate along with the progress in the machining, so it is possible to obtain a high precision estimated value of the remaining machining time Tr at any stage in the progression of machining.
(25) Further, according to the method of estimation according to the present embodiment, the remaining machining time Tr of one workpiece 200 is calculated by cumulatively adding the remaining machining times Tr calculated for the different stages of the plurality of stages of machining, so even when machining of a single workpiece 200 includes a plurality of stages of machining with different machining conditions, it becomes possible to calculate the remaining machining time Tr with a high precision compared with the conventional method of using just the actual machining speed.
(26) Next, referring to the flow chart of
(27) First, at step S2, the reference rate is initialized. Next, at step S3, the remaining machining time Tr is calculated from the estimated machining speed Ve calculated based on the reference rate determined by the time from the start of machining and the remaining machining circumferential length Lr. The remaining machining time Tr is calculated and cumulatively added for each of the machining conditions, that is, for the first to third machining operations.
(28) At step S4, the display is updated to the latest remaining machining time Tr. At the next step S5, it is judged if the machining has ended. If judging that the machining is ended, the routine proceeds to step S6 then ends. If judging that it is not ended, the routine proceeds to step S7 where the elapse of the recalculation time is awaited. Further, at step S8 as well, the judgment is made for each of the machining conditions, that is, for each of the first to third machining operations, and the advancing paths are individually determined.
(29) At step S8, it is judged if the reference rate is the upper limit reference rate or more. If the upper limit reference rate or more, the routine returns to step S3, while if less than the upper limit reference rate, it proceeds to step S9. Note that the reference rate shown at step S8 of
(30) Next, the method of estimation of the wire electrical discharge machine according to a second embodiment of the present invention will be explained below. In the first embodiment, the tilt in the transitional time period of the graph of
(31) To judge the stability of machining, in the second embodiment, the machining speed fluctuation rate Vf is used. The machining speed fluctuation rate Vf is for example expressed by the following formula:
Vf=|(V.sub.nV.sub.n1)/V.sub.n| where, in the formula, V.sub.n is the average machining speed V.sub.n of the immediately preceding machining time at the elapsed time T.sub.n from the start of machining T.sub.0. Further, V.sub.n-1 is the average machining speed of the immediately preceding machining time at the elapsed time T.sub.n-1=T.sub.nt from the start of machining T.sub.0 (see
(32) The method of estimation of the second embodiment basically has the flow of control shown in the flow chart of
(33) In the second embodiment, the stability of machining is judged based on the rate of fluctuation of the machining speed, but this can be judged by various methods. For example, an embodiment in which this is judged based on the ratio of change of the number of discharges or the ratio of change of the average voltage between electrodes is also possible.
(34) Next, an embodiment of a control device 101 of a wire electrical discharge machine able to perform the above-mentioned method of estimation will be explained with reference to
(35) The machining program processing unit 102 analyzes the machining program and calculates the wire movement path upon startup of a program. If running a program such as drawing a graphic in the background, the movement path data found by calculation is sent out to the background execution control unit 110. In actual machining, the movement path data is sent out to the main execution control unit 103.
(36) The main execution control unit 103 successively sends out the wire movement path processed by the machining program processing unit 102 to the interpolating unit 104. At this time, it reads out the data of the machining conditions designated by the operator from the machining condition data storage unit 111 and sends it out to the interpolating unit 104 together with a command machining speed.
(37) The interpolating unit 104 refers to the feedback data from the discharge control unit 108 while sending an axial movement command to the servo amplifier unit 106 so that the speed becomes close to the command machining speed.
(38) When drawing a graphic etc. in the background, the background execution control unit 110 receives the wire movement path data from the machining program processing unit 102 and draws the movement path etc., reads out the predicted machining speed Vp from the machining condition data storage unit 111 in accordance with the machining condition command included in the machining program processing unit 102, and stores the machining circumferential length for each machining condition command and predicted machining speed Vp in a machining condition-sorted full machining circumferential length and predicted machining speed storage unit 114. That is, it is a control unit which executes these by internal processing without accompanying movement of the feed shaft.
(39) The actual machining circumferential length and speed calculating unit 112 reads out the data by the interpolating unit 104 every certain time period, calculates the actual machining circumferential length La and the actual machining speed Va, and stores the same in a machining condition-sorted actual machining circumferential length and speed storage unit 113.
(40) The remaining machining time calculating unit 115 periodically reads out data from the machining condition-sorted actual machining circumferential length and speed storage unit 113 and machining condition-sorted full machining circumferential length and predicted machining speed storage unit 114, determines the estimated machining speed Ve by the above-mentioned method, then calculates the remaining machining time Tr, and sends it to the remaining machining time display unit 116. The remaining machining time display unit 116 displays the received remaining machining time Tr.
(41) In the present embodiment, the estimated machining speed is determined so that the predicted machining speed reference rate and the actual machining speed reference rate became respective predetermined values and the remaining machining time is calculated based on this estimated machining speed. The present invention is not limited to determining the estimated machining speed. For example, it includes averaging the remaining machining time found using just the predicted machining speed and the remaining machining time found using only the actual machining speed by a predetermined ratio to calculate the remaining machining time and other modifications.