Machining program generation device and machining program generation method

The processing program generation device addresses the challenge of avoiding interference between machine tool elements by dynamically adjusting processing programs to change tool paths and clamping device positions, thereby ensuring efficient and interference-free machining operations.

DE112022007217T5Pending Publication Date: 2025-03-13MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE112022007217
Authority / Receiving Office
DE · DE
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-11-04
Publication Date
2025-03-13

AI Technical Summary

Technical Problem

Existing processing program generation devices struggle to completely avoid interference between machine tool elements, such as tools and clamping devices, due to structural and functional limitations of the processing device.

Method used

A processing program generation device that creates a processing program including a cutting process for a workpiece, featuring a processing program change unit to identify areas where interference occurs between tools and clamping devices, and adjusts the program to avoid interference by changing tool paths, processing procedures, or clamping device positions.

Benefits of technology

The device effectively avoids interference between tools and clamping devices without being restricted by the structure and processing function of the processing device, ensuring efficient and interference-free machining operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

A machining program generation device (10) that generates a machining program for cutting a machined product from a workpiece by numerical control comprises a machining program modification unit (18) that generates a machining shape specifying an area in which the machined product is to be machined, based on the product shape and the material shape of the machined product; generates an interference check shape specifying an area through which a tool for machining the machined product passes, based on a machining procedure and the machining shape; performs an interference check determination by checking for interference between the tool and a clamping device, which is a device for fixing the material shape to a machine tool, based on the clamping device shape and the interference check shape; and modifies the machining program.to avoid interference between the tool and the clamping device when the tool interferes with the clamping device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical area

[0001] The present disclosure relates to a machining program generation apparatus and machining program generation methods for generating a machining program. background

[0002] In recent years, the number of controlled axes of machine tools controlled by numerical control devices has increased to enable precise machining of complex shapes, and their structure has become more complex. Consequently, the number of numerically controlled processes for machine tools has increased, and machining programs have become more complex. Machining programs must be designed so that one machine tool element, such as a tool, does not interfere with another machine tool element, such as a fixture.

[0003] A machining device described in Patent Literature 1 performs machining simulation to shape a machined object into a desired shape, detecting interference between elements of the machining device. When interference is detected, the machining device proposes a mitigation measure, such as replacing the tool or changing the length of the tool or tool holder. Citation listPatent literature

[0004] Patent Literature 1: Japanese Patent Application Laid-Open No. 2020-52823 Overview of the inventionTechnical problem

[0005] However, the technique of Patent Literature 1 may not be able to completely avoid interference due to limitations of the structure of the processing device and the processing function of the processing device.

[0006] The present disclosure has been made in view of the above. The object of the present disclosure is to provide a machining program generation device that can avoid interference without being limited by limitations on the structure and machining function of a machining device. Solution to the problem

[0007] In order to solve the problems described above and achieve the object, a machining program generation device according to the present disclosure is a machining program generation device for generating a machining program including a cutting process for cutting a machined product from a workpiece by numerical control, and includes a machining program changing unit for generating a machining shape indicating a region in which the machined product is to be machined based on a product shape of the machined product and a material shape of the machined product before machining, an interference check shape indicating a region through which a tool for machining the machined product passes based on a machining method of the machined product and the machining shape, performs interference check determination,by checking for interference between the tool and a fixture, which is a device for fixing the material shape to a machine tool, based on a fixture shape of the fixture and the interference check shape, and changes the machining program to avoid interference between the tool and the fixture when the tool interferes with the fixture. Advantageous effects of the invention

[0008] The machining program generating apparatus according to the present disclosure has an effect of being able to avoid interference without being limited by restrictions on the structure and machining function of a machining apparatus. Short description of the drawings Fig. 1 is a block diagram showing a configuration of a numerical control device according to a first embodiment. Fig. 2 is a flowchart showing a flow of a machining program generation process performed by a machining program generation apparatus according to the first embodiment. Fig. 3 is a perspective view showing an example of a product shape corresponding to product shape data stored in a product shape storage unit of the machining program generation apparatus according to the first embodiment. Fig. 4 is a perspective view showing an example of a material shape corresponding to material shape data stored in a material shape storage unit of the machining program generation apparatus according to the first embodiment. Fig. 5 is a perspective view showing an example of a jig shape corresponding to jig shape data stored in a jig shape storage unit of the machining program generating apparatus according to the first embodiment. Fig. 6 is a perspective view showing an example of the product shape data, the material shape data, and the jig shape data whose shapes are arranged by a shape arranging unit of the machining program generating apparatus according to the first embodiment. Fig. 7 is a schematic diagram showing an example of surface machining shape data and hole machining shape data generated by a machining program generation unit of the machining program generation apparatus according to the first embodiment. Fig. 8 is a diagram showing an example of a machining process list of a machining program generated by the machining program generation unit of the machining program generation apparatus according to the first embodiment. Fig. 9 is a flowchart showing a detailed flow of a mold arranging process performed by the mold arranging unit of the machining program generating apparatus according to the first embodiment. Fig. 10 is a flowchart showing a detailed flow of a jig interference check process performed by the machining program generation unit of the machining program generation apparatus according to the first embodiment. Fig. 11 is a perspective view showing an example of an interference check shape group generated by the machining program generation unit of the machining program generation apparatus according to the first embodiment. Fig. 12 is a flowchart showing a flow of a learning model generation process performed by a machine learning apparatus according to the first embodiment. Fig. 13 is a flowchart showing a flow of a machining program change process performed by a machining program change unit of the machining program generation apparatus according to the first embodiment. Fig. 14 is a perspective view for explaining an example of a tool input direction changing process performed by the machining program changing unit of the machining program generating apparatus according to the first embodiment. Fig. 15 is a perspective view for explaining an example of a machining method changing process performed by the machining program changing unit of the machining program generating apparatus according to the first embodiment. Fig. 16 is a perspective view for explaining an example of a machining shape changing process performed by the machining program changing unit of the machining program generating apparatus according to the first embodiment. Fig. 17 is a flowchart showing a flow of a machining program addition process performed by a machining program addition unit of the machining program generation apparatus according to the first embodiment. Fig. 18 is a perspective view for explaining jig interference part shapes obtained by the machining program adding unit of the machining program generating apparatus according to the first embodiment. Fig. 19 is a diagram showing an example of an editing process of a device machining program added by the machining program adding unit of the machining program generating device according to the first embodiment. Fig. 20 is a perspective view showing an example of machining shapes used in the machining process of Fig. 19 are to be processed. Fig. 21 is a flowchart showing a detailed flow of a process for inputting the shapes by a shape input unit of the machining program generating apparatus according to the first embodiment. Fig. 22 is a perspective view for explaining an example of the shape input process performed by the shape input unit of the machining program generating apparatus according to the first embodiment. Fig. 23 is a flowchart showing a detailed flow of a process for adjusting the position of each mold performed by the mold arranging unit of the machining program generating apparatus according to the first embodiment. Fig. 24 is a flowchart showing a detailed flow of a process for adjusting the position of the die of the jig performed by the die arranging unit of the machining program generating apparatus according to the first embodiment. Fig. 25 is a perspective view for explaining a first example of a shape adjustment process performed by the shape arranging unit of the machining program generating apparatus according to the first embodiment. Fig. 26 is a perspective view for explaining a second example of the shape matching process performed by the shape arranging unit of the machining program generating apparatus according to the first embodiment. Fig. 27 is a perspective view for explaining a first example of the shape input process and the shape matching process performed by the machining program generating apparatus according to the first embodiment. Fig. 28 is a perspective view for explaining a second example of the shape input process and the shape matching process performed by the machining program generating apparatus according to the first embodiment. Fig. 29 is a flowchart showing a detailed procedure of a shape arrangement teaching process using inference performed by a shape arrangement teaching unit of the machining program generating apparatus according to the first embodiment. Fig. 30 is a perspective view for explaining a first example of the mold arrangement teaching process performed by the mold arrangement teaching unit of the machining program generating apparatus according to the first embodiment. Fig. 31 is a perspective view for explaining a second example of the mold arrangement teaching process performed by the mold arrangement teaching unit of the machining program generating apparatus according to the first embodiment. Fig. 32 is a block diagram showing a hardware configuration that is a configuration of the machining program generating apparatus and the machine learning apparatus in a second embodiment. Description of the embodiments

[0009] Hereinafter, a machining program generation apparatus and a machining program generation method according to embodiments of the present disclosure will be described in detail with reference to the drawings. First embodiment.

[0010] Fig. 1 is a block diagram showing a configuration of a numerical control device 100 according to a first embodiment. The numerical control device 100 is a device that automatically creates a machining program (a machining program 2 to be described later) for numerically controlling a machine tool and controls the machine tool (not shown) using the machining program 2.

[0011] The numerical control device 100 includes a machining program generation device 10, a machine learning device 20, an interactive operation processing unit 30, a command input unit 40, a display unit 50, and a control unit 60. The numerical control device 100 is installed in the machine tool or connected to the machine tool and numerically controls the operation of the machine tool according to the machining program 2. Here, the machining program 2 is used to machine a machining object from the material state and cut out the product shape of a machined product. The machine tool is, for example, a machining center, a lathe, or a combined lathe. The following describes a case where the machine tool is a machining center.

[0012] In the Fig. In the example shown in FIG. 1, the machining program generation device 10 and the machine learning device 20 are installed in the numerical control device 100, but the first embodiment is not limited to this example. For example, the machining program generation device 10 and / or the machine learning device 20 may be a device different from the numerical control device 100. That is, the machining program generation device 10 and the machine learning device 20 may be provided independently of each other outside the numerical control device 100. Furthermore, the machining program generation device 10 may be a device other than the machine learning device 20.

