WO2017145912A1 - Numerical control parameter adjustment device and numerical control parameter adjustment method - Google Patents

Numerical control parameter adjustment device and numerical control parameter adjustment method Download PDF

Info

Publication number
WO2017145912A1
WO2017145912A1 PCT/JP2017/005765 JP2017005765W WO2017145912A1 WO 2017145912 A1 WO2017145912 A1 WO 2017145912A1 JP 2017005765 W JP2017005765 W JP 2017005765W WO 2017145912 A1 WO2017145912 A1 WO 2017145912A1
Authority
WO
WIPO (PCT)
Prior art keywords
numerical control
control parameter
program
control program
parameter
Prior art date
Application number
PCT/JP2017/005765
Other languages
French (fr)
Japanese (ja)
Inventor
健太 ▲濱▼田
宮田 亮
佐藤 達志
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2017529408A priority Critical patent/JP6189007B1/en
Publication of WO2017145912A1 publication Critical patent/WO2017145912A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/406Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
    • G05B19/4069Simulating machining process on screen

Definitions

  • the present invention relates to a numerical control parameter adjusting device and a numerical control parameter adjusting method for adjusting a numerical control parameter of a numerical control device.
  • machining of a workpiece by a numerically controlled machine tool is often performed through the following steps.
  • the numerical control device reads and analyzes the numerical control program to generate a movement path for the tool and the workpiece.
  • the numerical controller uses the numerical control parameters set in the numerical controller, the numerical controller generates interpolation point data obtained by interpolating the movement paths of the tool and the workpiece for each control cycle.
  • the interpolation point data generated by the numerical control device is commanded to each axis of the numerically controlled machine tool, thereby moving the tool and the workpiece to perform processing. Therefore, the numerical control program and the numerical control parameter greatly affect the machining shape.
  • the operator performs a plurality of trial machining operations using a numerically controlled machine tool, and adjusts a numerical control program and numerical control parameters.
  • this adjustment method requires time corresponding to the number of trial machining operations. Moreover, since the numerically controlled machine tool cannot be used for production during the adjustment, the production efficiency is lowered.
  • a machining simulation technique is used for adjusting the numerical control program and the numerical control parameter. If a problem is found in the machining shape estimated by the machining simulation, the operator corrects the numerical control program and the numerical control parameters, and estimates the machining shape again by the machining simulation. This process is repeated until the problem is resolved.
  • the adjustment method using the machining simulation can shorten the adjustment time, although it depends on the calculation conditions including the performance of the processor, as compared with the adjustment after the trial machining.
  • a numerically controlled machine tool can be used for production during adjustment using machining simulation, and a reduction in production efficiency can be avoided.
  • Patent Document 1 discloses an invention aimed at efficiently adjusting numerical control parameters.
  • Patent Document 1 discloses a numerical control device having a function of performing simulation for each of a plurality of set numerical control parameters and predicting an error of a locus of a numerically controlled machine tool and a machining time. Since the combinations of numerical control parameters to be simulated are narrowed down, the combination of numerical control parameters can be efficiently adjusted so as to satisfy an allowable error and achieve a minimum machining time.
  • the present invention has been made in view of the above, and can provide a numerical control parameter adjustment device that can confirm the influence on the machining shape by changing the numerical control parameters in a short time and can perform the adjustment work efficiently. With the goal.
  • the present invention is a numerical control parameter adjusting device that adjusts numerical control parameters based on a cutting deformation result of a three-dimensional model of an object to be processed.
  • a numerical control program that shows the movement path of the object, a numerical control parameter that represents cutting conditions that contribute to machining accuracy and machining time, a movement path that has undergone interpolation and acceleration / deceleration processing, and a machining target based on the tool model Means for cutting and deforming a three-dimensional model of an object, and numerical control program dividing means for dividing the numerical control program into one or more divided programs for each block in which all axes of the numerically controlled machine tool are stopped among the numerical control programs;
  • a processing object partial area specifying means for specifying a partial area representing a partial area of the three-dimensional model of the processing object, and the specified partial area Means for extracting a division program through which the component model passes, numerical control parameter setting means for setting numerical control parameters for the extracted division program, and instructions for changing
  • the present invention it is possible to confirm the influence on the machining shape due to the change of the numerical control parameter in a short time, and it is possible to obtain a numerical control parameter adjusting device that can perform the adjustment work efficiently.
  • FIG. The flowchart which shows operation
  • Diagram showing the image of interpolation and acceleration / deceleration performed in the numerical control simulation unit The figure which shows the image of the change of the tool tip position by considering the drive characteristic of the numerical control machine tool in the drive control simulation part.
  • the figure which shows the example of the processing shape estimation performed in the processing simulation part The figure which shows the image of the calculation of the shape error performed in the shape error calculation part
  • FIG. 9 is a flowchart showing a numerical control parameter adjustment method using the numerical control parameter adjustment device according to the fourth embodiment.
  • FIG. 6 The figure which shows operation
  • FIG. 1 is a diagram showing a configuration of a numerical control parameter adjustment device according to Embodiment 1 of the present invention.
  • 1 includes a numerical control program analysis unit 101, a movement path range output unit 102, a numerical control simulation unit 103, a drive control simulation unit 104, a machining simulation unit 105, and a shape error calculation.
  • the numerical control program analysis unit 101 reads and analyzes the numerical control program 121 to generate a movement path for the tool and the workpiece.
  • the numerical control program 121 is a program for instructing a machining path of a workpiece. Examples of the numerical control program 121 include a program output from a CAM (Computer Aided Manufacturing) and a program input from a numerical control machine tool user.
  • CAM Computer Aided Manufacturing
  • the movement path range output unit 102 outputs the movement paths of the tool and the processing target generated by the numerical control program analysis unit 101 by the range specified by the numerical control simulation execution range 122. As the initial value of the numerical control simulation execution range 122, all moving route ranges are designated.
  • the numerical control simulation unit 103 interpolates and accelerates / decelerates the movement route for each control cycle using the numerical control parameter set in the parameter 123 for the movement route range output from the movement route range output unit 102. To generate interpolation point data.
  • the drive control simulation unit 104 simulates the movement of each axis of the numerically controlled machine tool using the drive control parameter set in the parameter 123 for the interpolation point data generated by the numerical control simulation unit 103. Tool tip position data is generated.
  • the machining simulation unit 105 reads the material shape data 124 representing the shape of the workpiece, constructs a virtual model of the workpiece, and virtually follows the tool tip position data generated by the drive control simulation unit 104.
  • the machining shape is estimated by moving the tool and removing the intersecting region with the virtual machining object from the virtual machining object, and the estimated machining shape data 125 is generated.
  • the material shape data 124 includes shape data from simple shapes typified by cubes and cylinders to complex machining shapes after machining simulation.
  • the shape error calculation unit 106 compares the estimated machining shape data 125 generated by the machining simulation unit 105 with the target machining shape data 126 representing the target machining shape, and calculates an error between the estimated machining shape and the target machining shape. Then, the shape error data 127 is generated.
  • the parameter adjustment unit 107 adjusts the numerical control parameter and the drive control parameter using the shape error data 127, and sets the adjusted parameter in the parameter 123.
  • the numerical control simulation execution range calculation unit 108 uses the shape error data 127 to calculate a tool movement path range in which the shape error does not fall within the allowable error. Then, the calculated tool movement path range is set in the numerical control simulation execution range 122.
  • FIG. 2 is a flowchart showing the operation of the numerical control parameter adjustment apparatus according to the present embodiment.
  • processing is started and a numerical control program and material shape data are input (S11). That is, a numerical control program for instructing the machining path of the workpiece is input from the outside and stored in the numerical control program 121.
  • the external input is performed by an output from the CAM or an input by a numerical control machine tool user.
  • material shape data representing the initial shape of the workpiece is input from the outside and stored in the material shape data 124.
  • the material shape data representing the initial shape is typically a cube and a cylinder.
  • External input is performed by reading CAD (Computer Aided Design) data or by selection by a numerically controlled machine tool user.
  • CAD Computer Aided Design
  • tool tip position data in a specified range is generated (S12). That is, first, the numerical control program analysis unit 101 reads and analyzes the numerical control program 121 to generate a movement path of the tool and the workpiece. Next, the movement path range output unit 102 generates a movement path range of the tool and the workpiece corresponding to the range set in the numerical control simulation execution range 122. Since the initial value of the numerical control simulation execution range 122 is set for all the movement route ranges, the simulation is performed over all the movement route ranges when the first simulation is executed. In addition, the numerical control simulation unit 103 uses the numerical control parameter set in the parameter 123 for the movement path range of the tool and the processing object output from the movement path range output unit 102, and uses the numerical control parameter.
  • the interpolation path data is generated by interpolating and accelerating / decelerating the movement path of each movement cycle.
  • the drive control set in the parameter 123 is performed on the interpolation point data obtained by the drive control simulation unit 104 interpolating the movement path range of the tool and the workpiece output from the numerical control simulation unit 103 for each control period.
  • FIG. 3 is a diagram illustrating an image of interpolation and acceleration / deceleration performed by the numerical control simulation unit 103.
  • an interpolation point I i obtained by linearly machining from R 201 to R 202 and interpolating and accelerating / decelerating a numerical control program instructing a machining path so as to machine from R 202 to R 203 in a straight line. (201 ⁇ i ⁇ 213) is shown.
  • 201 ⁇ i ⁇ 213 is shown.
  • in order to operate the numerically controlled machine tool according to correctly Directive must increase the rate of Y-axis speed of the X axis in the R 202 (s) to zero.
  • the X-axis speed is not set to zero, and the Y-axis speed is increased while decelerating the X-axis. Therefore, there is a deviation from the command path between the interpolation points I 205 to I 208 .
  • the machining time and machining accuracy vary depending on how much such deviation is allowed, and such allowable error is set as a numerical control parameter.
  • FIG. 4 is a diagram illustrating an image of a change in the tool tip position caused by considering the drive characteristics of the numerically controlled machine tool in the drive control simulation unit 104.
  • FIG. 4 shows how the speed of one target axis in the numerically controlled machine tool changes.
  • a dotted line C 201 indicates a command value of the speed of the target axis
  • a solid line C 202 indicates an estimated value of the speed of the target axis.
  • the speed of each axis causes a time delay C 203 and a steady deviation C 204 with respect to the command speed, and this time delay C 203 and the steady deviation vary, although it varies depending on the driving characteristics of the numerically controlled machine tool.
  • C 204 causes a deviation in the tool tip position and the position of the workpiece.
  • the machining shape is estimated (S13). That is, the machining simulation unit 105 reads the material shape data 124 stored in S11 to generate a virtual machining object, and virtually operates the tool in accordance with the tool tip position data generated in S12. The machining shape is estimated by removing the intersecting region between the tool and the virtual machining object from the virtual machining object. Then, the estimated machining shape data is stored in the estimated machining shape data 125.
  • FIG. 5 is a diagram illustrating an example of machining shape estimation performed by the machining simulation unit 105.
  • FIG. 5 shows changes in the material shape data 302 when the material shape data 302 is a cube, the tool 301 is a flat end mill, and the tool 301 is operated.
  • the tool 301 is a flat end mill.
  • the present invention is not limited to this, and the tool 301 may have any shape defined by a ball end mill and a drill.
  • the tool information may be managed by numbers, and the tool replacement timing may be transmitted to the machining simulation unit 105.
  • the estimated machining shape after the machining simulation can be used for the material shape data 302 of the next machining simulation.
  • the machining shape in finishing can be estimated after checking the machining shape in rough machining.
  • the shape error is calculated (S14). That is, the shape error calculation unit 106 compares the estimated machining shape data 125 and the target machining shape data 126 to calculate a shape error, and stores it in the shape error data 127.
  • the target machining shape data 126 is obtained by performing a machining simulation using the numerical control program 121 and the material shape data 124. Further, CAD data created by a numerically controlled machine tool user may be used as the target machining shape data 126.
  • the numerical control parameter adjusting device may include a display unit, and the estimated machining shape data 125, the target machining shape data 126, and the shape error data 127 may be displayed on the display unit for the numerically controlled machine tool user.
  • FIG. 6 is a diagram showing an image of shape error calculation performed by the shape error calculation unit 106.
  • FIG. 6 shows a state in which the estimated error data 404 is calculated by estimating the estimated machining shape data 402 from the material shape data 401 and comparing the estimated machining shape data 402 with the target machining shape data 403. .
  • FIG. 6 also shows an uncut region 405 and an overcut region 406.
  • Whether or not the shape error data falls within the allowable error is determined by calculating the volume of the shape error region when the shape error calculation unit 106 calculates the shape error data 127 and adding the error to the shape error data 127. A value is stored as an amount, and the error amount and the allowable error amount are compared with each other. In addition to the volume of the shape error area, the number of movement paths included in the shape error area may be used as the error amount. If the shape error data 127 is within the allowable error (S15: Yes), the process is terminated.
  • the parameter adjustment unit 107 reads the shape error data 127 and adjusts the parameters, and stores the adjusted parameters in the parameter 123.
  • the adjusted parameters are parameters that have not been set up to now.
  • the numerical control simulation execution range calculation unit 108 reads the shape error data 127 and extracts a region where the shape error exists and does not fall within the allowable error. Then, the moving path range of the tool that has passed through the extracted area is extracted and stored in the numerical control simulation execution range 122.
  • FIG. 7 is a diagram illustrating an image of a method for extracting a moving path range in which the shape error performed by the numerical control simulation execution range calculation unit 108 does not fall within the allowable error.
  • the command path of the numerical control program is R i (501 ⁇ i ⁇ 505)
  • the tool tip position obtained by the simulation is I j (501 ⁇ j ⁇ 513).
  • the tool tip positions between I 501 and I 505 and between I 509 and I 513 coincide with the command path of the numerical control program, and can be expressed as ranges A 501 and A 511 within the allowable error. .
  • the tool tip position between I 505 and I 509 deviates from the command path of the numerical control program, and the error exceeds the allowable error. Therefore, it is necessary to change the parameter to a path that falls within the allowable error. is there. Since such a shift in the path is transferred to the estimated machining shape in the machining simulation, a region between I 505 and I 509 causes a shape error.
  • the range between I 505 and I 509 can be expressed as a range A 502 that does not fall within the allowable error, and the command paths R 502 to R 503 and R 503 to R 504 of the numerical control program corresponding to the tool tip position are It becomes the numerical control simulation execution range A 503 .
  • FIG. 8 is a diagram showing an image of a parameter setting method in a range in which the shape error falls within the allowable error in the numerical control simulation execution range calculation unit 108.
  • FIG. 8 shows a state in which the command path of the numerical control program 121 is divided into ranges of B 501 , B 503 , and B 505 .
  • the command path range B 501 it is assumed that the shape error is within the allowable error with the initial parameter, and the command path range B 503 and B 505 has the shape error within the allowable error with the initial parameter, and parameter change 1 , 2, the parameters are adjusted to different parameters by the parameter adjustment unit 107.
  • the command path range B 501 including the numerical control programs 1 and 2 does not change the parameters because the shape error is within an allowable error with the initial parameters, but the command path range B 503 including the numerical control program m is included . Since the shape error is not within the permissible error in the initial parameters, the parameter is changed to the parameter adjusted in B502 as shown in the parameter change 1. Similarly, the command path range B 505 including the numerical control program n is changed to the parameter adjusted in B 504 as shown in the parameter change 2 because the shape error is not within the allowable error with the initial parameter. ing. Note that once the parameter is changed in the numerical control program 121, the parameter is changed from the initial parameter. Therefore, even if the command path range includes the shape error within the allowable error with the initial parameter, the command path range It is necessary to make changes to the initial parameters at the beginning. However, there is no need to make any particular changes at the top of the numerical control program 121.
  • the numerical control simulation execution range 122 is set in S17, the moving route range is limited in the subsequent numerical control simulation. Therefore, if the information of the starting point of the moving path range, the position of R 502 in FIG. 7, the velocity and the acceleration is stored in S17 and used as the initial state values, the numerical control simulation unit 103 and the drive control simulation unit 104 move. A simulation with a limited route range can be performed.
  • the starting point information of each movement route range may be stored.
  • the numerical control parameter adjustment device executes the numerical control simulation and the drive control simulation only in a range where the shape error does not fall within the allowable error after the parameter change. Therefore, the time required to obtain the parameter change result can be shortened, and the time for the numerically controlled machine tool user to adjust the parameter can be shortened.
  • the numerical control parameter adjustment device may be constructed on a network so that parameters can be acquired via the Internet.
  • the time for adjusting the parameters can be further shortened.
  • grid computing or cloud computing can be used.
  • Embodiment 2 a numerical control parameter adjustment device that performs an operation different from that of the first embodiment will be described.
  • the configuration of the numerical control parameter adjustment device according to the present embodiment is the same as the configuration shown in FIG.
  • FIG. 9 is a flowchart showing the operation of the numerical control parameter adjusting apparatus in the present embodiment.
  • parameters that is, numerical control parameters and drive control parameters are input (S21).
  • a simulation is executed (S22). That is, the calculation of the shape error is performed as in S11 to S14 in FIG.
  • S23 it is determined whether or not the shape error data 127 stored in S22 falls within an allowable error (S23). If the shape error data 127 stored in S22 is within the allowable error (S23: Yes), the process is terminated.
  • the shape error data 127 stored in S22 When the shape error data 127 stored in S22 does not fall within the allowable error (S23: No), the shape error data 127 stored in S22 is smaller, that is, the shape error data 127 stored in S22 is currently It is determined whether or not it is smaller than the smallest shape error data (S24). As an example, comparison between the shape error data is performed by calculating the volume of the shape error region when the shape error calculation unit 106 calculates the shape error data 127 and storing the value in the shape error data 127 as an error amount. It can be easily executed by comparing the error amounts. In addition to the volume of the shape error area, the number of movement paths included in the shape error area may be used as the error amount. In this way, the parameters can be adjusted so as to reduce the shape error.
  • the numerical control simulation execution range and the optimum parameters are updated (S25). That is, the currently set parameter is updated as the optimum parameter, and the numerical control simulation execution range is updated by the same processing as in FIG. Since there is no comparison target at the time of the first simulation execution, the numerical control simulation execution range and the optimum parameters are updated in this case (S25).
  • the set parameter and the corresponding shape error data are stored, and the parameter having the smallest error amount of the shape error data is stored as the optimum parameter.
  • the parameter having the smallest error amount of the shape error data and the error amount at the present are known, comparison between the shape error data in S24 is facilitated.
  • the numerical control simulation execution range is calculated using the shape error data having the smallest error amount of the shape error data at present. Therefore, since the numerical control simulation execution range is calculated only when the error amount of the shape error data is small, the numerical control simulation execution range is narrowed, and the simulation execution time can be further shortened.
  • each parameter is adjusted and updated using the parameter corresponding to the shape error data with the smallest error amount of the shape error data at present.
  • FIG. 10 is a diagram showing the parameter adjustment process shown in S26. First, it is determined whether or not the parameter to be adjusted has a range (S31). If the parameter to be adjusted has a range (S31: Yes), the parameter is set to the lower limit value, and after executing the simulation, the parameter is set to the upper limit value and the simulation is executed (S32). When the lower limit value and the upper limit value are not fixed, values set by the numerical control machine tool user may be used.
  • the parameter to be adjusted does not have a range (S31: No)
  • the parameter is set to ON or OFF, a parameter different from the currently set parameter is set, and the simulation is executed (S36).
  • the upper and lower limits are set with the parameter having the smaller shape error and the current parameter (S33).
  • the shape error of the parameter set to the lower limit value is compared with the shape error of the parameter set to the upper limit value. If the shape error of the lower limit parameter is smaller, the current parameter is set as the new upper limit value. If the shape error of the upper limit parameter is smaller, the current parameter is set as a new lower limit value.
  • the parameter is set to an intermediate value and a simulation is executed (S34). That is, a parameter is set to an intermediate value between the lower limit value and the upper limit value set in S33, and a simulation is executed.
  • S34 by setting the current parameter to an intermediate value, it is possible to search for a parameter having a small shape error while narrowing the parameter range in half, and the parameter can be adjusted effectively. Is possible.
  • the numerical control parameter adjustment device stores the current optimum parameters and shape error data, and only when the shape error becomes smaller, the parameter and shape error
  • the parameters can be effectively adjusted by updating the data and the numerical control simulation execution range. Further, as the parameters are adjusted in the optimum direction, the shape error region is narrowed, and the simulation execution range is similarly narrowed. Therefore, the time required to obtain the parameter change result can be shortened, and the time for the numerically controlled machine tool user to adjust the parameter can be shortened.
  • the parameter adjusted by the operator it is also possible to provide the parameter adjusted by the operator to the numerically controlled machine tool user in the remote place, so that an operator who is skilled in handling the numerically controlled machine tool is arranged at the base, It is also possible to provide adjusted parameters to numerically controlled machine tool users at various remote locations. Also in this embodiment, a configuration may be adopted in which parameters can be acquired via the Internet. In addition, the time for adjusting the parameters using calculation resources on the network may be further shortened.
  • FIG. 11 is a diagram showing a configuration of a numerical control parameter adjusting apparatus according to Embodiment 3 of the present invention.
  • the numerical control parameter adjustment apparatus shown in FIG. 11 has a configuration in which a material shape data update unit 109 is added to the numerical control parameter adjustment apparatus shown in FIG. Therefore, the description of the configuration other than the material shape data update unit 109 is omitted.
  • the material shape data update unit 109 updates the material shape data 124 using the shape error data 127 calculated by the shape error calculation unit 106.
  • FIG. 12 is a flowchart showing the operation of the numerical control parameter adjusting apparatus according to the present embodiment.
  • the flowchart shown in FIG. 12 is the same as the flowchart shown in FIG. 2 except for the process of updating the material shape data in S18. For this reason, description of processes other than S18 is omitted.
  • the material shape data updating unit 109 updates the material shape data 124 with the result of correcting the region where the shape error data 127 exists with respect to the estimated processed shape data 125 (S18).
  • the updated material shape data 124 may be displayed on the display unit for the numerical control machine tool user.
  • the processing of S16, the processing of S17, and the processing of S18 are performed in parallel. Note that the process of S16, the process of S17, and the process of S18 may be processed in series regardless of the order.
  • FIG. 13 is a diagram showing an image of material shape data update performed by the material shape data update unit 109.
  • the material shape data update unit 109 compares the material shape data 601 with the estimated processed shape data 602 and updates the material shape data 603.
  • the estimated machining shape data is left as it is.
  • the portion determined to be left uncut in S14 is left as the estimated machining shape data, and the portion determined as being excessively cut.
  • the correction amount is obtained by multiplying the error amount of the shape error volume of the overcut region by a factor. This coefficient is set by the numerically controlled machine tool user.
  • the shape of the shape is already estimated in the region that does not include the shape error data in the next and subsequent machining simulations, so that the execution time of the machining simulation can be shortened. Further, in the area including the shape error data, it can be determined whether there is no uncut portion again for the portion that is determined to be left uncut, and it is determined whether the portion that is determined to be over cut is excessively cut. be able to. Therefore, it is possible to verify whether or not the newly set parameters are functioning effectively.
  • the numerical control parameter adjustment device executes the numerical control simulation, the drive control simulation, and the machining simulation only in a range in which the shape error does not fall within the allowable error after the parameter change. To do. Therefore, the time required to obtain the parameter change result can be shortened, and the time for the numerically controlled machine tool user to adjust the parameter can be shortened.
  • the parameter adjusted by the operator it is also possible to provide the parameter adjusted by the operator to the numerically controlled machine tool user in the remote place, so that an operator who is skilled in handling the numerically controlled machine tool is arranged at the base, It is also possible to provide adjusted parameters to numerically controlled machine tool users at various remote locations. Also in this embodiment, a configuration may be adopted in which parameters can be acquired via the Internet. In addition, the time for adjusting the parameters using calculation resources on the network may be further shortened.
  • machining simulation is performed using the tool tip position generated by performing numerical control simulation and drive control simulation, and the estimated machining shape and the tool described in the numerical control program are processed.
  • a range in which the machining accuracy does not meet the requirements for the currently set numerical control parameters and drive control parameters is extracted. . If there is a range where the machining accuracy does not satisfy the requirement, the numerical control parameter is changed, and further simulation is performed only within the range. In this way, when the numerical control parameter is changed, the range of the movement path of the tool and the workpiece to be numerically controlled and the drive control simulation is narrowed. Therefore, the time for the numerical control simulation and the drive control simulation to be repeated is shortened. Can continue.
  • FIG. 14 is a diagram showing a configuration of a numerical control parameter adjusting apparatus according to Embodiment 4 of the present invention.
  • a numerical control parameter adjusting device 1401 shown in FIG. 14 includes a numerical control program dividing unit 1431, a processing object partial region specifying unit 1432, a specified region divided program extracting unit 1433, a numerical control parameter setting unit 1434, and a cutting deformation.
  • a control unit 1402 having a processing unit 1435, a cutting deformation result display unit 1436, and an optimum numerical control program output unit 1437 is provided.
  • the numerical control parameter adjustment device 1401 includes a storage unit 1403 that stores numerical control parameter adjustment information 1445 including a division program 1441, a partial region 1442, and a division parameter 1443.
  • the storage unit 1403 stores a three-dimensional model 1444 of the processing object.
  • the numerical control parameter adjusting device 1401 includes an input device 1411 and a display device 1412.
  • the display device 1412 include a display that is a display output destination of the cutting deformation result.
  • Examples of the input device 1411 include a keyboard and a mouse for the operator to select a partial area and set numerical control parameters. Note that the input device 1411 and the display device 1412 may be provided outside the numerical control parameter adjustment device 1401.
  • the numerical control parameter adjusting device 1401 includes a numerical control program 1421 that is an input of the numerical control program dividing unit 1431, a numerical control parameter 1422 that is an initial value of the dividing parameter 1443, a designated area divided program extracting unit 1433, A tool model 1423 that is an input of the cutting deformation processing unit 1435 is externally input, and an optimal numerical control program 1424 that is an output of the optimal numerical control program output unit 1437 is externally output.
  • FIG. 15 is a diagram showing a hardware configuration for realizing the numerical control parameter adjusting apparatus according to the fourth embodiment of the present invention.
  • a control unit 1402 illustrated in FIG. 14 is a processing device including a processor 1501 and a memory 1502, and each functional unit included in the control unit 1402 is realized by the processor 1501 by software processing.
  • the storage unit 1403 is a storage 1503 that holds data in a nonvolatile manner.
  • software that implements each functional unit of the control unit 1402 is also stored in the storage 1503.
  • the division program 1441 is stored in the storage unit 1403 by the numerical control program division unit 1431.
  • the numerical control program dividing unit 1431 receives the numerical control program 1421 and divides the numerical control program 1421 into one or more divided programs 1441 for each block where all axes of the numerically controlled machine tool are stopped. Specifically, the numerical control program dividing unit 1431 determines whether or not all the axes of the numerically controlled machine tool are blocks that stop one block at a time from the top of the numerical control program 1421.
  • the numerical control program 1421 is divided with the block up to one division program.
  • the rapid feed command G0 and the duel command G4 can be exemplified in addition to the head and end portions of the numerical control program 1421.
  • the partial area 1442 is information indicating a partial area of the workpiece to be adjusted by the operator and is stored in the storage unit 1403 by the workpiece partial area specifying unit 1432.
  • the processing target partial area specifying unit 1432 causes the operator to specify the partial area 1442 via the input device 1411.
  • the operator can easily select the partial area 1442 by displaying the three-dimensional model 1444 of the workpiece and the selected partial area 1442 to the operator via the display device 1412.
  • a plurality of partial regions 1442 may be selected. Examples of the partial region 1442 include a rectangular region and a spherical region.
  • the designated area division program extraction unit 1433 receives the division program 1441, the partial area 1442, and the tool model 1423, and extracts the division program 1441 through which the tool model 1423 passes through the partial area 1442.
  • the division program 1441 extracted here is one in which the tool passes through the partial area 1442 even in one block of each of the division programs 1441.
  • Whether the tool model 1423 passes through the partial area 1442 is determined based on whether there is an intersecting area between the tool model 1423 and the sweep shape formed by the movement command of the block and the partial area 1442. Just do it.
  • the division parameter 1443 represents a numerical control parameter corresponding to each division program 1441, and is stored in the storage unit 1403 by the numerical control parameter setting unit 1434.
  • the numerical control parameter setting unit 1434 sets the division parameter 1443 according to the operator's operation on the input device 1411. Examples of the numerical control parameters set here include parameters related to machining time or machining accuracy, including corner deceleration angle and acceleration / deceleration coefficient.
  • the numerical control parameter adjustment information 1445 is a database including a division program 1441, a partial area 1442, and a division parameter 1443.
  • the three-dimensional model 1444 of the workpiece is three-dimensional data representing the shape of the workpiece after cutting deformation, and is stored in the storage unit 1403 by the cutting deformation processing unit 1435.
  • Specific examples of the three-dimensional model include a boundary expression model that expresses the surface shape of the target shape by a set of triangular or polygonal surfaces, a voxel model that expresses the target shape by a set of minute cubes, and other similar models. It is a discrete model.
  • the cutting deformation processing unit 1435 receives the tool model 1423 and the numerical control parameter adjustment information 1445 as inputs, and performs a process of cutting and deforming the three-dimensional model 1444 of the workpiece.
  • a region corresponding to the partial region 1442 included in the cutting deformation information in the three-dimensional model 1444 of the workpiece is restored to the three-dimensional model 1444 of the workpiece before cutting deformation.
  • each range of the numerical control program corresponding to the partial area 1442 in the numerical control parameter adjustment information 1445 included in the tool model 1423 and the cutting deformation information, and the movement trajectory based on the numerical control parameters set for each of the ranges is obtained as the shape of the workpiece after cutting. Update.
  • the cutting deformation result display unit 1436 receives the three-dimensional model 1444 of the workpiece, generates a projection image based on the specified line-of-sight direction and display scale, and outputs the projection image to the display device 1412.
  • the optimum numerical control program output unit 1437 receives the division program 1441 and the division parameter 1443 of the numerical control parameter adjustment information 1445 as input, and inserts a block to be changed to the division parameter 1443 set for each division program 1441 at the head of the division program 1441. Then, an optimum numerical control program 1424 in which these division programs 1441 are integrated is output. Note that programmable parameter input functions G10 and L70 can be exemplified as the numerical control parameter change block.
  • FIG. 16 is a flowchart showing a numerical control parameter adjustment method using the numerical control parameter adjustment device 1401 according to the fourth embodiment.
  • the cutting deformation from the beginning to the end of the machining is input by the operator to the three-dimensional model 1444 of the machining object indicating the entire machining object.
  • the numerical control program dividing unit 1431 Inside the numerical control parameter adjusting device 1401, the numerical control program dividing unit 1431, the cutting deformation processing unit 1435, and the cutting deformation result display unit 1436 are operated, whereby the numerical control program 1421 is divided and the entire workpiece is processed. Cutting deformation and display on the three-dimensional model 1444 of the workpiece to be processed are executed (step S41).
  • the numerical control program dividing unit 1431 divides the numerical control program 1421 into one or more divided programs 1441.
  • the shape of the entire workpiece is set as the initial value of the partial area 1442
  • the numerical control parameter 1422 is set as the initial value of the division parameter 1443 for each of the division programs 1441
  • the cutting deformation processing unit 1435 The control parameter adjustment information 1445 and the tool model 1423 are input, and the three-dimensional model 1444 of the processing target that indicates the entire processing target is cut and deformed.
  • the cutting deformation result display unit 1436 graphically displays the three-dimensional model 1444 of the processing object indicating the entire processing object on the display device 1412 based on the viewing direction and the display scale.
  • the operator inputs the partial area 1442 including the vicinity of the problem point on the processing through the input device 1411 while referring to the display of the cutting deformation result.
  • the partial area 1442 is set (step S ⁇ b> 42) by the processing object partial area specifying unit 1432, and the specified area division program extracting unit 1433 operates.
  • the specified area division program extraction unit 1433 receives the partial area 1442, the tool model 1423, and the division program 1441, and extracts the division program 1441 through which the tool model 1423 passes through the partial area 1442 (step S43). .
  • a numerical control parameter setting unit 1434 receives the extracted divided program and sets a numerical control parameter for each divided program.
  • the cutting deformation processing unit 1435 receives the tool model 1423 and the numerical control parameter adjustment information 1445 as input, performs cutting deformation processing again on the region of the three-dimensional model 1444 of the workpiece corresponding to the partial region 1442, and displays the cutting deformation result. Update.
  • the cutting deformation result display unit 1436 graphically displays the three-dimensional model 1444 of the processing object indicating the entire processing object on the display device 1412 based on the viewing direction and the display scale.
  • the adjustment of the numerical control parameter is terminated without repeating the adjustment. If there is a problem with the set numerical control parameter, that is, if the machining accuracy required by the set numerical control parameter is not satisfied, the adjustment is repeated and the process returns to the setting of the numerical control parameter (S44).
  • the optimum numerical control program 1424 is output (step S46). Inside the numerical control parameter adjustment device 1401, the optimum numerical control program output unit 1437 operates, and a block to be changed to the division parameter 1443 adjusted for each division program 1441 is inserted at the top of the division program 1441, and the division program 1441 is inserted. An optimal numerical control program 1424 in which is integrated is output. If there are other problem points in processing, the process returns to the setting of the partial area 1442 (S42).
  • the cutting deformation result is updated only for the numerical control program corresponding to the range through which the tool passes in the region set as the workpiece. Moreover, since the influence on the cutting deformation result by the change of the numerical control parameter is limited only within the range, the numerical control parameter can be adjusted for each of the ranges. Therefore, the time until the operator obtains the result of changing the numerical control parameter can be shortened, and the efficiency of the adjustment work of the numerical control parameter can be improved.
  • the operator can provide a numerically controlled program after adjusting numerical control parameters to a numerically controlled machine tool user at a remote location.
  • the numerical control parameter adjustment device may be configured to be connected to a network and obtain a numerical control program after numerical control parameter adjustment via the Internet.
  • a network By using computational resources on the network, it is possible to provide a numerical control parameter adjusting device that does not depend on the performance of computational resources owned by the operator.
  • grid computing or cloud computing can be used.
  • FIG. 17 is a diagram showing a configuration of a numerical control parameter adjustment apparatus according to Embodiment 5 of the present invention.
  • the numerical control program dividing unit 1731 operates differently from the numerical control program dividing unit 1431 in the fourth embodiment, and in addition, a new numerical control program is added. It differs from the numerical control parameter adjustment device 1401 of the fourth embodiment in that the control unit 1702 includes a cutting deformation determination unit 1732 that determines whether each block contributes to cutting deformation. Other data and individual operations of the processing unit are the same as those in the fourth embodiment.
  • the cutting deformation determination unit 1732 receives the numerical control program 1421 and the tool model 1423 as input, and determines whether or not each block from the top of the numerical control program 1421 contributes to the cutting deformation. Specifically, as in the case of the cutting deformation processing unit 1435, a common area of the sweep shape composed of the movement trajectory based on each block of the tool model 1423 and the numerical control program 1421 and the three-dimensional model 1444 of the processing target is processed. It is removed from the three-dimensional model 1444 of an object, and it is determined whether each block contributes to cutting deformation depending on whether a common area exists.
  • the numerical control program dividing unit 1731 receives the numerical control program 1421 and the result of the cutting deformation determining unit 1732 as inputs, and divides the numerical control program 1421 into one or more divided programs 1441.
  • the block that cuts and deforms the workpiece is a cutting block
  • the other blocks are idle running blocks
  • the direction from the beginning to the end of the numerical control program 1421 is followed, and from the end of the numerical control program 1421
  • the distance between the free running block and the cutting block in front of the free running block, the free running block and the free running is divided by idle running blocks in which the distance between the cutting blocks after the block is equal to or greater than the acceleration / deceleration distance.
  • the acceleration / deceleration distance is a movement distance necessary to reach the maximum feed speed determined from the feed speed, machine acceleration, and time constant.
  • each block of the numerical control program 1421 is changed by the cutting deformation determination unit 1732. It is determined whether or not it contributes to the cutting deformation. Based on the determination result, the numerical control program dividing unit 1731 divides the numerical control program 1421.
  • the numerical control parameter adjustment device according to the fifth embodiment is divided more finely than the numerical control parameter adjustment device according to the fourth embodiment. That is, since it is possible to adjust to the optimal numerical control parameter in a finer range, the machining accuracy can be further improved.
  • the cutting deformation result is updated only for the numerical control program corresponding to the range through which the tool passes in the region set as the workpiece. Further, since the influence on the movement trajectory due to the change of the numerical control parameter is limited only within the range, the numerical control parameter can be adjusted for each range. Therefore, the time until the operator obtains the result of changing the numerical control parameter can be shortened, and the adjustment time of the numerical control parameter can be shortened.
  • whether or not there is a numerically controlled machine tool can be used. Therefore, the operator can provide a numerically controlled program after adjusting numerical control parameters to a numerically controlled machine tool user at a remote location.
  • the numerical control parameter adjustment device may be configured to be connected to a network and obtain a numerical control program after numerical control parameter adjustment via the Internet.
  • a network By using computational resources on the network, it is possible to provide a numerical control parameter adjusting device that does not depend on the performance of computational resources owned by the operator.
  • grid computing or cloud computing can be used.
  • FIG. 18 is a diagram showing a configuration of a numerical control parameter adjustment device according to Embodiment 6 of the present invention.
  • the numerical control parameter adjustment device 1801 includes a machining object partial region designating unit 1831, a numerical control parameter setting unit 1832, and an optimum numerical control program output unit 1833 according to the fourth embodiment.
  • the object partial region designation unit 1432, the numerical control parameter setting unit 1434, and the optimum numerical control program output unit 1437 perform different operations.
  • the target shape three-dimensional model 1821 and the three-dimensional object to be processed are newly added.
  • the control unit 1802 includes a shape error calculation unit 1834 that calculates a shape error by comparing with the model 1444, and a numerical control parameter that stores shape error data 1841 calculated by the shape error calculation unit 1834 and a plurality of numerical control parameters.
  • the point that the storage unit 1803 includes the adjustment table 1842 is the numerical control parameter of the fourth embodiment. Different from the meter adjustment apparatus. Other data and individual operations of the processing unit are the same as those in the fourth embodiment.
  • the shape error calculation unit 1834 calculates the shape error data 1841 by comparing the three-dimensional model 1821 of the target shape with the three-dimensional model 1444 of the workpiece. Note that the shape error calculation unit 1834 also calculates a shape error volume, which is a volume error of both, as an index for comparing the shape errors.
  • the processing target object partial area designating unit 1831 newly receives the shape error data 1841, and sets a partial area 1442 in which a shape error exists and the shape error volume exceeds the allowable error volume.
  • the allowable error volume is set by the operator via the input device 1411.
  • the numerical control parameter setting unit 1832 newly receives the numerical control parameter adjustment table 1842 as an input, and is registered in the numerical control parameter adjustment table 1842 as numerical control parameters for the divided program extracted by the designated area divided program extraction unit 1433.
  • One of the numerical control parameters is set as the division parameter 1443.
  • the shape error calculation unit 1834 calculates the shape error based on the cutting deformation result obtained through the cutting deformation process, and calculates the shape error data 1841.
  • FIG. 19 is a diagram illustrating an operation of the optimum numerical control program output unit 1833 of the numerical control parameter adjustment device according to the sixth embodiment of the present invention.
  • the numerical control parameter adjustment information 1843 is held so that a plurality of division parameters 1443 and corresponding shape error data 1841 can be referenced in association with each division program 1441.
  • the optimum numerical control program output unit 1833 extracts the division parameter 1443 having the smallest shape error volume for each division program 1441, and inserts a block to be changed to the division parameter at the head of the division program 1441.
  • an optimum numerical control program 1424 in which these divided programs are integrated is output.
  • the shape error data 1841 is newly calculated by the shape error calculation unit 1834. Based on the shape error data 1841, a region having a shape error volume exceeding the allowable error volume is set as the partial region 1442 without an operator's operation.
  • the numerical control parameters registered in the numerical control parameter adjustment table 1842 are set in the division parameter 1443 without the operator's operation. Then, after the cutting deformation process, the shape error data 1841 is newly calculated by the shape error calculation unit 1834. If all the numerical control parameters registered in the numerical control parameter adjustment table 1842 have not been set, the process returns to the numerical control parameter setting.
  • the optimum numerical control program output unit 1833 inserts a block to be changed to a numerical control parameter having the smallest shape error volume for each division program 1441 at the head of the division program 1441, and an optimum numerical control program 1424 in which these division programs are integrated is inserted. Output.
  • the numerical control parameter adjustment device In the numerical control parameter adjustment device according to the sixth embodiment, if a plurality of numerical control parameters are registered in the numerical control parameter adjustment table in advance, the minimum shape error volume and the partial region setting operation are not performed by the operator. Can be adjusted to the numerical control parameters. Therefore, it is possible to provide a numerical control parameter adjusting device with higher work efficiency.
  • the cutting deformation result is updated only for the numerical control program corresponding to the range through which the tool passes in the region set as the workpiece. Further, since the influence on the movement trajectory due to the change of the numerical control parameter is limited only within the range, the numerical control parameter can be adjusted for each range. Therefore, the time until the operator obtains the result of changing the numerical control parameter can be shortened, and the time for adjusting the numerical control parameter can be shortened.
  • the numerical control parameter adjustment device may be configured to be connected to a network and obtain a numerical control program after numerical control parameter adjustment via the Internet.
  • a network By using computational resources on the network, it is possible to provide a numerical control parameter adjusting device that does not depend on the performance of computational resources owned by the operator.
  • grid computing or cloud computing can be used.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)

