WO2014091543A1 - Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置 - Google Patents

Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置 Download PDF

Info

Publication number
WO2014091543A1
WO2014091543A1 PCT/JP2012/081978 JP2012081978W WO2014091543A1 WO 2014091543 A1 WO2014091543 A1 WO 2014091543A1 JP 2012081978 W JP2012081978 W JP 2012081978W WO 2014091543 A1 WO2014091543 A1 WO 2014091543A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
shape
program
finished
similarity
Prior art date
Application number
PCT/JP2012/081978
Other languages
English (en)
French (fr)
Inventor
晋 松原
入口 健二
宣行 高橋
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2012/081978 priority Critical patent/WO2014091543A1/ja
Priority to DE112012001315.8T priority patent/DE112012001315T5/de
Priority to JP2013519297A priority patent/JP5349713B1/ja
Priority to US14/004,356 priority patent/US9811759B2/en
Priority to CN201280018451.7A priority patent/CN103988135B/zh
Publication of WO2014091543A1 publication Critical patent/WO2014091543A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40937Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5854Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using shape and object relationship
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36225Select and insert program from library, select case, variant
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36337Select similar shape and derive motion defining sentences from original shape
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/06Recognition of objects for industrial automation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to an NC program search method, an NC program search device, an NC program creation method, and an NC program creation device for searching for an NC program for numerically controlling a machine tool.
  • program creation device as a device for creating an NC program (numerical control machining program) for numerically controlling a machine tool.
  • Some of such program creation apparatuses have a function (creation support function) that supports creation when creating an NC program.
  • the creation support function has been enhanced, and it has become possible for an operator to easily create an NC program by setting the coordinate values of the workpiece while viewing the production drawing.
  • a program creation apparatus that can directly read CAD data modeled by a designer using a CAD system and create an NC program.
  • recent numerical controllers have increased the capacity of the internal memory, so that a large number of NC programs can be stored in the internal memory. For this reason, the operator selects a necessary NC program according to the workpiece to be machined, and edits the NC program according to the workpiece to be machined. At that time, the operator uses the NC program of the past product for similar products to improve the efficiency of creating the NC program.
  • the search device described in Patent Document 1 stores machining element data including shape characteristics of materials, shape characteristics of machining parts, and machining types, and tool-related data in advance as a plurality of products as programming basic data.
  • the search device generates processing element data of the processing target product based on the three-dimensional shape data of the processing target product and material, and searches the stored programming basic data based on the generated processing element data.
  • basic programming data for products similar to the product to be processed is extracted.
  • the program management apparatus described in Patent Document 2 stores an NC program, a photograph related to the NC program, and program information in association with each other.
  • the management apparatus allows the operator to input the NC program, the photograph, the processing result, and the like as search information.
  • the management apparatus extracts a desired NC program from the stored NC programs based on the search information.
  • machining element data since machining element data must be generated based on three-dimensional shape data, it can only be used in units of machining element data. Also, when searching the stored programming basic data, the programming basic data is searched based on the consistency of the material shape, etc., or the dimensional difference, so search conditions that satisfy the operator are set. Otherwise, there was a problem that a desired search could not be performed.
  • the present invention has been made in view of the above, and obtains an NC program search method, an NC program search device, an NC program creation method, and an NC program creation device capable of easily and efficiently searching for an NC program. With the goal.
  • the present invention generates image data corresponding to the shape data of the processing target as processing target image data when the shape data of the processing target is externally input.
  • a first image generating step a second image generating step for generating processed shape image data as finished shape image data based on an NC program created in the past, and the finished shape image data.
  • a storage step for storing the image in association with the NC program, a similarity calculation step for calculating the similarity between the processing target image data and the finished shape image data,
  • a search step for searching for and displaying candidates for finished shape image data similar or identical to the image data to be processed.
  • flop from among the finished shape image data candidates, characterized in that it comprises a first program displaying step of displaying the NC program finished shape image data specified by the external input.
  • FIG. 1 is a block diagram showing the configuration of the NC program creation device according to the embodiment.
  • FIG. 2 is a flowchart showing an operation processing procedure of the NC program creating device according to the embodiment.
  • FIG. 3 is a flowchart showing an operation processing procedure of the image data generation unit.
  • FIG. 4 is a flowchart showing the arrangement processing procedure of product shape data in the case of processing a round object.
  • FIG. 5 is a flowchart showing a procedure for arrangement processing of product shape data when a corner workpiece is processed.
  • FIG. 6 is a diagram illustrating an example of arrangement of product shape data in the case of processing a round object.
  • FIG. 7 is a diagram illustrating an example of arrangement of product shape data in the case of performing corner workpiece processing.
  • FIG. 1 is a block diagram showing the configuration of the NC program creation device according to the embodiment.
  • FIG. 2 is a flowchart showing an operation processing procedure of the NC program creating device according to the embodiment.
  • FIG. 3 is a flowchart showing
  • FIG. 8 is a diagram illustrating an example of front image data.
  • FIG. 9 is a diagram illustrating an example of the back side image data.
  • FIG. 10 is a diagram illustrating an example of image data on the left side.
  • FIG. 11 is a diagram illustrating an example of image data on the right side surface.
  • FIG. 12 is a diagram illustrating an example of image data on the upper surface.
  • FIG. 13 is a diagram illustrating an example of the image data on the lower surface.
  • FIG. 14 is a diagram illustrating an example of image data of the upper left front.
  • FIG. 15 is a diagram illustrating an example of image data of the lower left front.
  • FIG. 16 is a diagram illustrating an example of image data on the upper right front.
  • FIG. 17 is a diagram illustrating an example of image data of the lower right front.
  • FIG. 10 is a diagram illustrating an example of image data on the left side.
  • FIG. 11 is a diagram illustrating an example of image data on the right side surface.
  • FIG. 18 is a diagram illustrating an example of image data on the upper left rear surface.
  • FIG. 19 is a diagram illustrating an example of the image data of the lower left rear surface.
  • FIG. 20 is a diagram illustrating an example of image data on the upper right rear surface.
  • FIG. 21 is a diagram illustrating an example of image data on the lower right rear surface.
  • FIG. 22 is a flowchart illustrating a generation processing procedure of a list of image data arranged in order of high similarity.
  • FIG. 23 is a diagram illustrating an example of a finished shape.
  • FIG. 24 is a diagram showing a display example of an image list arranged in descending order of similarity based on the shape data of FIG.
  • FIG. 25 is a flowchart showing a processing procedure for generating a machining shape for turning.
  • FIG. 26 is a flowchart illustrating a processing procedure for generating a machining shape for surface machining.
  • FIG. 27 is a flowchart illustrating a processing procedure for generating a machining shape for line machining.
  • FIG. 28 is a flowchart showing a processing procedure for generating a machining shape for drilling.
  • FIG. 29 is a diagram illustrating an example of a turning cross-sectional shape.
  • FIG. 30 is a diagram illustrating an example of a removal shape of the turning process.
  • FIG. 31 is a diagram illustrating an example of a finished machining shape obtained by removing a turning removal shape from a material shape.
  • FIG. 32 is a diagram illustrating an example of a processing plane shape of surface processing.
  • FIG. 33 is a diagram illustrating an example of a removal shape of surface processing.
  • FIG. 34 is a diagram illustrating an example of a finished machining shape in which the removed shape of the surface machining illustrated in FIG. 33 is removed.
  • FIG. 35 is a diagram illustrating an example of shape data for line processing.
  • FIG. 36 is a diagram illustrating an example of a planar shape including shape elements for line processing.
  • FIG. 37 is a diagram illustrating an example of a removed shape of line processing.
  • FIG. 38 is a diagram illustrating an example of a finished machining shape in which the removed shape of the line machining illustrated in FIG. 37 is removed.
  • FIG. 39 is a diagram illustrating an example of a hole cross-sectional shape.
  • FIG. 34 is a diagram illustrating an example of a finished machining shape in which the removed shape of the surface machining illustrated in FIG. 33 is removed.
  • FIG. 35 is a diagram illustrating an example of shape data for line processing.
  • FIG. 36 is a diagram
  • FIG. 40 is a diagram illustrating an example of a hole processing single-piece shape.
  • FIG. 41 is a diagram illustrating an example of a removed shape of hole processing.
  • FIG. 42 is a diagram illustrating an example of a finished machining shape from which the removed shape of the hole machining illustrated in FIG. 41 is removed.
  • FIG. 43 is a diagram showing an example of the finished shape of the NC program including drilling.
  • FIG. 44 is a diagram showing a removed shape of drilling.
  • FIG. 45 is a diagram illustrating an example of an NC program for drilling.
  • FIG. 46 is a diagram showing an example of the finished shape of the NC program that does not include drilling.
  • FIG. 47 is a diagram illustrating an example of a finished machining shape after inserting a drilling removal shape and a machining program into the finished machining shape.
  • FIG. 48 is a diagram showing an example of an inserted NC program for drilling.
  • FIG. 49 is a diagram illustrating an example of a finished machining shape in which the inserted drill process is moved, and the inserted drill process is copied, inserted again, and moved.
  • FIG. 50 is a diagram illustrating an example of a removal shape including a drill process that is inserted and moved and a drill process that is copied and inserted and moved.
  • FIG. 51 is a diagram illustrating an example of an NC program including drill processing that has been inserted and moved and drill processing that has been copied and inserted.
  • FIG. 1 is a block diagram showing a configuration of an NC program creation device according to an embodiment.
  • An NC program creation device (numerical control machining programming device) 101 is a device that creates a numerical control machining (NC) program.
  • the NC program is a program used when NC machining a machine by numerical control.
  • An NC control device that performs NC machining forms a product (workpiece after machining) having a finished shape by machining a material (workpiece before machining) that is a workpiece.
  • the NC program creation device 101 includes a creation support device 102, a dialogue operation processing unit 6, a display unit 7, an instruction input unit 8, and an NC program output unit 9.
  • the creation support apparatus 102 includes a CAD data input unit 1, an image data generation unit 2, an NC program search unit 3, a finished work shape generation unit 4, an NC program editing unit 5, an image data storage unit 11, and an NC program storage unit 12. , NC program DB (Database) 13 and image data DB 14.
  • the dialogue operation processing unit 6 is connected to the display unit 7, the instruction input unit 8, and the creation support device 102.
  • the NC program output unit 9 is connected to the creation support apparatus 102.
  • NC program creation device 101 for example, the image data generation unit 2, NC program search unit 3, machining finish shape generation unit 4, NC program editing unit 5, dialog operation processing unit 6, NC program output unit 9, etc. It is constituted by the wear.
  • a CAD (Computer Aided Design) data input unit 1 inputs CAD data 21 from an external device such as a CAD system (not shown) or a CAD data storage device (not shown) and sends it to the image data generation unit 2.
  • an external device such as a CAD system (not shown) or a CAD data storage device (not shown) and sends it to the image data generation unit 2.
  • the CAD data 21 includes, for example, information on products, information on materials, and information on processing instructions used when forming products from materials.
  • the information regarding the product in the CAD data 21 includes, for example, product shape data.
  • Product shape data (hereinafter referred to as product shape data) is generated by using, for example, a CAD system and has information indicating the shape and dimensions of the product.
  • the information on the material in the CAD data 21 includes data on the material and dimensions of the material.
  • the information regarding the processing instruction in the CAD data 21 includes data of a region (processing region) to be removed by processing in the material.
  • the image data generation unit 2 uses the CAD data 21 to generate product image data (processing target image data) and stores it in the image data storage unit 11.
  • the product image data is image data obtained by two-dimensionally or three-dimensionally displaying the shape of the product.
  • the image data storage unit 11 is a memory or the like that stores the image data generated by the image data generation unit 2.
  • the display unit 7 is a display terminal such as a liquid crystal monitor, and displays CAD data 21, graphic elements of product shape data designated by the operator, or data related to processing.
  • the instruction input unit 8 includes a mouse and a keyboard, and inputs instruction information from an operator (operator). The input instruction information is sent to the dialogue operation processing unit 6.
  • the interactive operation processing unit 6 causes the display unit 7 to display the CAD data 21 input to the CAD data input unit 1. Further, the dialogue operation processing unit 6 inputs instruction information from the instruction input unit 8. The dialogue operation processing unit 6 receives, for example, image data designated by the operator with a mouse or the like from the instruction input unit 8 as instruction information. The dialogue operation processing unit 6 accepts editing of the NC program based on the instruction information from the instruction input unit 8. Further, the dialogue operation processing unit 6 causes the NC program editing unit 5 to perform editing in accordance with the instruction information, and stores the edited NC program in the NC program storage unit 12.
  • the NC program storage unit 12 is a memory for storing an NC program before editing and an NC program after editing.
  • the NC program storage unit 12 stores the NC program read by the NC program editing unit 5 from the NC program DB 13 and the NC program edited by the NC program editing unit 5.
  • the NC program search unit 3 calculates the similarity between the image data stored in the image data storage unit 11 and the image data stored in the image data DB 14 by comparing the image data.
  • the NC program search unit 3 generates a list of image data having a high similarity based on the calculated similarity.
  • a list of image data generated by the NC program search unit 3 is displayed by the display unit 7.
  • the NC program DB 13 is a database that stores past NC programs.
  • the image data DB 14 is a database that stores image data (finished shape image data) corresponding to past NC programs stored in the NC program DB 13.
  • the image data DB 14 stores the correspondence between the NC program generated in the past and the image data corresponding to this NC program.
  • the NC program editing unit 5 acquires the NC program linked to the image data designated by the operator from the NC program DB 13 and stores it in the NC program storage unit 12.
  • the image data designated by the operator is designated by the operator via the instruction input unit 8 from the list of image data displayed on the display unit 7.
  • the image data designated by the operator is notified to the NC program editing unit 5 via the instruction input unit 8 and the dialogue operation processing unit 6. Thereby, the NC program editing unit 5 reads out the NC program corresponding to the notified image data from the NC program DB 13.
  • the NC program editing unit 5 edits the NC program stored in the NC program storage unit 12 in accordance with an instruction from the operator.
  • the editing instruction by the operator is input by the operator via the instruction input unit 8 to the NC program displayed on the display unit 7.
  • the editing instruction input by the operator is notified to the NC program editing unit 5 via the instruction input unit 8 and the dialogue operation processing unit 6.
  • the NC program editing unit 5 performs an editing process corresponding to the notified editing instruction.
  • the NC program editing unit 5 stores the edited NC program in the NC program storage unit 12 and the NC program DB 13.
  • the machining finish shape generation unit 4 generates image data of the machining finish shape from the NC program when there is no image data corresponding to the NC program stored in the NC program DB 13 in the image data DB 14.
  • the machining finish shape generation unit 4 reads out the NC program from the NC program DB 13 and generates a machining finish shape using the read NC program.
  • the finished machining shape generation unit 4 stores the created finished machining shape in the image data DB 14.
  • the NC program output unit 9 reads the NC program instructed to be output from the operator from the NC program storage unit 12 and outputs it as an NC program 31 to the outside.
  • the NC program output instruction by the operator is input by the operator to the NC program displayed on the display unit 7 via the instruction input unit 8.
  • the output instruction input by the operator is notified to the NC program editing unit 5 via the instruction input unit 8 and the dialogue operation processing unit 6.
  • the NC program editing unit 5 reads the NC program corresponding to the notified output instruction from the NC program storage unit 12 and sends it to the NC program output unit 9.
  • NC program creation device 101 may be constructed in a personal computer or in an NC device without being constructed as the NC program creation device itself.
  • the hardware configuration of the NC program creation device 101 is substantially the same as that of a general personal computer having a CPU (Central Processing Unit), a memory, and the like.
  • FIG. 2 is a flowchart showing an operation processing procedure of the NC program creating device according to the embodiment.
  • the CAD data input unit 1 inputs CAD data 21 (step S101) and sends it to the image data generation unit 2.
  • the image data generation unit 2 generates product image data corresponding to the CAD data 21 (step S102). Then, the image data generation unit 2 stores the generated image data in the image data storage unit 11.
  • the NC program search unit 3 compares the image data generated by the image data generation unit 2 with the past image data stored in the image data DB 14, thereby calculating the similarity between the two. Then, the NC program search unit 3 generates a list of image data in which image data candidates are arranged in descending order of similarity based on the calculated similarity (step S103). A list of image data generated by the NC program search unit 3 is displayed by the display unit 7 (step S104).
  • FIG. 3 is a flowchart showing an operation processing procedure of the image data generation unit.
  • the image data generation unit 2 extracts product shape data from the CAD data 21 input to the CAD data input unit 1, and arranges the product shape data in a direction according to the processing characteristics (step S201).
  • the image data generation unit 2 generates a wire frame image from the product shape data (step S202). Thereafter, the image data generation unit 2 generates a shading image from the product shape data (step S203).
  • the image data generation unit 2 generates a wire frame image from the product shape data by, for example, mathematically analyzing edges and silhouettes from the product shape data. Specifically, the image data generation unit 2 combines the following line-of-sight vector and the screen upward vector shown below from the viewpoint position sufficiently away from the product (product shape data). Generate. Then, the image data generation unit 2 generates a wire frame image by applying a scale to the image data so that the generated image data falls within the image data frame.
  • the image data generation unit 2 generates a shading image by, for example, applying a shade to the shape defined by the product shape data based on an arbitrary light source. Specifically, the image data generation unit 2 combines the following line-of-sight vector and the screen upward vector shown below from the viewpoint position sufficiently away from the product (product shape data). Generate. Then, the image data generation unit 2 generates a shading image by applying a scale to the image data so that the generated image data fits within the image data frame.
  • the gaze direction vector is a direction vector from the viewpoint position.
  • image data of a combination of all line-of-sight directions is not necessarily required, and in the case of round object processing, for example, image data of the front, back, left side, right side, top, and bottom may be generated.
  • step S201 the process of arranging product shape data in the direction according to the processing characteristics.
  • Examples of the processing on the workpiece include round processing for performing turning processing, and square processing for performing mill processing.
  • FIG. 4 is a flowchart showing an arrangement processing procedure of product shape data when a round object is processed. Further, FIG. 5 is a flowchart showing a procedure for arrangement processing of product shape data in the case of performing corner workpiece processing.
  • FIG. 6 is a diagram showing an arrangement example of product shape data when performing round object processing, and
  • FIG. 7 is a diagram showing an arrangement example of product shape data when performing corner object machining.
  • the round object is the round object 50
  • the square object is the square object 60.
  • the image data generation unit 2 searches the product shape data in the CAD data 21 for the cylindrical surface having the maximum diameter (hereinafter referred to as the maximum cylindrical surface). (Step S301). Then, the image data generation unit 2 rotates and moves the product shape data so that the central axis (column axis) of the maximum cylindrical surface 51 coincides with the Z axis (step S302).
  • the image data generation unit 2 searches the CAD data for a plane that is not perpendicular to the Z axis.
  • the image data generation unit 2 here searches for a plane 52 (a plane not parallel to the upper surface of the cylinder) 52 that is not perpendicular to the central axis of the maximum cylinder surface 51.
  • the image data generation unit 2 searches for a plane with the maximum area, for example (step S303).
  • the image data generation unit 2 When there is a plane 52 (a plane not parallel to the upper surface of the cylinder) 52 that is not perpendicular to the central axis of the maximum cylindrical surface 51 (step S304, Yes), the image data generation unit 2 has a normal vector of the plane 52 of + X axis.
  • Product (product shape data) (circle) centering on the central axis (Z axis) of the largest cylindrical surface 51 so that the direction vector (1, 0, 0) is oriented, the Y value is 0, and the X value is a positive value.
  • the workpiece 50) is rotated (step S305).
  • the image data generation unit 2 searches for the hole shape from the CAD data. When there are a plurality of hole shapes, the image data generation unit 2 searches for the hole shape with the maximum diameter (step S306).
  • the image data generation unit 2 rotates the product based on the position of the hole 53 formed in the maximum cylindrical surface 51. For example, when the shape of the hole 53 is a cylindrical shape, the image data generating unit 2 uses the + X-axis direction vector (1, 0, 0) as the center axis vector of the cylindrical surface (the side wall surface of the hole 53) constituting the hole 53. And the product is rotated about the central axis of the largest cylindrical surface 51 so that the Y value becomes 0 (step S307).
  • the image data generation unit 2 rotates the cylindrical surface of the hole shape having the maximum diameter.
  • the image data generation unit 2 rotates the plane normal vector or the center axis vector of the hole-shaped cylindrical surface so as to face the + X axis direction vector, and then the end point of the product (CAD data) in the ⁇ Z axis direction or
  • the image data generation unit 2 searches the product shape data in the CAD data 21 for the plane 61 having the maximum area (step S401).
  • the image data generation unit 2 translates the product shape data (CAD data) along the Z axis so that the Z value of the position vector of the end point or end surface in the + Z-axis direction of the product shape data becomes 0 ( Step S402).
  • FIG. 8 is a diagram showing an example of the front image data
  • FIG. 9 is a diagram showing an example of the back image data
  • FIG. 10 is a diagram illustrating an example of left side image data
  • FIG. 11 is a diagram illustrating an example of right side image data
  • FIG. 12 is a diagram illustrating an example of upper surface image data
  • FIG. 13 is a diagram illustrating an example of lower surface image data.
  • FIG. 14 is a diagram showing an example of image data of the upper left front
  • FIG. 15 is a diagram of an example of image data of the lower left front
  • FIG. 16 is a diagram illustrating an example of image data on the upper right front
  • FIG. 17 is a diagram illustrating an example of image data on the lower right front.
  • FIG. 18 is a diagram illustrating an example of image data on the upper left rear surface
  • FIG. 19 is a diagram illustrating an example of image data on the lower left rear surface
  • 20 is a diagram illustrating an example of image data on the upper right back surface
  • FIG. 21 is a diagram illustrating an example of image data on the lower right back surface.
  • Each of the image data shown in FIGS. 8 to 21 corresponds to the image data of the round workpiece 50 shown in FIG.
  • the NC program search unit 3 uses the image data of one to a plurality of line-of-sight directions generated by the image data generation unit 2 as an original image, and uses image data of the same line-of-sight direction from the image data of the image data DB 14 as a target image. Extract one or more. In other words, image data having the same viewing direction as that of the image data generated by the image data generating unit 2 is extracted from the image data DB 14 as a target image. The NC program search unit 3 calculates the similarity between the extracted target image and the original image.
  • the NC program search unit 3 generates a list of image data in descending order of similarity based on the calculated similarity. If the image data corresponding to the NC program stored in the NC program DB 13 does not exist in the image data DB 14, the machining finish shape generation unit 4 generates a machining finish shape from the NC program. Then, the image data generation unit 2 generates image data from the generated processed finished shape and stores it in the image data DB 14.
  • the NC program search unit 3 inputs from the instruction input unit 8 at least one of material material, processing type, tool type, and tool name as narrowing information as information related to the NC program used when processing the workpiece.
  • an NC program corresponding to the narrowing information may be extracted from NC programs created in the past.
  • the NC program search unit 3 calculates the similarity using the image data corresponding to the extracted NC program. As a result, the NC program search can be executed in a short time.
  • FIG. 22 is a flowchart illustrating a generation processing procedure of a list of image data arranged in order of high similarity.
  • the NC program search unit 3 generates the image data generated in step S102 and stored in the image data storage unit 11, and the processed finish shape image data generated by the processed finish shape generation unit 4 and stored in the image data DB 14. And the similarity is calculated (step S501).
  • the NC program search unit 3 compares the original image and the target image, and based on the number of matches or the match ratio between the pixels drawn in the original image and the pixels drawn in the target image, Is calculated. For example, the NC program search unit 3 uses the total number of pixels drawn in the image data generated by the image data generation unit 2 as the denominator and the number of pixels that match the drawn portion as the numerator. Calculate similarity. In other words, the NC program search unit 3 uses the value obtained by dividing the number of matching pixels between the original image and the target image by the total number of pixels of the original image as the similarity. When the similarity is calculated by this method, the similarity is 1 when all the pixels match between the original image and the target image, and the similarity is 0 when all the pixels do not match.
  • the NC program search unit 3 may calculate the similarity by comparing the shape dimension (first shape dimension) of the original image with the shape dimension (second shape dimension) of the target image. In this case, the NC program search unit 3 may calculate the shape dimension of the original image based on the shape data of the product (processing object), or the shape dimension of the original image based on the processing target image data. It may be calculated. Further, the NC program search unit 3 calculates the shape dimension of the target image based on the finished shape image data.
  • the NC program search unit 3 calculates the similarity by comparing the positions of the edges of the original image and the target image. In this case, for example, the NC program search unit 3 obtains the distance on the image between the edge of the original image and the edge of the closest target image. Then, the NC program search unit 3 sets a similarity value corresponding to the obtained distance for each edge, and derives a distribution of the similarity value (distance) for each edge. Further, the NC program search unit 3 calculates the similarity based on the derived distribution of similarity values.
  • the NC program search unit 3 sets the similarity value when the distance between edges is 0 to 1, the similarity value when the distance is 1 as 0.9, and the similarity value when the distance is 2 as 0. Eight. In this way, the NC program search unit 3 sets the similarity value for the distance so that the similarity value decreases as the distance between edges increases, and the similarity value becomes 0 when the distance is 10 or more. .
  • the NC program search unit 3 uses, for example, an average value of similarity values between edges as the similarity. When the similarity is calculated by this method, the similarity is 1 if the images match between the original image and the target image, and the similarity is 0 if they do not match at all.
  • the NC program search unit 3 may calculate the similarity by comparing the positions of the edge end points of the original image and the target image. Also in this case, the NC program search unit 3 obtains the distance between the edge end points between the original image and the target image, as in the case of comparing the positions of the edges. Then, the NC program search unit 3 sets a similarity value corresponding to the obtained distance for each edge end point, and derives a distribution of the similarity value (distance) for each edge end point. Further, the NC program search unit 3 calculates the similarity based on the derived distribution of similarity values. Further, the NC program search unit 3 may calculate the similarity by comparing the positions of both the edge and the edge end point of the original image and the target image.
  • the NC program search unit 3 sorts the images in the image data DB 14 in descending order of the calculated similarity and displays the list (step S502).
  • FIG. 23 is a diagram illustrating an example of a finished shape.
  • FIG. 24 is a display example of an image list arranged in the order of high similarity based on the shape data of FIG.
  • the NC program editing unit 5 acquires, from the NC program DB 13, an NC program related to the image data selected by the operator from the list of image data arranged in order of high similarity, and displays it on the display unit 7 together with the image data. .
  • the NC program search unit 3 not only calculates the image similarity, but also the machining finished shape of each NC program generated by the machining finished shape generation unit 4 in the radial direction, the maximum length in the Z-axis direction, or the X-axis,
  • the maximum length of each of the Y-axis and Z-axis directions may be stored in the image data DB 14.
  • the NC program search unit 3 compares the stored data with the dimensional length of the product shape input by the CAD data input unit 1, for example, machining with a small difference in radial length.
  • the product shape data is displayed in a list by sorting in the order of finished shapes. Thereby, for example, it is possible to narrow down to NC programs sorted by the length in the direction specified by the operator.
  • NC program search unit 3 matches the material material specified by the operator, the specific machining type, the specific machining shape, or the specific tool type / reserve from the NC program stored in the NC program DB 13. NC programs may be sorted.
  • the finished machining shape generation unit 4 generates finished shape image data for each machining process of the NC program.
  • Each machining step in the NC program is defined using the type of machining step, the tool used, and shape information that defines the shape (region) to be machined.
  • the types of machining processes include, for example, (1) turning, (2) drilling, (3) line machining, and (4) area machining.
  • (1) turning includes (1-1) turning bar processing, (1-2) turning drilling, and (1-3) turning threading.
  • (2) drilling includes (2-1) drilling, (2-2) stepped drilling, and (2-3) tapping.
  • (3) line machining includes line machining for moving a tool along a designated shape
  • (4) area machining includes removal of a designated shape (4-1) pocket mill machining, (4- 2) There is surface processing.
  • ⁇ Tools used include, for example, turning tools, drills, end mills, face mills, taps, etc.
  • shape information that defines the shape to be processed the shape is defined using straight lines and arcs.
  • the shape for turning is defined on the + XZ plane.
  • the machining finish shape generation unit 4 generates a turning removal shape by rotating the turning shape information (shape for turning) 360 degrees around the turning axis.
  • the hole diameter, the hole depth, the hole bottom angle, and the chamfering amount of the hole ridge are defined for each processing step.
  • the machining finish shape generation unit 4 generates a single removal shape of the drilling process from the hole diameter, the hole depth, the hole bottom angle, and the chamfered amount of the hole ridge, and the shape information in which the position where the drilling process is performed is defined
  • the removal shape of the drilling process is generated by parallel movement or rotational movement.
  • the finished machining shape generation unit 4 generates a sweep shape obtained by sweeping the tool shape to be used along the shape information defined as line processing, and thereby generates a removal shape for line processing.
  • the processed finished shape generation unit 4 uses the defined material outer diameter as the diameter and the material length as the axial direction of the cylinder. Generate a shape. Then, the finished work shape generation unit 4 sets the material shape to a shape obtained by removing the cylindrical shape having the material inner diameter as the diameter and the material length as the axial direction of the cylinder.
  • the finished machining shape generation unit 4 If the material is not defined in the NC program, the finished machining shape generation unit 4 generates a rectangular parallelepiped that includes all of the removed shapes generated in each machining step of the NC program, and sets it as the material shape.
  • FIG. 25 is a flowchart showing a processing procedure for generating a machining shape for turning.
  • the machining finish shape generation unit 4 generates a turning cross-sectional shape when the turning shape is defined on the + XZ plane and the turning processing includes the shape information of the turning processing (step S601). Then, the machining finish shape generation unit 4 rotates the turning cross-sectional shape 360 degrees around the Z axis that is the turning axis, and generates a turning removal shape (step S602). The machining finish shape generation unit 4 rotates the cross-sectional shape of the turning process by 360 degrees about the Z axis, thereby setting the region pushed into the cross-sectional shape of the turning process as a removal shape of the turning process.
  • FIG. 26 is a flowchart showing a processing procedure for generating a machining shape for surface machining.
  • the processed finished shape generation unit 4 generates a processed planar shape by using the shape information defined by the surface processing as a closed shape (step S701). Then, the machining finish shape generation unit 4 sets the shape obtained by sweeping the machining plane shape by the machining allowance along the normal vector of the machining plane as the removal shape of the surface machining (step S702). The processed finished shape generation unit 4 sweeps the processed planar shape to set the area pushed out to the processed planar shape as a removal shape for surface processing.
  • FIG. 27 is a flowchart showing a processing procedure for generating a machining shape for line machining.
  • the processed finished shape generation unit 4 generates a planar shape including a shape element for each shape element defined by line processing. Specifically, the finished work shape generation unit 4 generates a rectangular plane when the shape element is a straight line, and generates a fan-shaped plane when the shape element is an arc (step S801). The width
  • the finished work shape generation unit 4 generates a circular shape (intersection shape) having a diameter in the radial direction defined by the line processing at the intersection of the shape elements (step S802).
  • the machining finished shape generation unit 4 adds the planar shape including all the shape elements generated in step S801 and the all intersection shape generated in step S802 to generate a line processing planar shape (step S803).
  • the machining finish shape generation unit 4 linearly processes the shape obtained by sweeping the line machining plane shape generated in step S803 in the normal vector direction of the plane by the length of the machining allowance defined in the line machining.
  • the removed shape step S804.
  • the processed finish shape generation unit 4 sets the shape extruded by sweeping the line processing planar shape as the removal shape of the line processing.
  • FIG. 28 is a flowchart showing a processing procedure for generating a drilling shape.
  • the processed finish shape generation unit 4 generates a hole cross-sectional shape on the XZ plane from the hole depth, hole tip angle, hole chamfering, and hole diameter defined by the hole processing (step S901). Then, the finished machining shape generation unit 4 rotates the hole cross-sectional shape generated in step S901 360 degrees around the Z axis to generate a single hole processing shape (step S902). When the hole cross-sectional shape is rotated 360 degrees around the Z-axis, the region to be pushed out becomes a hole machining single shape.
  • the finished machining shape generation unit 4 copies the number of hole machining single shapes defined by the hole machining, and moves the copied single hole shapes according to the machining position and machining direction in parallel and rotationally.
  • the removed shape of the hole machining is set (step S903).
  • the machining finished shape generation unit 4 generates a removal shape that is a shape to be removed from the material, based on the definition data relating to machining for each machining unit of the NC program created in the past. Further, the finished work shape generation unit 4 generates a material shape that is the shape of the material based on the definition data.
  • the machining finish shape generation unit 4 generates a machining finish shape by removing all the removal shapes generated in each machining process of the NC program from the material shape generated from the NC program.
  • the machining finish shape generation unit 4 when there is no image data corresponding to the NC program stored in the NC program DB 13 in the image data DB 14, the machining finish shape generation unit 4 generates a machining finish shape from the NC program. Then, the image data generation unit 2 generates image data from the generated processed finish shape and stores it in the image data DB 14.
  • FIG. 29 is a diagram illustrating an example of a cross-sectional shape of a turning process
  • FIG. 30 is a diagram illustrating an example of a removal shape of a turning process
  • FIG. 31 is a machining finish in which the removed shape of the turning process is removed from the material shape. It is a figure which shows an example of a shape.
  • FIG. 32 is a diagram showing an example of a machining plane shape of surface machining
  • FIG. 33 is a diagram showing an example of a removal shape of surface machining
  • FIG. 34 is a removal of the surface machining shown in FIG. It is a figure which shows an example of the process finishing shape from which the shape was removed.
  • FIG. 34 shows an example of the finished shape after removing the turning removal shape and the surface removal removal shape from the material shape.
  • FIG. 35 is a diagram illustrating an example of shape data for line processing
  • FIG. 36 is a diagram illustrating an example of a planar shape including shape elements for line processing
  • FIG. 37 is a diagram showing an example of the removal shape of the line processing
  • FIG. 38 is a diagram showing an example of the finished shape after the removal shape of the line processing shown in FIG. 37 is removed.
  • FIG. 38 shows an example of the finished shape after removing the removed shape of turning, the removed shape of surface machining, and the removed shape of line machining from the material shape.
  • FIG. 39 is a diagram showing an example of a hole cross-sectional shape
  • FIG. 40 is a diagram showing an example of a hole processing single-piece shape
  • FIG. 41 is a diagram illustrating an example of a removed shape of hole machining
  • FIG. 42 is a diagram illustrating an example of a finished machining shape from which the removed shape of hole machining illustrated in FIG. 41 is removed.
  • FIG. 42 shows an example of the finished shape after removing the removed shape of turning, the removed shape of surface machining, the removed shape of line machining, and the removed shape of hole machining from the material shape.
  • the NC program editing unit 5 acquires, from the NC program DB 13, an NC program related to the image data selected by the operator from the list of image data arranged in order of high similarity, and displays it on the display unit 7 together with the image data. .
  • the NC program editing unit 5 sends the NC program reflecting the edited contents to the NC program output unit 9.
  • the NC program output unit 9 outputs the NC program sent from the NC program editing unit 5.
  • the NC program editing unit 5 generates, for example, a removal shape of each machining process in the NC program, and displays it on the display unit 7 together with the finished machining shape.
  • the NC program editing unit 5 takes out each machining process on the NC program corresponding to the selected removal shape, and selects another machining process.
  • the NC program may be inserted together with the removal shape.
  • the NC program editing unit 5 when a plurality of machining units are designated by external input from one to a plurality of finished shape image data, the NC program editing unit 5 generates an NC program by combining the designated machining units. Good.
  • FIG. 43 is a diagram illustrating an example of a machining finish shape of an NC program including drilling
  • FIG. 44 is a diagram illustrating a removal shape of drilling
  • FIG. 45 is an example of an NC program for drilling.
  • FIG. 46 is a diagram showing an example of the finished shape of the NC program that does not include drilling.
  • FIG. 47 is a diagram illustrating an example of a finished machining shape after the drilling removal shape and the machining program are inserted into the finished machining shape.
  • FIG. 47 shows an example of the finished machining shape after the drilling removal shape and machining program are extracted from the machining finished shape of the NC program including the drilling shown in FIG. 42 and inserted into the finished machining shape shown in FIG. .
  • FIG. 48 is a diagram showing an example of an NC program for drilling inserted into the machining shape data of FIG.
  • FIG. 49 is a diagram illustrating an example of a finished machining shape in which the inserted drill process is moved, and the inserted drill process is copied and reinserted and moved.
  • FIG. 50 is a diagram showing an example of a removal shape composed of drill processing that has been inserted and moved and drill processing that has been copied and inserted
  • FIG. 51 is a copy of drill processing that has been inserted and moved. It is a figure which shows an example of NC program comprised by the drill processing which inserted and moved.
  • the NC program creating apparatus 101 of the present embodiment receives image data (processing target image) corresponding to the product shape data. Data). Further, the NC program creating apparatus 101 generates image data (finished shape image data) of a finished shape based on an NC program created in the past, and stores it in association with the corresponding NC program. Then, the NC program creation device 101 calculates the similarity between the processing target image data and the finished shape image data by comparing them. Based on the similarity, the NC program creation device 101 searches for a list of finished shape image data candidates that are similar or coincident with the image data to be processed, and displays the list. Then, the NC program creation device 101 displays the finished shape image data NC program designated by the external input (operator) from the finished shape image data candidates.
  • the similarity of the image data is calculated, and the list of the image data arranged in the descending order of the similarity is generated. Therefore, the NC of the finished shape similar to the CAD data 21 is generated.
  • the program can be easily and efficiently searched. Therefore, the NC program can be easily reused, and the NC program can be created easily and efficiently.
  • the finished shape image data is generated from the past NC program, it is possible to obtain the finished shape image data in a short time with a smaller calculation amount than when performing the tool path simulation.
  • the similarity is calculated by comparing the shape dimension of the original image and the shape dimension of the target image, it is possible to analyze the similarity of the image data even for similar shapes. .
  • the similarity is calculated based on the number of matches or the ratio of the pixels drawn in the original image and the pixels drawn in the target image, the similarity of the image data can be easily quantified.
  • the similarity of the image data to be searched Accuracy can be improved. Further, since the NC program is generated by combining the processing units specified from the finished shape image data, the processing units can be easily reused.
  • NC program search method As described above, the NC program search method, NC program search device, NC program creation method, and NC program creation device according to the present invention are suitable for searching NC programs for numerically controlling machine tools.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Human Computer Interaction (AREA)
  • Geometry (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Numerical Control (AREA)

Abstract

 NCプログラム検索方法において、加工対象物の形状データが外部入力されると、加工対象物の形状データに対応する画像データを加工対象画像データとして生成する第1の画像生成ステップと、過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データを仕上がり形状画像データとして生成する第2の画像生成ステップと、仕上がり形状画像データを、対応するNCプログラムと関連付けて保存する保存ステップと、加工対象画像データと、仕上がり形状画像データとの比較を行うことによって両者の類似度を算出する類似度算出ステップと、類似度に基づいて、加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索して表示する検索ステップと、仕上がり形状画像データの候補の中から、外部入力によって指定された仕上がり形状画像データのNCプログラムを表示する表示ステップとを含む。

Description

NCプログラム検索方法、NCプログラム検索装置、NCプログラム作成方法およびNCプログラム作成装置
 本発明は、工作機械を数値制御するためのNCプログラムを検索するNCプログラム検索方法、NCプログラム検索装置、NCプログラム作成方法およびNCプログラム作成装置に関する。
 工作機械を数値制御するためのNCプログラム(数値制御加工プログラム)を作成する装置として、プログラム作成装置がある。このような、プログラム作成装置の中には、NCプログラムを作成する際に作成を支援する機能(作成支援機能)を有しているものがある。
 近年、作成支援機能の充実化が進んでおり、オペレータが製作図面を見ながら加工対象物の座標値を設定していくことで容易にNCプログラムを作成できるようになった。また、設計者がCADシステムを用いてモデリングしたCADデータを、直接読み込んでNCプログラムの作成を行なうことができるプログラム作成装置も登場している。また、最近の数値制御装置は、内部メモリの容量が増えたので、多数のNCプログラムを内部メモリに格納できるようになった。このため、オペレータは加工すべきワークに応じて必要なNCプログラムを選択し、加工すべきワークに応じてNCプログラムを編集している。その際に、オペレータは、類似製品に対しては過去の製品のNCプログラムを利用することで、NCプログラムの作成を効率化している。
 ところが、従来のNCプログラム作成装置は、過去に生成されたNCプログラムを利用できるような機能を備えていないので、全ての製品について同じ手順でNCプログラムを生成する必要があった。このため、NCプログラムを作成するうえでの効率面において、十分とはいえなかった。
 特許文献1に記載の検索装置は、素材の形状特徴、加工部位の形状特徴および加工種類からなる加工要素データと、工具関連データをプログラミング基礎データとして予め複数の製品について記憶している。そして、検索装置は、加工対象製品および素材の3次元形状データを基に、加工対象製品の加工要素データを生成し、生成した加工要素データを基に、記憶しておいたプログラミング基礎データを検索し、加工対象製品に類似した製品のプログラミング基礎データを抽出している。
 また、特許文献2に記載のプログラムの管理装置は、NCプログラムと、このNCプログラムに関係する写真と、プログラム情報を関連付けて記憶している。そして、管理装置は、NCプログラムと、前記写真と、加工結果などを検索情報としてオペレータに入力させている。これにより、管理装置は、記憶しているNCプログラムの中から、検索情報に基づいて、所望のNCプログラムを抽出している。
特開2003-58215号公報 特開2001-255916号公報
 しかしながら、上記前者の従来技術では、3次元形状データを基に加工要素データを生成しなければならないので、加工要素データ単位での利用しかできない。また、記憶しておいたプログラミング基礎データを検索する際には、素材の形状などの一致性、または寸法差に基づいて、プログラミング基礎データを検索しているので、オペレータが満足する検索条件を設定しなければ、所望の検索を行えないという問題があった。
 また、上記後者の従来技術では、NCプログラムと、加工品の写真と、加工結果などとを、オペレータが入力する必要があるので、検索処理に手間がかかる。また、NCプログラムと加工結果とを関連付けただけなので、多数のNCプログラムに関連付けられた加工結果の中から、オペレータ自身が加工結果を探し出さなければならないという問題があった。
 本発明は、上記に鑑みてなされたものであって、NCプログラムの検索を容易に効率良く行うことができるNCプログラム検索方法、NCプログラム検索装置、NCプログラム作成方法およびNCプログラム作成装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、加工対象物の形状データが外部入力されると、前記加工対象物の形状データに対応する画像データを加工対象画像データとして生成する第1の画像生成ステップと、過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データを仕上がり形状画像データとして生成する第2の画像生成ステップと、前記仕上がり形状画像データを、対応するNCプログラムと関連付けて保存する保存ステップと、前記加工対象画像データと、前記仕上がり形状画像データとの比較を行うことによって両者の類似度を算出する類似度算出ステップと、前記類似度に基づいて、前記加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索して表示する検索ステップと、前記仕上がり形状画像データの候補の中から、外部入力によって指定された仕上がり形状画像データのNCプログラムを表示する第1のプログラム表示ステップとを含むことを特徴とする。
 本発明によれば、NCプログラムの検索を容易に効率良く行うことが可能になるという効果を奏する。
図1は、実施の形態に係るNCプログラム作成装置の構成を示すブロック図である。 図2は、実施の形態に係るNCプログラム作成装置の動作処理手順を示すフローチャートである。 図3は、画像データ生成部の動作処理手順を示すフローチャートである。 図4は、丸物加工を行う場合の製品形状データの配置処理手順を示すフローチャートである。 図5は、角物加工を行う場合の製品形状データの配置処理手順を示すフローチャートである。 図6は、丸物加工を行う場合の製品形状データの配置例を示す図である。 図7は、角物加工を行う場合の製品形状データの配置例を示す図である。 図8は、正面の画像データの一例を示す図である。 図9は、背面の画像データの一例を示す図である。 図10は、左側面の画像データの一例を示す図である。 図11は、右側面の画像データの一例を示す図である。 図12は、上面の画像データの一例を示す図である。 図13は、下面の画像データの一例を示す図である。 図14は、左上正面の画像データの一例を示す図である。 図15は、左下正面の画像データの一例を示す図である。 図16は、右上正面の画像データの一例を示す図である。 図17は、右下正面の画像データの一例を示す図である。 図18は、左上背面の画像データの一例を示す図である。 図19は、左下背面の画像データの一例を示す図である。 図20は、右上背面の画像データの一例を示す図である。 図21は、右下背面の画像データの一例を示す図である。 図22は、類似度が高い順番で並べられた画像データ一覧の生成処理手順を示すフローチャートである。 図23は、加工仕上がり形状の一例を示す図である。 図24は、図23の形状データを基にして類似度が高い順に並べられた画像一覧の表示例を示す図である。 図25は、旋削加工の加工形状を生成する処理手順を示すフローチャートである。 図26は、面加工の加工形状を生成する処理手順を示すフローチャートである。 図27は、線加工の加工形状を生成する処理手順を示すフローチャートである。 図28は、穴加工の加工形状を生成する処理手順を示すフローチャートである。 図29は、旋削加工断面形状の一例を示す図である。 図30は、旋削加工の除去形状の一例を示す図である。 図31は、素材形状から旋削加工の除去形状を取り去った加工仕上がり形状の一例を示す図である。 図32は、面加工の加工平面形状の一例を示す図である。 図33は、面加工の除去形状の一例を示す図である。 図34は、図33に示した面加工の除去形状が取り去られた加工仕上がり形状の一例を示す図である。 図35は、線加工の形状データの一例を示す図である。 図36は、線加工の形状要素を含む平面形状の一例を示す図である。 図37は、線加工の除去形状の一例を示す図である。 図38は、図37に示した線加工の除去形状が取り去られた加工仕上がり形状の一例を示す図である。 図39は、穴断面形状の一例を示す図である。 図40は、穴加工単体形状の一例を示す図である。 図41は、穴加工の除去形状の一例を示す図である。 図42は、図41に示した穴加工の除去形状が取り去られた加工仕上がり形状の一例を示す図である。 図43は、ドリル加工を含んだNCプログラムの加工仕上がり形状の一例を示す図である。 図44は、ドリル加工の除去形状を示す図である。 図45は、ドリル加工のNCプログラムの一例を示す図である。 図46は、ドリル加工を含まないNCプログラムの加工仕上がり形状の一例を示す図である。 図47は、ドリル加工の除去形状および加工プログラムを、加工仕上がり形状に挿入した後の加工仕上がり形状の一例を示す図である。 図48は、挿入したドリル加工のNCプログラムの一例を示す図である。 図49は、挿入したドリル加工を移動し、さらに挿入したドリル加工をコピーして再度挿入し移動した加工仕上がり形状の一例を示す図である。 図50は、挿入し移動したドリル加工とコピーして挿入し移動したドリル加工とで構成される除去形状の一例を示す図である。 図51は、挿入し移動したドリル加工とコピーして挿入し移動したドリル加工とで構成されるNCプログラムの一例を示す図である。
 以下に、本発明の実施の形態に係るNCプログラム検索方法、NCプログラム検索装置、NCプログラム作成方法およびNCプログラム作成装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態
 図1は、実施の形態に係るNCプログラム作成装置の構成を示すブロック図である。NCプログラム作成装置(数値制御加工プログラミング装置)101は、数値制御(NC:Numerical Control machining)プログラムを作成する装置である。NCプログラムは、数値制御によって機械をNC加工する際に用いられるプログラムである。NC加工を行うNC制御装置は、加工対象物である素材(加工前の被加工物)を加工することによって、加工仕上がり形状を有した製品(加工後の被加工物)を形成する。
 NCプログラム作成装置101は、作成支援装置102と、対話操作処理部6と、表示部7と、指示入力部8と、NCプログラム出力部9とを備えている。そして、作成支援装置102は、CADデータ入力部1、画像データ生成部2、NCプログラム検索部3、加工仕上がり形状生成部4、NCプログラム編集部5、画像データ保存部11、NCプログラム保存部12、NCプログラムDB(Database)13、画像データDB14を有している。
 対話操作処理部6は、表示部7、指示入力部8および作成支援装置102に接続されている。また、NCプログラム出力部9は、作成支援装置102に接続されている。
 NCプログラム作成装置101のうち、例えば、画像データ生成部2、NCプログラム検索部3、加工仕上がり形状生成部4、NCプログラム編集部5、対話操作処理部6、NCプログラム出力部9などは、ソフトウエアによって構成されている。
 CAD(Computer Aided Design)データ入力部1は、CADシステム(図示せず)やCADデータ記憶装置(図示せず)などの外部装置などからCADデータ21を入力し、画像データ生成部2へ送る。
 CADデータ21は、例えば、製品に関する情報、素材に関する情報、素材から製品を形成する際に用いられる加工指示に関する情報などを含んで構成されている。CADデータ21内の製品に関する情報には、例えば、製品の形状データなどがある。製品の形状データ(以下、製品形状データという)は、例えば、CADシステムなどを用いて生成されたものであり、製品の形状および寸法を示す情報を有している。また、CADデータ21内の素材に関する情報には、素材の材質および寸法に関するデータなどがある。また、CADデータ21内の加工指示に関する情報には、素材のうち加工によって除去する領域(加工領域)のデータなどがある。
 画像データ生成部2は、CADデータ21を用いて、製品の画像データ(加工対象画像データ)を生成し、画像データ保存部11に保存する。製品の画像データは、製品の形状を2次元表示または3次元表示させた画像のデータである。画像データ保存部11は、画像データ生成部2で生成された画像データを保存するメモリなどである。
 表示部7は、液晶モニタなどの表示端末であり、CADデータ21、オペレータによって指定された製品形状データの図形要素、または加工に関するデータなどを表示する。指示入力部8は、マウスやキーボードを備えて構成され、オペレータ(作業者)からの指示情報などを入力する。入力された指示情報は、対話操作処理部6へ送られる。
 対話操作処理部6は、CADデータ入力部1に入力されたCADデータ21を表示部7に表示させる。また、対話操作処理部6は、指示入力部8からの指示情報を入力する。対話操作処理部6は、例えばオペレータがマウスなどによって指定した画像データを、指示情報として指示入力部8から受け付ける。対話操作処理部6は、指示入力部8からの指示情報に基づいて、NCプログラムの編集を受け付ける。また、対話操作処理部6は、指示情報に応じた編集をNCプログラム編集部5に行わせ、編集後のNCプログラムをNCプログラム保存部12に保存する。
 NCプログラム保存部12は、編集前のNCプログラムおよび編集後のNCプログラムを記憶するメモリなどである。NCプログラム保存部12は、NCプログラム編集部5がNCプログラムDB13から読み出したNCプログラムおよびNCプログラム編集部5で編集されたNCプログラムを記憶する。
 NCプログラム検索部3は、画像データ保存部11に保存された画像データと、画像データDB14に保存されている画像データとの比較を行うことによって、両者の類似度を算出する。NCプログラム検索部3は、算出した類似度に基づいて、類似度が高い画像データの一覧を生成する。NCプログラム検索部3で生成された画像データの一覧は、表示部7によって表示される。
 NCプログラムDB13は、過去のNCプログラムを記憶するデータベースである。画像データDB14は、NCプログラムDB13が記憶している過去のNCプログラムに対応する画像データ(仕上がり形状画像データ)を記憶するデータベースである。画像データDB14は、過去に生成されたNCプログラムと、このNCプログラムに対応する画像データの対応関係を記憶しておく。
 NCプログラム編集部5は、オペレータに指定された画像データにリンクするNCプログラムをNCプログラムDB13から取得し、NCプログラム保存部12に保存する。オペレータに指定される画像データは、表示部7に表示されている画像データの一覧から、オペレータが指示入力部8を介して指定するものである。オペレータに指定された画像データは、指示入力部8および対話操作処理部6を介してNCプログラム編集部5に通知される。これにより、NCプログラム編集部5は、通知された画像データに対応するNCプログラムをNCプログラムDB13から読み出す。
 また、NCプログラム編集部5は、NCプログラム保存部12に保存されているNCプログラムを、オペレータからの指示に従って編集する。オペレータによる編集指示は、表示部7に表示されているNCプログラムに対し、オペレータが指示入力部8を介して入力するものである。オペレータによって入力された編集指示は、指示入力部8および対話操作処理部6を介してNCプログラム編集部5に通知される。これにより、NCプログラム編集部5は、通知された編集指示に対応する編集処理を行う。NCプログラム編集部5は、編集後のNCプログラムを、NCプログラム保存部12およびNCプログラムDB13に保存する。
 加工仕上がり形状生成部4は、NCプログラムDB13に保存されているNCプログラムに対応する画像データが、画像データDB14に無い場合に、NCプログラムから加工仕上がり形状の画像データを生成する。加工仕上がり形状生成部4は、NCプログラムDB13内からNCプログラムを読み出すとともに、読み出したNCプログラムを用いて加工仕上がり形状を生成する。加工仕上がり形状生成部4は、生成した加工仕上がり形状を画像データDB14に保存する。
 NCプログラム出力部9は、オペレータから出力指示されたNCプログラムを、NCプログラム保存部12から読み出して、NCプログラム31として外部に出力する。オペレータによるNCプログラムの出力指示は、表示部7に表示されているNCプログラムに対し、オペレータが指示入力部8を介して入力するものである。オペレータによって入力された出力指示は、指示入力部8および対話操作処理部6を介してNCプログラム編集部5に通知される。これにより、NCプログラム編集部5は、通知された出力指示に対応するNCプログラムをNCプログラム保存部12から読み出して、NCプログラム出力部9に送る。
 なお、NCプログラム作成装置101は、NCプログラム作成装置そのものとして構築されることなく、パーソナルコンピュータ内や、NC装置内に構築される場合もある。また、NCプログラム作成装置101のハードウェア構成は、CPU(Central Processing Unit)、メモリなどを有する一般的なパーソナルコンピュータと実質的に同一である。
 つぎに、NCプログラム作成装置101の動作処理について説明する。図2は、実施の形態に係るNCプログラム作成装置の動作処理手順を示すフローチャートである。CADデータ入力部1は、CADデータ21を入力し(ステップS101)、画像データ生成部2に送る。
 これにより、画像データ生成部2は、CADデータ21に応じた製品の画像データを生成する(ステップS102)。そして、画像データ生成部2は、生成した画像データを画像データ保存部11に保存する。
 NCプログラム検索部3は、画像データ生成部2が生成した画像データと、画像データDB14に保存されている過去の画像データとの比較を行うことによって、両者の類似度を算出する。そして、NCプログラム検索部3は、算出した類似度に基づいて、類似度が高い順番に画像データの候補を並べた画像データの一覧を生成する(ステップS103)。NCプログラム検索部3で生成された画像データの一覧は、表示部7によって表示される(ステップS104)。
 ここで、画像データ生成部2の処理について説明する。図3は、画像データ生成部の動作処理手順を示すフローチャートである。画像データ生成部2は、CADデータ入力部1に入力されたCADデータ21から製品形状データを抽出し、加工特性に応じた方向に配置する(ステップS201)。
 次に、画像データ生成部2は、製品形状データからワイヤフレーム画像を生成する(ステップS202)。この後、画像データ生成部2は、製品形状データからシェーディング画像を生成する(ステップS203)。
 画像データ生成部2は、たとえば、製品形状データからエッジやシルエットを数学的に解析することによって、製品形状データからワイヤフレーム画像を生成する。具体的には、画像データ生成部2は、製品(製品形状データ)から十分に離れた視点位置から、以下に示す視線方向ベクトルと、以下に示す画面の上方向ベクトルとを組み合わせて画像データを生成する。そして、画像データ生成部2は、生成した画像データが、画像データ枠内におさまるように、画像データにスケールをかけることによって、ワイヤフレーム画像を生成する。
 また、画像データ生成部2は、たとえば、任意の光源を基に、製品形状データによって定義される形状に陰影をつけることにより、シェーディング画像を生成する。具体的には、画像データ生成部2は、製品(製品形状データ)から十分に離れた視点位置から、以下に示す視線方向ベクトルと、以下に示す画面の上方向ベクトルとを組み合わせて画像データを生成する。そして、画像データ生成部2は、生成した画像データが、画像データ枠内におさまるように、画像データにスケールをかけることによって、シェーディング画像を生成する。
 なお、視線方向ベクトルは、視点位置からの方向ベクトルである。また、必ずしも、全視線方向の組み合わせの画像データが必要ではなく、丸物加工の場合、たとえば正面、背面、左側面、右側面、上面および下面の画像データを生成すればよい。
 正面:視線方向ベクトル(0,0,1)、画面の上方向ベクトル(1,0,0)
 背面:視線方向ベクトル(0,0,-1)、画面の上方向ベクトル(1,0,0)
 左側面:視線方向ベクトル(0,1,0)、画面の上方向ベクトル(1,0,0)
 右側面:視線方向ベクトル(0,-1,0)、画面の上方向ベクトル(1,0,0)
 上面:視線方向ベクトル(-1,0,0)、画面の上方向ベクトル(0,1,0)
 下面:視線方向ベクトル(1,0,0)、画面の上方向ベクトル(0,-1,0)
 左上正面:視線方向ベクトル(-1,1,1)、画面の上方向ベクトル(1,0,0)
 左下正面:視線方向ベクトル(1,1,1)、画面の上方向ベクトル(1,0,0)
 右上正面:視線方向ベクトル(-1,-1,1)、画面の上方向ベクトル(1,0,0)
 右下正面:視線方向ベクトル(1,-1,1)、画面の上方向ベクトル(1,0,0)
 左上背面:視線方向ベクトル(-1,1,-1)、画面の上方向ベクトル(1,0,0)
 左下背面:視線方向ベクトル(1,1,-1)、画面の上方向ベクトル(1,0,0)
 右上背面:視線方向ベクトル(-1,-1,-1)、画面の上方向ベクトル(1,0,0)
 右下背面:視線方向ベクトル(1,-1,-1)画面の上方向ベクトル(1,0,0)
 ここで、製品形状データを、加工特性に応じた方向に配置する処理(ステップS201の処理)について説明する。被加工物への加工処理としては、例えば、旋削加工を行う丸物加工、またはミル加工を行う角物加工などがある。
 図4は、丸物加工を行う場合の製品形状データの配置処理手順を示すフローチャートである。また、図5は、角物加工を行う場合の製品形状データの配置処理手順を示すフローチャートである。また、図6は、丸物加工を行う場合の製品形状データの配置例を示す図であり、図7は、角物加工を行う場合の製品形状データの配置例を示す図である。丸物加工の対象物が丸物加工物50であり、角物加工の対象物が角物加工物60である。
 被加工物への加工処理が、旋削加工を行う丸物加工の場合、画像データ生成部2は、CADデータ21内の製品形状データから最大径の円柱面(以下、最大円柱面という)を検索する(ステップS301)。そして、画像データ生成部2は、最大円柱面51の中心軸(柱軸)がZ軸と一致するよう、製品形状データを回転・移動させる(ステップS302)。
 次に、画像データ生成部2は、CADデータからZ軸と垂直でない平面を検索する。ここでの画像データ生成部2は、最大円柱面51の中心軸に垂直とならない平面(円柱の上面に非平行な平面)52を検索する。最大円柱面51の中心軸に対して垂直とならない平面が複数ある場合、画像データ生成部2は、例えば、最大面積の平面を検索する(ステップS303)。
 画像データ生成部2は、最大円柱面51の中心軸に垂直とならない平面(円柱の上面に非平行な平面)52がある場合(ステップS304、Yes)、その平面52の法線ベクトルが+X軸方向ベクトル(1,0,0)を向き、かつY値が0、X値が正値となるように、最大円柱面51の中心軸(Z軸)を中心として製品(製品形状データ)(丸物加工物50)を回転させる(ステップS305)。
 また、最大円柱面51の中心軸(Z軸)に対して垂直とならない平面が無い場合(ステップS304、No)、画像データ生成部2は、CADデータから穴形状を検索する。複数の穴形状がある場合、画像データ生成部2は、最大径の穴形状を検索する(ステップS306)。
 画像データ生成部2は、最大円柱面51に形成される穴53の位置に基づいて、製品を回転させる。例えば、画像データ生成部2は、穴53の形状が円柱状である場合、穴53を構成する円柱面(穴53の側壁面)の中心軸ベクトルが+X軸方向ベクトル(1,0,0)を向き、かつY値が0となるように、最大円柱面51の中心軸を中心として製品を回転させる(ステップS307)。
 この場合において、穴形状が複数ある場合、画像データ生成部2は、最大径の穴形状の円柱面を回転させる。画像データ生成部2は、平面の法線ベクトルまたは穴形状の円柱面の中心軸ベクトルが、+X軸方向ベクトルを向くように回転させた後、製品(CADデータ)の-Z軸方向の端点もしくは端面の位置ベクトルのZ値がZ=0となるように、製品形状データをZ軸に沿って平行移動させる(ステップS308)。
 被加工物への加工処理が、ミル加工を行う角物加工の場合、画像データ生成部2は、CADデータ21内の製品形状データから最大面積を有した平面61を検索する(ステップS401)。
 そして、画像データ生成部2は、製品形状データの+Z軸方向の端点もしくは端面の位置ベクトルのZ値が0となるように、Z軸に沿って製品形状データ(CADデータ)を平行移動する(ステップS402)。
 次に、画像データ生成部2は、製品形状データの長手方向がX軸方向(1,0,0)となるように、製品形状データを回転移動する(ステップS403)。そして、画像データ生成部2は、製品形状データの-X軸方向の端点もしくは端面の位置ベクトルのX値がX=0となるように、X軸に沿って製品形状データを平行移動させる。さらに、製品形状データの-Y軸方向の端点もしくは端面の位置ベクトルのY値がY=0となるようにY軸に沿って製品形状データを平行移動させる(ステップS404)。画像データ生成部2は、生成したシェーディング画像を仕上がり形状画像データとして画像データDB14に保存する。
 図8は、正面の画像データの一例を示す図であり、図9は、背面の画像データの一例を示す図である。また、図10は、左側面の画像データの一例を示す図であり、図11は、右側面の画像データの一例を示す図である。また、図12は、上面の画像データの一例を示す図であり、図13は、下面の画像データの一例を示す図である。
 また、図14は、左上正面の画像データの一例を示す図であり、図15は、左下正面の画像データの一例を示す図である。また、図16は、右上正面の画像データの一例を示す図であり、図17は、右下正面の画像データの一例を示す図である。
 また、図18は、左上背面の画像データの一例を示す図であり、図19は、左下背面の画像データの一例を示す図である。また、図20は、右上背面の画像データの一例を示す図であり、図21は、右下背面の画像データの一例を示す図である。図8~図21に示した各画像データは、図6に示した丸物加工物50の画像データに対応している。
 ここで、NCプログラム検索部3の動作について説明する。NCプログラム検索部3は、画像データ生成部2が生成した1~複数の視線方向の画像データを元画像として、画像データDB14の画像データの中から、同じ視線方向どうしの画像データを対象画像として1~複数抽出する。換言すると、画像データ生成部2が生成した画像データの視線方向と同じ視線方向を有した画像データが、画像データDB14内から対象画像として抽出される。NCプログラム検索部3は、抽出した対象画像と、元画像との間の類似度を算出する。
 NCプログラム検索部3は、算出した類似度に基づいて、類似度が高い順番で画像データの一覧を生成する。なお、NCプログラムDB13に保存されているNCプログラムに対応する画像データが、画像データDB14に無い場合には、加工仕上がり形状生成部4が、NCプログラムから加工仕上がり形状を生成する。そして、画像データ生成部2が、生成された加工仕上がり形状から画像データを生成し、画像データDB14に保存する。
 なお、NCプログラム検索部3は、加工対象物を加工する際に用いるNCプログラムに関する情報として、素材の材質、加工種類、工具種類および工具呼びの少なくとも1つが絞り込み情報として、指示入力部8から入力された場合に、過去に作成されたNCプログラムの中から絞り込み情報に応じたNCプログラムを抽出してもよい。この場合、NCプログラム検索部3は、抽出したNCプログラムに対応する画像データを用いて類似度を算出する。これにより、NCプログラムの検索を短時間で実行することが可能となる。
 ここで、類似度が高い順番で並べられた画像データ一覧の生成処理(ステップS103の処理)について説明する。図22は、類似度が高い順番で並べられた画像データ一覧の生成処理手順を示すフローチャートである。
 NCプログラム検索部3は、ステップS102で生成されて画像データ保存部11に保存され画像データと、加工仕上がり形状生成部4で生成されて画像データDB14に保存されている加工仕上がり形状の画像データとの比較を行い、類似度を算出する(ステップS501)。
 NCプログラム検索部3は、例えば、元画像と対象画像とを比較し、元画像に描画されている画素と、対象画像に描画されている画素との一致数または一致割合に基づいて、類似度を算出する。たとえば、NCプログラム検索部3は、画像データ生成部2が生成した画像データに描画されている画素の全画素数を分母とし、描画されている部分が一致する画素数を分子とすることによって、類似度を算出する。換言すると、NCプログラム検索部3は、元画像と対象画像との間で一致している画素数を、元画像の全画素数で割った値を類似度とする。この方法で類似度が算出された場合、元画像と対象画像との間で全ての画素が一致する場合は類似度が1となり、全ての画素が一致しない場合は類似度が0となる。
 また、NCプログラム検索部3は、元画像の形状寸法(第1の形状寸法)と対象画像の形状寸法(第2の形状寸法)とを比較することによって類似度を算出してもよい。この場合、NCプログラム検索部3は、製品(加工対象物)の形状データに基づいて、元画像の形状寸法を算出してもよいし、加工対象画像データに基づいて、元画像の形状寸法を算出してもよい。また、NCプログラム検索部3は、仕上がり形状画像データに基づいて、対象画像の形状寸法を算出する。
 たとえば、NCプログラム検索部3は、元画像および対象画像の、エッジの位置を比較することによって類似度を算出する。この場合、NCプログラム検索部3は、例えば、元画像のエッジと、最も近い対象画像のエッジとの画像上での距離を求める。そして、NCプログラム検索部3は、求めた距離に応じた類似値をエッジ間ごとに設定し、エッジ間ごとの類似値(距離)の分布を導出する。さらに、NCプログラム検索部3は、導出した類似値の分布に基づいて、類似度を算出する。
 例えば、NCプログラム検索部3は、エッジ間ごとの距離が0の場合の類似値を1とし、距離が1の場合の類似値を0.9とし、距離が2の場合の類似値を0.8とする。このように、NCプログラム検索部3は、エッジ間ごとの距離が長くなるに従って類似値が小さくなり、距離が10以上離れている場合の類似値が0となるよう、距離に対する類似値を設定する。NCプログラム検索部3は、たとえば、エッジ間ごとの類似値の平均値を類似度とする。この方法で類似度が算出された場合、元画像と対象画像との間で画像が一致している場合には類似度が1となり、全く一致しない場合は類似度が0となる。
 なお、NCプログラム検索部3は、元画像および対象画像の、エッジ端点の位置を比較することによって類似度を算出してもよい。この場合も、NCプログラム検索部3は、エッジの位置を比較する場合と同様に、元画像と対象画像との間のエッジ端点間の距離を求める。そして、NCプログラム検索部3は、求めた距離に応じた類似値をエッジ端点間ごとに設定し、エッジ端点間ごとの類似値(距離)の分布を導出する。さらに、NCプログラム検索部3は、導出した類似値の分布に基づいて、類似度を算出する。また、NCプログラム検索部3は、元画像および対象画像の、エッジおよびエッジ端点の両方の位置を比較することによって類似度を算出してもよい。
 NCプログラム検索部3は、類似度を算出した後、算出した類似度の高い順番に画像データDB14の画像をソートし、一覧表示させる(ステップS502)。図23は、加工仕上がり形状の一例を示す図である。図24は、図23の形状データを基にして類似度が高い順番に並べられた画像一覧の表示例である。
 NCプログラム編集部5は、類似度が高い順番に並べられた画像データの一覧からオペレータが選択した画像データに関連するNCプログラムを、NCプログラムDB13から取得し、画像データとともに表示部7に表示する。
 また、NCプログラム検索部3は、画像の類似度だけでなく、加工仕上がり形状生成部4で生成された各NCプログラムの加工仕上がり形状の径方向、Z軸方向の最大長さ、またはX軸、Y軸、Z軸の各軸方向の最大長さなどを画像データDB14内に保存しておいてもよい。この場合、NCプログラム検索部3は、保存しておいたデータと、CADデータ入力部1で入力された製品形状の寸法長さとを比較して、例えば、径方向の長さの差分が少ない加工仕上がり形状の順番にソートして製品形状データを一覧表示する。これにより、例えば、作業者が指定した方向の長さでソートされたNCプログラムに、絞り込むことができる。
 また、NCプログラム検索部3は、NCプログラムDB13に保存されているNCプログラムから、作業者が指定した素材材質、特定の加工種類、特定の加工形状または特定の工具種類/予備などと一致するよう、NCプログラムをソートしてもよい。
 加工仕上がり形状生成部4は、NCプログラムの加工工程ごとに仕上がり形状の画像データを生成する。NCプログラムにおける各加工工程は、加工工程の種類と、使用工具と、加工する形状(領域)を定義する形状情報とを用いて規定されている。
 加工工程の種類には、たとえば、(1)旋削加工、(2)穴あけ加工、(3)線加工、(4)領域加工などがある。具体的には、(1)旋削加工には、(1-1)旋削加工棒材加工、(1-2)旋削ドリル加工、(1-3)旋削ねじ切り加工などがある。また、(2)穴あけ加工には、(2-1)ドリル加工、(2-2)段付き穴開け加工、(2-3)タップ加工などがある。また、(3)線加工には、工具を指定した形状沿いに動かす線加工などがあり、(4)領域加工には、指定した形状を除去する(4-1)ポケットミル加工、(4-2)表面加工などがある。
 使用工具には、たとえば、旋削バイト、ドリル、エンドミル、フェイスミル、タップなどがある。加工する形状を定義する形状情報では、直線と円弧を用いて形状が定義される。
 (1)旋削加工は、旋削加工を行う形状が+XZ平面に定義されている。加工仕上がり形状生成部4は、旋削加工の形状情報(旋削加工を行う形状)を、旋削軸を中心に360度回転させることによって、旋削加工の除去形状を生成する。
 (2)穴あけ加工は、加工工程ごとに、穴径、穴深さ、穴底角度および穴の淵の面取り量が定義されている。加工仕上がり形状生成部4は、穴径、穴深さ、穴底角度および穴の淵の面取り量から、穴あけ加工の単体の除去形状を生成し、穴あけ加工を行う位置が定義されている形状情報に平行移動もしくは回転移動させることによって、穴あけ加工の除去形状を生成する。
 また、加工仕上がり形状生成部4は、使用する工具形状を、線加工として定義された形状情報に沿ってスウィープさせたスウィープ形状を生成し、これにより線加工の除去形状を生成する。
 また、NCプログラムに素材外径、素材内径または素材長さが定義されている場合、加工仕上がり形状生成部4は、定義された素材外径を直径とし素材長さを円柱の軸方向とする円柱形状を生成する。そして、加工仕上がり形状生成部4は、素材内径を直径とし、素材長さを円柱の軸方向とする円柱形状を取り去った形状を素材形状とする。
 素材がNCプログラムに定義されていない場合、加工仕上がり形状生成部4は、NCプログラムの各加工工程で生成された除去形状の全てを包含する直方体を生成し、素材形状とする。
 ここで、加工仕上がり形状生成部4の動作について説明する。図25は、旋削加工の加工形状を生成する処理手順を示すフローチャートである。加工仕上がり形状生成部4は、旋削加工を行う形状が+XZ平面に定義され、かつ旋削加工の形状情報からなる旋削加工を行う際の、旋削加工断面形状を生成する(ステップS601)。そして、加工仕上がり形状生成部4は、旋削加工断面形状を旋削軸であるZ軸を中心に360度回転させて、旋削加工の除去形状を生成する(ステップS602)。加工仕上がり形状生成部4は、旋削加工断面形状をZ軸を中心に360度回転させることによって、旋削加工断面形状に押し出された領域を、旋削加工の除去形状とする。
 図26は、面加工の加工形状を生成する処理手順を示すフローチャートである。加工仕上がり形状生成部4は、面加工で定義された形状情報を閉形状として、加工平面形状を生成する(ステップS701)。そして、加工仕上がり形状生成部4は、加工平面形状を加工平面の法線ベクトルに沿って、取り代分だけスウィープさせた形状を、面加工の除去形状とする(ステップS702)。加工仕上がり形状生成部4は、加工平面形状をスウィープさせることによって、加工平面形状に押し出された領域を、面加工の除去形状とする。
 図27は、線加工の加工形状を生成する処理手順を示すフローチャートである。加工仕上がり形状生成部4は、線加工で定義される形状要素ごとに、形状要素を含む平面形状を生成する。具体的には、加工仕上がり形状生成部4は、形状要素が直線の場合は長方形平面を生成し、形状要素が円弧の場合は扇形平面を生成する(ステップS801)。ここでの各形状要素の幅は、線加工で定義されている径方向の取り代となる。次に、加工仕上がり形状生成部4は、形状要素の交点において、線加工で定義されている径方向の取り代を直径とする円形状(交点形状)を生成する(ステップS802)。加工仕上がり形状生成部4は、ステップS801において生成した全形状要素を含む平面形状と、ステップS802において生成した全交点形状を足し算して、線加工平面形状を生成する(ステップS803)。
 そして、加工仕上がり形状生成部4は、ステップS803において生成した線加工平面形状を、平面の法線ベクトル方向に、線加工で定義された軸方向の取り代の長さ分スウィープした形状を線加工の除去形状とする(ステップS804)。加工仕上がり形状生成部4は、線加工平面形状をスウィープさせたことによって押し出された形状を、線加工の除去形状とする。
 図28は、穴加工の加工形状を生成する処理手順を示すフローチャートである。加工仕上がり形状生成部4は、穴加工で定義される穴深さ、穴先端角度、穴面取り、および穴径から、XZ平面に穴断面形状を生成する(ステップS901)。そして、加工仕上がり形状生成部4は、ステップS901で生成した穴断面形状を、Z軸を中心に360度回転させて、穴加工単体形状を生成する(ステップS902)。穴断面形状を、Z軸を中心に360度回転させたことによって、押し出される領域が、穴加工単体形状となる。
 さらに、加工仕上がり形状生成部4は、穴加工で定義される穴個数分穴加工単体形状をコピーして、加工位置、加工方向に合わせてコピーした穴単体形状を、それぞれ平行・回転移動させて、穴加工の除去形状とする(ステップS903)。
 このように、加工仕上がり形状生成部4は、過去に作成されたNCプログラムの加工単位ごとの加工に関する定義データに基づいて、素材から除去される形状である除去形状を生成する。また、加工仕上がり形状生成部4は、定義データに基づいて、素材の形状である素材形状を生成する。
 加工仕上がり形状生成部4は、NCプログラムから生成した素材形状から、NCプログラムの各加工工程で生成した除去形状を全て取り去ることによって、加工仕上がり形状を生成する。
 なお、NCプログラムDB13に保存されているNCプログラムに対応する画像データが、画像データDB14に無い場合は、加工仕上がり形状生成部4がNCプログラムから加工仕上がり形状を生成する。そして、画像データ生成部2は、生成した加工仕上がり形状から画像データを生成し、画像データDB14に保存する。
 図29は、旋削加工断面形状の一例を示す図であり、図30は、旋削加工の除去形状の一例を示す図であり、図31は、素材形状から旋削加工の除去形状を取り去った加工仕上がり形状の一例を示す図である。
 また、図32は、面加工の加工平面形状の一例を示す図であり、図33は、面加工の除去形状の一例を示す図であり、図34は、図33に示した面加工の除去形状が取り去られた加工仕上がり形状の一例を示す図である。図34では、素材形状から旋削加工の除去形状と面加工の除去形状を取り去った後の、加工仕上がり形状の一例を示している。
 また、図35は、線加工の形状データの一例を示す図であり、図36は、線加工の形状要素を含む平面形状の一例を示す図である。また、図37は、線加工の除去形状の一例を示す図であり、図38は、図37に示した線加工の除去形状が取り去られた加工仕上がり形状の一例を示す図である。図38では、素材形状から旋削加工の除去形状と面加工の除去形状と線加工の除去形状とを取り去った後の、加工仕上がり形状の一例を示している。
 また、図39は、穴断面形状の一例を示す図であり、図40は穴加工単体形状の一例を示す図である。また、図41は、穴加工の除去形状の一例を示す図であり、図42は、図41に示した穴加工の除去形状が取り去られた加工仕上がり形状の一例を示す図である。図42では、素材形状から旋削加工の除去形状と面加工の除去形状と線加工の除去形状と穴加工の除去形状とを取り去った後の、加工仕上がり形状の一例を示している。
 ここで、NCプログラム編集部5の動作について説明する。NCプログラム編集部5は、類似度が高い順番に並べられた画像データの一覧からオペレータが選択した画像データに関連するNCプログラムを、NCプログラムDB13から取得し、画像データとともに表示部7に表示する。
 そして、表示部7に表示されているNCプログラムがオペレータによって編集されると、NCプログラム編集部5は、編集された内容を反映したNCプログラムをNCプログラム出力部9に送る。これにより、NCプログラム出力部9は、NCプログラム編集部5から送られてきたNCプログラムを出力する。
 NCプログラム編集部5は、たとえば、NCプログラム内の各加工工程の除去形状を生成し、加工仕上がり形状とともに、表示部7に表示させる。表示部7に表示されている各加工工程の除去形状がオペレータによって選択されると、NCプログラム編集部5は、選択された除去形状に対応するNCプログラム上の各加工工程を取り出して、別のNCプログラムに除去形状とともに挿入させてもよい。換言すると、1~複数の仕上がり形状画像データの中から、外部入力によって複数の加工単位が指定されると、NCプログラム編集部5は、指定された加工単位を組み合わせてNCプログラムを生成してもよい。
 図43は、ドリル加工を含んだNCプログラムの加工仕上がり形状の一例を示す図であり、図44は、ドリル加工の除去形状を示す図であり、図45は、ドリル加工のNCプログラムの一例を示す図である。
 また、図46は、ドリル加工を含まないNCプログラムの加工仕上がり形状の一例を示す図である。また、図47は、ドリル加工の除去形状および加工プログラムを、加工仕上がり形状に挿入した後の加工仕上がり形状の一例を示す図である。図47では、図42のドリル加工を含んだNCプログラムの加工仕上がり形状からドリル加工の除去形状及び加工プログラムを取り出し、図45の加工仕上がり形状に挿入した後の加工仕上がり形状の一例を示している。また、図48は、図47の加工形状データに挿入したドリル加工のNCプログラムの一例を示す図である。
 図49は、挿入したドリル加工を移動し、さらに挿入したドリル加工をコピーして再度挿入し移動した加工仕上がり形状の一例を示す図である。また、図50は、挿入し移動したドリル加工とコピーして挿入し移動したドリル加工とで構成される除去形状の一例を示す図であり、図51は、挿入し移動したドリル加工とコピーして挿入し移動したドリル加工とで構成されるNCプログラムの一例を示す図である。
 このように、本実施の形態のNCプログラム作成装置101は、製品(加工対象物)の形状データ(CADデータ21)が外部入力されると、製品の形状データに対応する画像データ(加工対象画像データ)を生成する。また、NCプログラム作成装置101は、過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データ(仕上がり形状画像データ)を生成し、対応するNCプログラムと関連付けて保存しておく。そして、NCプログラム作成装置101は、加工対象画像データと、仕上がり形状画像データとの比較を行うことによって両者の類似度を算出する。NCプログラム作成装置101は、類似度に基づいて、加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索して一覧表示させる。そして、NCプログラム作成装置101は、仕上がり形状画像データの候補の中から、外部入力(オペレータ)によって指定された仕上がり形状画像データのNCプログラムを表示する。
 このため、加工する被加工物に類似する画像データを容易に検索することが可能となる。また、画像データ(CADデータ21)に応じたNCプログラムを容易に取得することが可能となる。
 このように実施の形態によれば、画像データの類似度を算出し、類似度が高い順番に並べられた画像データの一覧を生成しているので、CADデータ21に類似する加工仕上がり形状のNCプログラムを容易に効率良く検索することが可能になる。したがって、NCプログラムの再利用が容易になり、NCプログラムを容易に効率よく作成できる。
 また、過去のNCプログラムから仕上がり形状画像データを生成しているので、工具経路シミュレーションを行う場合よりも、計算量が少なく短時間で仕上がり形状画像データを得ることが可能となる。
 また、元画像の形状寸法と対象画像の形状寸法とを比較することによって類似度を算出しているので、相似形の形状に対しても、画像データの類似性を解析することが可能となる。
 また、元画像に描画されている画素と、対象画像に描画されている画素との一致数または一致割合に基づいて、類似度を算出しているので、画像データの類似度を、容易に定量化できる。
 1~複数の視線方向の画像データを元画像として、画像データDB14の画像データの中から、同じ視線方向どうしの画像データを対象画像として1~複数抽出するので、検索する画像データの類似度の精度を向上できる。また、仕上がり形状画像データの中から指定された加工単位を組み合わせてNCプログラムを生成しているので、容易に加工単位の再利用を行うことが可能となる。
 以上のように、本発明に係るNCプログラム検索方法、NCプログラム検索装置、NCプログラム作成方法およびNCプログラム作成装置は、工作機械を数値制御するためのNCプログラムの検索に適している。
 1 CADデータ入力部、2 画像データ生成部、3 NCプログラム検索部、4 加工仕上がり形状生成部、5 NCプログラム編集部、6 対話操作処理部、7 表示部、8 指示入力部、9 NCプログラム出力部、11 画像データ保存部、12 NCプログラム保存部、13 NCプログラムDB、14 画像データDB、21 CADデータ、31 NCプログラム、50 丸物加工物、51 最大円柱面、52,61 平面、53 穴、60 角物加工物、101 NCプログラム作成装置、102 作成支援装置。

Claims (13)

  1.  加工対象物の形状データが外部入力されると、前記加工対象物の形状データに対応する画像データを加工対象画像データとして生成する第1の画像生成ステップと、
     過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データを仕上がり形状画像データとして生成する第2の画像生成ステップと、
     前記仕上がり形状画像データを、対応するNCプログラムと関連付けて保存する保存ステップと、
     前記加工対象画像データと、前記仕上がり形状画像データとの比較を行うことによって両者の類似度を算出する類似度算出ステップと、
     前記類似度に基づいて、前記加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索して表示する検索ステップと、
     前記仕上がり形状画像データの候補の中から、外部入力によって指定された仕上がり形状画像データのNCプログラムを表示する第1のプログラム表示ステップと、
     を含むことを特徴とするNCプログラム検索方法。
  2.  前記検索ステップでは、前記類似度が高い順番で、前記仕上がり形状画像データの候補が一覧表示されることを特徴とする請求項1に記載のNCプログラム検索方法。
  3.  前記第2の画像生成ステップは、
     前記過去に作成されたNCプログラムの加工単位ごとの加工に関する定義データに基づいて、素材から除去される形状である除去形状を生成する除去形状生成ステップと、
     前記定義データに基づいて、前記素材の形状である素材形状を生成する素材形状生成ステップと、
     前記素材形状および前記除去形状を用いて、前記仕上がり形状画像データを生成する画像生成ステップと、
     を有することを特徴とする請求項1または2に記載のNCプログラム検索方法。
  4.  前記第1の画像生成ステップは、
     前記加工対象物の形状データまたは前記加工対象画像データに基づいて、前記加工対象物の形状寸法である第1の形状寸法を算出する第1の形状寸法算出ステップを有し、
     前記第2の画像生成ステップは、
     前記仕上がり形状画像データに基づいて、前記加工仕上がり形状の形状寸法である第2の形状寸法を算出する第2の形状寸法算出ステップをさらに有し、
     前記類似度算出ステップは、
     前記第1の形状寸法と前記第2の形状寸法とに基づいて、前記加工対象物の形状と前記加工仕上がり形状とを比較することによって類似度を算出することを特徴とする請求項1または2に記載のNCプログラム検索方法。
  5.  前記加工対象物を加工する際に用いるNCプログラムに関する情報として、素材の材質、加工種類、工具種類および工具呼びの少なくとも1つが絞り込み情報として外部入力によって指定されると、前記過去に作成されたNCプログラムの中から前記絞り込み情報に応じたNCプログラムを抽出するプログラム抽出ステップをさらに含み、
     前記類似度算出ステップでは、
     抽出されたNCプログラムに対応する仕上がり形状画像データを抽出し、抽出した仕上がり形状画像データと、前記加工対象画像データとの比較を行うことによって前記類似度を算出することを特徴とする請求項1または2に記載のNCプログラム検索方法。
  6.  前記類似度算出ステップでは、
     前記加工対象画像データの画素と、前記仕上がり形状画像データの画素との間の一致度に基づいて前記類似度を算出することを特徴とする請求項1または2に記載のNCプログラム検索方法。
  7.  前記類似度算出ステップでは、
     前記加工対象画像データのエッジまたはエッジ端点と、前記仕上がり形状画像データのエッジまたはエッジ端点との間の一致度に基づいて前記類似度を算出することを特徴とする請求項1または2に記載のNCプログラム検索方法。
  8.  前記第2の画像生成ステップでは、
     複数の視線方向から前記加工仕上がり形状画像データを生成することを特徴とする請求項1または2に記載のNCプログラム検索方法。
  9.  1~複数の仕上がり形状画像データの中から、外部入力によって複数の加工単位が指定されると、指定された加工単位を組み合わせてNCプログラムを生成するプログラム生成ステップと、
     生成されたNCプログラムを表示する第2のプログラム表示ステップをさらに含むことを特徴とする請求項1~8のいずれか1つに記載のNCプログラム検索方法。
  10.  外部入力される指示に従って、表示中のNCプログラムを編集する編集ステップをさらに含むことを特徴とする請求項1~9のいずれか1つに記載のNCプログラム検索方法。
  11.  加工対象物の形状データが外部入力される入力部と、
     前記加工対象物の形状データに対応する画像データを加工対象画像データとして生成する画像データ生成部と、
     過去に作成されたNCプログラムを記憶しておくNCプログラム記憶部と、
     前記過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データを仕上がり形状画像データとして生成する仕上がり形状生成部と、
     前記仕上がり形状画像データを、対応するNCプログラムと関連付けて記憶する画像データ記憶部と、
     前記加工対象画像データと、前記仕上がり形状画像データとの比較を行うことによって両者の類似度を算出するとともに、前記類似度に基づいて、前記加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索する検索部と、
     前記仕上がり形状画像データの候補を表示するとともに、
     前記仕上がり形状画像データの候補の中から、外部入力によって仕上がり形状画像データが指定されると、指定された仕上がり形状画像データに対応するNCプログラムを表示する表示部と、
     を備えることを特徴とするNCプログラム検索装置。
  12.  加工対象物の形状データが外部入力されると、前記加工対象物の形状データに対応する画像データを加工対象画像データとして生成する第1の画像生成ステップと、
     過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データを仕上がり形状画像データとして生成する第2の画像生成ステップと、
     前記仕上がり形状画像データを、対応するNCプログラムと関連付けて保存する保存ステップと、
     前記加工対象画像データと、前記仕上がり形状画像データとの比較を行うことによって両者の類似度を算出する類似度算出ステップと、
     前記類似度に基づいて、前記加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索して表示する検索ステップと、
     前記仕上がり形状画像データの候補の中から、外部入力によって指定された仕上がり形状画像データのNCプログラムを表示する第1のプログラム表示ステップと、
     外部入力される指示に従って、表示中のNCプログラムを編集する編集ステップと、
     を含むことを特徴とするNCプログラム作成方法。
  13.  加工対象物の形状データが外部入力される入力部と、
     前記加工対象物の形状データに対応する画像データを加工対象画像データとして生成する画像データ生成部と、
     過去に作成されたNCプログラムを記憶しておくNCプログラム記憶部と、
     前記過去に作成されたNCプログラムに基づいて、加工仕上がり形状の画像データを仕上がり形状画像データとして生成する仕上がり形状生成部と、
     前記仕上がり形状画像データを、対応するNCプログラムと関連付けて記憶する画像データ記憶部と、
     前記加工対象画像データと、前記仕上がり形状画像データとの比較を行うことによって両者の類似度を算出するとともに、前記類似度に基づいて、前記加工対象画像データに類似または一致する仕上がり形状画像データの候補を検索する検索部と、
     前記仕上がり形状画像データの候補を表示するとともに、
     前記仕上がり形状画像データの候補の中から、外部入力によって仕上がり形状画像データが指定されると、指定された仕上がり形状画像データに対応するNCプログラムを表示する表示部と、
     外部入力される指示に従って、表示中のNCプログラムを編集する編集部と、
     を備えることを特徴とするNCプログラム作成装置。
PCT/JP2012/081978 2012-12-10 2012-12-10 Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置 WO2014091543A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/JP2012/081978 WO2014091543A1 (ja) 2012-12-10 2012-12-10 Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置
DE112012001315.8T DE112012001315T5 (de) 2012-12-10 2012-12-10 NC-Programmsuchverfahren, NC-Programmsucheinheit, NC-Programmerzeugungsverfahren und NC-Programmerzeugungseinheit
JP2013519297A JP5349713B1 (ja) 2012-12-10 2012-12-10 Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置
US14/004,356 US9811759B2 (en) 2012-12-10 2012-12-10 NC program searching method, NC program searching unit, NC program creating method, and NC program creating unit
CN201280018451.7A CN103988135B (zh) 2012-12-10 2012-12-10 Nc程序检索方法、nc程序检索装置、nc程序生成方法以及nc程序生成装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/081978 WO2014091543A1 (ja) 2012-12-10 2012-12-10 Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置

Publications (1)

Publication Number Publication Date
WO2014091543A1 true WO2014091543A1 (ja) 2014-06-19

Family

ID=49764943

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/081978 WO2014091543A1 (ja) 2012-12-10 2012-12-10 Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置

Country Status (5)

Country Link
US (1) US9811759B2 (ja)
JP (1) JP5349713B1 (ja)
CN (1) CN103988135B (ja)
DE (1) DE112012001315T5 (ja)
WO (1) WO2014091543A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016186686A (ja) * 2015-03-27 2016-10-27 ファナック株式会社 状況に応じたプログラムの提示機能を備えた数値制御装置
JP2018094693A (ja) * 2016-12-15 2018-06-21 国立大学法人神戸大学 加工支援システム
JP2018140407A (ja) * 2017-02-27 2018-09-13 ブラザー工業株式会社 レーザ加工装置、プログラム、およびデータ記憶方法
US10466681B1 (en) 2014-09-02 2019-11-05 Machine Research Corporation Systems and methods for machining knowledge reuse
US10817526B2 (en) 2014-07-16 2020-10-27 Machine Research Corporation Systems and methods for searching a machining knowledge database
JP6833150B1 (ja) * 2020-06-30 2021-02-24 三菱電機株式会社 加工プログラム検索装置および加工プログラム検索方法
JP7515689B1 (ja) 2022-06-10 2024-07-12 三菱電機株式会社 加工プログラム作成支援装置、加工システム、加工プログラム作成支援方法、および加工方法

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6351738B2 (ja) * 2014-09-30 2018-07-04 株式会社牧野フライス製作所 工作機械の制御装置
US10222783B2 (en) * 2014-10-29 2019-03-05 Mitsubishi Electric Corporation Numerical control device, NC machining device, and NC machining method
CN104360638A (zh) * 2014-10-29 2015-02-18 沈阳黎明航空发动机(集团)有限责任公司 一种基于AutoCad的孔类特征数控加工***及方法
CN105867309A (zh) * 2016-03-15 2016-08-17 天津大学 一种多类型组合孔群数控加工方法
JP6883761B2 (ja) * 2016-10-17 2021-06-09 パナソニックIpマネジメント株式会社 プログラム生成方法、プログラム生成装置および制御プログラム
WO2018078408A1 (en) 2016-10-28 2018-05-03 The Nielsen Company (Us), Llc Reducing scale estimate errors in shelf images
JP6408040B2 (ja) * 2017-01-17 2018-10-17 ファナック株式会社 数値制御装置
JP2018194898A (ja) * 2017-05-12 2018-12-06 オムロン株式会社 支援装置、支援装置の制御方法、情報処理プログラム、および記録媒体
JP6829221B2 (ja) * 2018-04-13 2021-02-10 ファナック株式会社 数値制御システム
US11580156B2 (en) 2019-11-28 2023-02-14 Mitsubishi Electric Corporation Workpiece image search apparatus and workpiece image search method
CN110879570A (zh) * 2019-11-29 2020-03-13 中国航发沈阳黎明航空发动机有限责任公司 一种快速孔加工编程方法
CN117320840B (zh) * 2021-10-04 2024-04-16 三菱电机株式会社 加工程序生成装置及加工程序生成方法
WO2023238373A1 (en) * 2022-06-10 2023-12-14 Mitsubishi Electric Corporation Machining program creation support device, machining system, machining program creation support method, and machining method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049211A (ja) * 1996-08-02 1998-02-20 Sodick Co Ltd 加工用数値制御プログラム名表示方法及び装置
JP2000284820A (ja) * 1999-03-31 2000-10-13 Sodick Co Ltd 形彫放電加工装置及び形彫放電加工のncプログラムの作成方法
JP2001255916A (ja) * 2000-03-10 2001-09-21 Sodick Co Ltd 形彫放電加工装置のncプログラムの管理装置および管理方法
JP2003058215A (ja) * 2001-08-09 2003-02-28 Mori Seiki Co Ltd 類似加工データ検索装置及び自動プログラミング装置

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58163009A (ja) * 1982-03-23 1983-09-27 Toyoda Mach Works Ltd 対話式デ−タ入力機能を備えた数値制御装置における加工情報入力方法
JP2862036B2 (ja) * 1991-09-17 1999-02-24 三菱電機株式会社 数値制御装置
JP3599360B2 (ja) * 1993-08-25 2004-12-08 キヤノン株式会社 形状モデリング装置及び形状モデリング方法
JP3426002B2 (ja) 1993-09-20 2003-07-14 三菱電機株式会社 物体認識装置
JPH0962326A (ja) 1995-08-21 1997-03-07 Toshiba Corp Nc加工装置
EP1065029A4 (en) * 1998-12-25 2007-05-23 Okuma Machinery Works Ltd METHOD AND DEVICE FOR CREATING NUMERICAL CONTROL DATA
JP4167390B2 (ja) * 2000-11-20 2008-10-15 日本電気株式会社 物体照合方法,物体照合装置,およびそのプログラムを記録した記録媒体
CN100461051C (zh) * 2003-10-23 2009-02-11 富士通株式会社 加工信息产生装置、程序和加工信息产生方法
JP2006026790A (ja) 2004-07-15 2006-02-02 Fanuc Ltd 教示モデル生成装置
JP2007316966A (ja) * 2006-05-26 2007-12-06 Fujitsu Ltd 移動ロボット、その制御方法及びプログラム
US7805215B2 (en) * 2006-08-01 2010-09-28 Mitsubishi Electric Corporation Programming device and programming method
JP4929928B2 (ja) * 2006-08-31 2012-05-09 富士通株式会社 データベース管理プログラム、データベース管理装置、データベース管理方法
JP2008077594A (ja) * 2006-09-25 2008-04-03 Fujitsu Ltd 設計支援装置,設計支援方法,設計支援プログラム,および設計支援システム
JP4874836B2 (ja) 2007-03-01 2012-02-15 株式会社日立製作所 画像検索方法及び画像検索システム
WO2008149431A1 (ja) * 2007-06-06 2008-12-11 Mitsubishi Electric Corporation プログラム作成装置、数値制御装置およびプログラム作成方法
US7767890B2 (en) * 2008-07-09 2010-08-03 Stein Richard A Stringed instrument having components made from glass and methods of manufacturing and assembling the same
KR20120085420A (ko) * 2011-01-24 2012-08-01 두산인프라코어 주식회사 컴퓨터 수치 제어 공작기계에서 대화형 프로그램을 이용한 가공 형상 입력 장치 및 방법
DE112011105373B4 (de) * 2011-06-23 2022-02-10 Mitsubishi Electric Corp. Automatikprogrammvorrichtung und Steuerbefehlserzeugungsverfahren

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049211A (ja) * 1996-08-02 1998-02-20 Sodick Co Ltd 加工用数値制御プログラム名表示方法及び装置
JP2000284820A (ja) * 1999-03-31 2000-10-13 Sodick Co Ltd 形彫放電加工装置及び形彫放電加工のncプログラムの作成方法
JP2001255916A (ja) * 2000-03-10 2001-09-21 Sodick Co Ltd 形彫放電加工装置のncプログラムの管理装置および管理方法
JP2003058215A (ja) * 2001-08-09 2003-02-28 Mori Seiki Co Ltd 類似加工データ検索装置及び自動プログラミング装置

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10817526B2 (en) 2014-07-16 2020-10-27 Machine Research Corporation Systems and methods for searching a machining knowledge database
US10466681B1 (en) 2014-09-02 2019-11-05 Machine Research Corporation Systems and methods for machining knowledge reuse
JP2016186686A (ja) * 2015-03-27 2016-10-27 ファナック株式会社 状況に応じたプログラムの提示機能を備えた数値制御装置
US10539948B2 (en) 2015-03-27 2020-01-21 Fanuc Corporation Numerical controller with program presentation function depending on situation
JP2018094693A (ja) * 2016-12-15 2018-06-21 国立大学法人神戸大学 加工支援システム
JP2018140407A (ja) * 2017-02-27 2018-09-13 ブラザー工業株式会社 レーザ加工装置、プログラム、およびデータ記憶方法
JP6833150B1 (ja) * 2020-06-30 2021-02-24 三菱電機株式会社 加工プログラム検索装置および加工プログラム検索方法
WO2022003828A1 (ja) * 2020-06-30 2022-01-06 三菱電機株式会社 加工プログラム検索装置および加工プログラム検索方法
CN115702400A (zh) * 2020-06-30 2023-02-14 三菱电机株式会社 加工程序检索装置及加工程序检索方法
CN115702400B (zh) * 2020-06-30 2023-11-24 三菱电机株式会社 加工程序检索装置及加工程序检索方法
JP7515689B1 (ja) 2022-06-10 2024-07-12 三菱電機株式会社 加工プログラム作成支援装置、加工システム、加工プログラム作成支援方法、および加工方法

Also Published As

Publication number Publication date
CN103988135A (zh) 2014-08-13
CN103988135B (zh) 2016-10-19
JP5349713B1 (ja) 2013-11-20
DE112012001315T5 (de) 2014-11-06
US9811759B2 (en) 2017-11-07
JPWO2014091543A1 (ja) 2017-01-05
US20140163711A1 (en) 2014-06-12

Similar Documents

Publication Publication Date Title
JP5349713B1 (ja) Ncプログラム検索方法、ncプログラム検索装置、ncプログラム作成方法およびncプログラム作成装置
US20160011584A1 (en) Numerical-control machining-program creation device
JP5163814B2 (ja) 自動プログラミング装置および方法
US9841751B2 (en) Numerical-control machining-program creation device
JP5131385B2 (ja) 自動プログラミング装置および方法
WO2014167736A1 (ja) 数値制御プログラム編集装置、数値制御プログラム編集方法およびプログラム
Li et al. Arc–surface intersection method to calculate cutter–workpiece engagements for generic cutter in five-axis milling
Redonnet et al. Study of the effective cutter radius for end milling of free-form surfaces using a torus milling cutter
Balabokhin et al. Iso-scallop tool path building algorithm “based on tool performance metric” for generalized cutter and arbitrary milling zones in 3-axis CNC milling of free-form triangular meshed surfaces
WO2009150723A1 (ja) 数値制御プログラミング方法及びその装置
Leu et al. NX 10 for engineering design
JP5724833B2 (ja) 自動プログラミング装置および自動プログラミング方法
JP2008135002A (ja) ツール仕様書を作成する方法及びシステム
Li et al. Computing axes of rotation for setup planning using visibility of polyhedral computer-aided design models
Li et al. A new approach for uncut detection and automatic design of EDM electrodes
Lin et al. An investigation on adaptive sculpting for the thin-walled surface parts using on-machine measurement
JP5253829B2 (ja) Cadシステム及びcam加工情報の生成方法
JP2019101799A (ja) 加工プログラム解析装置およびこれを備えた工作機械、ならびに加工プログラム解析プログラムおよび加工プログラム解析方法
Meyer et al. Universal approach for simulation and analysis of cutting edge engagement in orbital drilling processes
Mocian et al. Software for computer aided manufacturing with the MORI SEIKI CNC milling machine
Leu et al. NX 12 for Engineering Design
Chiou Virtual clay: An enhanced marching cubes algorithm for in-process geometry modeling
Bey et al. A new approach for finishing free-form surfaces based on local shapes
Leu et al. NX 10 for Engineering Design--Learning Edition
Gao et al. Research on high-precision geometric simulation for turning machining based on tool driven

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2013519297

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 14004356

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1120120013158

Country of ref document: DE

Ref document number: 112012001315

Country of ref document: DE

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

Ref document number: 12889751

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 12889751

Country of ref document: EP

Kind code of ref document: A1