[0013] The machining program generation device 10 is a device for generating the machining program 2, which includes a plurality of cutting processes for cutting the machined product from a workpiece, through numerical control. The machining program generation device 10 generates the machining program 2 based on machining shape data input to the machining program generation device 10 from outside the numerical control device 100. The machining shape data includes material shape data, product shape data, and fixture shape data. The machining program generation device 10 in the first embodiment generates the machining program 2 after determining whether or not a member of the machine tool interferes with a fixture. The member of the machine tool is, for example, a tool (machining tool).The following description describes a case where the element of the machine tool is a tool, but the element of the machine tool is not limited to a tool.

[0014] Material shape data is data that defines the material shape, which is the shape of the machining object before machining. Product shape data is data that defines the product shape, which is the shape of the machining object after machining. Fixture shape data is data that defines the fixture shape of the fixture, which is a fixture for fixing the machining object to the machine tool. The fixture is, for example, a clamp or vise for fixing the machining object. The material shape data, product shape data, and fixture shape data are, for example, CAD (Computer-Aided Design) data.

[0015] The machining program generation device 10, which has received the material shape data, the product shape data, and the jig shape data, arranges the material shape, the product shape, and the jig shape using arrangement data that is the result of inference by the machine learning device 20. The arrangement data is data about the arranged positions of the material shape data, the product shape data, and the jig shape data.

[0016] The machining program generating device 10 generates the machining program 2 including information about machining units (hereinafter referred to as machining unit information) based on the arrangement data, that is, the arranged positions of the material shape data, the product shape data, and the jig shape data.

[0017] Each machining unit is a machining unit in which continuous machining is performed with the same spindle using the same tool. The machining unit information includes machining data including information about machining methods, tool data including information about tools used for machining and information about cutting conditions, and shape sequence data including shape information that defines a machining shape consisting of a single shape. The machining unit information also includes machining process data, that is, data related to a machining process. The machining process will be described later.

[0018] Tool information includes tool types, tool shapes, etc. Tool information may include tool holder information. Tool holder information includes tool holder types, tool holder shapes, etc. Cutting conditions include cutting speed, rotational speed, feed rate, etc. when the machine tool performs machining.

[0019] The machine learning device 20, which has obtained the material shape data, the product shape data, and the jig shape data, generates a learning model (a machine learning model) to be used based on the arrangement data of the material shape data, the product shape data, and the jig shape data used in a plurality of mold arrangement cases 3, which are arrangement examples created in the past. That is, the mold arrangement cases 3 input to the machine learning device 20 are the arrangement data generated in the past. The mold arrangement cases 3 can be stored in the numerical control device 100 or in a device external to the numerical control device 100.The machine learning device 20 infers the layout data using the generated learning model and sends the inference results to the machining program generation device 10.

[0020] The interactive operation processing unit 30 is an interface between the numerical control device 100 and the operator, and also an interface between the machining program generation device 10 or the machine learning device 20 and the operator. The interactive operation processing unit 30 sends the command information input by the operator via the command input unit 40 to the machining program generation device 10 or the machine learning device 20. The interactive operation processing unit 30 displays the command information input by the operator via the command input unit 40 on the display unit 50.

[0021] The command input unit 40 consists of input devices such as a mouse and a keyboard. The command input unit 40 receives command information from the operator and sends the command information to the interactive operation processing unit 30.

[0022] The display unit 50 is a display device such as a liquid crystal display, and displays the CAD data 1, the machining program 2, the mold arrangement cases 3, the command information input by the operator via the command input unit 40, and so on. The display unit 50 can display various types of information about the processing performed by the numerical control device 100, the machining program generation device 10, and the machine learning device 20.

[0023] The control unit 60 controls the machine tool using the machining program 2 generated by the machining program generating device 10.

[0024] The machining program generation device 10 includes a shape input unit 11, a product shape storage unit 12, a material shape storage unit 13, a jig shape storage unit 14, a mold arrangement unit 15, a mold arrangement teaching unit 16, a machining program generation unit 17, and a machining program modification unit 18. The machining program modification unit 18 includes a machining program addition unit 19.

[0025] The assembly data, product shape data, material shape data, and fixture shape data are input to the machining program generation device 10 from an external device of the numerical control device 100. The assembly data, product shape data, material shape data, and fixture shape data are composed of the CAD data 1. The assembly data consists of the product shape data, the material shape data, and the fixture shape data.

[0026] The shape input unit 11 receives the CAD data 1 input from the external device. The product shape data, the material shape data, and the fixture shape are not limited to the CAD data 1 and may be any data that can be interpreted by the machining program generation device 10.

[0027] The product shape storage unit 12 stores the product shape data input into the shape input unit 11. The product shape data includes product shape data, which is the finished shape of the machined product, and material information indicating the quality of the material.

[0028] The material shape storage unit 13 stores the material shape data input to the shape input unit 11. The material shape is data of the material shape, which is the shape of the object to be processed before processing. The material shape is, for example, a cylindrical shape or a rectangular parallelepiped shape to include the product shape. The material shape does not necessarily have to include the product shape and may be a shape obtained by thickening any surface of the product shape or a shape obtained by removing holes in the product shape. The material shape data may include material information indicating the quality of the material.

[0029] The jig shape storage unit 14 stores the jig shape data input to the shape input unit 11. The jig shape data is data of the jig shape of the jig for fixing the material that is the machining object before machining. The jig shape is, for example, a cylindrical shape, a rectangular parallelepiped shape, a shape that combines a plurality of cylindrical shapes, a shape that combines a plurality of rectangular parallelepiped shapes, a shape that combines a cylindrical shape and a rectangular parallelepiped shape, or the like. The jig shape may not be a cylindrical shape or a rectangular parallelepiped shape, and may be a polygonal shape, a spherical shape, an annular shape, a free-form shape, or the like.

[0030] The mold arrangement unit 15 arranges the product shape stored in the product shape storage unit 12, the material shape stored in the material shape storage unit 13, and the jig shape stored in the jig storage unit 14. The mold arrangement unit 15 arranges the product shape, which is the processing object after processing, within the material shape, which is the processing object before processing, and arranges the jig shape in a position to fix the material shape.

[0031] The mold arranging unit 15 does not necessarily need to arrange the material mold and the product mold at positions where the material mold encompasses the product mold. The mold arranging unit 15 can arrange the jig mold at a position to press the material mold from above or at a position to clamp the material mold from the sides, and does not necessarily need to arrange the jig mold at a position in contact with the material mold. The product mold, the material mold, and / or the jig mold can be arranged at a position predetermined by the operator via the interactive operation processing unit 30. The mold arranging unit 15 can arrange the product mold, the material mold, and the jig mold based on the arrangement data inferred by the machine learning device 20.

[0032] The mold arrangement unit 15 prestores a plurality of assembly patterns of the fixture mold and the material mold. Each assembly pattern includes information about the arranged positions of the fixture mold and the material mold. The mold arrangement unit 15 arranges the product mold, the material mold, and the fixture mold in an assembly pattern selected by the operator from the plurality of assembly patterns, or in an assembly pattern corresponding to the fixture mold shape.

[0033] The mold arrangement teaching unit 16 selects one of the mold arrangement cases 3 based on the arrangement data inferred by the machine learning device 20 from one of the product shapes stored in the product shape storage unit 12, the material shape stored in the material shape storage unit 13, and the jig shape stored in the fixture shape storage unit 14. The mold arrangement teaching unit 16 causes the display unit 50 to display the selected mold arrangement case 3 to display the arrangement data on the display unit 50.

[0034] The machining program generation unit 17 generates the machining program 2 from the product shape stored in the product shape storage unit 12, the material shape stored in the material shape storage unit 13, the fixture shape stored in the fixture shape storage unit 14, and the shapes arranged by the shape arrangement unit 15. The machining program 2 is a computer program for numerical control of the machine tool and includes information about the machining methods, tools, cutting conditions, tool paths, material shape, material quality, etc.

[0035] The machining program modification unit 18 changes the machining program 2 generated by the machining program generation unit 17 to the machining program 2 according to the operator's commands. The machining program addition unit 19 adds a new machining program (a jig machining program 2A, described later) to the machining program 2 generated by the machining program generation unit 17 according to the operator's commands. The machining program modification unit 18 receives the operator's commands via the interactive operation processing unit 30.

[0036] The machine learning device 20 includes a layout data analysis unit 21, a machine learning unit 22, a learning model storage unit 23, and an inference unit 24. The layout data analysis unit 21 extracts first parameters and second parameters from the product shape stored in the product shape storage unit 12, the material shape stored in the material shape storage unit 13, the jig shape stored in the fixture shape storage unit 14, and the product shape data, material shape data, and fixture shape data arranged by the mold arrangement unit 15. That is, the layout data analysis unit 21 extracts the first parameters and second parameters from the product shape, the material shape, the fixture shape, and the arranged positions of the molds.

[0037] The first parameters and the second parameters are parameters used by the machining program generation device 10. The first parameters are parameters that are adjusted in the machining program generation device 10. The second parameters are parameters that are not adjusted in the machining program 2 and are used to adjust the first parameters. Adjusting the parameters refers to determining parameter values.

[0038] The values ​​of the first parameters are generated when the product shape data stored in the product shape storage unit 12, the material shape data stored in the material shape storage unit 13, and the jig shape data stored in the jig shape storage unit 14 are arranged.

[0039] For example, the first parameters are parameters representing each mold arrangement case 3 and are data required for the arrangement, such as the shape of the jig, the dimensions of the jig shape, the orientation of the jig shape, the position of the jig shape on a machining table, the position of the material shape with respect to the jig shape, and the position of the product shape with respect to the material shape.

[0040] The first parameters can be a file name of the product shape data, the material shape data, and the fixture shape data after the shapes are arranged. The first parameters can be a file name of image data or video data of the product shape, the material shape, and the fixture shape after the shapes are arranged.