Abstract

The present invention comprises: a cutting deformation processing unit (1435) that cuts and deforms a three-dimensional model of a workpiece on the basis of a numerical control program, a numerical control parameter and a tool model; a numerical control program dividing unit (1431) that divides the numerical control program into one or more division programs for each of blocks which are contained in the numerical control program and in which all shafts of a numerical control machine tool stop; a workpiece portion region specifying unit (1432) that specifies a portion region representing a partial region of the three-dimensional model of the workpiece; an inside-specified-region division program extraction unit (1433) that extracts a division program with which a tool model passes through the specified portion region; a numerical control parameter setting unit (1434) that sets a numerical control parameter in the extracted division program; and an optimal numerical control program output unit (1437) that inserts into each division program a command to change to a set numerical control parameter set and that outputs a numerical control program integrating the division programs.

Description

数値制御パラメータ調整装置及び数値制御パラメータ調整方法Numerical control parameter adjusting device and numerical control parameter adjusting method
 本発明は、数値制御装置の数値制御パラメータを調整する数値制御パラメータ調整装置及び数値制御パラメータ調整方法に関する。 The present invention relates to a numerical control parameter adjusting device and a numerical control parameter adjusting method for adjusting a numerical control parameter of a numerical control device.
 従来、数値制御工作機械による加工対象物の加工は、下記ステップを経て実行されることが多い。まず、数値制御装置が数値制御プログラムを読み取って解析することで、工具及び加工対象物の移動経路を生成する。次に、数値制御装置が数値制御装置に設定された数値制御パラメータを用いて、制御周期毎に工具及び加工対象物の移動経路を補間した補間点データを生成する。そして、数値制御装置が生成した補間点データを数値制御工作機械の各軸に指令することで、工具及び加工対象物を移動させて加工を行う。よって、加工形状には、数値制御プログラム及び数値制御パラメータが大きく影響する。求める加工形状を得るために、オペレータは数値制御工作機械を用いた複数回の試し加工を行い、数値制御プログラム及び数値制御パラメータを調整する。 Conventionally, machining of a workpiece by a numerically controlled machine tool is often performed through the following steps. First, the numerical control device reads and analyzes the numerical control program to generate a movement path for the tool and the workpiece. Next, using the numerical control parameters set in the numerical controller, the numerical controller generates interpolation point data obtained by interpolating the movement paths of the tool and the workpiece for each control cycle. Then, the interpolation point data generated by the numerical control device is commanded to each axis of the numerically controlled machine tool, thereby moving the tool and the workpiece to perform processing. Therefore, the numerical control program and the numerical control parameter greatly affect the machining shape. In order to obtain a desired machining shape, the operator performs a plurality of trial machining operations using a numerically controlled machine tool, and adjusts a numerical control program and numerical control parameters.
 しかしながら、この調整方法は、試し加工回数の分だけの時間を要する。また、調整の間、その数値制御工作機械を生産に使用できないため、生産効率が低下する。通常、数値制御プログラム及び数値制御パラメータの調整には、プロセッサ上で数値制御工作機械の動作を模擬し加工形状を推定する加工シミュレーション技術が用いられる。加工シミュレーションで推定される加工形状に問題が発見されれば、オペレータは数値制御プログラム及び数値制御パラメータの修正を行い、再度加工シミュレーションで加工形状を推定する。このプロセスは問題が解消されるまで、繰り返し行われる。上記加工シミュレーションを用いた調整方法は、試し加工を経た調整に比べて、プロセッサの性能をはじめとする計算条件にもよるが、調整時間を短縮することができる。また、加工シミュレーションを用いた調整の間にも、数値制御工作機械を生産のために使用でき、生産効率の低下も避けることができる。 However, this adjustment method requires time corresponding to the number of trial machining operations. Moreover, since the numerically controlled machine tool cannot be used for production during the adjustment, the production efficiency is lowered. In general, a machining simulation technique is used for adjusting the numerical control program and the numerical control parameter. If a problem is found in the machining shape estimated by the machining simulation, the operator corrects the numerical control program and the numerical control parameters, and estimates the machining shape again by the machining simulation. This process is repeated until the problem is resolved. The adjustment method using the machining simulation can shorten the adjustment time, although it depends on the calculation conditions including the performance of the processor, as compared with the adjustment after the trial machining. In addition, a numerically controlled machine tool can be used for production during adjustment using machining simulation, and a reduction in production efficiency can be avoided.
 数値制御パラメータは数値制御装置が生成する移動経路全体に影響するため、数値制御パラメータを変更する度に、数値制御プログラム全体に対して加工シミュレーションを再実行する必要がある。その場合には、数値制御プログラムの長さによるものの、加工シミュレーションの演算時間を無視することができない。そのため、数値制御パラメータの調整作業では、数値制御パラメータの変更による加工形状への影響を確認できるようになるまでに待ち時間を要することが問題となっている。こうした問題に関連して、数値制御パラメータを効率的に調整することを目的とした発明が特許文献1に開示されている。 Since numerical control parameters affect the entire movement path generated by the numerical control device, it is necessary to re-execute machining simulation for the entire numerical control program every time the numerical control parameters are changed. In that case, although it depends on the length of the numerical control program, the calculation time of the machining simulation cannot be ignored. Therefore, in the adjustment work of the numerical control parameter, there is a problem that it takes a waiting time before the influence on the machining shape due to the change of the numerical control parameter can be confirmed. In relation to these problems, Patent Document 1 discloses an invention aimed at efficiently adjusting numerical control parameters.
 特許文献1には、設定された複数の数値制御パラメータ毎にシミュレーションを行い、数値制御工作機械の軌跡の誤差及び加工時間を予測する機能を備えた数値制御装置が開示されている。シミュレーションを行う数値制御パラメータの組み合わせが絞られているため、許容の誤差を満たし、且つ最小の加工時間となるように、数値制御パラメータの組み合わせを効率的に調整することができる。 Patent Document 1 discloses a numerical control device having a function of performing simulation for each of a plurality of set numerical control parameters and predicting an error of a locus of a numerically controlled machine tool and a machining time. Since the combinations of numerical control parameters to be simulated are narrowed down, the combination of numerical control parameters can be efficiently adjusted so as to satisfy an allowable error and achieve a minimum machining time.
