Automatic parameter adjustment device for adjusting parameter corresponding to processing condition
10216169 ยท 2019-02-26
Assignee
Inventors
Cpc classification
G05B19/404
PHYSICS
G05B19/19
PHYSICS
G05B2219/42128
PHYSICS
G05B2219/49065
PHYSICS
G05B13/024
PHYSICS
International classification
G05B19/404
PHYSICS
Abstract
An automatic parameter adjustment device capable of quantitatively determine the degree of importance of a processing time and a processing accuracy, and effectively adjusting a parameter in accordance with a processing condition. The adjustment device includes: a parameter changing part which changes a control parameter; a test program executing part which transmits a test program to a numerical controller for executing the test program; an execution result obtaining part which obtains an execution result of the test program; a storing part which stores the execution result and the parameter corresponding thereto; a weighting part which determines weighting coefficients of the processing time and processing accuracy as evaluation criteria based on input or setting by an operator; and a parameter extracting part which evaluates the execution result based on the weighted evaluation criteria, and extracts an optimum parameter from the storing part based on the evaluated execution result.
Claims
1. An automatic parameter adjustment device for automatically adjusting a control parameter of each of at least one drive axis of a machine tool, the control parameter being set to a numerical controller for controlling the machine tool, the automatic parameter adjustment device comprising: a processor configured to determine a weighting coefficient of a processing time and a weighting coefficient of a processing accuracy of the machine tool, as evaluation criteria for automatically adjusting the control parameter, change the control parameter, transmit a test program used in automatically adjusting the control parameter to the numerical controller for executing the test program by the numerical controller, obtain an execution result of said executing the test program, the execution result including a commanded trajectory and an actual trajectory of a representative point of the machine tool and an execution time of the test program, store the execution result and a control parameter corresponding to the execution result, evaluate the execution result based on the two weighted evaluation criteria, and extract an optimum control parameter based on the evaluated execution result, wherein the test program is executed multiple times while changing the control parameter, and the extracted control parameter corresponds to an execution result satisfying a predetermined condition among a plurality of execution results obtained by executing the test program multiple times.
2. The automatic parameter adjustment device as set forth in claim 1, wherein the processor is configured to evaluate the execution result of the test program, based on an evaluation value calculated by: normalizing the execution time of the test program and normalizing an integration value of an absolute value of a trajectory error corresponding to a difference between the commanded trajectory and the actual trajectory, and adding a product of the normalized execution time and the determined weighting coefficient of the processing time to a product of the normalized integration value and the determined weighting coefficient of the processing accuracy.
3. The automatic parameter adjustment device as set forth in claim 1, wherein the processor is configured to obtain the execution result of a specified portion of the test program.
4. The automatic parameter adjustment device as set forth in claim 1, wherein the processor is configured to generate or output a report including at least one of a condition or a result of the automatic adjustment of the control parameter.
5. An automatic parameter adjustment device for automatically adjusting a control parameter of each of at least one drive axis of a machine tool, the control parameter being set to a numerical controller for controlling the machine tool, the automatic parameter adjustment device being integrated in the numerical controller, the numerical controller configured to determine a weighting coefficient of a processing time and a weighting coefficient of a processing accuracy of the machine tool, as evaluation criteria for automatically adjusting the control parameter, change the control parameter, execute a test program used in automatically adjusting the control parameter, obtain an execution result of executing the test program, the execution result including a commanded trajectory and an actual trajectory of a representative point of the machine tool and an execution time of the test program, store the execution result and a control parameter corresponding to the execution result, evaluate the execution result based on the two weighted evaluation criteria, and extract an optimum control parameter based on the evaluated execution result, wherein the numerical controller is configured to execute the test program multiple times while changing the control parameter, and the extracted control parameter corresponds to an execution result satisfying a predetermined condition among a plurality of execution results obtained by executing the test program multiple times.
6. The automatic parameter adjustment device as set forth in claim 5, wherein the numerical controller is configured to evaluate the execution result of the test program, based on an evaluation value calculated by: normalizing the execution time of the test program and normalizing an integration value of an absolute value of a trajectory error corresponding to a difference between the commanded trajectory and the actual trajectory, and adding a product of the normalized execution time and the determined weighting coefficient of the processing time to a product of the normalized integration value and the determined weighting coefficient of the processing accuracy.
7. The automatic parameter adjustment device as set forth in claim 5, wherein the numerical controller is configured to obtain the execution result of a specified portion of the test program.
8. The automatic parameter adjustment device as set forth in claim 5, wherein the numerical controller is configured to generate or output a report including at least one of a condition or a result of the automatic adjustment of the control parameter. TABLE-US-00001 CLAIMS CORRESPONDENCE TABLE Claims in U.S. Patentable Claims Explanation regarding application in JP Application the correspondence 1 1 sufficiently corresponding 2 2 sufficiently corresponding 3 3 sufficiently corresponding 4 4 sufficiently corresponding 5 1 sufficiently corresponding 6 2 sufficiently corresponding 7 3 sufficiently corresponding 8 4 sufficiently corresponding
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects, features and advantages of the present invention will be made more apparent by the following description of the preferred embodiments thereof, with reference to the accompanying drawings, wherein:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTIONS
(8)
(9) Automatic parameter adjustment device 10 is used with numerical controller 16 and is configured to automatically adjust of the control parameter. Automatic parameter adjustment device 10 includes: a parameter changing part 18 which changes a control parameter used to control each drive axis 14 by numerical controller 16; a test program executing part 20 which transmits a test program used in automatically adjusting the control parameter to the controller for executing the test program by numerical controller 16; an execution result obtaining part 22 which obtains an execution result by executing the test program, the execution result including a commanded trajectory and an actual trajectory of a representative point (such as a tool center point) of machine tool 12 and an execution time of the test program; a storing part 24 which stores the execution result and a control parameter corresponding to the execution result; a weighting part 26 which determines weighting coefficients of a processing time and a processing accuracy of machine tool 12, as evaluation criteria for automatically adjusting the control parameter; and a parameter extracting part 28 which evaluates the execution result based on the two weighted evaluation criteria, and extracts an optimum control parameter from storing part 24 based on the evaluated execution result.
(10) In the above embodiment, automatic parameter adjustment device 10 is illustrated and explained as a device separated from numerical controller 16. However, a device having a function equivalent to automatic parameter adjustment device 10 may be integrally positioned in numerical controller 16, and such a configuration is also within a scope of the present invention.
(11) Hereinafter, an automatic adjustment process using automatic parameter adjustment device 10 will be explained, with reference to a flowchart of
(12) In the next step S2, in parameter changing part 18, the control parameter to be automatically adjusted is changed. For example, the control parameter may be changed by increasing or decreasing the parameter by an appropriate increment or decrement, within a predetermined changing range (between upper and lower limits). In this case, the upper and lower limits and/or the increment/decrement may be previously determined, or may be set by the operator using a proper input means or the like before the automatic adjustment of the parameter.
(13) In the next step S3, test program executing part 20 transmits the test program to numerical controller 16, and the test program is executed by numerical controller 16. Since the present invention is intended to automatically adjust the control parameter corresponding to the processing condition, it is preferable to use a practically usable processing program be used as the test program. However, another program, previously prepared for adjusting the parameter, may be used as the test program.
(14) In the next step S4, execution result obtaining part 22 obtains the execution result of the test program, i.e., a commanded trajectory and an actual trajectory of an object to be controlled (such as the tool center point) and an execution time of the program, which are obtained from numerical controller 16 when the test program has been executed. In this regard, the commanded trajectory and the actual trajectory can be calculated from a position command or a position feedback of each drive axis for controlling the object to be controlled, and from information regarding a mechanical structure of the machine tool. In addition, the program execution time can be calculated from a period of time from starting to terminating of the test program.
(15) In the next step S5, storing part 24 stores an execution result of the test program, and a parameter corresponding to the executed test program. Then, in step S6, it is judged as to whether or not the parameter is changed within the parameter changing range as described above. If the change in parameter is completed, the procedure progresses to step S7. On the other hand, if the change in parameter within the changing range is not completed, steps S2 to S5 are repeated.
(16) As explained above, after the parameter is changed within the parameter changing range and the execution result of the test program with respect to each parameter is obtained, an optimum parameter x.sub.p corresponding to the processing condition is extracted in step S7. A preferred example thereof will be explained below.
(17) From commanded trajectory Pc(k.Math.t) and actual trajectory Pf(k.Math.t) of the representative point (such as the tool center point) of the machine tool, a difference between the trajectories (or a trajectory error ERR(k.Math.t)) is calculated. This trajectory error may be useful data for evaluating the processing accuracy. Next, as shown in equation (1), absolute values of trajectory error ERR(k.Math.t) with respect to parameter values x are integrated so as to calculate an integration value ERRs(x).
(18)
(19) From program execution time T(x) with respect to parameter values x and integration value ERRs(x) of the absolute values of the trajectory errors, the minimum value and the maximum value of each data are calculated.
(20) In the example of
(21) When a plurality of parameters (for example, parameters x, y and z) should be simultaneously adjusted, the minimum and maximum values are calculated with respect to each of program execution time T(x, y, z) and integration value ERRs(x, y, z). For example, when two parameters x and y are simultaneously adjusted, the graph of
(22) Next, with respect to each value of parameter x, program execution time T(x) and integration value ERRs(x) of the absolute values of the trajectory error are normalized as represented by equations (2) and (3), respectively. In this case, normalized values of T(x) ERRs(x) are represented by Tn(x) and ERRn(x), respectively.
(23)
(24) Next, as represented by equation (4), normalized values Tn(x) and ERRn(x) are multiplied by the respective weighting coefficients determined by weighting part 26, and products obtained by the multiplication are added to each other so as to calculate an evaluation value E(x). In equation (4), the weighting coefficient of the processing time determined by weighting part 26 is represented by A, and the weighting coefficient of the processing accuracy determined by weighting part 26 is represented by B. Instead of equation (4), an evaluation value E(x) as represented by equation (5) may be used, in which the maximum value is equal to one.
(25)
(26) In the embodiment, the process (also referred to as process a) for weighting and normalizing program execution time T(x) and integration value ERRs(x) is explained as the concrete example of step S7. However, the present invention is not limited to this example. For example, following process b or c may be used.
(27) (Process b)
(28) A sum of squares of two sets of weighted data is calculated, and a square root of the sum (or a vector length) is calculated. The square root (or the vector length) is calculated with respect to each parameter, and the parameter, in which the vector length is the maximum, is determined.
(29) (Process c)
(30) The weighted data (x, y, z) is substituted into an evaluation function V(x, y, z), and the parameter, in which the evaluation value is maximum, is determined. The evaluation function may be obtained experimentally or calculated from a theoretical equation.
(31) Finally, parameter value x.sub.p is calculated, in which evaluation value E(x) or E(x) obtained by equation (4) or (5) is high (normally, maximum), and value x.sub.p is extracted as an optimum parameter from storing part 24, whereby the procedure of step S7 is completed. Alternatively, depending on another constraint condition, etc., the control parameter not corresponding to the maximum evaluation value (for example, corresponding to the second or third highest evaluation value) may be extracted as the optimum value.
(32) Depending on the motion of the machine tool, a tool may be moved along a corner portion. In such a case, when the tool is moved along a commanded trajectory 34 as exemplified in
(33)
(34) A column 40 visually indicates the automatic adjustment result of the parameter. In the example of
(35) A column 42 indicates the automatic adjustment result of the parameter as the evaluation value. In the example of
(36) A column 44 indicates a concrete example of a numerical value of the automatically adjusted parameter. In the example of
(37) By generating and/or outputting the report as exemplified in
(38) In the present invention, the processing time and the processing accuracy (mainly evaluated in the actual processing) are determined as the evaluation criteria, and the result of the automatic adjustment of the control parameter is evaluated after weighting the respective evaluation criteria. Therefore, according to the present invention, the parameter can be adjusted in accordance with the processing condition. Further, in the present invention, in comparison to the prior art, the control parameter can be finely adjusted, and workload for finely adjusting the parameter can be reduced.
(39) While the invention has been described with reference to specific embodiments chosen for the purpose of illustration, it should be apparent that numerous modifications could be made thereto, by a person skilled in the art, without departing from the basic concept and scope of the invention.