[0041] The second parameters are fixed-length data that are not adjusted. The second parameters are, for example, data generated based on the material shape, material quality, material shape dimensions, product shape, product shape dimensions, fixture shape, fixture material, fixture shape dimensions, etc. The second parameters are, for example, the dimensions (height, width, length, etc.) of the material generated from the material shape. The second parameters can be image data of the three-dimensional shape of the product shape or material shape, voxel data of the three-dimensional shape, inside-outside determination data in a three-dimensional lattice space, or the like.

[0042] The first parameters are associated with the second parameters. The first parameters are adjusted based on the second parameters associated with the first parameters. The array data analysis unit 21 determines the second parameters to be extracted for the individual first parameters and extracts the determined second parameters. The array data analysis unit 21 inputs the extracted first parameters and second parameters to the machine learning unit 22.

[0043] The machine learning unit 22 generates a learning model by learning using a data set including the extracted first parameters and second parameters. The machine learning unit 22 generates a learning model by inferring the values ​​of the first parameters from the second parameters set by the operator. In the first embodiment, the machine learning unit 22 performs supervised learning to generate the learning model. The machine learning unit 22 inputs the generated learning model to the learning model storage unit 23.

[0044] A learning algorithm used by machine learning unit 22 may be any algorithm. An example of a learning algorithm used by machine learning unit 22 is a neural network or the like. The neural network may be multi-layer deep learning. Alternatively, the learning algorithm used by machine learning unit 22 may be genetic programming, inductive logic programming, a support vector machine (SVM), or the like. Machine learning is processing to optimize parameters such as weights or tendencies of the neural network.

[0045] The learning model storage unit 23 stores the learning model representing the learning results of the machine learning unit 22. The learning model specifies the relationships between the optimal first parameters and the input second parameters. That is, the learning model is a model for inferring the optimal first parameters for the second parameters from the second parameters.

[0046] The inference unit 24 receives, as input data, input data including the second parameters. The inference unit 24 infers the values ​​of the first parameters from the second parameters using the learning model. The inference unit 24 inputs the second parameters to the learning model and causes the learning model to output values ​​of the first parameters, which are the inference results. The inference unit 24 sends the inference results to the machining program generation unit 17. That is, for the second parameters sent from the machining program generation unit 17, the inference unit 24 returns the first parameters, which are the inference results, to the machining program generation unit 17. The inference unit 24 outputs the values ​​of the first parameters as inference results to the machining program generation unit 17.

[0047] Next, the operation of the numerical control device 100 will be described. The operation of the numerical control device 100 includes a machining program generation process performed by the machining program generation device 10, a learning model generation process performed by the machine learning device 20, and an inference process performed by the machine learning device 20.

[0048] Fig. 2 is a flowchart showing a flow of the machining program generation process performed by the machining program generation device 10 according to the first embodiment. The machining program generation device 10 generates the machining program 2 in which the product shape, the material shape, and the fixture shape are arranged, using the inference results inferred using the learning model, which are the results of learning by the machine learning device 20.

[0049] In step S1, the shape input unit 11 reads the CAD data 1 of the product shape from a storage area (not shown) and stores the CAD data 1 of the product shape in the product shape storage unit 12 as product shape data.

[0050] In step S2, the material shape storage unit 13 generates the material shape based on the product shape data stored in the product shape storage unit 12 and stores the material shape as material shape data. In a case where the shape input unit 11 reads the CAD data 1 of the material shape from the storage area (not shown), the material shape storage unit 13 stores the CAD data 1 of the material shape read by the shape input unit 11 as material shape data.

[0051] In step S3, the jig shape storage unit 14 generates the jig shape based on the material shape data stored in the material shape storage unit 13 and the product shape data stored in the product shape storage unit 12, and stores the jig shape as jig shape data. In a case where the shape input unit 11 reads the CAD data 1 of the jig shape from the storage area (not shown), the jig shape storage unit 14 stores the CAD data 1 of the jig shape read by the shape input unit 11 as jig shape data.

[0052] Fig. 3 is a perspective view showing an example of the product shape corresponding to the product shape data stored in the product shape storage unit 12 of the machining program generation device 10 according to the first embodiment. Fig. 4 is a perspective view showing an example of the material shape corresponding to the material shape data stored in the material shape storage unit 13 of the machining program generation apparatus 10 according to the first embodiment. Fig. 5 is a perspective view showing an example of the jig shape corresponding to the jig shape data stored in the jig shape storage unit 14 of the machining program generation device 10 according to the first embodiment. Fig. Figure 3 shows a product form SA1, which is an example of the product form. Fig. 4 shows a material shape SB2, which is an example of the material shape. Fig. 5 shows a jig shape SC3, which is an example of the jig shape.

[0053] In step S4, the mold arrangement unit 15 arranges the molds of the product mold, the material mold, and the jig mold. That is, in step S4, the mold arrangement unit 15 generates the arrangement data for the product mold, the material mold, and the jig mold. In other words, the mold arrangement unit 15 generates the arrangement data indicating the arrangement position of the product mold, the arrangement position of the material mold, and the arrangement position of the jig mold.

[0054] Specifically, the mold arrangement unit 15 extracts the second parameters based on the product shape data stored in the product shape storage unit 12, the material shape data stored in the material shape storage unit 13, and the fixture shape data stored in the jig shape storage unit 14. The mold arrangement unit 15 sets, as first parameters, arrangement data for the product shape and the material shape, arrangement data for the jig shape and the material shape, and arrangement data for the jig shape and the machining table. The mold arrangement unit 15 sends the extracted second parameters and the set first parameters to the inference unit 24 of the machine learning device 20 to cause the inference unit 24 to infer the first parameters.That is, the shape arrangement unit 15 causes the inference unit 24 to infer the first parameters according to the extracted second parameters. The shape arrangement unit 15 generates the arrangement data by causing the inference unit 24 to infer the first parameters.

[0055] Next, the mold arrangement unit 15 arranges the product shape data, the material shape data, and the jig shape data based on the generated arrangement data. Note that the product shape data, the material shape data, and / or the jig shape data can be arranged at a desired position by the operator using the interactive operation processing unit 30, the command input unit 40, and the display unit 50.

[0056] Fig. 6 is a perspective view showing an example of the product shape data, the material shape data, and the jig shape data whose shapes have been arranged by the shape arranging unit 15 of the machining program generating apparatus 10 according to the first embodiment. Fig. 6 shows the product shape SA1, which is a shape example determined by the product shape data, the material shape SB2, which is a shape example determined by the material shape data, and the jig shape SC3, which is a shape example determined by the jig shape data. Fig. 6 the representation of the machining table is omitted.

[0057] The material is attached to the clamping device. The product is formed by cutting the material. Therefore, Fig. 6 shows a case where the material mold SB2 is attached to the jig mold SC3 and the product mold SA1 is arranged inside the material mold SB2.

[0058] In step S5, the machining program generation unit 17 develops a machining shape indicating the areas (shapes) to be machined. Specifically, the machining program generation unit 17 generates machining shape data from the product shape data stored in the product shape storage unit 12 and the material shape data stored in the material shape storage unit 13. Furthermore, the machining program generation unit 17 generates surface machining data, line machining data, and hole machining data from the machining shape data. The machining shape corresponds to the shape of the difference between the product shape data and the material shape data. The machining shape data is data of shapes (areas) to be machined on the material. The surface machining data is data indicating areas where surface machining is to be performed. The line machining data is data indicating areas where line machining is to be performed.The hole machining data is data that specifies areas where hole machining is to be performed.

[0059] Fig. 7 is a schematic diagram showing an example of surface machining shape data and hole machining shape data generated by the machining program generation unit 17 of the machining program generation apparatus 10 according to the first embodiment. Fig. 7 is a perspective view schematically showing the surface machining shapes SH11 to SH16, which are shape examples determined by the surface machining shape data, and the hole machining shapes SH17 to SH20, which are shape examples determined by the hole machining shape data.

[0060] In step S6, the machining program generation unit 17 assigns machining units to the machining shapes developed in step S5. That is, the machining program generation unit 17 determines machining methods, tools, and cutting conditions for the machining shapes generated in step S5. The machining program generation unit 17 generates machining unit information by assigning information about the machining methods, tools, and cutting conditions to the machining shapes.

[0061] In step S7, the machining program generation unit 17 checks whether interference between the tools and the fixture occurs based on the machining unit information generated in step S6 and the fixture shape data stored in the fixture shape storage unit 14, and adds the interference check results to the machining unit information to be stored. Note that the machining program generation unit 17 may perform a tool-fixture interference check based on the machining methods and machining shapes. Tool-fixture interference is unintentional contact between the tools and the fixture. Tool-fixture interference may include interference between the tool holders and the fixture.

[0062] In step S8, the machining program generation unit 17 generates the machining program 2 based on the machining unit information to which the interference check results were added in step S7. That is, the machining program generation unit 17 generates the machining program 2 based on the machining methods, tools, cutting conditions, machining shapes, and the interference check results. Note that the machining program generation unit 17 may generate the machining program 2 based on the machining methods, machining shapes, and interference check results.

[0063] Fig. 8 is a diagram showing an example of a machining process list of the machining program 2 generated by the machining program generation unit 17 of the machining program generation device 10 according to the first embodiment. Here, a case is shown where the machining process of the machining program 2 includes a process P1, and the process P1 includes Uno1 to Uno7.

[0064] “Uno1. Face milling cutter ... SH11” indicates that the surface machining shape SH11 is machined as a face milling cutter unit.

[0065] "Uno2. Pocket cutter ... SH12" indicates that the surface machining shape SH12 is machined as a pocket cutter unit. "Uno3. Pocket cutter ... SH13" indicates that the surface machining shape SH13 is machined as a pocket cutter unit. "Uno4. Pocket cutter ... SH14" indicates that the surface machining shape SH14 is machined as a pocket cutter unit. "Uno5. Pocket cutter ... SH15" indicates that the surface machining shape SH15 is machined as a pocket cutter unit. "Uno6. Pocket cutter ... SH16" indicates that the surface machining shape SH16 is machined as a pocket cutter unit.