特開2012-243152号公報JP 2012-243152 A
 しかしながら、上記従来技術によれば、数値制御パラメータを設定するたびに指定した工具及び加工対象物の移動経路の全てに対してシミュレーションを行わなければならない。そのため、パラメータの調整に時間を要し、作業能率が低い、という問題があった。また、数値制御パラメータの変更は数値制御装置が生成する移動経路全体に影響するため、一部の領域で問題が解消されるように数値制御パラメータを調整したとしても、それ以外の領域で新たな問題が生じる可能性がある。 However, according to the above-described prior art, it is necessary to perform simulation for all of the specified tool and workpiece movement paths every time the numerical control parameter is set. For this reason, there is a problem that it takes time to adjust the parameters and the work efficiency is low. In addition, changes in numerical control parameters affect the entire travel path generated by the numerical control device, so even if the numerical control parameters are adjusted so that the problem can be solved in some areas, new numerical control parameters are added in other areas. Problems can arise.
 本発明は、上記に鑑みてなされたものであって、数値制御パラメータの変更による加工形状への影響を短時間で確認することができ、調整作業が効率よく行える数値制御パラメータ調整装置を得ることを目的とする。 The present invention has been made in view of the above, and can provide a numerical control parameter adjustment device that can confirm the influence on the machining shape by changing the numerical control parameters in a short time and can perform the adjustment work efficiently. With the goal.
 上述した課題を解決し、目的を達成するために、本発明は、加工対象物の三次元モデルの切削変形結果に基づいて数値制御パラメータを調整する数値制御パラメータ調整装置であって、工具及び加工対象物の移動経路を示す数値制御プログラムと、加工精度及び加工時間に寄与する切削条件を表す数値制御パラメータとに基づいて補間及び加減速処理を行った移動経路と、工具モデルに基づいて加工対象物の三次元モデルを切削変形する手段と、数値制御プログラムのうち、数値制御工作機械の全軸が停止するブロック毎に数値制御プログラムを1つ以上の分割プログラムに分割する数値制御プログラム分割手段と、加工対象物の三次元モデルの一部の領域を表す部分領域を指定する加工対象物部分領域指定手段と、指定された部分領域を工具モデルが通過する分割プログラムを抽出する手段と、抽出した分割プログラムに対する数値制御パラメータを設定する数値制御パラメータ設定手段と、分割プログラム毎に設定した数値制御パラメータへの変更指令を挿入し、それら分割プログラムを統合した数値制御プログラムを出力する手段と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention is a numerical control parameter adjusting device that adjusts numerical control parameters based on a cutting deformation result of a three-dimensional model of an object to be processed. A numerical control program that shows the movement path of the object, a numerical control parameter that represents cutting conditions that contribute to machining accuracy and machining time, a movement path that has undergone interpolation and acceleration / deceleration processing, and a machining target based on the tool model Means for cutting and deforming a three-dimensional model of an object, and numerical control program dividing means for dividing the numerical control program into one or more divided programs for each block in which all axes of the numerically controlled machine tool are stopped among the numerical control programs; A processing object partial area specifying means for specifying a partial area representing a partial area of the three-dimensional model of the processing object, and the specified partial area Means for extracting a division program through which the component model passes, numerical control parameter setting means for setting numerical control parameters for the extracted division program, and instructions for changing the numerical control parameters set for each division program And a means for outputting a numerical control program integrated with the program.
 本発明によれば、数値制御パラメータの変更による加工形状への影響を短時間で確認することができ、調整作業が効率よく行える数値制御パラメータ調整装置を得ることができる。 According to the present invention, it is possible to confirm the influence on the machining shape due to the change of the numerical control parameter in a short time, and it is possible to obtain a numerical control parameter adjusting device that can perform the adjustment work efficiently.
