Evaluation program creation device and computer-readable recording medium having a program recorded thereon
The evaluation program creation device addresses the inefficiency of fixed evaluation programs by generating tailored programs based on parameter settings, enhancing the efficiency of parameter adjustments in machining processes.
Patent Information
- Application Number
- JP2023543620
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2041-08-27
AI Technical Summary
Conventional evaluation programs for machining are fixed and cannot adapt to varying parameter settings, leading to unnecessary machining and longer cycle times during parameter adjustment processes.
An evaluation program creation device that dynamically generates an optimal evaluation program based on the specific parameter settings by acquiring machining parameters, selecting necessary machining shapes, calculating dimensions, and creating a tailored evaluation program.
This approach improves parameter adjustment efficiency by ensuring that each parameter adjustment cycle uses a tailored evaluation program, reducing unnecessary processing and shortening the cycle time.
Smart Images

Figure 0007659073000003 
Figure 0007659073000004 
Figure 0007659073000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an evaluation program creating device and a computer-readable recording medium on which a program is recorded. [Background technology]
[0002] Conventionally, a machining program is created, and industrial machines such as machine tools and electric discharge machines are controlled based on the machining program to machine a workpiece. For example, in a machine tool, the movement of each axis is commanded in the machining program. The commanded moving speed at this time is the maximum speed of relative movement (tool movement) between the tool and the workpiece. When actually controlling the machine tool based on this command, when starting to move each axis or when machining corners or curved parts, the moving speed of each axis varies according to parameters such as the maximum acceleration, corner speed difference, post-interpolation acceleration / deceleration time constant, and inner turn tolerance set for each axis, so machining is not always performed at the commanded moving speed. These parameters related to machining are adjusted by the machine tool operator while checking the quality of the machined surface of the machined workpiece.
[0003] Patent Document 1 is a conventional technique related to the adjustment of parameters related to machining. Patent Document 1 discloses a technique for extracting optimal control parameters by executing a test program after changing control parameters and evaluating the execution results with a predetermined evaluation criterion. Patent Document 2 discloses a technique for adjusting parameters related to machining using machine learning technology. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2016-130908 A [Patent Document 2] JP 2018-181217 A Summary of the Invention [Problem to be solved by the invention]
[0005] When adjusting the parameters of an industrial machine, the parameters are adjusted and machining is trialed using the industrial machine with the adjusted parameters set. After that, the machining result is evaluated to see if the target machining result has been obtained. If the result is not as expected, the above procedure is repeated. This procedure is the same whether the parameters are adjusted manually or using simulation or machine learning. At this time, an evaluation program is used to trial machining using the adjusted parameters.
[0006] The evaluation program is generally fixed, and the same evaluation program is used regardless of the adjustment of the parameters. Therefore, the conventional evaluation program needs to be able to perform evaluation for various parameter settings. FIG. 9 illustrates a tool path controlled by the evaluation program. As illustrated in FIG. 9, the tool path controlled by the conventional evaluation program has a long side and includes at least a square corner and a round corner. Therefore, even if the parameters related to the arc are not adjusted, for example, the round corner is machined during evaluation. The evaluation related to the machining of this round corner is not used to evaluate the parameter adjustment result, so it is a wasteful machining. Such wasteful machining during evaluation causes the cycle time of the parameter adjustment work to be longer. Therefore, there is a need for a technique for providing an optimal evaluation program that matches parameter setting values during the process of adjusting the parameters. [Means for solving the problem]
[0007] The evaluation program creation device according to the present disclosure solves the above problem by creating an optimal evaluation program that is suitable for evaluating the items and setting values of the adjusted parameters when adjusting the parameters.
[0008] One aspect of the present disclosure is an evaluation program creation device that creates an evaluation program for evaluating adjustments of parameters of an industrial machine, the evaluation program creation device including: a parameter acquisition unit that acquires parameters related to machining by the industrial machine; a shape selection unit that selects a machining shape required to evaluate the parameters based on the parameters; a dimension calculation unit that calculates each part dimension of the machining shape required to evaluate the parameters based on the parameters and the machining shape; a program creation unit that creates an evaluation program based on the machining shape selected by the shape selection unit and the each part dimension calculated by the dimension calculation unit; and a program output unit that outputs the evaluation program created by the program creation unit.
[0009] Another aspect of the present disclosure is a computer-readable recording medium having recorded thereon a program for operating a computer as an evaluation program creation device that creates an evaluation program for evaluating adjustments of parameters of industrial machinery, the computer-readable recording medium having recorded thereon a program for operating a computer as an evaluation program creation device that creates an evaluation program for evaluating adjustments of parameters of industrial machinery, the computer-readable recording medium having recorded thereon a program for operating a computer as a parameter acquisition unit that acquires parameters related to machining by the industrial machinery, a shape selection unit that selects a machining shape necessary for evaluating the parameters based on the parameters, a dimension calculation unit that calculates each part dimension of the machining shape necessary for evaluating the parameters based on the parameters and the machining shape, a program creation unit that creates an evaluation program based on the machining shape selected by the shape selection unit and the each part dimension calculated by the dimension calculation unit, and a program output unit that outputs the evaluation program created by the program creation unit. Effect of the Invention
[0010] According to one aspect of the present disclosure, each time parameter adjustment is attempted, the evaluation program can be changed to one suitable for evaluating the adjusted parameters, thereby improving parameter adjustment efficiency. [Brief description of the drawings]
[0011] [Figure 1]1 is a schematic hardware configuration diagram of an evaluation program creation device according to an embodiment of the present invention; [Diagram 2] 1 is a block diagram showing schematic functions of an evaluation program creating device according to an embodiment of the present invention; [Diagram 3] FIG. 11 is a diagram showing an example of evaluation shape data. [Figure 4] 11A and 11B are diagrams illustrating examples of dimensional conditions for a square corner shape. [Diagram 5] 1A to 1C are diagrams illustrating examples of dimensional conditions for the R-corner shape. [Figure 6] 11A and 11B are diagrams illustrating a process of joining processing shapes together. [Figure 7] 13A and 13B are diagrams illustrating a process of omitting a machining shape. [Figure 8] FIG. 1 is a diagram illustrating an example of an evaluation program creation device that operates in cooperation with an acceleration / deceleration adjustment device. [Figure 9] 11 is a diagram illustrating an example of a path of a tool controlled by an evaluation program. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic hardware configuration diagram showing a main part of an evaluation program creation device according to an embodiment of the present invention. The evaluation program creation device 1 of the present invention can be implemented as, for example, a control device that controls an industrial machine based on a control program. The evaluation program creation device 1 of the present invention can be implemented on a personal computer attached to a control device that controls an industrial machine based on a control program, or on a personal computer, cell computer, fog computer 6, or cloud server 7 connected to the control device via a wired / wireless network. In this embodiment, an example is shown in which the evaluation program creation device 1 is implemented on a personal computer connected to a control device that controls an industrial machine based on a control program via a wired / wireless network.
[0013] The CPU 11 provided in the evaluation program creation device 1 according to this embodiment is a processor that controls the entire evaluation program creation device 1. The CPU 11 reads out a system program stored in a ROM 12 via a bus 22, and controls the entire evaluation program creation device 1 in accordance with the system program. The RAM 13 temporarily stores temporary calculation data, display data, various data input from the outside, and the like.
[0014] The non-volatile memory 14 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the stored state is maintained even when the power supply of the evaluation program creation device 1 is turned off. The non-volatile memory 14 stores data acquired from the industrial machine 2, control programs and data read from the external device 72 via the interface 15, data input via the input device 71, and programs, data, parameters acquired from the industrial machine 4 or other devices via the network 5. The programs, data, parameters, etc. stored in the non-volatile memory 14 may be expanded in the RAM 13 when executed / used. In addition, various system programs such as known analysis programs are written in advance in the ROM 12.
[0015] The interface 15 is an interface for connecting the CPU 11 of the evaluation program creation device 1 to an external device 72 such as a USB device. For example, a control program and setting data used to control the industrial machine 2 are read from the external device 72. In addition, the control program and setting data edited in the evaluation program creation device 1 can be stored in an external storage means via the external device 72.
[0016] The interface 20 is an interface for connecting the CPU of the evaluation program creation device 1 to a wired or wireless network 5. The network 5 is connected to other industrial machines 4 such as machine tools and electric discharge machines, a fog computer 6, a cloud server 7, etc., and exchanges data with the evaluation program creation device 1.
[0017] The display device 70 displays various data read into the memory, data obtained as a result of executing programs, etc., outputted via the interface 17. An input device 71 consisting of a keyboard, pointing device, etc., transfers commands, data, etc. based on operations by an operator to the CPU 11 via the interface 18.
[0018] 2 is a schematic block diagram showing functions of the evaluation program creation device 1 according to the first embodiment of the present invention. Each function of the evaluation program creation device 1 according to this embodiment is realized by a CPU 11 included in the evaluation program creation device 1 shown in FIG. 1 executing a system program and controlling the operation of each part of the evaluation program creation device 1.
[0019] The evaluation program creating device 1 of this embodiment includes a parameter acquiring unit 100, a shape selecting unit 110, a dimension calculating unit 120, a program creating unit 130, and a program output unit 140. In addition, on the RAM 13 or non-volatile memory 14 of the evaluation program creating device 1, an evaluation shape storing unit 210 is provided for storing in advance evaluation shape data indicating the correspondence between each parameter and a machining shape used to evaluate the parameter.
[0020] The parameter acquisition unit 100 acquires the parameter items and the parameter values to be evaluated in relation to machining by the industrial machine 4. The parameter acquisition unit 100 acquires the parameter items and the parameter values in relation to machining adjusted in the industrial machine 4. Examples of the parameters in relation to machining include linear acceleration, linear jerk, post-interpolation acceleration / deceleration time constant, corner speed difference, allowable acceleration of curved surface, position loop gain, and feedforward coefficient. The parameter acquisition unit 100 may acquire the parameter items and the parameter values of the parameters in relation to machining set in the industrial machine 4, whose values have been changed since the last time they were referred to. The parameter acquisition unit 100 may also acquire the parameters in relation to machining that have been edited in the machining program executed by the industrial machine 4. Furthermore, for example, the operator may instruct from the input device 71 which parameters have been changed. Furthermore, the parameter acquisition unit 100 may acquire the values of additional parameters necessary for calculating the dimensions in response to a request from the dimension calculation unit 120. The parameter items in relation to machining acquired by the parameter acquisition unit 100 and the parameter values are output to the shape selection unit 110.
[0021] The shape selection unit 110 selects a machining shape required for evaluating a parameter value based on the parameter item and the parameter value to be evaluated. The shape selection unit 110 according to this embodiment refers to an evaluation shape storage unit 210 that stores evaluation shape data indicating the correspondence between a parameter and a machining shape used to evaluate the parameter, and selects a shape to be used for evaluating each parameter.
[0022] FIG. 3 shows an example of evaluation shape data stored in advance in the evaluation shape storage unit 210. The evaluation shape data defines the correspondence between the parameters related to machining and the machining shapes used to evaluate the parameters for at least each type of industrial machine. In the example of FIG. 3, the machining shapes included in the evaluation shape data are shown by the names of the respective shapes, but it is preferable to define each machining shape, for example, by a sequence of program commands used when machining the shape. In this case, for example, a square corner shape can be defined by a sequence of program commands including the values of predetermined parameters and variables that can be calculated under dimensional conditions described later, such as "G01 X{variable: x} F{parameter: feed rate}; G01 Y{variable: y} F{parameter: feed rate}". Examples of machining shapes used for evaluation include a straight line shape of a predetermined length, a corner corner shape of a predetermined angle, a R-corner shape of a predetermined curvature and an interior angle, and a minute line segment that continues a predetermined number of times.
[0023] Each evaluation shape data may correspond to a plurality of machining shapes for one parameter. This means that a plurality of machining shapes are necessary to evaluate the parameter. Also, the machining shapes to be used for evaluation may be set for each range of the parameter to be evaluated. For example, when the corner speed difference is equal to or less than a predetermined value V1, the evaluation is performed using a right-angle corner shape, but when the corner speed difference is greater than the predetermined value V1, the evaluation is performed using two machining shapes, a right-angle corner shape and a corner shape that turns at a sharper angle.
[0024] The evaluation shape data may further include conditions related to the dimensions of each part in each machining shape. The dimensional conditions may be defined in the form of a formula that calculates the dimensions of a specified part of the machining shape from the values of parameters related to machining. This formula may be for calculating the values of specified variables included in the sequence of program commands for the machining shape. Furthermore, multiple dimensional conditions may be defined for one machining shape. The dimensional conditions of the machining shape are used by the dimension calculation unit 120.
[0025] The dimension calculation unit 120 calculates the dimensions of each part of the processing shape required for evaluating each parameter, based on the parameters to be evaluated and the processing shape selected by the shape selection unit 110. The dimension calculation unit 120 calculates the dimensions of each part of each processing shape, based on the dimensional conditions stored in the evaluation shape storage unit 210. The dimension calculation unit 120 acquires the values of additional parameters required for calculating the dimensions of each part from the parameter acquisition unit 100.
[0026] For example, the dimension calculation unit 120 determines the length dimension of a straight line after corner machining in a machining shape of a square corner based on a parameter value set for the parameter of the speed difference of the corner. Fig. 4 is a diagram showing a speed change when machining a straight line after machining a square corner. As shown in Fig. 4, when machining a straight line shape, the tool accelerates the straight line at an acceleration a l The axis accelerates to a feed speed of F, moves at a constant speed of F, and then decelerates to a feed speed of 0 at a linear acceleration of a1. In the portion moving at a constant speed of F, the acceleration and deceleration after passing through a corner appears as vibration. Therefore, it is necessary to set the length dimension so that this portion is longer than a predetermined length. The linear acceleration is a l , the speed difference at the corner V c If the feed speed is F and the constant speed movement portion is required for t1 seconds, the length dimension y of the straight line after corner machining can be calculated by the following formula 1. Then, the dimension calculation unit 120 calculates the length dimension so that the machining time is the shortest within the range that satisfies this condition, that is, so that the length is the shortest.
[0027]
number
[0028] Furthermore, for example, the dimension calculation unit 120 determines the curvature dimension of the machined shape of the R-angle corner based on the value set in the parameter of the allowable acceleration of the curved surface. Fig. 5 is a diagram showing the path of movement of the tool when machining the R-angle corner. The length of the curved surface when machining the R-angle corner is determined by the curvature (radius of curvature). In general, when evaluating the machining state of a curved surface, the feed rate is set to F, the allowable acceleration of the curved surface is set to ac In this case, it is desirable that the curvature κ calculated by the following formula 2 satisfies the following condition. Here, r is the radius of curvature of the R-angle corner. Then, the dimension calculation unit 120 calculates the curvature dimension so that the curvature is smallest within the range that satisfies this condition.
[0029]
number
[0030] The program creation unit 130 creates an evaluation program 200 based on the machining shape selected by the shape selection unit 110 and the dimensions of each part calculated by the dimension calculation unit 120. The evaluation program 200 created by the program creation unit 130 is a combination of the machining shapes selected in order based on the parameters of the evaluation target. Furthermore, the dimensions of each part of the tool path moved by the evaluation program 200 are the dimensions calculated by the dimension calculation unit 120. The program creation unit 130 outputs the created evaluation program 200 to the program output unit 140.
[0031] When combining machining shapes one after the other, the program creation unit 130 changes the orientation of the subsequent machining shape so that the tool movement direction at the end point of the previous machining shape and the tool movement direction at the start point of the subsequent machining shape are smoothly connected. In addition, when combining machining shapes, the program creation unit 130 compares the last movement command of the previous machining shape with the first movement command of the next machining shape. If these are the same type of movement command, the previous and next movement commands are replaced with one movement command, and then the machining shapes are combined. At this time, the dimensions of the replacement movement command may be set so that the machining time is shortened within a range that satisfies the dimensional conditions defined in the previous and next movement commands. For example, as illustrated in FIG. 6, consider a case where a R-angle corner shape is combined after a square corner shape. At this time, a dimensional condition is defined in the last movement command of the square corner shape. Also, a dimensional condition is not defined in the first movement command of the R-angle corner shape. In this case, the last movement command of the square corner shape and the first movement command of the R-angle corner shape are replaced with movement commands that shorten the machining time within a range that satisfies the dimensional condition of the last movement command of the square corner shape, and then combined.
[0032] When there is a machining shape that can be commonly used for the evaluation of two or more parameters, the program creation unit 130 may integrate the machining shapes into one machining shape. For example, when it is necessary to evaluate a parameter of acceleration of a straight line and a parameter of a speed difference of a corner, the machining shapes used for the respective evaluations are a straight line shape and a square corner shape. Here, it is assumed that the dimension calculation unit 120 calculates the length dimension of the straight line shape as X1 and the length dimension of the straight line after corner processing of the square corner shape as X2. At this time, if the length of X1 is greater than the length of X2, as exemplified in FIG. 7, the machining shapes may be integrated into a square corner shape in which the length dimension of the straight line after corner processing is X1. In the integrated shape, both the parameters of the acceleration parameter of the straight line and the parameter of the corner speed difference can be evaluated in the straight line after corner processing.
[0033] The program output unit 140 outputs the evaluation program 200 created by the program creation unit 130. The program output unit 140 may present the evaluation program 200 to an operator by displaying and outputting it on the display device 70. The program output unit 140 may also output the evaluation program 200 to the industrial machine 4 via the network 5. Furthermore, the evaluation program 200 may also be output to a higher-level computer such as a fog computer 6 or a cloud server 7.
[0034] The evaluation program creation device 1 having the above configuration can change the evaluation program to one suitable for evaluating the adjusted parameters each time a parameter adjustment is attempted, thereby improving the efficiency of parameter adjustment. For example, when an operator is adjusting parameters of a specific industrial machine, an evaluation program is created that processes the minimum shape required to evaluate the parameter each time the parameter is adjusted. In this way, compared to the case where a fixed evaluation program is executed each time a parameter is adjusted, no extra processing is required. Therefore, the cycle time for parameter adjustment is improved. This is not limited to the case where parameters are adjusted manually, but can also be used when parameters are adjusted using, for example, a simulation device or a machine learning device.
[0035] For example, as illustrated in FIG. 8, consider a case where an acceleration / deceleration adjustment device 300 is provided that adjusts parameters related to machining in an industrial machine 4 using machine learning technology. The acceleration / deceleration adjustment device 300 includes a machine learning device 350 that estimates parameter adjustments suitable for conditions. The acceleration / deceleration adjustment device 300 adjusts the parameters estimated by the machine learning device 350, then trials machining, and evaluates the parameter adjustments estimated by the machine learning device 350 from the results. The machine learning device 350 learns parameter adjustments based on the evaluation results. In the acceleration / deceleration adjustment device 300 that performs such operations, when the machine learning device 350 estimates parameter adjustments, it outputs the estimated parameter adjustments to the evaluation program creation device 1 of the present invention. Then, machining is trialed using the evaluation program 200 output by the evaluation program creation device 1, and the parameter adjustments are evaluated. This is expected to significantly improve the efficiency of evaluation of parameter adjustments that are repeatedly performed.
[0036] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described examples of the embodiments, and can be embodied in various forms by making appropriate modifications. [Explanation of symbols]
[0037] 1 Evaluation program creation device 2. Industrial machinery 4. Industrial machinery 5. Network 6. Fog Computer 7. Cloud Server 11 CPU 12 ROM 13 RAM 14 Non-volatile memory 15,17,18,20 Interface 22 Bus 70 Display device 71 Input Devices 72 External equipment 100 Parameter acquisition section 110 Shape selection section 120 Dimension Calculation Section 130 Program Creation Department 140 Program Output Section 200 Evaluation Programs 210 Evaluation shape memory unit
Claims
1. An evaluation program creation device that creates an evaluation program for evaluating adjustment of parameters of an industrial machine, A parameter acquisition unit that acquires parameters related to processing by the industrial machine; a shape selection unit that selects a machining shape necessary for evaluating the parameters based on the parameters; a dimension calculation unit for calculating dimensions of each part of the processed shape required for evaluating the parameters based on the parameters and the processed shape; a program creating unit that creates an evaluation program based on the machining shape selected by the shape selection unit and the dimensions of each part calculated by the dimension calculation unit; a program output unit that outputs the evaluation program created by the program creation unit; An evaluation program creation device comprising:
2. The dimensions of each part include at least one of a linear distance or a curved surface curvature, 2. The evaluation program creating device according to claim 1.
3. A computer-readable recording medium having a program recorded thereon for operating a computer as an evaluation program creation device that creates an evaluation program for evaluating adjustment of parameters of an industrial machine, A parameter acquisition unit that acquires parameters related to processing by the industrial machine; a shape selection unit that selects a machining shape necessary for evaluating the parameters based on the parameters; a dimension calculation unit for calculating dimensions of each part of the processed shape required for evaluating the parameters based on the parameters and the processed shape; a program creating unit that creates an evaluation program based on the machining shape selected by the shape selection unit and the dimensions of each part calculated by the dimension calculation unit; a program output unit that outputs the evaluation program created by the program creation unit; A computer-readable recording medium having a program recorded thereon for operating a computer.
Citation Information
Patent Citations
Parameter automatic adjustment apparatus for adjusting parameters in response to processing condition
JP2016130908A
Processing evaluation system, processing evaluation method and processing evaluation program
JP2016162102A
Acceleration / deceleration control apparatus
JP2018181217A