[0066] "Uno7. Driller ... SH17, SH18, SH19, SH20" indicates that the hole machining shapes SH17, SH18, SH19, and SH20 are machined as a hole unit.

[0067] The face milling unit is a machining unit that flattens the surface of the workpiece (the machining object) using a face milling cutter. In the face milling unit, machining is performed beyond the area of ​​the machining shape. Pocket milling units are machining units for machining pocket shapes using an end mill. In the pocket milling units, machining is performed within the machining shapes. The driller is a machining unit for machining holes using a drilling tool.

[0068] Uno1. stands for machining number 1. A warning mark AL1 on the left side of Uno1. indicates that the tool interferes with the fixture shape. As shown in Fig. As shown in Figure 6, the surface machining shape SH11 of Uno1 touches the fixture shape SC3. When machining with the face milling cutter is performed beyond the range of the surface machining shape SH11, interference occurs between the face milling cutter and the fixture shape SC3.

[0069] Warning marks AL2 on the left side of Uno2 to Uno7 indicate that the surface machining shapes SH12 to SH16 and the hole machining shapes SH17 to SH20 of Uno2 to Uno7 are located below the surface machining shape SH11 of Uno1 when viewed from the tool entry direction, which is the entry direction of the tools. That is, the warning marks AL2 indicate that the machining units are located below the surface machining shape (the surface machining shape SH11) that causes interference when viewed from the tool entry direction. The machining units with the warning marks AL2 are machining units that cannot be machined until the machining unit with the warning mark AL1 is formed.

[0070] Fig. Fig. 9 is a flowchart showing a detailed flow of a mold arranging process executed by the mold arranging unit 15 of the machining program generating apparatus 10 according to the first embodiment. The process of Fig. 9 corresponds to the process in step S4 of Fig. 2. In the first parameter inference process, the machine learning device 20 receives input of the second parameters extracted by the machining program generation device 10 and infers the first parameters using the learning model generated based on the shape arrangement cases 3. That is, the machine learning device 20 infers the first parameters by inputting the second parameters to the learning model.

[0071] In step S11, the mold arrangement unit 15 generates the second parameters based on the product shape data stored in the product shape storage unit 12, the material shape data stored in the material shape storage unit 13, and the jig shape data stored in the fixture shape storage unit 14. Here, it is assumed that the mold arrangement unit 15 specifies the "product shape and material shape arrangement data," the "material shape and fixture shape arrangement data," and the "fixture shape and machining table arrangement data" as the first parameters to be inferred.The mold arranging unit 15 receives, as second parameters for inferring the first parameters, the material of the product mold, the dimensional values ​​of the product mold, the type of material mold, the dimensional values ​​of the material mold, the type of jig mold, the dimensional values ​​of the jig mold, the type of machining table, the dimensional values ​​of the machining table, etc. The dimensional values ​​of the product mold, the material mold, the jig mold, and the machining table are the lengths, widths, depths, etc.

[0072] In step S12, the inference unit 24 of the machine learning device 20 infers the first parameters. Specifically, the shape arrangement unit 15 inputs the generated second parameters to the inference unit 24 of the machine learning device 20, and the inference unit 24 infers the first parameters based on the second parameters. Thus, the inference unit 24 obtains a plurality of values ​​of the first parameters, which are the inference results. The inference unit 24 sends the plurality of values ​​of the first parameters to the shape arrangement unit 15.

[0073] Here, the mold arranging unit 15 sets the product shape and the material shape by obtaining, for example, a longitudinal direction center alignment, a transverse direction center alignment, a depth direction bottom alignment, etc. as the set positions of the product shape and the material shape determined by the arrangement data on the product shape and the material shape, which are the first parameters.

[0074] Next, the mold arranging unit 15 arranges the material mold and the jig mold by specifying, for example, a vise, the number of jigs (for example, one), the positions of the material and the jig (for example, lateral center alignment), the height of a spacer arranged under the material mold for elevation, the width of the spacer, and the length of the spacer as the jig type determined by the arrangement data on the material mold and the jig mold, which are the first parameters.

[0075] Next, the mold arranging unit 15 obtains, for example, the orientation of the jig mold and the position of the jig mold on the machining table, which are determined by the arrangement data on the jig mold and the machining table, which are the first parameters. The types of jigs include not only a vise, but also a vertical clamp that presses from above by tightening a screw or the like, a horizontal clamp that presses from the side with a wedge or the like, a wedge clamp that utilizes a force generated by clamping a movable body between an inclined surface and a workpiece surface, and so on. The operator can set the data required for the arrangement of the material mold and the jig mold on the machining table as the first parameters according to the type of jig.

[0076] In step S13, the mold arrangement unit 15 arranges the product shape, the material shape, and the jig shape according to the obtained first parameters. Specifically, the mold arrangement unit 15 arranges the jig shape on the machining table according to the obtained first parameters. Next, the mold arrangement unit 15 arranges the material shape with respect to the arranged jig shape. Next, the mold arrangement unit 15 arranges the product shape with respect to the arranged material shape. Thus, the mold arrangement unit 15 automatically arranges the product shape, the material shape, and the jig shape. At the time of automatic arrangement, interference between the tools and the jig shape cannot always be avoided.

[0077] It should be noted that when the shape input unit 11 reads the assembly data in which the product shape, the material shape, and the jig shape have been arranged, or when the operator arranges the product shape, the material shape, and the jig shape, the shape arranging unit 15 does not need to arrange the product shape, the material shape, and the jig shape automatically.

[0078] Fig. 10 is a flowchart showing a detailed flow of a jig shape interference checking process performed by the machining program generation unit 17 of the machining program generation device 10 according to the first embodiment. The process of Fig. 10 corresponds to the process in step S7 of Fig. 2. In the fixture shape inspection method, interference inspection of the fixture and tools is performed based on surface machining shapes, line machining shapes and hole machining shapes, and the determination results of the interference inspection are added to the information of the machining unit.

[0079] In step S21, the machining program generation unit 17 generates cross-sectional shapes for interference inspection for the machining shapes of the surface machining shapes, the line machining shapes, and the hole machining shapes. The machining program generation unit 17 generates the cross-sectional shapes by projecting the surface machining shapes and the line machining shapes in the tool entry direction onto a plane perpendicular to the tool entry direction to obtain the outlines.

[0080] In step S22, the machining program generation unit 17 modifies the cross-sectional shapes of the interference check. That is, when machining beyond the machining shapes is performed according to the machining methods of the surface machining shapes and the line machining shapes, the machining program generation unit 17 offsets parts of the cross-sectional shapes of parts beyond the machining shapes to modify the shapes. When machining within the machining shapes is performed, the machining program generation unit 17 does not perform shape modification processing or the like.

[0081] In step S23, the machining program generation unit 17 generates interference check shapes by scanning the interference check cross-sectional shapes of the machining shapes, the surface machining shapes, the line machining shapes, and the hole machining shapes for a sufficient length in a direction opposite to the tool entry direction. The interference check shapes are shapes for determining the presence or absence of interference with the fixture shape. The interference check shapes correspond to areas through which the tools pass. The sufficient scanning length can be any length that enables the detection of interference between the fixture shape and the tools during machining.

[0082] The machining program generation unit 17 of the first embodiment generates the interference check shapes based on the machining methods (the face milling unit, the pocket milling unit, etc.) and the machining shapes (the surface machining shapes, the line machining shapes, the hole machining shapes, etc.).

[0083] In step S24, the machining program generation unit 17 checks for interference between the interference check shapes and the jig shape based on the interference check shapes of the machining shapes, the surface machining shapes, the line machining shapes, and the hole machining shapes, and the jig shape. That is, the machining program generation unit 17 checks for interference between the tools and the jig shape based on the interference check shapes of the machining shapes and the jig shape. Specifically, the machining program generation unit 17 determines that interference occurs when there is a part where an interference check shape overlaps or contacts the jig shape, and determines that there is no interference when there is no part where an interference check shape overlaps or contacts the jig shape.Therefore, if there is an area where an interference check shape overlaps the fixture, it is determined that interference occurs between the tool and the fixture shape. The machining program generation unit 17 adds the determination results of the interference check to the machining unit information and sends the machining unit information to the machining program modification unit 18.

[0084] Fig. 11 is a perspective view showing an example of an interference check shape group 81 generated by the machining program generation unit 17 of the machining program generation device 10 according to the first embodiment. The interference check shape group 81 generated by the machining program generation unit 17 includes interference check shapes SH21 to SH30, and so on.

[0085] The interference test forms SH21 to SH26 are interference test forms for the surface processing forms SH11 to SH16. The interference test forms SH27 to SH30 are interference test forms for the hole processing forms SH17 to SH20.

[0086] The interference check shape SH21 of the surface processing shape SH11 is machined over the entire circumference of the cross-sectional shape of the surface processing shape SH11 and is thus a shape obtained by scanning the cross-sectional shape around the entire circumference.

[0087] The interference check shape SH22 of the surface processing shape SH12 is machined within the cross-sectional shape of the surface processing shape SH12 and is thus a shape obtained by scanning the cross-sectional shape without offset.

[0088] The interference check shape SH23 of the surface machining shape SH13, the interference check shape SH24 of the surface machining shape SH14, the interference check shape SH25 of the surface machining shape SH15 and the interference check shape SH26 of the surface machining shape SH16 are partially machined beyond the cross-sectional shapes of the surface machining shapes SH13 to SH16 and are therefore shapes obtained by scanning the cross-sectional shapes that are offset only at parts that exceed the cross-sectional shapes.

[0089] The interference check shape SH27 of the hole machining shape SH17, the interference check shape SH28 of the hole machining shape SH18, the interference check shape SH29 of the machining shape SH19 and the interference check shape SH30 of the hole machining shape SH20 are shapes obtained by scanning the cross-sectional shapes of the hole machining shapes SH17 to SH20 in their original form.