実施の形態1に係る数値制御パラメータ調整装置の構成を示す図The figure which shows the structure of the numerical control parameter adjustment apparatus which concerns on Embodiment 1. FIG. 実施の形態1における数値制御パラメータ調整装置の動作を示すフローチャートThe flowchart which shows operation | movement of the numerical control parameter adjustment apparatus in Embodiment 1. 数値制御シミュレーション部で行われる補間及び加減速のイメージを示す図Diagram showing the image of interpolation and acceleration / deceleration performed in the numerical control simulation unit 駆動制御シミュレーション部で数値制御工作機械の駆動特性を考慮することによる工具先端位置の変化のイメージを示す図The figure which shows the image of the change of the tool tip position by considering the drive characteristic of the numerical control machine tool in the drive control simulation part 加工シミュレーション部で行われる加工形状推定の例を示す図The figure which shows the example of the processing shape estimation performed in the processing simulation part 形状誤差計算部で行われる形状誤差の計算のイメージを示す図The figure which shows the image of the calculation of the shape error performed in the shape error calculation part 数値制御シミュレーション実行範囲計算部で行われる形状誤差が許容誤差に収まらない移動経路範囲の抽出方法のイメージを示す図The figure which shows the image of the extraction method of the movement path | route range where the shape error performed in numerical control simulation execution range calculation part does not fit in tolerance 数値制御シミュレーション実行範囲計算部で行われる形状誤差が許容誤差に収まる範囲のパラメータ設定方法のイメージを示す図The figure which shows the image of the parameter setting method of the range where the shape error performed in the numerical control simulation execution range calculation part falls within the allowable error 実施の形態2における数値制御パラメータ調整装置の動作を示すフローチャートThe flowchart which shows operation | movement of the numerical control parameter adjustment apparatus in Embodiment 2. S26の処理を示す図The figure which shows the process of S26 実施の形態3に係る数値制御パラメータ調整装置の構成を示す図The figure which shows the structure of the numerical control parameter adjustment apparatus which concerns on Embodiment 3. FIG. 実施の形態3における数値制御パラメータ調整装置の動作を示すフローチャートFlowchart showing the operation of the numerical control parameter adjusting apparatus in the third embodiment. 素材形状データ更新部で行われる素材形状データの更新のイメージを示す図The figure which shows the image of the update of the material shape data performed in the material shape data update part 実施の形態4に係る数値制御パラメータ調整装置の構成を示す図The figure which shows the structure of the numerical control parameter adjustment apparatus which concerns on Embodiment 4. FIG. 実施の形態4に係る数値制御パラメータ調整装置を実現するハードウェアの構成を示す図The figure which shows the structure of the hardware which implement | achieves the numerical control parameter adjustment apparatus which concerns on Embodiment 4. FIG. 実施の形態4に係る数値制御パラメータ調整装置を用いた数値制御パラメータ調整方法を示すフローチャート9 is a flowchart showing a numerical control parameter adjustment method using the numerical control parameter adjustment device according to the fourth embodiment. 実施の形態5に係る数値制御パラメータ調整装置の構成を示す図The figure which shows the structure of the numerical control parameter adjustment apparatus which concerns on Embodiment 5. FIG. 実施の形態6に係る数値制御パラメータ調整装置の構成を示す図The figure which shows the structure of the numerical control parameter adjustment apparatus which concerns on Embodiment 6. FIG. 実施の形態6に係る数値制御パラメータ調整装置の最適数値制御プログラム出力部の動作を示す図The figure which shows operation | movement of the optimal numerical control program output part of the numerical control parameter adjustment apparatus which concerns on Embodiment 6. FIG.
 以下に、本発明の実施の形態に係る数値制御パラメータ調整装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a numerical control parameter adjustment device according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、本発明の実施の形態1に係る数値制御パラメータ調整装置の構成を示す図である。図1に示す数値制御パラメータ調整装置は、数値制御プログラム解析部101と、移動経路範囲出力部102と、数値制御シミュレーション部103と、駆動制御シミュレーション部104と、加工シミュレーション部105と、形状誤差計算部106と、パラメータ調整部107と、数値制御シミュレーション実行範囲計算部108とを備える。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a configuration of a numerical control parameter adjustment device according to Embodiment 1 of the present invention. 1 includes a numerical control program analysis unit 101, a movement path range output unit 102, a numerical control simulation unit 103, a drive control simulation unit 104, a machining simulation unit 105, and a shape error calculation. Unit 106, parameter adjustment unit 107, and numerical control simulation execution range calculation unit 108.
 数値制御プログラム解析部101は、数値制御プログラム121を読み取って解析することで、工具及び加工対象物の移動経路を生成する。数値制御プログラム121は、加工対象物の加工経路を指令するプログラムである。数値制御プログラム121には、CAM(Computer Aided Manufacturing)から出力されるプログラム及び数値制御工作機械ユーザから入力されるプログラムを例示することができる。 The numerical control program analysis unit 101 reads and analyzes the numerical control program 121 to generate a movement path for the tool and the workpiece. The numerical control program 121 is a program for instructing a machining path of a workpiece. Examples of the numerical control program 121 include a program output from a CAM (Computer Aided Manufacturing) and a program input from a numerical control machine tool user.
 移動経路範囲出力部102は、数値制御プログラム解析部101で生成された工具及び加工対象物の移動経路を、数値制御シミュレーション実行範囲122で指定された範囲分だけ出力する。数値制御シミュレーション実行範囲122の初期値には、全ての移動経路範囲を指定しておく。 The movement path range output unit 102 outputs the movement paths of the tool and the processing target generated by the numerical control program analysis unit 101 by the range specified by the numerical control simulation execution range 122. As the initial value of the numerical control simulation execution range 122, all moving route ranges are designated.
 数値制御シミュレーション部103は、移動経路範囲出力部102から出力された移動経路の範囲に対して、パラメータ123に設定された数値制御パラメータを用いて、移動経路を制御周期ごとに補間及び加減速して補間点データを生成する。 The numerical control simulation unit 103 interpolates and accelerates / decelerates the movement route for each control cycle using the numerical control parameter set in the parameter 123 for the movement route range output from the movement route range output unit 102. To generate interpolation point data.
 駆動制御シミュレーション部104は、数値制御シミュレーション部103で生成した補間点データに対して、パラメータ123に設定された駆動制御パラメータを用いて、数値制御工作機械の各軸の移動を模擬することで、工具先端位置データを生成する。 The drive control simulation unit 104 simulates the movement of each axis of the numerically controlled machine tool using the drive control parameter set in the parameter 123 for the interpolation point data generated by the numerical control simulation unit 103. Tool tip position data is generated.
 加工シミュレーション部105は、加工対象物の形状を表す素材形状データ124を読み込んで加工対象物の仮想的なモデルを構築し、駆動制御シミュレーション部104で生成した工具先端位置データに沿って仮想的に工具を移動させ、仮想加工対象物との交差領域を仮想加工対象物から除去することで加工形状を推定し、推定加工形状データ125を生成する。素材形状データ124は、立方体及び円柱に代表される単純な形状から加工シミュレーション後の複雑な加工形状までの形状データを含む。 The machining simulation unit 105 reads the material shape data 124 representing the shape of the workpiece, constructs a virtual model of the workpiece, and virtually follows the tool tip position data generated by the drive control simulation unit 104. The machining shape is estimated by moving the tool and removing the intersecting region with the virtual machining object from the virtual machining object, and the estimated machining shape data 125 is generated. The material shape data 124 includes shape data from simple shapes typified by cubes and cylinders to complex machining shapes after machining simulation.
 形状誤差計算部106は、加工シミュレーション部105で生成した推定加工形状データ125と、目標とする加工形状を表す目標加工形状データ126とを比較し、推定加工形状と目標加工形状との誤差を計算し、形状誤差データ127を生成する。 The shape error calculation unit 106 compares the estimated machining shape data 125 generated by the machining simulation unit 105 with the target machining shape data 126 representing the target machining shape, and calculates an error between the estimated machining shape and the target machining shape. Then, the shape error data 127 is generated.
 パラメータ調整部107は、形状誤差データ127を用いて数値制御パラメータ及び駆動制御パラメータを調整し、調整したパラメータをパラメータ123に設定する。 The parameter adjustment unit 107 adjusts the numerical control parameter and the drive control parameter using the shape error data 127, and sets the adjusted parameter in the parameter 123.
 数値制御シミュレーション実行範囲計算部108は、形状誤差データ127を用いて形状誤差が許容誤差に収まらない工具の移動経路範囲を算出する。そして、算出した工具の移動経路範囲が数値制御シミュレーション実行範囲122に設定される。 The numerical control simulation execution range calculation unit 108 uses the shape error data 127 to calculate a tool movement path range in which the shape error does not fall within the allowable error. Then, the calculated tool movement path range is set in the numerical control simulation execution range 122.
 図2は、本実施の形態における数値制御パラメータ調整装置の動作を示すフローチャートである。まず、処理をスタートして数値制御プログラム及び素材形状データを入力する(S11)。すなわち、加工対象物の加工経路を指令する数値制御プログラムが外部から入力されて数値制御プログラム121に格納される。ここで、外部入力は、CAMからの出力又は数値制御工作機械ユーザによる入力により行われる。また、加工対象物の初期形状を表す素材形状データが外部から入力されて素材形状データ124に格納される。ここで、初期形状を表す素材形状データは、代表的には立方体及び円柱である。また、外部入力は、CAD(Computer Aided Design)データの読み込み又は数値制御工作機械ユーザによる選択によって行われる。 FIG. 2 is a flowchart showing the operation of the numerical control parameter adjustment apparatus according to the present embodiment. First, processing is started and a numerical control program and material shape data are input (S11). That is, a numerical control program for instructing the machining path of the workpiece is input from the outside and stored in the numerical control program 121. Here, the external input is performed by an output from the CAM or an input by a numerical control machine tool user. Further, material shape data representing the initial shape of the workpiece is input from the outside and stored in the material shape data 124. Here, the material shape data representing the initial shape is typically a cube and a cylinder. External input is performed by reading CAD (Computer Aided Design) data or by selection by a numerically controlled machine tool user.
 次に、指定された範囲の工具先端位置データを生成する(S12)。すなわち、まず、数値制御プログラム解析部101が数値制御プログラム121を読み取って解析することで、工具及び加工対象物の移動経路を生成する。次に、移動経路範囲出力部102が数値制御シミュレーション実行範囲122に設定された範囲に該当する工具及び加工対象物の移動経路範囲を生成する。なお、数値制御シミュレーション実行範囲122の初期値は全ての移動経路範囲に設定されているので、初回のシミュレーション実行時には全ての移動経路範囲に渡ってシミュレーションが行われる。また、数値制御シミュレーション部103が、移動経路範囲出力部102から出力された工具及び加工対象物の移動経路範囲に対して、パラメータ123に設定された数値制御パラメータを用いて、工具及び加工対象物の移動経路を制御周期ごとに補間及び加減速して補間点データを生成する。最後に、駆動制御シミュレーション部104が、数値制御シミュレーション部103から出力された工具及び加工対象物の移動経路範囲を制御周期ごとに補間した補間点データに対して、パラメータ123に設定された駆動制御パラメータを用いて、数値制御工作機械の各軸を仮想的に動作させることで、工具先端位置及び加工対象物の移動軌跡を生成する。 Next, tool tip position data in a specified range is generated (S12). That is, first, the numerical control program analysis unit 101 reads and analyzes the numerical control program 121 to generate a movement path of the tool and the workpiece. Next, the movement path range output unit 102 generates a movement path range of the tool and the workpiece corresponding to the range set in the numerical control simulation execution range 122. Since the initial value of the numerical control simulation execution range 122 is set for all the movement route ranges, the simulation is performed over all the movement route ranges when the first simulation is executed. In addition, the numerical control simulation unit 103 uses the numerical control parameter set in the parameter 123 for the movement path range of the tool and the processing object output from the movement path range output unit 102, and uses the numerical control parameter. The interpolation path data is generated by interpolating and accelerating / decelerating the movement path of each movement cycle. Finally, the drive control set in the parameter 123 is performed on the interpolation point data obtained by the drive control simulation unit 104 interpolating the movement path range of the tool and the workpiece output from the numerical control simulation unit 103 for each control period. By using the parameters, each axis of the numerically controlled machine tool is virtually operated to generate the tool tip position and the movement trajectory of the workpiece.
 図3は、数値制御シミュレーション部103で行われる補間及び加減速のイメージを示す図である。図3には、R201からR202まで直線で加工し、R202からR203まで直線で加工するように加工経路を指令した数値制御プログラムを制御周期ごとに補間及び加減速した補間点I(201≦i≦213)が示されている。ここで、正しく指令に従って数値制御工作機械を動作させるためには、R202においてX軸の速度を0にしてからY軸の速度を増加させねばならない。しかしながら、実際の加工においては加工時間を短縮する必要があるため、X軸の速度を0にせず、X軸を減速しつつY軸の速度を増加させる。そのため、補間点I205からI208の間では指令経路に対してズレが生じる。このようなズレをどこまで許容するかによって加工時間及び加工精度が変化し、このような許容される誤差を数値制御パラメータとして設定する。 FIG. 3 is a diagram illustrating an image of interpolation and acceleration / deceleration performed by the numerical control simulation unit 103. In FIG. 3, an interpolation point I i obtained by linearly machining from R 201 to R 202 and interpolating and accelerating / decelerating a numerical control program instructing a machining path so as to machine from R 202 to R 203 in a straight line. (201 ≦ i ≦ 213) is shown. Here, in order to operate the numerically controlled machine tool according to correctly Directive must increase the rate of Y-axis speed of the X axis in the R 202 (s) to zero. However, since it is necessary to reduce the machining time in actual machining, the X-axis speed is not set to zero, and the Y-axis speed is increased while decelerating the X-axis. Therefore, there is a deviation from the command path between the interpolation points I 205 to I 208 . The machining time and machining accuracy vary depending on how much such deviation is allowed, and such allowable error is set as a numerical control parameter.
 図4は、駆動制御シミュレーション部104で数値制御工作機械の駆動特性を考慮することによる工具先端位置の変化のイメージを示す図である。図4には、数値制御工作機械内の1つの対象軸の速度の変化の様子が示されている。点線C201は対象軸の速度の指令値を示し、実線C202は対象軸の速度の推定値を示している。数値制御工作機械の駆動特性によっても変化するが、一般に、各軸の速度は指令の速度に対して時間的な遅れC203及び定常偏差C204を生じ、この時間的な遅れC203及び定常偏差C204が工具先端位置及び加工対象物の位置に偏差を生じる原因となる。これら指令速度に対する誤差は、数値制御工作機械内の各軸を制御するために設定されたパラメータに影響して変化する。このようなパラメータを駆動制御パラメータと呼ぶ。 FIG. 4 is a diagram illustrating an image of a change in the tool tip position caused by considering the drive characteristics of the numerically controlled machine tool in the drive control simulation unit 104. FIG. 4 shows how the speed of one target axis in the numerically controlled machine tool changes. A dotted line C 201 indicates a command value of the speed of the target axis, and a solid line C 202 indicates an estimated value of the speed of the target axis. In general, the speed of each axis causes a time delay C 203 and a steady deviation C 204 with respect to the command speed, and this time delay C 203 and the steady deviation vary, although it varies depending on the driving characteristics of the numerically controlled machine tool. C 204 causes a deviation in the tool tip position and the position of the workpiece. These errors with respect to the command speed change by affecting parameters set for controlling each axis in the numerically controlled machine tool. Such a parameter is called a drive control parameter.
 次に、加工形状の推定を行う(S13)。すなわち、加工シミュレーション部105が、S11で格納された素材形状データ124を読み込んで仮想的な加工対象物を生成し、またS12で生成された工具先端位置データに従って仮想的に工具を動作させ、仮想工具と仮想加工対象物との交差した領域を仮想加工対象物から除去することで加工形状を推定する。そして、推定した加工形状のデータが推定加工形状データ125に格納される。 Next, the machining shape is estimated (S13). That is, the machining simulation unit 105 reads the material shape data 124 stored in S11 to generate a virtual machining object, and virtually operates the tool in accordance with the tool tip position data generated in S12. The machining shape is estimated by removing the intersecting region between the tool and the virtual machining object from the virtual machining object. Then, the estimated machining shape data is stored in the estimated machining shape data 125.
 図5は、加工シミュレーション部105で行われる加工形状推定の例を示す図である。図5には、素材形状データ302を立方体とし、工具301をフラットエンドミルとし、工具301を動作させた際の素材形状データ302の変化が示されている。なお、図5では工具301をフラットエンドミルにしているが、これに限定されるものではなく、工具301は、ボールエンドミル及びドリルに代表される形状が定義されたものであればよい。 FIG. 5 is a diagram illustrating an example of machining shape estimation performed by the machining simulation unit 105. FIG. 5 shows changes in the material shape data 302 when the material shape data 302 is a cube, the tool 301 is a flat end mill, and the tool 301 is operated. In FIG. 5, the tool 301 is a flat end mill. However, the present invention is not limited to this, and the tool 301 may have any shape defined by a ball end mill and a drill.
 また、加工シミュレーション中に複数の工具を使用することも可能である。工具情報を番号で管理し、工具交換のタイミングを加工シミュレーション部105に伝えればよい。また、加工シミュレーション後の推定加工形状を次の加工シミュレーションの素材形状データ302に用いることも可能である。荒加工の数値制御プログラムと仕上げ加工の数値制御プログラムとを分けておくことで、荒加工での加工形状をチェックした後に、仕上げ加工での加工形状を推定することができる。 It is also possible to use multiple tools during machining simulation. The tool information may be managed by numbers, and the tool replacement timing may be transmitted to the machining simulation unit 105. Further, the estimated machining shape after the machining simulation can be used for the material shape data 302 of the next machining simulation. By separating the numerical control program for rough machining and the numerical control program for finishing, the machining shape in finishing can be estimated after checking the machining shape in rough machining.
 次に、形状誤差の計算を行う(S14)。すなわち、形状誤差計算部106が、推定加工形状データ125と目標加工形状データ126とを比較して形状の誤差を計算し、形状誤差データ127に格納する。目標加工形状データ126は、数値制御プログラム121及び素材形状データ124を用いて加工シミュレーションを行うことにより得られる。また、数値制御工作機械ユーザが作成したCADデータを目標加工形状データ126としてもよい。なお、数値制御パラメータ調整装置が表示部を備える構成とし、数値制御工作機械ユーザに対して、推定加工形状データ125、目標加工形状データ126及び形状誤差データ127が表示部に表示されてもよい。 Next, the shape error is calculated (S14). That is, the shape error calculation unit 106 compares the estimated machining shape data 125 and the target machining shape data 126 to calculate a shape error, and stores it in the shape error data 127. The target machining shape data 126 is obtained by performing a machining simulation using the numerical control program 121 and the material shape data 124. Further, CAD data created by a numerically controlled machine tool user may be used as the target machining shape data 126. The numerical control parameter adjusting device may include a display unit, and the estimated machining shape data 125, the target machining shape data 126, and the shape error data 127 may be displayed on the display unit for the numerically controlled machine tool user.
 図6は、形状誤差計算部106で行われる形状誤差の計算のイメージを示す図である。図6には、素材形状データ401から推定加工形状データ402を推定し、推定加工形状データ402と目標加工形状データ403とを比較することで、形状誤差データ404を計算する様子が示されている。また、図6には、削り残し領域405及び削り過ぎ領域406が示されている。 FIG. 6 is a diagram showing an image of shape error calculation performed by the shape error calculation unit 106. FIG. 6 shows a state in which the estimated error data 404 is calculated by estimating the estimated machining shape data 402 from the material shape data 401 and comparing the estimated machining shape data 402 with the target machining shape data 403. . FIG. 6 also shows an uncut region 405 and an overcut region 406.
 次に、形状誤差が許容誤差に収まっているか否かを判定する(S15)。形状誤差データが許容誤差に収まっているか否かの判定は、形状誤差計算部106において形状誤差データ127を計算する際に、形状誤差領域の体積をそれぞれ計算しておき、形状誤差データ127に誤差量として値を記憶させておき、その誤差量と許容誤差量の大小比較をすることで、実行する。また、形状誤差領域の体積以外にも、形状誤差領域に含まれる移動経路の数を誤差量としてもよい。形状誤差データ127が許容誤差に収まっている場合(S15:Yes)には処理を終了する。 Next, it is determined whether or not the shape error is within the allowable error (S15). Whether or not the shape error data falls within the allowable error is determined by calculating the volume of the shape error region when the shape error calculation unit 106 calculates the shape error data 127 and adding the error to the shape error data 127. A value is stored as an amount, and the error amount and the allowable error amount are compared with each other. In addition to the volume of the shape error area, the number of movement paths included in the shape error area may be used as the error amount. If the shape error data 127 is within the allowable error (S15: Yes), the process is terminated.
 形状誤差データ127が許容誤差に収まっていない場合(S15:No)には、パラメータを調整し(S16)、シミュレーションを実行する範囲を計算する(S17)。ここで、処理時間を短縮するため、S16の処理とS17の処理は並列に処理する。なお、S16の処理とS17の処理は、順序は問わず直列に処理してもよい。すなわち、パラメータ調整部107は、形状誤差データ127を読み込んでパラメータの調整を行い、調整したパラメータをパラメータ123に格納する。なお、ここで調整後のパラメータは、現在まで未設定のパラメータとする。そして、数値制御シミュレーション実行範囲計算部108は、形状誤差データ127を読み込んで形状誤差が存在し、且つ許容誤差に収まらない領域を抽出する。そして、抽出した領域内を通過した工具の移動経路範囲を抜き出し、数値制御シミュレーション実行範囲122に格納する。 If the shape error data 127 does not fall within the allowable error (S15: No), the parameters are adjusted (S16), and the range for executing the simulation is calculated (S17). Here, in order to shorten the processing time, the processing of S16 and the processing of S17 are performed in parallel. In addition, you may process the process of S16 and the process of S17 in series regardless of an order. That is, the parameter adjustment unit 107 reads the shape error data 127 and adjusts the parameters, and stores the adjusted parameters in the parameter 123. Here, the adjusted parameters are parameters that have not been set up to now. Then, the numerical control simulation execution range calculation unit 108 reads the shape error data 127 and extracts a region where the shape error exists and does not fall within the allowable error. Then, the moving path range of the tool that has passed through the extracted area is extracted and stored in the numerical control simulation execution range 122.
 図7は、数値制御シミュレーション実行範囲計算部108で行われる形状誤差が許容誤差に収まらない移動経路範囲の抽出方法のイメージを示す図である。図7では、数値制御プログラムの指令経路をR(501≦i≦505)とし、シミュレーションで得た工具先端位置をI(501≦j≦513)としている。 FIG. 7 is a diagram illustrating an image of a method for extracting a moving path range in which the shape error performed by the numerical control simulation execution range calculation unit 108 does not fall within the allowable error. In FIG. 7, the command path of the numerical control program is R i (501 ≦ i ≦ 505), and the tool tip position obtained by the simulation is I j (501 ≦ j ≦ 513).
 I501からI505の間及びI509からI513の間の工具先端位置は、数
値制御プログラムの指令経路に一致しており、許容誤差に収まっている範囲A501,A511と表すことができる。I505からI509の間の工具先端位置は、数値制御プログラムの指令経路からズレがあり、その誤差が許容誤差を上回っているため、パラメータを変更して許容誤差に収まる経路に変更する必要がある。このような経路のズレは、加工シミュレーションにおいて推定加工形状に転写されるため、I505からI509の間は形状誤差を生む領域となる。よって、I505からI509の間は、許容誤差に収まらない範囲A502と表すことができ、その工具先端位置に対応した数値制御プログラムの指令経路R502からR503及びR503からR504が数値制御シミュレーション実行範囲A503となる。
The tool tip positions between I 501 and I 505 and between I 509 and I 513 coincide with the command path of the numerical control program, and can be expressed as ranges A 501 and A 511 within the allowable error. . The tool tip position between I 505 and I 509 deviates from the command path of the numerical control program, and the error exceeds the allowable error. Therefore, it is necessary to change the parameter to a path that falls within the allowable error. is there. Since such a shift in the path is transferred to the estimated machining shape in the machining simulation, a region between I 505 and I 509 causes a shape error. Therefore, the range between I 505 and I 509 can be expressed as a range A 502 that does not fall within the allowable error, and the command paths R 502 to R 503 and R 503 to R 504 of the numerical control program corresponding to the tool tip position are It becomes the numerical control simulation execution range A 503 .
 なお、求めた数値制御シミュレーション実行範囲A503が短い場合には、パラメータ変更による影響が数値制御シミュレーション実行範囲外に渡る可能性があるため、前後の指令経路を含めて数値制御シミュレーション実行範囲A503としてもよい。図7では、R502からR503、及びR503からR504の数値制御シミュレーション実行範囲A503を、R501からR502、502からR503及びR503からR504と広げてもよいし、R502からR503、R503からR504及びR504からR505と広げてもよいものとする。そして、加工シミュレーション部105が、加工形状を推定する際に領域ごとに通過する工具の経路番号を記憶しておくと、形状誤差領域に対応した移動経路を容易に取り出すことができる。パラメータの調整が進むと形状誤差の領域が狭まっていき、数値制御シミュレーション実行範囲A503も同様に狭まっていく。そのため、数値制御シミュレーションの実行時間を短くしていくことが可能となる。 When the obtained numerical control simulation execution range A 503 is short, there is a possibility that the influence of the parameter change may be outside the numerical control simulation execution range, so the numerical control simulation execution range A 503 including the preceding and following command paths is included . It is good. In Figure 7, R 503 from R 502, and a numerical control simulation execution range A 503 of R 504 from R 503, to the R 501 from R 502, R 502 may be widened from R 503 and R 503 and R 504, R 502 to R 503 , R 503 to R 504, and R 504 to R 505 may be expanded. When the machining simulation unit 105 stores the path number of the tool that passes through each area when estimating the machining shape, the movement path corresponding to the shape error area can be easily extracted. As the parameter adjustment proceeds, the shape error region narrows, and the numerical control simulation execution range A 503 also narrows in the same manner. Therefore, it is possible to shorten the execution time of the numerical control simulation.
 図8は、数値制御シミュレーション実行範囲計算部108における形状誤差が許容誤差に収まる範囲のパラメータ設定方法のイメージを示す図である。図8には、数値制御プログラム121の指令経路をB501,B503,B505の範囲に分割した様子が示されている。指令経路範囲B501は、初期のパラメータで形状誤差が許容誤差に収まっているとし、また、指令経路範囲B503,B505は、初期のパラメータでは形状誤差が許容誤差に収まらず、パラメータ変更1,2において、パラメータ調整部107により異なるパラメータに調整されたものとする。数値制御プログラム1,2が含まれる指令経路範囲B501は、初期のパラメータで形状誤差が許容誤差に収まっているため、パラメータ変更を行わないが、数値制御プログラムmが含まれる指令経路範囲B503は、初期のパラメータで形状誤差が許容誤差に収まっていないため、パラメータ変更1に示すように、B502で調整されたパラメータに変更されている。同様に、数値制御プログラムnが含まれる指令経路範囲B505は、初期のパラメータで形状誤差が許容誤差に収まっていないため、パラメータ変更2に示すように、B504で調整されたパラメータに変更されている。なお、数値制御プログラム121中に一度パラメータ変更を行うと、初期のパラメータから変更されるため、初期のパラメータで形状誤差が許容誤差に収まっている指令経路範囲であっても、その指令経路範囲の先頭部で初期パラメータへの変更を行うことを要する。ただし、数値制御プログラム121の先頭部では特に変更を行わなくてもよい。 FIG. 8 is a diagram showing an image of a parameter setting method in a range in which the shape error falls within the allowable error in the numerical control simulation execution range calculation unit 108. FIG. 8 shows a state in which the command path of the numerical control program 121 is divided into ranges of B 501 , B 503 , and B 505 . In the command path range B 501 , it is assumed that the shape error is within the allowable error with the initial parameter, and the command path range B 503 and B 505 has the shape error within the allowable error with the initial parameter, and parameter change 1 , 2, the parameters are adjusted to different parameters by the parameter adjustment unit 107. The command path range B 501 including the numerical control programs 1 and 2 does not change the parameters because the shape error is within an allowable error with the initial parameters, but the command path range B 503 including the numerical control program m is included . Since the shape error is not within the permissible error in the initial parameters, the parameter is changed to the parameter adjusted in B502 as shown in the parameter change 1. Similarly, the command path range B 505 including the numerical control program n is changed to the parameter adjusted in B 504 as shown in the parameter change 2 because the shape error is not within the allowable error with the initial parameter. ing. Note that once the parameter is changed in the numerical control program 121, the parameter is changed from the initial parameter. Therefore, even if the command path range includes the shape error within the allowable error with the initial parameter, the command path range It is necessary to make changes to the initial parameters at the beginning. However, there is no need to make any particular changes at the top of the numerical control program 121.
 そして、S16及びS17の実行後には、S12へ戻ることになる。なお、S17で数値制御シミュレーション実行範囲122が設定されるので、その後の数値制御シミュレーションでは移動経路範囲が限定される。そのため、S17で移動経路範囲の始点、図7におけるR502の位置、速度及び加速度の情報を記憶しておき、初期状態の値として用いると、数値制御シミュレーション部103及び駆動制御シミュレーション部104が移動経路範囲を限定したシミュレーションを行うことができる。 And after execution of S16 and S17, it will return to S12. In addition, since the numerical control simulation execution range 122 is set in S17, the moving route range is limited in the subsequent numerical control simulation. Therefore, if the information of the starting point of the moving path range, the position of R 502 in FIG. 7, the velocity and the acceleration is stored in S17 and used as the initial state values, the numerical control simulation unit 103 and the drive control simulation unit 104 move. A simulation with a limited route range can be performed.
 また、移動経路範囲が複数に分かれる場合には、各移動経路範囲の始点情報を記憶しておけばよい。 In addition, when the movement route range is divided into a plurality of ranges, the starting point information of each movement route range may be stored.
 本実施の形態にて説明したように、本実施の形態に係る数値制御パラメータ調整装置は、パラメータ変更後に形状誤差が許容誤差に収まらなかった範囲のみ数値制御シミュレーション及び駆動制御シミュレーションを実行する。そのため、パラメータ変更の結果を得るまでの時間を短くすることができ、数値制御工作機械ユーザがパラメータを調整する時間を短くすることができる。 As described in the present embodiment, the numerical control parameter adjustment device according to the present embodiment executes the numerical control simulation and the drive control simulation only in a range where the shape error does not fall within the allowable error after the parameter change. Therefore, the time required to obtain the parameter change result can be shortened, and the time for the numerically controlled machine tool user to adjust the parameter can be shortened.
 また、本実施の形態では、数値制御工作機械の有無を問わないため、数値制御工作機械のオペレータが調整したパラメータを遠隔地の数値制御工作機械ユーザに提供することも可能である。そこで、数値制御工作機械の扱いに熟練したオペレータを拠点に配して、遠隔地の各所の数値制御工作機械ユーザに対して調整したパラメータを提供することも可能である。 Further, in this embodiment, whether or not a numerically controlled machine tool is present is irrelevant, it is possible to provide a parameter adjusted by an operator of the numerically controlled machine tool to a remote numerically controlled machine tool user. Therefore, it is also possible to provide an adjusted parameter to numerically controlled machine tool users at various locations in a remote place by placing an operator skilled in handling the numerically controlled machine tool at the base.
 また、本実施の形態に係る数値制御パラメータ調整装置がネットワーク上に構築されて、インターネットを介してパラメータを取得可能な構成としてもよい。ネットワーク上の計算リソースを使用すると、パラメータを調整する時間を更に短くすることが可能となる。例えば、グリッドコンピューティング又はクラウドコンピューティングを用いることができる。 Also, the numerical control parameter adjustment device according to the present embodiment may be constructed on a network so that parameters can be acquired via the Internet. When computing resources on the network are used, the time for adjusting the parameters can be further shortened. For example, grid computing or cloud computing can be used.