[0090] Fig. 12 is a flowchart showing a flow of a learning model generation process performed by the machine learning device 20 according to the first embodiment. In the learning model generation process, a learning model for generating layout data is generated based on the product shape, the material shape, and the fixture shape in each mold layout case 3.

[0091] In step S31, the machine learning device 20 reads the product shape data stored in the product shape storage unit 12, the material shape data stored in the material shape storage unit 13, and the jig shape data stored in the jig shape storage unit 14 of the machining program generation device 10.

[0092] In step S32, the layout data analysis unit 21 extracts the first parameters from the product shape data, the material shape data, and the jig shape data. The layout data analysis unit 21 extracts a plurality of first parameters used in either the product shape data, the material shape data, or the jig shape data after layout.

[0093] In step S33, the layout data analysis unit 21 extracts the second parameters for the plurality of extracted first parameters on an individual first parameter basis. That is, the layout data analysis unit 21 determines the second parameters to be extracted for the individual first parameters and extracts the determined second parameters. The layout data analysis unit 21 inputs the extracted first parameters and second parameters to the machine learning unit 22.

[0094] In step S34, the machine learning unit 22 performs a machine learning process using the input first parameters and second parameters. Specifically, the machine learning unit 22 generates a data set based on the first parameters and the second parameters and performs machine learning according to the generated data set. The data set is a set of data in which the first parameters subject to adjustment are associated with the second parameters, which are parameters used to determine the values ​​of the first parameters and are not subject to adjustment. The machine learning unit 22 generates a model optimized using predetermined criteria as a learning model. The machine learning unit 22 generates the learning model, which are the learning results.

[0095] In step S35, the learning model storage unit 23 stores the generated learning model. Thus, the machine learning device 20 completes the learning model generation process according to the Fig. Follow the procedure shown in Figure 12.

[0096] Next, details of a machining program change process executed by the machining program generating device 10 on a machining shape in a machining process determined to cause interference will be described. Fig. 13 is a flowchart showing a flow of the machining program change process performed by the machining program change unit 18 of the machining program generation device 10 according to the first embodiment.

[0097] When the operator inputs a machining shape change method in the machining process via the command input unit 40 that interferes with the fixture shape displayed on the display unit 50, the change method is sent to the machining program generation device 10 via the interactive operation processing unit 30. The machining program change unit 18 of the machining program generation device 10 changes the machining program by changing at least one of the tool entry direction, machining method, and machining shape specified in the machining program, or by changing the position or shape of the fixture shape, based on the change method specified by the operator.

[0098] In step S41, the machining program changing unit 18 of the machining program generation device 10 determines the type of change method specified by the operator. If the change method specified by the operator is "changing the tool entry direction," the machining program changing unit 18 next executes step S42 as the next processing. If the change method specified by the operator is "changing the machining method," the machining program changing unit 18 next executes step S43 as the next processing. If the change method specified by the operator is "changing the machining shape," the machining program changing unit 18 next executes step S44 as the next processing. If the change method specified by the operator is "changing the fixture shape," the machining program changing unit 18 next executes step S45 as the next processing.

[0099] In step S42, the machining program modification unit 18 changes the tool entry direction for the machining shape in the machining process that interferes with the fixture shape. The machining program modification unit 18 can avoid interference with the fixture shape by changing the tool entry direction.

[0100] Fig. 14 is a perspective view for explaining an example of a tool entry direction changing process performed by the machining program changing unit 18 of the machining program generating apparatus 10 according to the first embodiment. Fig. 14 shows a product shape SA31, a fixture shape SC32 of a vertical clamp, a fixture shape SC33 of a vertical clamp, and a surface machining shape SH34 to be machined with the pocket cutter. Fig. 14 shows a tool entry direction vector T1(0, 0, -1) with respect to the surface machining shape SH34 to be machined with the pocket cutter and a tool entry direction vector T2(0, -1, 0) with respect to the surface machining shape SH34 to be machined with the pocket cutter.

[0101] When the machine tool performs pocket milling on the surface machining shape SH34 in the tool entry direction vector T1(0, 0, -1), the tool interferes with the fixture shape SC32. Therefore, the machining program modification unit 18 changes the tool entry direction vector T1 to the tool entry direction vector T2(0, -1, 0). Consequently, the surface machining shape SH34 is machined with the pocket milling cutter in the tool entry direction T2(0, -1, 0).

[0102] In step S43, the machining program modification unit 18 changes the machining method for the machining shape in the machining process that interferes with the fixture shape. The machining program modification unit 18 can avoid interference with the fixture shape by changing the machining method.

[0103] Fig. 15 is a perspective view for explaining an example of a machining method changing process performed by the machining program changing unit 18 of the machining program generating apparatus 10 according to the first embodiment. Fig. 15 shows a product shape SA41, a clamping fixture shape SC42 of a vice, and a surface machining shape SH43 to be machined with the face milling cutter. Fig. 15 shows a tool entry direction vector T3(0, 0, -1) with respect to the surface machining shape SH43 to be machined with the face milling cutter.

[0104] When the machine tool performs face milling on the surface machining shape SH43 in the tool entry direction vector T3(0, 0, -1), the tool performs machining beyond the surface machining shape SH43, causing the tool to interfere with the fixture shape SC42. In this case, the machining program modification unit 18 changes the face milling to pocket milling, which does not perform machining beyond the machining shapes. Consequently, the surface machining shape SH43 is machined by pocket milling.

[0105] In step S44, the machining program modification unit 18 changes the machining shape for the machining shape in the machining process that interferes with the fixture shape. The machining program modification unit 18 can avoid interference with the fixture shape by changing the machining shape.

[0106] Fig. 16 is a perspective view for explaining an example of a machining shape changing process performed by the machining program changing unit 18 of the machining program generating apparatus 10 according to the first embodiment. Fig. 16 shows the product shape SA41, the clamping fixture shape SC42 of the vice and a surface machining shape SH44 to be machined with the face milling cutter. Fig. 16 shows a tool entry direction vector T3(0, 0, -1) with respect to the surface machining shape SH44 to be machined with the face milling cutter.

[0107] When the machine tool performs face milling on the surface machining shape SH43 in the tool entry direction vector T3(0, 0, -1), the tool performs machining beyond the surface machining shape SH43, so that the tool interferes with the fixture shape SC42. In this case, the machining program change unit 18 changes the surface machining shape SH43 to be machined with the face milling cutter to the surface machining shape SH44, which is to be machined with the Fig. 16, to avoid interference with the fixture shape SC42 even when the fixture shape SC42 performs machining beyond the machining shapes. That is, the machining program changing unit 18 shifts the surface machining shape SH43 to be machined with the fixture shape SC42 inward for parts in contact with the fixture shape SC42, thereby changing the surface machining shape SH43 to the surface machining shape SH44 to be machined with the fixture shape SH44. This allows the surface machining shape SH44 to be machined by face milling.

[0108] In step S45, the machining program changing unit 18 changes the shape or position of the jig shape. The machining program changing unit 18 can avoid interference with the jig shape by changing the jig shape.

[0109] Next, details of a machining program addition process performed by the machining program generation device 10 on a jig shape determined to cause interference will be described. Fig. 17 is a flowchart showing a flow of the machining program addition process performed by the machining program addition unit 19 of the machining program generation apparatus 10 according to the first embodiment.

[0110] In step S51, the machining program addition unit 19 calculates the shapes of fixture interference part shapes, which are regions where the tool interferes with the fixture. Specifically, the machining program addition unit 19 obtains the machining shapes, machining methods, and fixture shape from the machining program generation unit 17. The machining program addition unit 19 calculates the fixture interference part shapes based on the machining shapes, machining methods, and fixture shape. The fixture interference part shapes are regions where the tool overlaps the fixture.

[0111] Fig. Fig. 18 is a perspective view for explaining the jig interference part shapes SH52 and SH53 obtained by the machining program adding unit 19 of the machining program generating device 10 according to the first embodiment. Here, a case will be described in which the machining program adding unit 19 generates the jig interference part shapes SH52 and SH53 for the machining program shown in Fig. 15 shown surface processing form SH43 is calculated.

[0112] The machining program adding unit 19 creates an interference check shape SH51 for the surface machining shape SH43 to be machined with the face milling cutter based on the product shape SA41, the fixture shape SC42 of the vice, and the surface machining shape SH43 to be machined with the Fig. 18. The interference check shape SH51 is a shape for checking interference between the tool and the fixture. The interference check shape SH51 corresponds to an area in which the tool moves during machining. The interference check shape SH51 is generated not from the upper machining surface of the surface machining shape SH43, but from the lower machining surface.

[0113] The machining program addition unit 19 can calculate the shapes of the fixture interference part shapes SH52 and SH53 by extracting common parts between the interference check shape SH51 and the fixture shape SC42. The fixture interference part shapes SH52 and SH53 are areas of the vise fixture shape SC42 that interfere with the tool.

[0114] In step S52, the machining program addition unit 19 generates a jig machining program 2A, which is a machining program for machining the jig interference part shapes SH52 and SH53, and adds the jig machining program 2A to the machining program 2. When the jig interference part shapes SH52 and SH53 are present, the jig is formed using a member that can be machined with the tool. Consequently, the machine tool can machine the jig interference part shapes SH52 and SH53 together with the material, thus easily forming the product shape SA41, even when the product shape SA41 is a complex shape.

[0115] Fig. 19 is a diagram showing an example of a machining process of the jig machining program 2A added by the machining program addition unit 19 of the machining program generation device 10 according to the first embodiment. Fig. 20 is a perspective view showing an example of machining shapes used in the machining process of Fig. 19 are to be processed.

[0116] Fig. 19 shows a case where the machining program addition unit 19 adds Uno1 and Uno2 to a process P2, which is the machining process of the jig machining program 2A. With this addition, the process P2 includes Uno1 to Uno3.

[0117] "Uno1. Line left... SH521" indicates that a line machining shape SH521 is subjected to line machining. "Uno2. Line left... SH531" indicates that a line machining shape SH531 is subjected to line machining. "Line left" is processed to machine the left side of a specific line in a moving direction. The line machining shape SH521 corresponds to the fixture interference part shape SH52, and the line machining shape SH531 corresponds to the fixture interference part shape SH53.

[0118] The surface machining shape to be machined with the face milling cutter SH43 is Uno1 before Uno1 and Uno2 are added, and Uno3 after Uno1 and Uno2 are added. That is, after Uno1 and Uno2 are executed, "Uno3. Face milling ... SH43" is executed.

[0119] Thus, the machining program addition unit 19 adds the lines to the left for line machining of the SH52 and SH53 shapes of the fixture interference part shapes before the SH43 surface machining shape to be machined with the face mill. That is, the machining program addition unit 19 specifies the SH521 and SH531 line machining shapes for the SH52 and SH53 fixture interference part shapes. Consequently, the SH43 surface machining shape is machined after machining the SH52 and SH53 fixture interference part shapes.

[0120] Next, details of a shape input process performed by the machining program generating device 10 will be described. Fig. 21 is a flowchart showing a detailed flow of a process for inputting shapes by the shape input unit 11 of the machining program generation device 10 according to the first embodiment. An example of a process in which the machining program generation device 10 reads the assembly data including the product shape, the material shape, and the jig shape that has been arranged and replaces part or all of the assembly data with the CAD data 1 of the product shape, the material shape, or the jig shape will be described below.

[0121] In step S61, the shape input unit 11 reads the assembly data including the product shape, the material shape, and the jig shape that have been arranged.

[0122] In step S62, the shape input unit 11 classifies the shapes of the read assembly data into the product shape data, the material shape data, or the fixture shape data. If the shapes have been previously classified as shape attributes in the assembly data, the shape input unit 11 can classify the shapes of the assembly data by referring to the shape attributes of the discrete shapes of the read assembly data.

[0123] Alternatively, the operator can classify the shapes of the assembly data via the display unit 50 and the command input unit 40. The shape input unit 11 can classify the assembly data based on the correlations between the positions of the discrete shapes.

[0124] Next, the shape input unit 11 stores the classified product shape data in the product shape storage unit 12, stores the classified material shape data in the material shape storage unit 13, and stores the classified jig shape data in the jig shape storage unit 14.

[0125] In step S63, the shape input unit 11 reads the CAD data 1 of the product shape, the material shape, or the fixture shape. The shape input unit 11 reads, for example, the CAD data 1 designated by the operator. Here, the product shape, material shape, or fixture shape read by the shape input unit 11 is a different shape (a different product shape, a different material shape, or a different fixture shape) from the product shape, material shape, or fixture shape of the assembly data.

[0126] The shape input unit 11 classifies the shape of the read CAD data 1 into the product shape data, the material shape data, or the fixture shape data. If the shape has been previously classified as a shape attribute in the CAD data 1, the shape input unit 11 can classify the CAD data 1 by referring to the shape attribute of the discrete shape of the read CAD data 1.

[0127] Alternatively, the operator can classify the CAD data 1 via the interactive operation processing unit 30, the command input unit 40 and the display unit 50.

[0128] Next, in step S64, the shape input unit 11 replaces the product shape data, the material shape data, or the jig shape data with the CAD data 1. That is, if the CAD data 1 is the product shape data, the shape input unit 11 stores the product shape data in the product shape storage unit 12 to replace the product shape data. If the CAD data 1 is the material shape data, the shape input unit 11 stores the material shape data in the material shape storage unit 13 to replace the material shape data. If the CAD data 1 is the jig shape data, the shape input unit 11 stores the jig shape data in the jig shape storage unit 14 to replace the jig shape data.

[0129] In step S65, the mold arranging unit 15 adjusts and stores the positions of the respective molds of the product mold, the material mold, and the jig mold. That is, the mold arranging unit 15 adjusts and stores the position of the product mold stored in the product mold storage unit 12, the position of the material mold stored in the material mold storage unit 13, and the position of the jig mold stored in the jig storage unit 14. For example, the mold arranging unit 15 adjusts the position of the product mold, the position of the material mold, and the position of the jig mold so that the product mold is enclosed in the material mold, and the jig mold fixes the material mold and the product mold.

[0130] Fig. 22 is a perspective view for explaining an example of the shape input process performed by the shape input unit 11 of the machining program generation device 10 according to the first embodiment. The shape input unit 11 reads the assembly data in which the product shape, the material shape, and the jig shape have been arranged. Here, the assembly data is data indicating an overall shape B1 including the product shape, the material shape, and the jig shape. The overall shape B1 includes, for example, a product shape SA61, a material shape SB62, and a jig shape SC63.

[0131] When the CAD data 1 includes the product shape data, the shape input unit 11 replaces the product shape SA61 with a product shape SA64 determined by the CAD data 1. Consequently, the overall shape B1 becomes an overall shape B2 including the product shape SA64, the material shape SB62, and the fixture shape SC63.

[0132] When the CAD data 1 includes the material shape data, the shape input unit 11 replaces the material shape SB62 with a material shape SB65 determined by the CAD data 1. Consequently, the overall shape B2 becomes an overall shape B3 including the product shape SA64, the material shape SB65, and the jig shape SC63.

[0133] When the CAD data 1 includes the fixture shape data, the shape input unit 11 replaces the fixture shape SC63 with the fixture shapes SC66 to SC69 specified by the CAD data 1. Consequently, the overall shape B3 becomes an overall shape B4 including the product shape SA64, the material shape SB65, and the fixture shapes SC66 to SC69. Thus, the shape input unit 11 can replace the shape of a specific position of the assembly data in which the material, product, and fixture shapes are arranged with the CAD data 1 specified by the operator.

[0134] Fig. Fig. 23 is a flowchart showing a detailed flow of a process for adjusting the position of each mold executed by the mold arranging unit 15 of the machining program generating apparatus 10 according to the first embodiment. The process of Fig. 23 corresponds to the process in step S65 of Fig. 21.

[0135] In step S71, the mold arrangement unit 15 arranges the fixture mold of the CAD data 1 on the machining table and adjusts its position. As in step S4, the mold arrangement unit 15 infers the arrangement data to arrange the fixture mold on the machining table. The operator can arrange the fixture mold via the interactive operation processing unit 30, the command input unit 40, and the display unit 50. If the fixture mold has not been replaced, the fixture mold can remain in its original position.

[0136] In step S72, the mold arrangement unit 15 arranges the material mold from the CAD data 1 and adjusts the position. As in step S4, the mold arrangement unit 15 infers the arrangement data to arrange the material mold. The operator can arrange the material mold via the interactive operation processing unit 30, the command input unit 40, and the display unit 50. If the material mold has not been replaced, the material mold can remain in its original position.

[0137] In step S73, the mold arrangement unit 15 arranges the product mold from the CAD data 1 and adjusts the position. As in step S4, the mold arrangement unit 15 infers the arrangement data to arrange the product mold. The operator can arrange the product mold via the interactive operation processing unit 30, the command input unit 40, and the display unit 50. If the product mold has not been replaced, the product mold can remain in the original position.

[0138] In step S74, the mold arranging unit 15 adjusts the position of the jig shape based on the CAD data 1. That is, the mold arranging unit 15 adjusts the position of the jig shape with respect to the material shape and the product shape whose positions were adjusted by the processing in steps S72 and S73. The mold arranging unit 15 can adjust the shape of the jig shape. For example, the mold arranging unit 15 adjusts the position or shape of a movable part of the jig shape.

[0139] Fig. Fig. 24 is a flowchart showing a detailed flow of a process for adjusting the position of the jig mold executed by the mold arranging unit 15 of the machining program generating apparatus 10 according to the first embodiment. The process of Fig. 24 corresponds to the process in step S74 of Fig. 23.

[0140] In step S81, the mold arranging unit 15 obtains the dimensions of the material mold. In step S82, the mold arranging unit 15 adjusts the position of the movable part of the clamping die in accordance with the dimensions of the material mold. For the clamping die, the movable part and the movement dimensions are set in advance in accordance with the type of the clamping die.

[0141] For example, in a vise, the material is clamped between two jaws, and therefore, one jaw of the vise is fixed and the other jaw is set to move horizontally. In this case, the mold arranging unit 15 of the vise can move the other jaw according to the dimensions of the material's shape.

[0142] Alternatively, multiple horizontal clamps may be arranged, and each horizontal clamp is set to move in the horizontal direction. In this case, the mold arranging unit 15 can move each horizontal clamp in the horizontal direction according to the dimensions of the material mold.

[0143] Alternatively, multiple vertical clamps may be arranged, and each vertical clamp is adjusted to move in the vertical direction. In this case, the mold arranging unit 15 can move each vertical clamp in the vertical direction in accordance with the dimensions of the material mold.

[0144] Fig. 25 is a perspective view for explaining a first example of a shape adjustment process performed by the shape arranging unit 15 of the machining program generating apparatus 10 according to the first embodiment. Fig. 25 shows a perspective view of a vice form SH71. For the one on the left side of Fig. For example, in the vice mold SH71 shown in Fig. 25, the mold arranging unit 15 moves a movable part M1 which is movable in directions T4. The one on the right side of Fig. Vise shape SH71 shown in Fig. 25 is an example of the vise shape SH71 after the movable part M1 has been moved in a direction T4a.

[0145] Fig. 26 is a perspective view for explaining a second example of the shape matching process performed by the shape arranging unit 15 of the machining program generating apparatus 10 according to the first embodiment. Fig. 26 shows a perspective view of a clamping die SH72. For the clamping die shown on the left side of Fig. 26, the mold arranging unit 15 moves, for example, a movable part M2 which is movable in directions T5. The clamping mold SH72 shown on the right side of Fig. Clamping shape SH72 shown in Fig. 26 is an example of the clamping shape SH72 after the movable part M2 is moved in a direction T5a.