実施の形態2.
 本実施の形態では、実施の形態1とは異なる動作を行う数値制御パラメータ調整装置について説明する。なお、本実施の形態に係る数値制御パラメータ調整装置の構成は、図1で示した構成と同じである。
Embodiment 2. FIG.
In the present embodiment, a numerical control parameter adjustment device that performs an operation different from that of the first embodiment will be described. The configuration of the numerical control parameter adjustment device according to the present embodiment is the same as the configuration shown in FIG.
 図9は、本実施の形態における数値制御パラメータ調整装置の動作を示すフローチャートである。まず、パラメータ、すなわち数値制御パラメータ及び駆動制御パラメータを入力する(S21)。次に、シミュレーションを実行する(S22)。すなわち、図2におけるS11からS14と同じく形状誤差の計算までを行う。そして、S22で格納された形状誤差データ127が許容誤差に収まっているか否かの判定を行う(S23)。S22で格納された形状誤差データ127が許容誤差に収まっている場合(S23:Yes)には処理を終了する。S22で格納された形状誤差データ127が許容誤差に収まっていない場合(S23:No)にはS22で格納された形状誤差データ127がより小さいか、すなわちS22で格納された形状誤差データ127が現在において最も小さな形状誤差データよりも小さいか否かを判定する(S24)。形状誤差データ間の比較は、一例として、形状誤差計算部106において形状誤差データ127を計算する際に、形状誤差領域の体積を計算しておき、形状誤差データ127に誤差量として値を記憶させておき、その誤差量の大小比較をすることで、容易に実行することができる。また、形状誤差領域の体積以外にも、形状誤差領域に含まれる移動経路の数を誤差量としてもよい。このようにして、形状誤差が小さくなるようにパラメータを調整することができる。 FIG. 9 is a flowchart showing the operation of the numerical control parameter adjusting apparatus in the present embodiment. First, parameters, that is, numerical control parameters and drive control parameters are input (S21). Next, a simulation is executed (S22). That is, the calculation of the shape error is performed as in S11 to S14 in FIG. Then, it is determined whether or not the shape error data 127 stored in S22 falls within an allowable error (S23). If the shape error data 127 stored in S22 is within the allowable error (S23: Yes), the process is terminated. When the shape error data 127 stored in S22 does not fall within the allowable error (S23: No), the shape error data 127 stored in S22 is smaller, that is, the shape error data 127 stored in S22 is currently It is determined whether or not it is smaller than the smallest shape error data (S24). As an example, comparison between the shape error data is performed by calculating the volume of the shape error region when the shape error calculation unit 106 calculates the shape error data 127 and storing the value in the shape error data 127 as an error amount. It can be easily executed by comparing the error amounts. In addition to the volume of the shape error area, the number of movement paths included in the shape error area may be used as the error amount. In this way, the parameters can be adjusted so as to reduce the shape error.
 形状誤差データ127が現在において最も小さな形状誤差データよりも小さい場合(S24:Yes)には、数値制御シミュレーション実行範囲及び最適パラメータを更新する(S25)。すなわち、現在設定されているパラメータが最適パラメータであるとして更新し、図2と同様の処理により数値制御シミュレーション実行範囲の更新を行う。なお、1回目のシミュレーション実行時は比較対象が存在しないため、この場合には数値制御シミュレーション実行範囲及び最適パラメータを更新する(S25)。 If the shape error data 127 is smaller than the smallest shape error data at present (S24: Yes), the numerical control simulation execution range and the optimum parameters are updated (S25). That is, the currently set parameter is updated as the optimum parameter, and the numerical control simulation execution range is updated by the same processing as in FIG. Since there is no comparison target at the time of the first simulation execution, the numerical control simulation execution range and the optimum parameters are updated in this case (S25).
 パラメータの更新では、設定したパラメータ及びそれに対応した形状誤差データを記憶しておき、その中で最も形状誤差データの誤差量が小さなパラメータを最適パラメータとして記憶しておく。これにより、現在において最も形状誤差データの誤差量が小さなパラメータ及びその誤差量が分かるため、S24における形状誤差データ間の比較が容易となる。 In the parameter update, the set parameter and the corresponding shape error data are stored, and the parameter having the smallest error amount of the shape error data is stored as the optimum parameter. As a result, since the parameter having the smallest error amount of the shape error data and the error amount at the present are known, comparison between the shape error data in S24 is facilitated.
 そして、数値制御シミュレーション実行範囲の更新では、現在において最も形状誤差データの誤差量が小さな形状誤差データを用いて数値制御シミュレーション実行範囲を計算する。そのため、形状誤差データの誤差量が小さくなるときにのみ数値制御シミュレーション実行範囲の計算が行われるので、数値制御シミュレーション実行範囲が狭まっていき、シミュレーションの実行時間を更に短くすることが可能となる。 In the update of the numerical control simulation execution range, the numerical control simulation execution range is calculated using the shape error data having the smallest error amount of the shape error data at present. Therefore, since the numerical control simulation execution range is calculated only when the error amount of the shape error data is small, the numerical control simulation execution range is narrowed, and the simulation execution time can be further shortened.
 そして、数値制御シミュレーション実行範囲及び最適パラメータを更新した場合(S25)又は形状誤差データ127が現在において最も小さな形状誤差データよりも小さくない場合(S24:No)には、パラメータを調整する(S26)。すなわち、現在において最も形状誤差データの誤差量が小さな形状誤差データに対応したパラメータを用いて各パラメータの調整を行って更新する。 When the numerical control simulation execution range and the optimum parameters are updated (S25) or when the shape error data 127 is not smaller than the smallest shape error data at present (S24: No), the parameters are adjusted (S26). . In other words, each parameter is adjusted and updated using the parameter corresponding to the shape error data with the smallest error amount of the shape error data at present.
 図10は、S26に示すパラメータ調整の処理を示す図である。まず、調整するパラメータが範囲をもつか否かの判定を行う(S31)。調整するパラメータが範囲をもつ場合(S31:Yes)には、パラメータを下限値に設定し、シミュレーションを実行後にパラメータを上限値に設定して、シミュレーションを実行する(S32)。なお、下限値及び上限値が定まっていない場合には、数値制御工作機械ユーザが設定した値を用いてもよい。 FIG. 10 is a diagram showing the parameter adjustment process shown in S26. First, it is determined whether or not the parameter to be adjusted has a range (S31). If the parameter to be adjusted has a range (S31: Yes), the parameter is set to the lower limit value, and after executing the simulation, the parameter is set to the upper limit value and the simulation is executed (S32). When the lower limit value and the upper limit value are not fixed, values set by the numerical control machine tool user may be used.
 調整するパラメータが範囲をもたない場合(S31:No)には、パラメータをオン又はオフに設定し、現在設定しているパラメータと異なるパラメータを設定してシミュレーションを実行する(S36)。 If the parameter to be adjusted does not have a range (S31: No), the parameter is set to ON or OFF, a parameter different from the currently set parameter is set, and the simulation is executed (S36).
 そして、形状誤差が小さい方のパラメータと現在のパラメータで上下限を設定する(S33)。すなわち、下限値に設定したパラメータの形状誤差と、上限値に設定したパラメータの形状誤差とを比較し、下限値のパラメータの形状誤差の方が小さければ、現在のパラメータを新たな上限値として設定し、上限値のパラメータの形状誤差の方が小さければ、現在のパラメータを新たな下限値として設定する。 Then, the upper and lower limits are set with the parameter having the smaller shape error and the current parameter (S33). In other words, the shape error of the parameter set to the lower limit value is compared with the shape error of the parameter set to the upper limit value. If the shape error of the lower limit parameter is smaller, the current parameter is set as the new upper limit value. If the shape error of the upper limit parameter is smaller, the current parameter is set as a new lower limit value.
 そして、パラメータを中間値に設定し、シミュレーションを実行する(S34)。すなわち、S33で設定した下限値と上限値の中間値にパラメータを設定し、シミュレーションを実行する。S34の実行後には、現在のパラメータを中間値に設定しておくことで、二分的にパラメータの範囲を絞りつつ形状誤差の小さいパラメータを探索することが可能であり、効果的にパラメータの調整が可能である。 Then, the parameter is set to an intermediate value and a simulation is executed (S34). That is, a parameter is set to an intermediate value between the lower limit value and the upper limit value set in S33, and a simulation is executed. After the execution of S34, by setting the current parameter to an intermediate value, it is possible to search for a parameter having a small shape error while narrowing the parameter range in half, and the parameter can be adjusted effectively. Is possible.
 そして、上下限範囲がしきい値を下回っているか否かを判定する(S35)。パラメータの上下限範囲がしきい値を下回っている場合(S35:Yes)又はS36においてシミュレーションを実行した場合には、調整したパラメータの中で最小の形状誤差に対応したパラメータを設定して(S37)、処理を終了する。 Then, it is determined whether the upper / lower limit range is below the threshold value (S35). When the upper and lower limit range of the parameter is below the threshold value (S35: Yes) or when the simulation is executed in S36, the parameter corresponding to the minimum shape error is set among the adjusted parameters (S37). ), The process is terminated.
 パラメータの上下限範囲がしきい値を下回っていない場合(S35:No)には、S33へ戻る。 If the upper and lower limit range of the parameter is not below the threshold value (S35: No), the process returns to S33.
 本実施の形態にて説明したように、本実施の形態に係る数値制御パラメータ調整装置は、現在における最適なパラメータ及び形状誤差データを記憶し、形状誤差がより小さくなる場合にのみパラメータ、形状誤差データ及び数値制御シミュレーション実行範囲を更新することで、パラメータを効果的に調整することができる。また、パラメータが最適な方向に調整されていくと、形状誤差の領域が狭まっていき、シミュレーションの実行範囲も同様に狭まっていく。そのため、パラメータ変更の結果を得るまでの時間を短くすることができ、数値制御工作機械ユーザがパラメータを調整する時間を短くすることができる。 As described in the present embodiment, the numerical control parameter adjustment device according to the present embodiment stores the current optimum parameters and shape error data, and only when the shape error becomes smaller, the parameter and shape error The parameters can be effectively adjusted by updating the data and the numerical control simulation execution range. Further, as the parameters are adjusted in the optimum direction, the shape error region is narrowed, and the simulation execution range is similarly narrowed. Therefore, the time required to obtain the parameter change result can be shortened, and the time for the numerically controlled machine tool user to adjust the parameter can be shortened.
 また、本実施の形態においても、オペレータが調整したパラメータを遠隔地の数値制御工作機械ユーザに提供することも可能であるので、数値制御工作機械の扱いに熟練したオペレータを拠点に配して、遠隔地の各所の数値制御工作機械ユーザに調整したパラメータを提供することも可能である。また、本実施の形態においても、インターネットを介してパラメータを取得可能な構成としてもよい。また、ネットワーク上の計算リソースを使用してパラメータを調整する時間を更に短くしてもよい。 Also in this embodiment, it is also possible to provide the parameter adjusted by the operator to the numerically controlled machine tool user in the remote place, so that an operator who is skilled in handling the numerically controlled machine tool is arranged at the base, It is also possible to provide adjusted parameters to numerically controlled machine tool users at various remote locations. Also in this embodiment, a configuration may be adopted in which parameters can be acquired via the Internet. In addition, the time for adjusting the parameters using calculation resources on the network may be further shortened.
実施の形態3.
 図11は、本発明の実施の形態3に係る数値制御パラメータ調整装置の構成を示す図である。図11に示す数値制御パラメータ調整装置は、図1に示す数値制御パラメータ調整装置に対して素材形状データ更新部109が追加された構成である。そのため、素材形状データ更新部109以外の構成については説明を省略する。
Embodiment 3 FIG.
FIG. 11 is a diagram showing a configuration of a numerical control parameter adjusting apparatus according to Embodiment 3 of the present invention. The numerical control parameter adjustment apparatus shown in FIG. 11 has a configuration in which a material shape data update unit 109 is added to the numerical control parameter adjustment apparatus shown in FIG. Therefore, the description of the configuration other than the material shape data update unit 109 is omitted.
 素材形状データ更新部109は、形状誤差計算部106で計算した形状誤差データ127を用いて、素材形状データ124を更新する。 The material shape data update unit 109 updates the material shape data 124 using the shape error data 127 calculated by the shape error calculation unit 106.
 図12は、本実施の形態における数値制御パラメータ調整装置の動作を示すフローチャートである。なお、図12に示すフローチャートは、S18の素材形状データを更新する処理以外は図2に示すフローチャートと同じである。そのため、S18以外の処理については説明を省略する。 FIG. 12 is a flowchart showing the operation of the numerical control parameter adjusting apparatus according to the present embodiment. The flowchart shown in FIG. 12 is the same as the flowchart shown in FIG. 2 except for the process of updating the material shape data in S18. For this reason, description of processes other than S18 is omitted.
 素材形状データ更新部109は、推定加工形状データ125に対して、形状誤差データ127が存在する領域を補正した結果を素材形状データ124に更新する(S18)。なお、数値制御パラメータ調整装置が表示部を備える構成として、数値制御工作機械ユーザに対して、更新した素材形状データ124が表示部に表示されてもよい。ここで、処理時間を短縮するため、S16の処理と、S17の処理と、S18の処理は並列に処理する。なお、S16の処理と、S17の処理と、S18の処理は順序を問わず直列に処理してもよい。 The material shape data updating unit 109 updates the material shape data 124 with the result of correcting the region where the shape error data 127 exists with respect to the estimated processed shape data 125 (S18). Note that, as a configuration in which the numerical control parameter adjustment device includes a display unit, the updated material shape data 124 may be displayed on the display unit for the numerical control machine tool user. Here, in order to shorten the processing time, the processing of S16, the processing of S17, and the processing of S18 are performed in parallel. Note that the process of S16, the process of S17, and the process of S18 may be processed in series regardless of the order.
 図13は、素材形状データ更新部109で行われる素材形状データの更新のイメージを示す図である。図13では、素材形状データ更新部109が、素材形状データ601と推定加工形状データ602とを比較し、素材形状データ603を更新している。形状誤差データが含まれない領域では推定加工形状データのまま残し、形状誤差データが含まれる領域ではS14で削り残しと判断された部分は推定加工形状データのまま残し、削り過ぎと判断された部分は形状誤差と補正量分の補正を行う。ここで、補正量は、削り過ぎた領域の形状誤差体積の誤差量を係数倍したものとなる。なお、この係数は数値制御工作機械ユーザが設定するものである。 FIG. 13 is a diagram showing an image of material shape data update performed by the material shape data update unit 109. In FIG. 13, the material shape data update unit 109 compares the material shape data 601 with the estimated processed shape data 602 and updates the material shape data 603. In the area not including the shape error data, the estimated machining shape data is left as it is. In the area including the shape error data, the portion determined to be left uncut in S14 is left as the estimated machining shape data, and the portion determined as being excessively cut. Performs correction for the shape error and correction amount. Here, the correction amount is obtained by multiplying the error amount of the shape error volume of the overcut region by a factor. This coefficient is set by the numerically controlled machine tool user.
 このように素材形状データを更新すると、次回以降の加工シミュレーションでは形状誤差データが含まれない領域ではすでに形状が推定されているため、加工シミュレーションの実行時間を短くすることができる。また、形状誤差データが含まれる領域では削り残しと判断された部分については再度削り残しがないか否かを判断でき、削り過ぎと判断された部分については削り過ぎがないか否かを判断することができる。そのため、新たに設定したパラメータが有効に機能しているか否かの検証を行うこともできる。 If the material shape data is updated in this way, the shape of the shape is already estimated in the region that does not include the shape error data in the next and subsequent machining simulations, so that the execution time of the machining simulation can be shortened. Further, in the area including the shape error data, it can be determined whether there is no uncut portion again for the portion that is determined to be left uncut, and it is determined whether the portion that is determined to be over cut is excessively cut. be able to. Therefore, it is possible to verify whether or not the newly set parameters are functioning effectively.
 本実施の形態にて説明したように、本実施の形態に係る数値制御パラメータ調整装置は、パラメータ変更後に形状誤差が許容誤差に収まらなかった範囲のみ数値制御シミュレーション、駆動制御シミュレーション及び加工シミュレーションを実行する。そのため、パラメータ変更の結果を得るまでの時間を短くすることができ、数値制御工作機械ユーザがパラメータを調整する時間を短くすることができる。 As described in the present embodiment, the numerical control parameter adjustment device according to the present embodiment executes the numerical control simulation, the drive control simulation, and the machining simulation only in a range in which the shape error does not fall within the allowable error after the parameter change. To do. Therefore, the time required to obtain the parameter change result can be shortened, and the time for the numerically controlled machine tool user to adjust the parameter can be shortened.
 また、本実施の形態においても、オペレータが調整したパラメータを遠隔地の数値制御工作機械ユーザに提供することも可能であるので、数値制御工作機械の扱いに熟練したオペレータを拠点に配して、遠隔地の各所の数値制御工作機械ユーザに調整したパラメータを提供することも可能である。また、本実施の形態においても、インターネットを介してパラメータを取得可能な構成としてもよい。また、ネットワーク上の計算リソースを使用してパラメータを調整する時間を更に短くしてもよい。 Also in this embodiment, it is also possible to provide the parameter adjusted by the operator to the numerically controlled machine tool user in the remote place, so that an operator who is skilled in handling the numerically controlled machine tool is arranged at the base, It is also possible to provide adjusted parameters to numerically controlled machine tool users at various remote locations. Also in this embodiment, a configuration may be adopted in which parameters can be acquired via the Internet. In addition, the time for adjusting the parameters using calculation resources on the network may be further shortened.
 従来技術では、数値制御パラメータを設定するごとに指定した工具及び加工対象物の移動経路の全てに対し、シミュレーションを行わなければならない。そのため、パラメータの調整に時間を要し、作業能率が低下する。また、設定したパラメータの全てにおいて要求する加工精度を満たしていない場合、再度設定した数値制御パラメータの分シミュレーションが必要となり、さらにパラメータの調整に時間を要してしまう。そのため、数値制御工作機械ユーザによるパラメータの設定が必要となり、作業能率が低下するという問題があった。 In the prior art, every time the numerical control parameter is set, simulation must be performed for all of the specified tool and workpiece movement paths. Therefore, it takes time to adjust the parameters, and the work efficiency is reduced. Further, when the machining accuracy required for all of the set parameters is not satisfied, a simulation for the numerical control parameters that have been set again is required, and further adjustment of the parameters takes time. For this reason, it is necessary to set parameters by a numerically controlled machine tool user, and there is a problem that work efficiency is lowered.
 実施の形態1から3にて説明したように、数値制御シミュレーション及び駆動制御シミュレーションを行って生成した工具先端位置を用いて加工シミュレーションを行い、推定した加工形状と、数値制御プログラムに記述された工具及び加工対象物の移動経路とを用いて、加工シミュレーションを行った目標加工形状を比較することで、現在設定されている数値制御パラメータ及び駆動制御パラメータでは加工精度が要求に満たない範囲を抽出する。そして、加工精度が要求に満たない範囲が存在する場合には、数値制御パラメータを変更して、その範囲内のみ更なるシミュレーションを行う。こうして、数値制御パラメータを変更した際に、数値制御シミュレーションと駆動制御シミュレーションとを行う工具及び加工対象物の移動経路の範囲が狭くなるため、繰り返し行う数値制御シミュレーション及び駆動制御シミュレーションの時間を短くしていくことができる。 As described in the first to third embodiments, machining simulation is performed using the tool tip position generated by performing numerical control simulation and drive control simulation, and the estimated machining shape and the tool described in the numerical control program are processed. By comparing the target machining shape for which machining simulation has been performed using the movement path of the workpiece and the machining target, a range in which the machining accuracy does not meet the requirements for the currently set numerical control parameters and drive control parameters is extracted. . If there is a range where the machining accuracy does not satisfy the requirement, the numerical control parameter is changed, and further simulation is performed only within the range. In this way, when the numerical control parameter is changed, the range of the movement path of the tool and the workpiece to be numerically controlled and the drive control simulation is narrowed. Therefore, the time for the numerical control simulation and the drive control simulation to be repeated is shortened. Can continue.