[0146] Fig. 27 is a perspective view for explaining a first example of the shape input process and the shape matching process performed by the machining program generation device 10 according to the first embodiment. In the machining program generation device 10, the shape input unit 11 performs the shape input process, and the shape arranging unit 15 performs the shape matching process.

[0147] The shape input unit 11 reads the assembly data in which the material shape and the fixture shape have been specified. The assembly data read by the shape input unit 11 is data in which the material shape, the product shape, and / or the fixture shape have been specified in the past. Here, the assembly data is data indicating an overall shape E1 including the material shape and the fixture shape. The overall shape E1 includes, for example, a material shape SB81 and a fixture shape SC82.

[0148] The operator inputs the CAD data 1 desired by the operator to the shape input unit 11. The CAD data 1 input by the operator is data of a shape with which the operator wishes to replace a shape in the assembly data.

[0149] When the input CAD data 1 includes the material shape data, the shape input unit 11 replaces the material shape SB81 with a material shape SB83 determined by the CAD data 1. Consequently, the overall shape E1 becomes an overall shape E2 including the material shape SB83 and the fixture shape SC82.

[0150] For the overall mold E2, the mold arranging unit 15 adjusts the shape of the clamping die SC82. The mold arranging unit 15 can adjust the shape of the clamping die SC82 or the position of a movable part of the clamping die SC82. Fig. 27 shows a case where the mold arranging unit 15 adjusts the fixture mold SC82 to a mold SC82X. The mold arranging unit 15 adjusts the fixture mold SC82 so that the fixture mold SC82X fixes the material mold SB83. Consequently, the overall mold E2 becomes an overall mold E3 including the material mold SB83 and the mold SC82X.

[0151] Fig. 28 is a perspective view for explaining a second example of the shape input process and the shape adjustment process performed by the machining program generation device 10 according to the first embodiment. The shape input unit 11 reads the assembly data in which the material shape and the fixture shape are specified. Here, the assembly data is data indicating an overall shape F1 including the material shape and the fixture shape. The overall shape F1 includes, for example, a material shape SB84 and fixture shapes SC85 to SC88.

[0152] When the input CAD data 1 includes the material shape data, the shape input unit 11 replaces the material shape SB84 with a material shape SB89 determined by the CAD data 1. Consequently, the overall shape F1 becomes an overall shape F2 including the material shape SB89 and the fixture shapes SC85 to SC88.

[0153] For the overall mold F2, the mold arranging unit 15 adjusts the fixture molds SC85 to SC88. Fig. 28 shows a case where the mold arranging unit 15 adjusts the positions of the movable parts M3 to M6 of the jig molds SC85 to SC88. The mold arranging unit 15 adjusts the jig molds SC85 to SC88 so that the jig molds SC85 to SC88 fix the material mold SB89. Consequently, the overall mold F2 becomes an overall mold F3 including the material mold SB89 and the adjusted jig molds SC85 to SC88.

[0154] Fig. 29 is a flowchart showing a detailed flow of a shape arrangement teaching process using inference performed by the shape arrangement teaching unit 16 of the machining program generation device 10 according to the first embodiment. In the inference process, the machine learning device 20 receives the input of the second parameters extracted by the machining program generation device 10 and infers the first parameters using a learning model generated based on the machining program 2 or the shape arrangement cases 3.

[0155] In the inference process performed by the machine learning device 20 as described above, the first parameters are, for example, the file name of image data or video data of the product shape, the material shape, and the jig shape after the mold arrangement.

[0156] As described above, the second parameters are, for example, data generated based on the material shape or the like. The second parameters may be image data of the three-dimensional shape of the product shape or the material shape.

[0157] As described above, the first parameters are mapped to the second parameters on an individual basis. The first parameters are adjusted based on the second parameters mapped to the first parameters.

[0158] In step S91, the shape arrangement teaching unit 16 generates the second parameters from the product shape stored in the product shape storage unit 12 or the material shape stored in the material shape storage unit 13 and inputs the second parameters to the inference unit 24 of the machine learning device 20.

[0159] In step S92, the inference unit 24 selects a learning model stored in the machine learning device 20 corresponding to the first parameters to be inferred, and infers the first parameters from the second parameters input in step S91 using the selected learning model. The inference unit 24 inputs the inferred first parameters to the shape arrangement teaching unit 16.

[0160] In step S93, the mold arrangement teaching unit 16 displays arrangement case data (the mold arrangement case 3) corresponding to the input first parameters via the display unit 50 to teach the arrangement case data to the operator. Note that the number of the mold arrangement cases 3 taught by the mold arrangement teaching unit 16 is not limited to one. Two or more of the mold arrangement cases 3 may be taught.

[0161] Fig. 30 is a perspective view for explaining a first example of the mold arrangement teaching process performed by the mold arrangement teaching unit 16 of the machining program generation device 10 according to the first embodiment. On the left side of Fig. 30 shows an example of a product shape SA91 corresponding to the product shape data stored in the product shape storage unit 12.

[0162] The shape arrangement teaching unit 16 generates the second parameters from the product shape SA91. The inference unit 24 infers the first parameters from the second parameters generated by the shape arrangement teaching unit 16. The shape arrangement teaching unit 16 selects the shape arrangement case 3 corresponding to the first parameters inferred by the inference unit 24 from the plurality of shape arrangement cases 3 generated in the past, and causes the display unit 50 to display the selected shape arrangement case 3.

[0163] On the right side of Fig. 30 shows a mold arrangement case X1, which is an example of the mold arrangement case 3 corresponding to the product shape SA91. The mold arrangement case X1 corresponds to the results (the first parameters) inferred by the machine learning device 20. The mold arrangement case X1 extracted by the mold arrangement teaching unit 16 according to the first parameters is a mold arrangement case similar to the product shape SA91. Here, the mold arrangement case X1 shows a case in which a product shape SA92, a material shape SB93 formed from a rectangular parallelepiped, and jig shapes SC94 to SC97 are arranged.

[0164] Fig. 31 is a perspective view for explaining a second example of the mold arrangement teaching process performed by the mold arrangement teaching unit 16 of the machining program generation device 10 according to the first embodiment. On the top of Fig. 31 shows an example of a material shape SB98 corresponding to the material shape data stored in the material shape storage unit 13.

[0165] The mold arrangement teaching unit 16 generates the second parameters from the material mold SB98. The inference unit 24 infers the first parameters from the second parameters generated by the mold arrangement teaching unit 16. The mold arrangement teaching unit 16 extracts the mold arrangement case 3 corresponding to the first parameters inferred by the inference unit 24 from the plurality of mold arrangement cases 3 generated in the past, and causes the display unit 50 to display the selected mold arrangement case 3.

[0166] On the bottom side of Fig. Figure 31 shows shape arrangement cases Y1 to Y3, which are examples of shape arrangement case 3 corresponding to material shape SB98. Shape arrangement cases Y1 to Y3 correspond to the results (first parameters) inferred by machine learning device 20. Shape arrangement cases Y1 to Y3 extracted by shape arrangement teaching unit 16 according to the first parameters are shape arrangement cases similar to material shape SB98.

[0167] Here, a case in which a material mold SB99 and a jig mold SC100 are arranged is shown as mold arrangement case Y1. A case in which a material mold SB101 and a jig mold SC102 are arranged is shown as mold arrangement case Y2. A case in which a material mold SB103 and jig molds SC104 to SC107 are arranged is shown as mold arrangement case Y3. The mold arrangement teaching unit 16 causes the display unit 50 to display at least one of the mold arrangement cases Y1 to Y3 to present the mold arrangement case 3 to the operator.

[0168] As described above, the machining program generating device 10 of the first embodiment changes the machining program when the tool interferes with the jig to avoid interference between the tool and the jig, and thus can avoid interference without being limited by restrictions on the structure and machining function of the machining device.

[0169] When generating the machining program 2 that avoids interference with the jig shape, the machining program generating device 10 of the first embodiment generates the machining program 2 by changing at least one of the following: the tool entry direction, the machining method, the cutting conditions, or the machining shape at an interfering part, or by changing at least one of the following: the position or the shape of the jig shape. Thus, the machining program generating device 10 can efficiently and easily generate the machining program 2 that avoids interference.

[0170] When generating the machining program 2 for machining the jig shape, the machining program generating device 10 of the first embodiment calculates parts of the jig shape that interfere with the tool (the jig interference part shapes SH52 and SH53). Then, based on the jig interference part shapes SH52 and SH53, the machining program generating device 10 generates the jig machining program 2A for machining the parts of the jig shape that interfere with the tool, and adds the jig machining program 2A to the machining program 2. Consequently, the machining program generating device 10 can generate the machining program 2 for easily machining the jig shape and efficiently generate the machining program 2.

[0171] The machining program generating device 10 of the first embodiment can read the assembly data of a plurality of shapes that have been arranged, such as the product shape, the material shape, and the jig shape, and replace the product shapes, the material shape, and / or the jig shape, so that the arrangement operations on the numerical control device 100 can be reduced.

[0172] The machining program generating device 10 of the first embodiment arranges the product shape, the material shape, the fixture shape, etc., and adjusts the position of the movable part of the fixture shape, so that the arrangement operations on the numerical control device 100 can be reduced.

[0173] The machining program generation device 10 of the first embodiment extracts the shape arrangement case 3 from the product shape or the material shape and teaches the extracted shape arrangement case 3 to the operator. Consequently, even if the operator is inexperienced in arrangement, he or she can efficiently arrange the product shape, the material shape, and the fixture shape.

[0174] The machining program generating device 10 of the first embodiment does not need to perform machining simulation to determine whether the tools interfere with the clamping device or not, and therefore can easily generate the machining program 2 in a short time.

[0175] The machining program generating apparatus 10 of the first embodiment not only proposes the removal of interfering parts but also actually removes the interfering parts, so that the interfering parts can be removed easily and in a short time.

[0176] The first embodiment was described with machining program 2 when the numerically controlled machine tool is a machining center as an example. However, the numerically controlled machine tool is not limited to a machining center and may be any other machine tool.

[0177] As described above, the machining program generation unit 17 of the first embodiment generates a machining shape indicating a region where a machined product is to be machined based on the product shape and the material shape, and generates an interference check shape indicating a region through which a tool passes based on the machining method of the machined product and the machining shape. Then, the machining program generation unit 17 checks whether there is interference between the tool and a fixture based on the interference check shape and the fixture shape to generate the machining program 2 for which the interference check determination has been performed.Thus, the machining program generating device 10 can easily generate a machining program for which it has been determined whether or not a tool, which is an element of a machine tool, interferes with a jig.

[0178] Second Embodiment. Next, a second embodiment will be described with reference to Fig. 32. In the second embodiment, a hardware configuration of the machining program generation device 10 and the machine learning device 20 will be described. Fig. 32 is a block diagram showing a hardware configuration, which is a configuration of the machining program generating apparatus 10 and the machine learning apparatus 20 in the second embodiment.

[0179] The Fig.The functional units shown in Fig. 32 include a processor 71, a memory 72 used by the processor 71 as a work area, a storage device 73 storing a computer program describing each function of the numerical control device 100, an input device 74 providing an input interface with the operator, a display device 75 providing an output device for displaying information to the operator, and a communication device 76 having a function for communicating with devices to be controlled, another numerical control device, etc. The processor 71, the memory 72, the storage device 73, the input device 74, the display device 75, and the communication device 76 are connected to each other via a data bus 77.

[0180] The processor 71 is a processing device, a computing device, a microprocessor, a microcomputer, a central processing unit (CPU), a digital signal processor (DSP), or the like. The memory 72 is a non-volatile or volatile semiconductor memory such as a RAM (Random-Access Memory), a ROM (Read-Only Memory), a flash memory, an EPROM (Erasable Programmable ROM), or an EEPROM (Electrically Erasable Programmable ROM) (registered trademark), or a magnetic disk, a flexible disk, an optical disk, a compact disc, a mini disc, a DVD (Digital Versatile Disc), or the like.

[0181] The shape input unit 11, the shape arrangement unit 15, the shape arrangement teaching unit 16, the machining program generation unit 17, the machining program modification unit 18, and the machining program addition unit 19 of the numerical control device 100 can be implemented by the processor 71 reading and executing the computer program stored in the memory 72.

[0182] Similarly, the array data analysis unit 21, the machine learning unit 22, and the inference unit 24 of the machine learning device 20 may be implemented by the processor 71, which reads and executes the computer program stored in the memory 72.

[0183] The functions of the product shape storage unit 12, the material shape storage unit 13, and the jig shape storage unit 14 are implemented by the storage device 73. Similarly, the function of the learning model storage unit 23 is implemented by the storage device 73.

[0184] A plurality of processors 71 and a plurality of memories 72 may cooperate to implement the functions of the numerical control device 100. Part of the functions of the shape input unit 11, the shape arrangement unit 15, the shape arrangement teaching unit 16, the machining program generation unit 17, the machining program modification unit 18, the machining program addition unit 19, the arrangement data analysis unit 21, the machine learning unit 22, and the inference unit 24 may be implemented as an electronic circuit, and the other part may be implemented using the processor 71 and the memory 72.

[0185] The processor 71 and the memory 72 for implementing the functions of the shape input unit 11, the shape arrangement unit 15, the shape arrangement teaching unit 16, the machining program generation unit 17, the machining program modification unit 18, and the machining program addition unit 19 may be the same as the processor 71 and the memory 72 for implementing the machine learning unit 22 and the inference unit 24, or the processor 71 and the memory 72 may be different from the processor 71 and the memory 72 for implementing the machine learning unit 22 and the inference unit 24. A plurality of the processors 71 and a plurality of the memories 72 may cooperate to implement the functions of the machine learning device 20.

[0186] The configurations described in the above embodiments are examples and can be combined with other known techniques. The embodiments can be combined with each other. The configurations can be partially omitted or changed without deviating from the essence. List of reference symbols 1 CAD data; 2 editing program; 2A jig machining program; 3, X1, Y1 to Y3 shape arrangement case; 10 machining program generation device; 11 Form input unit; 12 Product shape storage unit; 13 Material shape storage unit; 14 Clamping device shape storage unit; 15 mold arrangement unit; 16 mold arrangement teaching unit; 17 machining program generation unit; 18 machining program change unit; 19 Machining program addition unit; 20 Machine learning device; 21 Arrangement data analysis unit; 22 Machine Learning Unit; 23 learning model storage unit; 24 Inference unit; 30 Interactive Operational Processing Unit; 40 command input unit; 50 display unit; 60 control unit; 71 processor; 72 storage; 73 storage device; 74 input device; 75 display device; 76 communication device; 77 data bus; 81 interference test form group; 100 numerical control device; AL1, AL2 warning marking; B1 to B4, E1 to E3, F1 to F3 overall shape; M1 to M6 moving part; SA1, SA31, SA41, SA61, SA64, SA91, SA92 product shape; SB2, SB62, SB65, SB81, SB83, SB84, SB89, SB93, SB98, SB99, SB101, SB103 material shape; SC3, SC97, SC32, SC33, SC42, SC63, SC66 to SC69, SC82, SC82X, SC85 to SC88, SC94 to SC100, SC102, SC104 to SC107 clamping device shape; SH11 to SH16, SH34, SH43, SH44 surface treatment form; SH17 to SH20 hole machining shape; SH21 to SH30, SH51 interference test form; SH52, SH53 fixture interference part mold; SH71 vice shape; SH72 clamp form; SH521, SH531 line processing form; T1 to T3 tool entry direction vector. QUOTES CONTAINED IN THE DESCRIPTION

[0000] This list of documents submitted by the applicant was generated automatically and is included solely for the convenience of the reader. This list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions. Cited patent literature

[0000] JP 2020 - 52 823

[0004]

Claims

[1] Machining program generating device for generating a machining program including a cutting process for cutting a machined product from a workpiece by numerical control, wherein the machining program generating device comprises: a machining program modification unit for generating a machining shape based on a product shape of the machined product and a material shape of the machined product before machining, which indicates a region in which the machined product is to be machined; for generating an interference check shape based on a machining method of the machined product and the machining shape, which indicates a region through which a tool for machining the machined product passes; for performing interference check determination based on a fixture shape of the fixture and the interference check shape by checking for interference between the tool and a fixture, which is a fixture for fixing the material shape to a machine tool; and for modifying the machining program to avoid interference between the tool and the fixture;if the tool interferes with the clamping device. [2] A machining program generating apparatus according to claim 1, further comprising: a command input unit for receiving an input of a machining process change method specified by an operator, wherein the machining program changing unit changes the machining program based on the change method input to the command input unit. [3] The machining program generating device according to claim 2, wherein the machining program changing unit changes the machining program when the tool interferes with the jig by changing an entry direction of the tool, the machining method, the machining shape specified in the machining program, and / or a position or a shape of the jig shape. [4] A machining program generating apparatus according to claim 1, further comprising: a machining program addition unit for generating a jig machining program for machining an interference portion of the jig shape when the tool interferes with the jig. [5] A machining program generating apparatus according to any one of claims 1 to 4, further comprising: a mold input unit for receiving assembly data input from an external device, wherein the assembly data includes the product shape, the material shape and the fixture shape that were arranged, wherein the shape input unit receives another product shape, another material shape, or another fixture shape different from the shape included in the assembly data, and replaces the product shape, material shape, or fixture shape included in the assembly data with the other product shape, the other material shape, or the other fixture shape. [6] A machining program generating apparatus according to any one of claims 1 to 5, further comprising: a mold arranging unit for storing a plurality of mounting patterns of the jig mold and the material mold in advance, and arranging the product mold, the material mold, and the jig mold so that the material mold is mounted on the jig mold in a mounting pattern selected by an operator or a mounting pattern according to the jig mold. [7] A machining program generating apparatus according to any one of claims 1 to 6, further comprising: a product shape storage unit for storing the product shape; a material shape storage unit for storing the material shape; a jig shape storage unit for storing the jig shape; and a shape arrangement teaching unit for selecting a shape arrangement case corresponding to the product shape stored in the product shape storage unit, the material shape stored in the material shape storage unit, and the jig shape stored in the jig storage unit from a plurality of shape arrangement cases that are arrangement examples of the product shape, the material shape, and the jig shape generated in the past, and for teaching an operator the selected shape arrangement case. [8] A machining program generating apparatus according to any one of claims 1 to 7, further comprising: an arrangement data analysis unit for extracting, from arranged positions of the product shape, the material shape, and the jig shape, first parameters corresponding to the arranged positions and subject to adjustment, and second parameters used to adjust the first parameters and not subject to adjustment; and a machine learning unit for generating a learning model for inferring the first parameters from the second parameters by learning using a dataset including the first parameters and the second parameters. [9] Machining program generation method for generating a machining program including a cutting process for cutting a machined product from a workpiece by numerical control, wherein the machining program generation method comprises:a machining program modification step of generating a machining shape indicating a region where the machined product is to be machined based on a product shape of the machined product and a material shape of the machined product before machining; generating an interference check shape indicating a region through which a tool for machining the machined product passes based on a machining method of the machined product and the machining shape; performing interference check determination by checking for interference between the tool and a fixture, which is a fixture for fixing the material shape to a machine tool, based on a fixture shape of the fixture and the interference check shape; and modifying the machining program by a machining program generation device;to avoid interference between the tool and the clamping device when the tool interferes with the clamping device.

Citation Information

Patent Citations

  • Processing device, control method for processing device and control program for processing device

    JP2020052823A

  • CN000001680079A

  • JP002020052823A