実施の形態4.
 図14は、本発明の実施の形態4に係る数値制御パラメータ調整装置の構成を示す図である。図14に示す数値制御パラメータ調整装置1401は、数値制御プログラム分割部1431と、加工対象物部分領域指定部1432と、指定領域内分割プログラム抽出部1433と、数値制御パラメータ設定部1434と、切削変形処理部1435と、切削変形結果表示部1436と、最適数値制御プログラム出力部1437とを有する制御部1402を備える。また、数値制御パラメータ調整装置1401は、分割プログラム1441と、部分領域1442と、分割パラメータ1443とを含む数値制御パラメータ調整情報1445を格納する格納部1403を備える。また、格納部1403は、加工対象物の三次元モデル1444を格納している。
Embodiment 4 FIG.
FIG. 14 is a diagram showing a configuration of a numerical control parameter adjusting apparatus according to Embodiment 4 of the present invention. A numerical control parameter adjusting device 1401 shown in FIG. 14 includes a numerical control program dividing unit 1431, a processing object partial region specifying unit 1432, a specified region divided program extracting unit 1433, a numerical control parameter setting unit 1434, and a cutting deformation. A control unit 1402 having a processing unit 1435, a cutting deformation result display unit 1436, and an optimum numerical control program output unit 1437 is provided. The numerical control parameter adjustment device 1401 includes a storage unit 1403 that stores numerical control parameter adjustment information 1445 including a division program 1441, a partial region 1442, and a division parameter 1443. The storage unit 1403 stores a three-dimensional model 1444 of the processing object.
 数値制御パラメータ調整装置1401には、これらの他、入力デバイス1411及び表示デバイス1412を備える。表示デバイス1412には、切削変形結果の表示出力先であるディスプレイを例示することができる。入力デバイス1411には、オペレータが部分領域を選択し、数値制御パラメータを設定するためのキーボード及びマウスを例示することができる。なお、入力デバイス1411及び表示デバイス1412は、数値制御パラメータ調整装置1401の外部に設けられていてもよい。 In addition to these, the numerical control parameter adjusting device 1401 includes an input device 1411 and a display device 1412. Examples of the display device 1412 include a display that is a display output destination of the cutting deformation result. Examples of the input device 1411 include a keyboard and a mouse for the operator to select a partial area and set numerical control parameters. Note that the input device 1411 and the display device 1412 may be provided outside the numerical control parameter adjustment device 1401.
 さらに、数値制御パラメータ調整装置1401には、数値制御プログラム分割部1431の入力である数値制御プログラム1421と、分割パラメータ1443の初期値となる数値制御パラメータ1422と、指定領域内分割プログラム抽出部1433及び切削変形処理部1435の入力である工具モデル1423とが外部入力され、最適数値制御プログラム出力部1437の出力である最適数値制御プログラム1424が外部出力される。 Further, the numerical control parameter adjusting device 1401 includes a numerical control program 1421 that is an input of the numerical control program dividing unit 1431, a numerical control parameter 1422 that is an initial value of the dividing parameter 1443, a designated area divided program extracting unit 1433, A tool model 1423 that is an input of the cutting deformation processing unit 1435 is externally input, and an optimal numerical control program 1424 that is an output of the optimal numerical control program output unit 1437 is externally output.
 図15は、本発明の実施の形態4に係る数値制御パラメータ調整装置を実現するハードウェアの構成を示す図である。図14に示す制御部1402は、プロセッサ1501及びメモリ1502を備えた処理装置であり、制御部1402が備える各機能部は、ソフトウェア処理によってプロセッサ1501で実現される。格納部1403は、データを不揮発に保持するストレージ1503である。また、制御部1402の各機能部を実現するソフトウェアもストレージ1503に保持されている。 FIG. 15 is a diagram showing a hardware configuration for realizing the numerical control parameter adjusting apparatus according to the fourth embodiment of the present invention. A control unit 1402 illustrated in FIG. 14 is a processing device including a processor 1501 and a memory 1502, and each functional unit included in the control unit 1402 is realized by the processor 1501 by software processing. The storage unit 1403 is a storage 1503 that holds data in a nonvolatile manner. In addition, software that implements each functional unit of the control unit 1402 is also stored in the storage 1503.
 分割プログラム1441は、数値制御プログラム分割部1431により格納部1403に格納される。数値制御プログラム分割部1431は、数値制御プログラム1421を入力とし、数値制御工作機械の全軸が停止するブロック毎に数値制御プログラム1421を1つ以上の分割プログラム1441に分割する。具体的には、数値制御プログラム分割部1431は、数値制御プログラム1421の先頭から1ブロックずつ、数値制御工作機械の全軸が停止するブロックであるか否か判定し、該当ブロックから次に該当するブロックまでを1分割プログラムとして、数値制御プログラム1421を分割する。なお、ここで数値制御工作機械の全軸が停止するブロックには、数値制御プログラム1421の先頭部及び終了部の他、早送り指令G0及びデュエル指令G4を例示することができる。 The division program 1441 is stored in the storage unit 1403 by the numerical control program division unit 1431. The numerical control program dividing unit 1431 receives the numerical control program 1421 and divides the numerical control program 1421 into one or more divided programs 1441 for each block where all axes of the numerically controlled machine tool are stopped. Specifically, the numerical control program dividing unit 1431 determines whether or not all the axes of the numerically controlled machine tool are blocks that stop one block at a time from the top of the numerical control program 1421. The numerical control program 1421 is divided with the block up to one division program. Here, in the block where all the axes of the numerically controlled machine tool are stopped, the rapid feed command G0 and the duel command G4 can be exemplified in addition to the head and end portions of the numerical control program 1421.
 部分領域1442は、オペレータが数値制御パラメータを調整したい加工対象物の一部の領域を示す情報であり、加工対象物部分領域指定部1432により格納部1403に格納される。加工対象物部分領域指定部1432は、入力デバイス1411を介してオペレータに部分領域1442を指定させる。なお、表示デバイス1412を介してオペレータに加工対象物の三次元モデル1444及び選択している部分領域1442を表示しておくことで、オペレータに部分領域1442を容易に選択させることができる。また、部分領域1442は複数選択してもよい。部分領域1442には、矩形領域及び球状領域を例示することができる。 The partial area 1442 is information indicating a partial area of the workpiece to be adjusted by the operator and is stored in the storage unit 1403 by the workpiece partial area specifying unit 1432. The processing target partial area specifying unit 1432 causes the operator to specify the partial area 1442 via the input device 1411. In addition, the operator can easily select the partial area 1442 by displaying the three-dimensional model 1444 of the workpiece and the selected partial area 1442 to the operator via the display device 1412. A plurality of partial regions 1442 may be selected. Examples of the partial region 1442 include a rectangular region and a spherical region.
 指定領域内分割プログラム抽出部1433は、分割プログラム1441と、部分領域1442と、工具モデル1423とを入力とし、部分領域1442を工具モデル1423が通過する分割プログラム1441を抽出する。なお、ここで抽出される分割プログラム1441は、分割プログラム1441の各々のうち1ブロックでも部分領域1442を工具が通過したものである。工具モデル1423が部分領域1442を通過するか否かの判定は、工具モデル1423及び当該ブロックの移動指令により形成されるスイープ形状と部分領域1442との間に交差する領域があるか否かにより行えばよい。 The designated area division program extraction unit 1433 receives the division program 1441, the partial area 1442, and the tool model 1423, and extracts the division program 1441 through which the tool model 1423 passes through the partial area 1442. The division program 1441 extracted here is one in which the tool passes through the partial area 1442 even in one block of each of the division programs 1441. Whether the tool model 1423 passes through the partial area 1442 is determined based on whether there is an intersecting area between the tool model 1423 and the sweep shape formed by the movement command of the block and the partial area 1442. Just do it.
 分割パラメータ1443は、分割プログラム1441毎に対応する数値制御パラメータを表し、数値制御パラメータ設定部1434により格納部1403に格納される。数値制御パラメータ設定部1434は、入力デバイス1411におけるオペレータの操作に従って分割パラメータ1443を設定する。なお、ここで設定する数値制御パラメータには、コーナー減速角度及び加減速係数をはじめとする加工時間又は加工精度に関するパラメータを例示することができる。 The division parameter 1443 represents a numerical control parameter corresponding to each division program 1441, and is stored in the storage unit 1403 by the numerical control parameter setting unit 1434. The numerical control parameter setting unit 1434 sets the division parameter 1443 according to the operator's operation on the input device 1411. Examples of the numerical control parameters set here include parameters related to machining time or machining accuracy, including corner deceleration angle and acceleration / deceleration coefficient.
 数値制御パラメータ調整情報1445は、分割プログラム1441、部分領域1442及び分割パラメータ1443を含むデータベースである。 The numerical control parameter adjustment information 1445 is a database including a division program 1441, a partial area 1442, and a division parameter 1443.
 加工対象物の三次元モデル1444は、切削変形後の加工対象物の形状を表す三次元データであり、切削変形処理部1435によって格納部1403に格納される。三次元モデルの具体的な例は、三角形若しくは多角形の面の集合で対象形状の表面形状を表現した境界表現モデル、対象形状を微小な立方体の集合で表現したボクセルモデル及びこれに類する他の離散モデルである。切削変形処理部1435は、工具モデル1423と数値制御パラメータ調整情報1445とを入力とし、加工対象物の三次元モデル1444を切削変形する処理を行う。具体的には、まず、加工対象物の三次元モデル1444のうち、切削変形情報に含まれる部分領域1442に対応する領域を切削変形前の加工対象物の三次元モデル1444に復元する。次に、工具モデル1423、及び切削変形情報に含まれる数値制御パラメータ調整情報1445のうち部分領域1442に対応する数値制御プログラムの各範囲とそれら範囲毎に設定された数値制御パラメータに基づく移動軌跡から形成されるスイープ形状と加工対象物の三次元モデル1444との共通領域を加工対象物の三次元モデル1444から除去することで切削後の加工対象物の形状として加工対象物の三次元モデル1444を更新する。 The three-dimensional model 1444 of the workpiece is three-dimensional data representing the shape of the workpiece after cutting deformation, and is stored in the storage unit 1403 by the cutting deformation processing unit 1435. Specific examples of the three-dimensional model include a boundary expression model that expresses the surface shape of the target shape by a set of triangular or polygonal surfaces, a voxel model that expresses the target shape by a set of minute cubes, and other similar models. It is a discrete model. The cutting deformation processing unit 1435 receives the tool model 1423 and the numerical control parameter adjustment information 1445 as inputs, and performs a process of cutting and deforming the three-dimensional model 1444 of the workpiece. Specifically, first, a region corresponding to the partial region 1442 included in the cutting deformation information in the three-dimensional model 1444 of the workpiece is restored to the three-dimensional model 1444 of the workpiece before cutting deformation. Next, each range of the numerical control program corresponding to the partial area 1442 in the numerical control parameter adjustment information 1445 included in the tool model 1423 and the cutting deformation information, and the movement trajectory based on the numerical control parameters set for each of the ranges. By removing the common area between the formed sweep shape and the three-dimensional model 1444 of the workpiece from the three-dimensional model 1444 of the workpiece, the three-dimensional model 1444 of the workpiece is obtained as the shape of the workpiece after cutting. Update.
 切削変形結果表示部1436は、加工対象物の三次元モデル1444を入力とし、指定の視線方向と表示尺度とに基づき、その投影イメージを生成して表示デバイス1412に出力する。 The cutting deformation result display unit 1436 receives the three-dimensional model 1444 of the workpiece, generates a projection image based on the specified line-of-sight direction and display scale, and outputs the projection image to the display device 1412.
 最適数値制御プログラム出力部1437は、数値制御パラメータ調整情報1445の分割プログラム1441及び分割パラメータ1443を入力とし、分割プログラム1441の先頭に分割プログラム1441毎に設定した分割パラメータ1443へ変更するブロックを挿入し、それら分割プログラム1441を統合した最適数値制御プログラム1424を出力する。なお、数値制御パラメータの変更ブロックには、プログラマブルパラメータ入力機能G10,L70を例示することができる。 The optimum numerical control program output unit 1437 receives the division program 1441 and the division parameter 1443 of the numerical control parameter adjustment information 1445 as input, and inserts a block to be changed to the division parameter 1443 set for each division program 1441 at the head of the division program 1441. Then, an optimum numerical control program 1424 in which these division programs 1441 are integrated is output. Note that programmable parameter input functions G10 and L70 can be exemplified as the numerical control parameter change block.
 次に、数値制御パラメータ調整装置1401を用いた数値制御パラメータの調整方法及び各処理部の動作について、図16を用いて説明する。 Next, a numerical control parameter adjustment method using the numerical control parameter adjustment device 1401 and the operation of each processing unit will be described with reference to FIG.
 図16は、実施の形態4に係る数値制御パラメータ調整装置1401を用いた数値制御パラメータ調整方法を示すフローチャートである。 FIG. 16 is a flowchart showing a numerical control parameter adjustment method using the numerical control parameter adjustment device 1401 according to the fourth embodiment.
 まず、加工の先頭から終了までの切削変形が加工対象物全体を示す加工対象物の三次元モデル1444に対してオペレータによって入力される。 First, the cutting deformation from the beginning to the end of the machining is input by the operator to the three-dimensional model 1444 of the machining object indicating the entire machining object.
 数値制御パラメータ調整装置1401の内部では、数値制御プログラム分割部1431、切削変形処理部1435及び切削変形結果表示部1436の各処理部が動作することで、数値制御プログラム1421の分割並びに加工対象物全体を示す加工対象物の三次元モデル1444に対する切削変形及び表示が実行される(ステップS41)。数値制御プログラム分割部1431は、数値制御プログラム1421を1つ以上の分割プログラム1441へ分割する。部分領域1442の初期値には加工対象物全体の形状が設定され、分割プログラム1441の各々に対する分割パラメータ1443の初期値には数値制御パラメータ1422が設定されており、切削変形処理部1435は、数値制御パラメータ調整情報1445と工具モデル1423とを入力とし、加工対象物全体を示す加工対象物の三次元モデル1444を切削変形する。切削変形結果表示部1436は、加工対象物全体を示す加工対象物の三次元モデル1444を視線方向と表示尺度とに基づき表示デバイス1412にグラフィック表示する。 Inside the numerical control parameter adjusting device 1401, the numerical control program dividing unit 1431, the cutting deformation processing unit 1435, and the cutting deformation result display unit 1436 are operated, whereby the numerical control program 1421 is divided and the entire workpiece is processed. Cutting deformation and display on the three-dimensional model 1444 of the workpiece to be processed are executed (step S41). The numerical control program dividing unit 1431 divides the numerical control program 1421 into one or more divided programs 1441. The shape of the entire workpiece is set as the initial value of the partial area 1442, the numerical control parameter 1422 is set as the initial value of the division parameter 1443 for each of the division programs 1441, and the cutting deformation processing unit 1435 The control parameter adjustment information 1445 and the tool model 1423 are input, and the three-dimensional model 1444 of the processing target that indicates the entire processing target is cut and deformed. The cutting deformation result display unit 1436 graphically displays the three-dimensional model 1444 of the processing object indicating the entire processing object on the display device 1412 based on the viewing direction and the display scale.
 次に、オペレータは、切削変形結果の表示を参照しつつ、加工上の問題箇所の近傍を含む部分領域1442を、入力デバイス1411を介して入力する。数値制御パラメータ調整装置1401の内部では、加工対象物部分領域指定部1432により部分領域1442の設定(ステップS42)が行われ、指定領域内分割プログラム抽出部1433が動作する。これにより、指定領域内分割プログラム抽出部1433は、部分領域1442と工具モデル1423と分割プログラム1441とを入力とし、部分領域1442を工具モデル1423が通過する分割プログラム1441の抽出を行う(ステップS43)。 Next, the operator inputs the partial area 1442 including the vicinity of the problem point on the processing through the input device 1411 while referring to the display of the cutting deformation result. Inside the numerical control parameter adjustment device 1401, the partial area 1442 is set (step S <b> 42) by the processing object partial area specifying unit 1432, and the specified area division program extracting unit 1433 operates. As a result, the specified area division program extraction unit 1433 receives the partial area 1442, the tool model 1423, and the division program 1441, and extracts the division program 1441 through which the tool model 1423 passes through the partial area 1442 (step S43). .
 次に、オペレータは、抽出した分割プログラム毎に分割パラメータ1443を、入力デバイス1411を介して入力する。数値制御パラメータ調整装置1401の内部では、数値制御パラメータ設定部1434、切削変形処理部1435及び切削変形結果表示部1436が動作し、抽出した分割プログラムの数値制御パラメータの設定(ステップS44)と、部分領域1442の切削変形結果の更新(ステップS45)とが実行される。数値制御パラメータ設定部1434は、抽出した分割プログラムを入力とし、それら分割プログラム毎に数値制御パラメータを設定する。切削変形処理部1435は、工具モデル1423と、数値制御パラメータ調整情報1445とを入力とし、部分領域1442に対応する加工対象物の三次元モデル1444の領域を再度切削変形処理し、切削変形結果を更新する。切削変形結果表示部1436は、加工対象物全体を示す加工対象物の三次元モデル1444を視線方向と表示尺度とに基づき表示デバイス1412にグラフィック表示する。 Next, the operator inputs a division parameter 1443 for each extracted division program via the input device 1411. Inside the numerical control parameter adjustment device 1401, a numerical control parameter setting unit 1434, a cutting deformation processing unit 1435, and a cutting deformation result display unit 1436 operate to set numerical control parameters of the extracted divided program (step S44), The cutting deformation result in the region 1442 is updated (step S45). The numerical control parameter setting unit 1434 receives the extracted divided program and sets a numerical control parameter for each divided program. The cutting deformation processing unit 1435 receives the tool model 1423 and the numerical control parameter adjustment information 1445 as input, performs cutting deformation processing again on the region of the three-dimensional model 1444 of the workpiece corresponding to the partial region 1442, and displays the cutting deformation result. Update. The cutting deformation result display unit 1436 graphically displays the three-dimensional model 1444 of the processing object indicating the entire processing object on the display device 1412 based on the viewing direction and the display scale.
 部分領域1442に対応する加工対象物の三次元モデル1444を目視確認することで、設定した数値制御パラメータに問題がない場合には、調整の繰り返しをせずに数値制御パラメータの調整を終了する。設定した数値制御パラメータに問題がある場合、すなわち設定した数値制御パラメータで求める加工精度を満たしていない場合には、調整の繰り返しを要するとして数値制御パラメータの設定(S44)に戻る。 By visually confirming the three-dimensional model 1444 of the workpiece corresponding to the partial region 1442, if there is no problem with the set numerical control parameter, the adjustment of the numerical control parameter is terminated without repeating the adjustment. If there is a problem with the set numerical control parameter, that is, if the machining accuracy required by the set numerical control parameter is not satisfied, the adjustment is repeated and the process returns to the setting of the numerical control parameter (S44).
 他に加工上の問題箇所がない場合には、最適数値制御プログラム1424が出力される(ステップS46)。数値制御パラメータ調整装置1401の内部では、最適数値制御プログラム出力部1437が動作し、分割プログラム1441の先頭でそれら分割プログラム1441毎に調整した分割パラメータ1443へ変更するブロックが挿入され、それら分割プログラム1441を統合した最適数値制御プログラム1424が出力される。他に加工上の問題箇所が存在する場合には、部分領域1442の設定(S42)に戻る。 If there is no other problem in processing, the optimum numerical control program 1424 is output (step S46). Inside the numerical control parameter adjustment device 1401, the optimum numerical control program output unit 1437 operates, and a block to be changed to the division parameter 1443 adjusted for each division program 1441 is inserted at the top of the division program 1441, and the division program 1441 is inserted. An optimal numerical control program 1424 in which is integrated is output. If there are other problem points in processing, the process returns to the setting of the partial area 1442 (S42).
 以上のように、本実施の形態によれば、加工対象物に設定した領域のうち、工具が通過する範囲に該当する数値制御プログラムについてのみ、切削変形結果を更新する。また、数値制御パラメータの変更による切削変形結果への影響がその範囲内にのみ限定されているため、それら範囲毎に数値制御パラメータを調整することができる。従って、オペレータが数値制御パラメータの変更の結果を得るまでの時間を短くすることができ、数値制御パラメータの調整作業の効率を向上させることができる。 As described above, according to the present embodiment, the cutting deformation result is updated only for the numerical control program corresponding to the range through which the tool passes in the region set as the workpiece. Moreover, since the influence on the cutting deformation result by the change of the numerical control parameter is limited only within the range, the numerical control parameter can be adjusted for each of the ranges. Therefore, the time until the operator obtains the result of changing the numerical control parameter can be shortened, and the efficiency of the adjustment work of the numerical control parameter can be improved.
 また、本実施の形態4では、数値制御工作機械の有無を問わないため、オペレータが数値制御パラメータ調整後の数値制御プログラムを遠隔地の数値制御工作機械ユーザに提供することも可能である。 In the fourth embodiment, whether or not there is a numerically controlled machine tool can be used, the operator can provide a numerically controlled program after adjusting numerical control parameters to a numerically controlled machine tool user at a remote location.
 また、本実施の形態4に係る数値制御パラメータ調整装置が、ネットワークに接続されて、インターネットを介して数値制御パラメータ調整後の数値制御プログラムを取得可能な構成としてもよい。ネットワーク上の計算リソースを使用すると、オペレータが所有する計算リソースの性能によらない数値制御パラメータ調整装置を提供することができる。一例として、グリッドコンピューティング又はクラウドコンピューティングを用いることができる。 Also, the numerical control parameter adjustment device according to the fourth embodiment may be configured to be connected to a network and obtain a numerical control program after numerical control parameter adjustment via the Internet. By using computational resources on the network, it is possible to provide a numerical control parameter adjusting device that does not depend on the performance of computational resources owned by the operator. As an example, grid computing or cloud computing can be used.
実施の形態5.
 図17は、本発明の実施の形態5に係る数値制御パラメータ調整装置の構成を示す図である。本実施の形態5においては、数値制御パラメータ調整装置1701は、数値制御プログラム分割部1731が実施の形態4における数値制御プログラム分割部1431とは異なる動作をし、加えて、新たに数値制御プログラムの各ブロックが切削変形に寄与するか否かを判定する切削変形判定部1732を制御部1702に備える点が実施の形態4の数値制御パラメータ調整装置1401とは異なる。その他のデータ及び処理部の個別動作については実施の形態4と同様である。
Embodiment 5 FIG.
FIG. 17 is a diagram showing a configuration of a numerical control parameter adjustment apparatus according to Embodiment 5 of the present invention. In the fifth embodiment, in the numerical control parameter adjusting apparatus 1701, the numerical control program dividing unit 1731 operates differently from the numerical control program dividing unit 1431 in the fourth embodiment, and in addition, a new numerical control program is added. It differs from the numerical control parameter adjustment device 1401 of the fourth embodiment in that the control unit 1702 includes a cutting deformation determination unit 1732 that determines whether each block contributes to cutting deformation. Other data and individual operations of the processing unit are the same as those in the fourth embodiment.
 切削変形判定部1732は、数値制御プログラム1421と、工具モデル1423とを入力とし、数値制御プログラム1421の先頭から1ブロックずつ切削変形に寄与するか否かを判定する。具体的には、切削変形処理部1435と同様に、工具モデル1423と数値制御プログラム1421の各ブロックに基づく移動軌跡からなるスイープ形状と、加工対象物の三次元モデル1444との共通領域を加工対象物の三次元モデル1444から除去していき、共通領域が存在するか否かにより各ブロックが切削変形に寄与するか否かを判定する。 The cutting deformation determination unit 1732 receives the numerical control program 1421 and the tool model 1423 as input, and determines whether or not each block from the top of the numerical control program 1421 contributes to the cutting deformation. Specifically, as in the case of the cutting deformation processing unit 1435, a common area of the sweep shape composed of the movement trajectory based on each block of the tool model 1423 and the numerical control program 1421 and the three-dimensional model 1444 of the processing target is processed. It is removed from the three-dimensional model 1444 of an object, and it is determined whether each block contributes to cutting deformation depending on whether a common area exists.
 数値制御プログラム分割部1731は、数値制御プログラム1421と、切削変形判定部1732の結果とを入力とし、数値制御プログラム1421を1つ以上の分割プログラム1441に分割する。具体的には、加工対象物を切削変形するブロックを切削ブロックとし、それ以外のブロックを空走ブロックとし、且つ数値制御プログラム1421の先頭から末尾に向かう方向を後、数値制御プログラム1421の末尾から先頭に向かう方向を前としたとき、数値制御工作機械の全軸が停止するブロックに加えて、空走ブロックと当該空走ブロックの前の切削ブロック間の距離と、空走ブロックと当該空走ブロックの後の切削ブロック間の距離とが、各々加減速距離以上となる空走ブロックで数値制御プログラム1421を分割する。つまり、当該ブロックで数値制御工作機械の全軸が停止しても、当該ブロックの前の切削ブロックと、当該ブロックの後の切削ブロックとにおける数値制御工作機械の各軸の速度が停止しない場合と変わらないことが保証される。そのため、当該ブロックで数値制御パラメータ変更のために停止しても、切削変形結果に影響されない。なお、ここで加減速距離は、送り速度、機械の加速度、時定数から定まる最大送り速度に到達するまでに必要な移動距離である。 The numerical control program dividing unit 1731 receives the numerical control program 1421 and the result of the cutting deformation determining unit 1732 as inputs, and divides the numerical control program 1421 into one or more divided programs 1441. Specifically, the block that cuts and deforms the workpiece is a cutting block, the other blocks are idle running blocks, and the direction from the beginning to the end of the numerical control program 1421 is followed, and from the end of the numerical control program 1421 In addition to the block where all axes of the numerically controlled machine tool stop, the distance between the free running block and the cutting block in front of the free running block, the free running block and the free running The numerical control program 1421 is divided by idle running blocks in which the distance between the cutting blocks after the block is equal to or greater than the acceleration / deceleration distance. In other words, even if all the axes of the numerically controlled machine tool stop at the block, the speed of each axis of the numerically controlled machine tool at the cutting block before the block and the cutting block after the block does not stop. Guaranteed not to change. Therefore, even if it stops for the numerical control parameter change in the said block, it is not influenced by the cutting deformation result. Here, the acceleration / deceleration distance is a movement distance necessary to reach the maximum feed speed determined from the feed speed, machine acceleration, and time constant.
 一連の数値制御パラメータ調整の繰り返しにおける各部の動作フローについても、実施の形態4とは一部が異なり、数値制御プログラム1421の分割前に、切削変形判定部1732で数値制御プログラム1421の各ブロックが切削変形に寄与するか否かが判定される。この判定結果に基づき、数値制御プログラム分割部1731で数値制御プログラム1421の分割が行われる。 The operation flow of each part in a series of repeated numerical control parameter adjustments is also partly different from that of the fourth embodiment. Before the numerical control program 1421 is divided, each block of the numerical control program 1421 is changed by the cutting deformation determination unit 1732. It is determined whether or not it contributes to the cutting deformation. Based on the determination result, the numerical control program dividing unit 1731 divides the numerical control program 1421.
 実施の形態5に係る数値制御パラメータ調整装置は、実施の形態4に係る数値制御パラメータ調整装置と比べて、分割プログラムがより細かく分割される。すなわち、より細かな範囲で最適な数値制御パラメータへの調整が可能となるため、加工精度をより向上させることができる。 The numerical control parameter adjustment device according to the fifth embodiment is divided more finely than the numerical control parameter adjustment device according to the fourth embodiment. That is, since it is possible to adjust to the optimal numerical control parameter in a finer range, the machining accuracy can be further improved.
 以上のように、本実施の形態によれば、加工対象物に設定した領域のうち、工具が通過する範囲に該当する数値制御プログラムについてのみ、切削変形結果を更新する。また、数値制御パラメータの変更による移動軌跡への影響がその範囲内にのみ限定されているため、それら範囲毎に数値制御パラメータを調整することができる。従って、オペレータが数値制御パラメータの変更の結果を得るまでの時間を短くすることができ、数値制御パラメータの調整時間を短くすることができる。 As described above, according to the present embodiment, the cutting deformation result is updated only for the numerical control program corresponding to the range through which the tool passes in the region set as the workpiece. Further, since the influence on the movement trajectory due to the change of the numerical control parameter is limited only within the range, the numerical control parameter can be adjusted for each range. Therefore, the time until the operator obtains the result of changing the numerical control parameter can be shortened, and the adjustment time of the numerical control parameter can be shortened.
 また、本実施の形態5では、数値制御工作機械の有無を問わないため、オペレータが数値制御パラメータ調整後の数値制御プログラムを遠隔地の数値制御工作機械ユーザに提供することも可能である。 In the fifth embodiment, whether or not there is a numerically controlled machine tool can be used. Therefore, the operator can provide a numerically controlled program after adjusting numerical control parameters to a numerically controlled machine tool user at a remote location.
 また、本実施の形態5に係る数値制御パラメータ調整装置が、ネットワークに接続されて、インターネットを介して数値制御パラメータ調整後の数値制御プログラムを取得可能な構成としてもよい。ネットワーク上の計算リソースを使用すると、オペレータが所有する計算リソースの性能によらない数値制御パラメータ調整装置を提供することができる。一例として、グリッドコンピューティング又はクラウドコンピューティングを用いることができる。 Also, the numerical control parameter adjustment device according to the fifth embodiment may be configured to be connected to a network and obtain a numerical control program after numerical control parameter adjustment via the Internet. By using computational resources on the network, it is possible to provide a numerical control parameter adjusting device that does not depend on the performance of computational resources owned by the operator. As an example, grid computing or cloud computing can be used.
実施の形態6.
 図18は、本発明の実施の形態6に係る数値制御パラメータ調整装置の構成を示す図である。本実施の形態6においては、数値制御パラメータ調整装置1801は、加工対象物部分領域指定部1831と、数値制御パラメータ設定部1832と、最適数値制御プログラム出力部1833と、が実施の形態4における加工対象物部分領域指定部1432と、数値制御パラメータ設定部1434と、最適数値制御プログラム出力部1437とは異なる動作をし、加えて、新たに目標形状の三次元モデル1821と加工対象物の三次元モデル1444とを比較して形状誤差を算出する形状誤差計算部1834を制御部1802に備え、形状誤差計算部1834で算出される形状誤差データ1841と、複数の数値制御パラメータを記憶する数値制御パラメータ調整テーブル1842とを格納部1803に備える点が実施の形態4の数値制御パラメータ調整装置とは異なる。その他のデータ及び処理部の個別動作については実施の形態4と同様である。
Embodiment 6 FIG.
FIG. 18 is a diagram showing a configuration of a numerical control parameter adjustment device according to Embodiment 6 of the present invention. In the sixth embodiment, the numerical control parameter adjustment device 1801 includes a machining object partial region designating unit 1831, a numerical control parameter setting unit 1832, and an optimum numerical control program output unit 1833 according to the fourth embodiment. The object partial region designation unit 1432, the numerical control parameter setting unit 1434, and the optimum numerical control program output unit 1437 perform different operations. In addition, the target shape three-dimensional model 1821 and the three-dimensional object to be processed are newly added. The control unit 1802 includes a shape error calculation unit 1834 that calculates a shape error by comparing with the model 1444, and a numerical control parameter that stores shape error data 1841 calculated by the shape error calculation unit 1834 and a plurality of numerical control parameters. The point that the storage unit 1803 includes the adjustment table 1842 is the numerical control parameter of the fourth embodiment. Different from the meter adjustment apparatus. Other data and individual operations of the processing unit are the same as those in the fourth embodiment.
 形状誤差計算部1834は、目標形状の三次元モデル1821と加工対象物の三次元モデル1444とを比較して、形状誤差データ1841を算出する。なお、形状誤差計算部1834は、形状誤差を比較する指標として、両者の体積誤差である形状誤差体積も合わせて算出しておく。 The shape error calculation unit 1834 calculates the shape error data 1841 by comparing the three-dimensional model 1821 of the target shape with the three-dimensional model 1444 of the workpiece. Note that the shape error calculation unit 1834 also calculates a shape error volume, which is a volume error of both, as an index for comparing the shape errors.
 加工対象物部分領域指定部1831は、新たに形状誤差データ1841を入力とし、形状誤差が存在し、且つその形状誤差体積が許容誤差体積を超える領域を、部分領域1442に設定する。なお、許容誤差体積は、オペレータにより入力デバイス1411を介して設定される。 The processing target object partial area designating unit 1831 newly receives the shape error data 1841, and sets a partial area 1442 in which a shape error exists and the shape error volume exceeds the allowable error volume. The allowable error volume is set by the operator via the input device 1411.
 数値制御パラメータ設定部1832は、新たに数値制御パラメータ調整テーブル1842を入力とし、指定領域内分割プログラム抽出部1433で抽出された分割プログラムに対する数値制御パラメータとして、数値制御パラメータ調整テーブル1842に登録されている数値制御パラメータの1つを分割パラメータ1443に設定する。また、分割パラメータ1443の設定後、切削変形処理を通した切削変形結果に基づき、形状誤差計算部1834で形状誤差の計算を行い、形状誤差データ1841を算出する。 The numerical control parameter setting unit 1832 newly receives the numerical control parameter adjustment table 1842 as an input, and is registered in the numerical control parameter adjustment table 1842 as numerical control parameters for the divided program extracted by the designated area divided program extraction unit 1433. One of the numerical control parameters is set as the division parameter 1443. After setting the division parameter 1443, the shape error calculation unit 1834 calculates the shape error based on the cutting deformation result obtained through the cutting deformation process, and calculates the shape error data 1841.
 図19は、本発明の実施の形態6に係る数値制御パラメータ調整装置の最適数値制御プログラム出力部1833の動作を示す図である。数値制御パラメータ調整情報1843は、分割プログラム1441毎に、複数の分割パラメータ1443と、対応した形状誤差データ1841とを関連付けて参照できるように保持される。最適数値制御プログラム出力部1833は、まず、分割プログラム1441毎に最小の形状誤差体積を持つ分割パラメータ1443を抽出し、分割プログラム1441の先頭にその分割パラメータへ変更するブロックを挿入する。次に、それら分割プログラムを統合した最適数値制御プログラム1424を出力する。 FIG. 19 is a diagram illustrating an operation of the optimum numerical control program output unit 1833 of the numerical control parameter adjustment device according to the sixth embodiment of the present invention. The numerical control parameter adjustment information 1843 is held so that a plurality of division parameters 1443 and corresponding shape error data 1841 can be referenced in association with each division program 1441. First, the optimum numerical control program output unit 1833 extracts the division parameter 1443 having the smallest shape error volume for each division program 1441, and inserts a block to be changed to the division parameter at the head of the division program 1441. Next, an optimum numerical control program 1424 in which these divided programs are integrated is output.
 一連の数値制御パラメータ調整の繰り返しにおける各部の動作フローについても、実施の形態4とは一部が異なっている。まず、切削変形処理後には、新たに形状誤差計算部1834による形状誤差データ1841の計算が行われる。そして、形状誤差データ1841に基づき、許容誤差体積を超える形状誤差体積を有する領域が、オペレータの操作を介さずに部分領域1442として設定される。数値制御パラメータの調整作業では、まず、数値制御パラメータ調整テーブル1842に登録されている数値制御パラメータが、オペレータの操作を介さずに分割パラメータ1443に設定される。そして、切削変形処理後、新たに形状誤差計算部1834による形状誤差データ1841の計算を行う。そして、数値制御パラメータ調整テーブル1842に登録されているすべての数値制御パラメータを設定していなければ、数値制御パラメータ設定へ戻る。最適数値制御プログラム出力部1833は、分割プログラム1441の先頭で分割プログラム1441毎に最小の形状誤差体積を有する数値制御パラメータへ変更するブロックを挿入し、それら分割プログラムを統合した最適数値制御プログラム1424を出力する。 The operation flow of each part in a series of numerical control parameter adjustments is partly different from that of the fourth embodiment. First, after the cutting deformation process, the shape error data 1841 is newly calculated by the shape error calculation unit 1834. Based on the shape error data 1841, a region having a shape error volume exceeding the allowable error volume is set as the partial region 1442 without an operator's operation. In the adjustment operation of the numerical control parameters, first, the numerical control parameters registered in the numerical control parameter adjustment table 1842 are set in the division parameter 1443 without the operator's operation. Then, after the cutting deformation process, the shape error data 1841 is newly calculated by the shape error calculation unit 1834. If all the numerical control parameters registered in the numerical control parameter adjustment table 1842 have not been set, the process returns to the numerical control parameter setting. The optimum numerical control program output unit 1833 inserts a block to be changed to a numerical control parameter having the smallest shape error volume for each division program 1441 at the head of the division program 1441, and an optimum numerical control program 1424 in which these division programs are integrated is inserted. Output.
 本実施の形態6に係る数値制御パラメータ調整装置は、予め数値制御パラメータ調整テーブルに複数の数値制御パラメータを登録しておけば、オペレータによる部分領域の設定操作を介さず、最小の形状誤差体積となる数値制御パラメータに調整することができる。従って、より作業能率の高い数値制御パラメータ調整装置を提供することができる。 In the numerical control parameter adjustment device according to the sixth embodiment, if a plurality of numerical control parameters are registered in the numerical control parameter adjustment table in advance, the minimum shape error volume and the partial region setting operation are not performed by the operator. Can be adjusted to the numerical control parameters. Therefore, it is possible to provide a numerical control parameter adjusting device with higher work efficiency.
 以上のように、本実施の形態6によれば、加工対象物に設定した領域のうち、工具が通過する範囲に該当する数値制御プログラムについてのみ、切削変形結果を更新する。また、数値制御パラメータの変更による移動軌跡への影響がその範囲内にのみ限定されているため、それら範囲毎に数値制御パラメータを調整することができる。従って、オペレータが数値制御パラメータの変更の結果を得るまでの時間を短くすることができ、数値制御パラメータを調整する時間を短くすることができる。 As described above, according to the sixth embodiment, the cutting deformation result is updated only for the numerical control program corresponding to the range through which the tool passes in the region set as the workpiece. Further, since the influence on the movement trajectory due to the change of the numerical control parameter is limited only within the range, the numerical control parameter can be adjusted for each range. Therefore, the time until the operator obtains the result of changing the numerical control parameter can be shortened, and the time for adjusting the numerical control parameter can be shortened.
 また、本実施の形態6では、数値制御工作機械の有無を問わないため、オペレータが数値制御パラメータ調整後の数値制御プログラムを遠隔地の数値制御工作機械ユーザに提供することも可能である。 Further, in the sixth embodiment, whether or not there is a numerical control machine tool, it is possible to provide a numerical control program after adjustment of numerical control parameters to a remote numerical control machine tool user.
 また、本実施の形態6に係る数値制御パラメータ調整装置が、ネットワークに接続されて、インターネットを介して数値制御パラメータ調整後の数値制御プログラムを取得可能な構成としてもよい。ネットワーク上の計算リソースを使用すると、オペレータが所有する計算リソースの性能によらない数値制御パラメータ調整装置を提供することができる。一例として、グリッドコンピューティング又はクラウドコンピューティングを用いることができる。 Also, the numerical control parameter adjustment device according to the sixth embodiment may be configured to be connected to a network and obtain a numerical control program after numerical control parameter adjustment via the Internet. By using computational resources on the network, it is possible to provide a numerical control parameter adjusting device that does not depend on the performance of computational resources owned by the operator. As an example, grid computing or cloud computing can be used.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
 101 数値制御プログラム解析部、102 移動経路範囲出力部、103 数値制御シミュレーション部、104 駆動制御シミュレーション部、105 加工シミュレーション部、106 形状誤差計算部、107 パラメータ調整部、108 数値制御シミュレーション実行範囲計算部、109 素材形状データ更新部、121 数値制御プログラム、122 数値制御シミュレーション実行範囲、123 パラメータ、124 素材形状データ、125 推定加工形状データ、126 目標加工形状データ、127 形状誤差データ、301 工具、302,401,601,603 素材形状データ、402,602 推定加工形状データ、403 目標加工形状データ、404 形状誤差データ、405 削り残し領域、406 削り過ぎ領域、1401,1701,1801 数値制御パラメータ調整装置、1402,1702,1802 制御部、1403,1803 格納部、1411 入力デバイス、1412 表示デバイス、1421 数値制御プログラム、1422 数値制御パラメータ、1423 工具モデル、1424 最適数値制御プログラム、1431,1731 数値制御プログラム分割部、1432,1831 加工対象物部分領域指定部、1433 指定領域内分割プログラム抽出部、1434,1832 数値制御パラメータ設定部、1435 切削変形処理部、1436 切削変形結果表示部、1437,1833 最適数値制御プログラム出力部、1441 分割プログラム、1442 部分領域、1443 分割パラメータ、1444 加工対象物の三次元モデル、1445 数値制御パラメータ調整情報、1501 プロセッサ、1502 メモリ、1503 ストレージ、1731 数値制御プログラム分割部、1732 切削変形判定部、1821 目標形状の三次元モデル、1834 形状誤差計算部、1841 形状誤差データ、1842 数値制御パラメータ調整テーブル、1843 数値制御パラメータ調整情報。 101 Numerical control program analysis unit, 102 Movement path range output unit, 103 Numerical control simulation unit, 104 Drive control simulation unit, 105 Machining simulation unit, 106 Shape error calculation unit, 107 Parameter adjustment unit, 108 Numerical control simulation execution range calculation unit 109 material shape data update unit, 121 numerical control program, 122 numerical control simulation execution range, 123 parameters, 124 material shape data, 125 estimated machining shape data, 126 target machining shape data, 127 shape error data, 301 tool, 302, 401, 601, 603 Material shape data, 402, 602 Estimated machining shape data, 403 Target machining shape data, 404 Shape error data, 405 Uncut region, 40 Overcutting area, 1401, 1701, 1801 Numerical control parameter adjustment device, 1402, 1702, 1802 Control unit, 1403, 1803 Storage unit, 1411 Input device, 1412 Display device, 1421 Numerical control program, 1422 Numerical control parameter, 1423 Tool model , 1424 Optimal numerical control program, 1431, 1731 Numerical control program dividing unit, 1432, 1831 Processing object partial region specifying unit, 1433 Dividing program extracting unit within specified region, 1434, 1832 Numerical control parameter setting unit, 1435 Cutting deformation processing unit 1436 Cutting deformation result display part, 1437, 1833 Optimal numerical control program output part, 1441 division program, 1442 partial area, 1443 division parameter, 1 44 3D model of workpiece, 1445 Numerical control parameter adjustment information, 1501 processor, 1502 memory, 1503 storage, 1731 Numerical control program division unit, 1732 Cutting deformation determination unit, 1821 Three-dimensional model of target shape, 1834 Shape error calculation Part, 1841 shape error data, 1842, numerical control parameter adjustment table, 1843, numerical control parameter adjustment information.

Claims (4)

  1.  加工対象物の三次元モデルの切削変形結果に基づいて数値制御パラメータを調整する数値制御パラメータ調整装置であって、
     工具及び加工対象物の移動経路を示す数値制御プログラムと、加工精度及び加工時間に寄与する切削条件を表す前記数値制御パラメータとに基づいて補間及び加減速処理を行った移動経路と、工具モデルとに基づいて前記加工対象物の三次元モデルを切削変形する手段と、
     前記数値制御プログラムのうち、数値制御工作機械の全軸が停止するブロック毎に前記数値制御プログラムを1つ以上の分割プログラムに分割する数値制御プログラム分割手段と、
     前記加工対象物の三次元モデルの一部の領域を表す部分領域を指定する加工対象物部分領域指定手段と、
     指定された前記部分領域を前記工具モデルが通過する前記分割プログラムを抽出する手段と、
     抽出した前記分割プログラムに対する前記数値制御パラメータを設定する数値制御パラメータ設定手段と、
     前記分割プログラム毎に設定した前記数値制御パラメータへの変更指令を挿入し、前記分割プログラムを統合した前記数値制御プログラムを出力する手段と
    を備えることを特徴とする数値制御パラメータ調整装置。
    A numerical control parameter adjusting device for adjusting a numerical control parameter based on a cutting deformation result of a three-dimensional model of a workpiece,
    A movement path obtained by performing interpolation and acceleration / deceleration processing based on a numerical control program indicating a movement path of a tool and a workpiece, and the numerical control parameter indicating a cutting condition contributing to machining accuracy and machining time, and a tool model Means for cutting and deforming a three-dimensional model of the workpiece based on
    Among the numerical control programs, numerical control program dividing means for dividing the numerical control program into one or more divided programs for each block in which all axes of the numerically controlled machine tool are stopped,
    A processing object partial area specifying means for specifying a partial area representing a partial area of the three-dimensional model of the processing object;
    Means for extracting the division program through which the tool model passes through the designated partial region;
    Numerical control parameter setting means for setting the numerical control parameters for the extracted divided program;
    A numerical control parameter adjusting apparatus comprising: means for inserting a change command to the numerical control parameter set for each of the divided programs and outputting the numerical control program in which the divided programs are integrated.
  2.  前記数値制御プログラムのうち、前記加工対象物を切削変形するブロックを切削ブロックとし、切削ブロックでない前記ブロックを空走ブロックとし、且つ前記数値制御プログラムの先頭から末尾に向かう方向を後とし、前記数値制御プログラムの末尾から先頭に向かう方向を前とするとき、
     前記数値制御プログラムに基づいて、前記切削ブロックであるか又は前記空走ブロックであるかを判定する手段を備え、
     前記数値制御プログラム分割手段は、
     前記数値制御プログラムのうち、前記空走ブロックと当該空走ブロックの前の前記切削ブロックとの間の距離と、前記空走ブロックと当該空走ブロックの後の前記切削ブロックとの間の距離が、送り速度、加速度及び時定数に基づく加減速距離以上となる前記空走ブロック毎に前記数値制御プログラムを1つ以上の分割プログラムに分割することを特徴とする請求項1に記載の数値制御パラメータ調整装置。
    Of the numerical control program, the block that cuts and deforms the workpiece is a cutting block, the block that is not a cutting block is a free running block, and the direction from the beginning to the end of the numerical control program is the rear, and the numerical value When the direction from the end to the beginning of the control program is the front,
    Based on the numerical control program, comprising means for determining whether the cutting block or the free running block,
    The numerical control program dividing means includes:
    In the numerical control program, the distance between the idle block and the cutting block before the idle block, and the distance between the idle block and the cutting block after the idle block are as follows: 2. The numerical control parameter according to claim 1, wherein the numerical control program is divided into one or more divided programs for each of the free running blocks that is greater than or equal to an acceleration / deceleration distance based on a feed rate, an acceleration, and a time constant. Adjustment device.
  3.  複数の前記数値制御パラメータを記憶する手段と、
     前記加工対象物の三次元モデルの切削変形結果と目標形状とを比較して形状誤差を算出する手段とを備え、
     前記加工対象物部分領域指定手段は、
     前記形状誤差の存在する領域のうち形状誤差体積が許容誤差体積を超える領域を前記加工対象物の三次元モデルの一部の領域として指定し、
     前記数値制御パラメータ設定手段は、
     抽出した前記分割プログラムに対する前記数値制御パラメータを記憶した前記数値制御パラメータのうち1つに設定し、指定した領域に含まれる前記形状誤差を算出する操作を記憶した前記数値制御パラメータの総数だけ繰り返し、前記形状誤差体積が最小となる前記数値制御パラメータに設定することを特徴とする請求項1又は請求項2に記載の数値制御パラメータ調整装置。
    Means for storing a plurality of the numerical control parameters;
    Comparing a cutting deformation result of the three-dimensional model of the workpiece and a target shape, and calculating a shape error,
    The processing object partial region designating means is
    Specify the region where the shape error volume exceeds the allowable error volume among the regions where the shape error exists as a partial region of the three-dimensional model of the processing object,
    The numerical control parameter setting means includes
    The numerical control parameter for the extracted divided program is set to one of the stored numerical control parameters, and the operation for calculating the shape error included in the specified area is repeated for the total number of the numerical control parameters stored, The numerical control parameter adjusting apparatus according to claim 1, wherein the numerical control parameter is set to the numerical control parameter that minimizes the shape error volume.
  4.  工具及び加工対象物の移動経路を示す数値制御プログラムと、加工精度及び加工時間に寄与する切削条件を表す数値制御パラメータとに基づいて補間及び加減速処理を行った移動経路と、工具モデルとに基づいて前記加工対象物の三次元モデルを切削変形する第1のステップと、
     前記数値制御プログラムのうち、数値制御工作機械の全軸が停止するブロック毎に前記数値制御プログラムを1つ以上の分割プログラムに分割する第2のステップと、
     前記加工対象物の三次元モデルの一部の領域を表す部分領域を指定する第3のステップと、
     指定された前記部分領域を前記工具モデルが通過する前記分割プログラムを抽出する第4のステップと、
     抽出した前記分割プログラムに対する前記数値制御パラメータを設定する第5のステップと、
     前記分割プログラム毎に設定した前記数値制御パラメータへの変更指令を挿入し、前記分割プログラムを統合した前記数値制御プログラムを出力する第6のステップと
    を含み、
     前記第3のステップから前記第5のステップを複数回繰り返すことを特徴とする数値制御パラメータ調整方法。
    A numerical control program that indicates the movement path of the tool and the workpiece, a numerical control parameter that represents a cutting condition that contributes to machining accuracy and machining time, a movement path that has undergone interpolation and acceleration / deceleration processing, and a tool model A first step of cutting and deforming a three-dimensional model of the workpiece based on the first step;
    A second step of dividing the numerical control program into one or more divided programs for each block in which all axes of the numerically controlled machine tool stop among the numerical control programs;
    A third step of designating a partial region representing a partial region of the three-dimensional model of the workpiece;
    A fourth step of extracting the division program through which the tool model passes through the designated partial region;
    A fifth step of setting the numerical control parameters for the extracted divided program;
    Inserting a change command to the numerical control parameter set for each of the divided programs, and outputting the numerical control program in which the divided programs are integrated,
    The numerical control parameter adjustment method, wherein the third step to the fifth step are repeated a plurality of times.
PCT/JP2017/005765 2016-02-23 2017-02-16 Numerical control parameter adjustment device and numerical control parameter adjustment method WO2017145912A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017529408A JP6189007B1 (en) 2016-02-23 2017-02-16 Numerical control parameter adjusting device and numerical control parameter adjusting method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016032257 2016-02-23
JP2016-032257 2016-02-23

Publications (1)

Publication Number Publication Date
WO2017145912A1 true WO2017145912A1 (en) 2017-08-31

Family

ID=59685047

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/005765 WO2017145912A1 (en) 2016-02-23 2017-02-16 Numerical control parameter adjustment device and numerical control parameter adjustment method

Country Status (2)

Country Link
JP (1) JP6189007B1 (en)
WO (1) WO2017145912A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968040A (en) * 2019-12-18 2020-04-07 湖南戈人自动化科技有限公司 Program generation method of machining track for mechanical numerical control
CN111045389A (en) * 2018-10-11 2020-04-21 发那科株式会社 Numerical control method and processing device
WO2022196622A1 (en) * 2021-03-16 2022-09-22 ファナック株式会社 Numerical control device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651915B (en) * 2020-05-15 2022-03-29 西北工业大学 Efficient drilling modeling method based on chip separation crack propagation strategy
CN112596467A (en) * 2020-12-02 2021-04-02 山东佳恩数控科技有限公司 Numerical control beads machine control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092513A (en) * 1999-09-24 2001-04-06 Toyota Central Res & Dev Lab Inc Method of generating tool route in working machine, and computer-readable recording medium recording tool route generation program
JP2004227028A (en) * 2003-01-17 2004-08-12 Fuji Electric Systems Co Ltd Information display method and information extraction and display method
JP2011528997A (en) * 2008-07-25 2011-12-01 スネクマ Method for determining phase conditions for machining a workpiece with a modulated cutting speed
JP2012243152A (en) * 2011-05-20 2012-12-10 Fanuc Ltd Working time prediction part and numerical control device with working error prediction part
JP5843053B1 (en) * 2014-07-23 2016-01-13 三菱電機株式会社 Display device and display method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092513A (en) * 1999-09-24 2001-04-06 Toyota Central Res & Dev Lab Inc Method of generating tool route in working machine, and computer-readable recording medium recording tool route generation program
JP2004227028A (en) * 2003-01-17 2004-08-12 Fuji Electric Systems Co Ltd Information display method and information extraction and display method
JP2011528997A (en) * 2008-07-25 2011-12-01 スネクマ Method for determining phase conditions for machining a workpiece with a modulated cutting speed
JP2012243152A (en) * 2011-05-20 2012-12-10 Fanuc Ltd Working time prediction part and numerical control device with working error prediction part
JP5843053B1 (en) * 2014-07-23 2016-01-13 三菱電機株式会社 Display device and display method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045389A (en) * 2018-10-11 2020-04-21 发那科株式会社 Numerical control method and processing device
CN111045389B (en) * 2018-10-11 2023-12-15 发那科株式会社 Numerical control method and processing device
CN110968040A (en) * 2019-12-18 2020-04-07 湖南戈人自动化科技有限公司 Program generation method of machining track for mechanical numerical control
CN110968040B (en) * 2019-12-18 2022-04-26 湖南戈人自动化科技有限公司 Program generation method of machining track for mechanical numerical control
WO2022196622A1 (en) * 2021-03-16 2022-09-22 ファナック株式会社 Numerical control device

Also Published As

Publication number Publication date
JPWO2017145912A1 (en) 2018-03-08
JP6189007B1 (en) 2017-08-30

Similar Documents

Publication Publication Date Title
JP6189007B1 (en) Numerical control parameter adjusting device and numerical control parameter adjusting method
JP6257796B2 (en) Tool path generation method and machine tool
CN108073137B (en) numerical controller
TWI641931B (en) Device and method for automatically generating machine tool control instructions and parameters
KR100914218B1 (en) System and method for calculating loft surfaces using ?d scan data
JP5657115B2 (en) Processing simulation apparatus and method
JP5431987B2 (en) Machine tool controller
JP5985124B1 (en) Command value generator
US9891618B2 (en) Program correcting device and program correcting method of industrial robot
CN109643102B (en) Instruction value generating device
JP5931289B2 (en) Command value generator
CN115735167A (en) Post-processor, machining program generation method, CNC machining system, and machining program generation program
JP4945191B2 (en) Numerical control device for machine tools
JP5274714B1 (en) Machining program generation device, machining program generation method, and machining program generation program
US10877457B2 (en) Method for providing a travel profile, control device, machine, and computer program
JP2006007363A (en) Nc program correcting device and nc program generating device including it
FI129592B (en) Computer-aided modeling
WO2009101688A1 (en) Electric discharge machining device
WO2023026484A1 (en) Evaluation program creation device and computer-readable recording medium recording program
JP2925397B2 (en) Shape data creation method
JPH05282025A (en) Shape data generating method
JP2006039668A (en) Method and program for calculating fillet surface
JP6415835B2 (en) Draw model generation method and draw model generation system
CN118140186A (en) Analog device and computer-readable recording medium
CN116802573A (en) Machining program correction device, machining program correction method, and machining system

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2017529408

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17756351

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17756351

Country of ref document: EP

Kind code of ref document: A1