DE112021007120T5 - DEVICE FOR MODIFYING A MACHINING PROGRAM, METHOD FOR MODIFYING A MACHINING PROGRAM AND MACHINING SYSTEM - Google Patents

DEVICE FOR MODIFYING A MACHINING PROGRAM, METHOD FOR MODIFYING A MACHINING PROGRAM AND MACHINING SYSTEM Download PDF

Info

Publication number
DE112021007120T5
DE112021007120T5 DE112021007120.3T DE112021007120T DE112021007120T5 DE 112021007120 T5 DE112021007120 T5 DE 112021007120T5 DE 112021007120 T DE112021007120 T DE 112021007120T DE 112021007120 T5 DE112021007120 T5 DE 112021007120T5
Authority
DE
Germany
Prior art keywords
point
path
tool
command
machining program
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
DE112021007120.3T
Other languages
German (de)
Inventor
Yunosuke Omoto
Seiji Uozumi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of DE112021007120T5 publication Critical patent/DE112021007120T5/en
Pending legal-status Critical Current

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
    • 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/36202Freeform surfaces
    • 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/36407Follow path with probe, store deviations for correction during normal operation

Landscapes

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

Abstract

Eine Vorrichtung (11) zur Modifikation eines Bearbeitungsprogramms modifiziert ein Bearbeitungsprogramm (4) zur Bearbeitung einer Werkzeugmaschine durch Korrigieren einer Werkzeugbahn, die eine Bahn ist, auf der ein Werkzeug durch die Werkzeugmaschine bewegt wird. Die Vorrichtung (11) zur Modifikation eines Bearbeitungsprogramms beinhaltet: eine Einheit (12) zur Berechnung des ersten Merkmalsbetrags, die einen ersten Merkmalsbetrag erhält, der ein Merkmal eines Befehlspunktes auf der Werkzeugbahn darstellt, wobei der Befehlspunkt eine Position des Werkzeugs in einer Steuerungsperiode der Werkzeugmaschine darstellt; eine Einheit (13) zur Berechnung eines ähnlichen Punktes, die eine Zielbahn, für die eine Korrektur vorgenommen werden soll, und eine benachbarte Bahn neben der Zielbahn aus einer Vielzahl der Werkzeugbahnen auswählt, die in einer von einer Bewegungsrichtung auf der Werkzeugbahn verschiedenen Richtung angeordnet sind, und einen ähnlichen Punkt aus einer Vielzahl von Befehlspunkten auf der benachbarten Bahn auf Grundlage des ersten Merkmalsbetrags des Befehlspunktes auf der Zielbahn und des ersten Merkmalsbetrags des Befehlspunktes auf der benachbarten Bahn erhält, wobei der ähnliche Punkt ein Befehlspunkt ähnlich dem Befehlspunkt auf der Zielbahn ist; und eine Korrektureinheit (14), die die Zielbahn auf Grundlage des ähnlichen Punktes korrigiert.A device (11) for modifying a machining program modifies a machining program (4) for machining a machine tool by correcting a tool path, which is a path on which a tool is moved by the machine tool. The device (11) for modifying a machining program includes: a unit (12) for calculating the first feature amount, which obtains a first feature amount that represents a feature of a command point on the tool path, the command point being a position of the tool in a control period of the machine tool represents; a similar point calculating unit (13) which selects a target path for which a correction is to be made and an adjacent path adjacent to the target path from a plurality of the tool paths arranged in a direction different from a direction of movement on the tool path , and obtains a similar point from a plurality of command points on the adjacent trajectory based on the first feature amount of the command point on the target trajectory and the first feature amount of the command point on the adjacent trajectory, the similar point being a command point similar to the command point on the target trajectory; and a correction unit (14) that corrects the target trajectory based on the similar point.

Description

GebietArea

Die vorliegende Offenbarung betrifft eine Vorrichtung zur Modifikation eines Bearbeitungsprogramms, ein Verfahren zur Modifikation eines Bearbeitungsprogramms und ein Bearbeitungssystem, die dazu bestimmt sind, ein Bearbeitungsprogramm zu modifizieren.The present disclosure relates to an apparatus for modifying a machining program, a method for modifying a machining program, and a machining system designed to modify a machining program.

Hintergrundbackground

Für die Bearbeitung, die durch eine numerisch gesteuerte Werkzeugmaschine auszuführen ist, wird ein Bearbeitungsprogramm für die numerische Steuerung verwendet, wobei das Bearbeitungsprogramm für die numerische Steuerung konfiguriert ist, in dem ein Bewegungsbefehl zum Bewegen eines Werkstücks oder Werkzeugs auf einer Bahn vorab festgelegt wurde. Im Folgenden wird die numerisch gesteuerte Werkzeugmaschine einfach als eine „Werkzeugmaschine“ bezeichnet. Das Bearbeitungsprogramm für die numerische Steuerung wird einfach als „Bearbeitungsprogramm“ bezeichnet.For machining to be performed by a numerically controlled machine tool, a numerical control machining program is used, the numerical control machining program being configured in which a movement command for moving a workpiece or tool on a path has been predetermined. Hereafter, the numerically controlled machine tool is simply referred to as a “machine tool”. The numerical control machining program is simply referred to as the “machining program”.

Bei der Bearbeitung einer Freiformfläche werden viele Bearbeitungsprogramme durch Näherung einer gekrümmten Werkzeugbahn um sehr kleine Liniensegmente auf Grundlage einer Funktion der rechnergestützten Fertigung (Computer Aided Manufacturing, CAM) erzeugt. Wenn eine Werkzeugbahn durch fortlaufende, sehr kleine Liniensegmente dargestellt wird, kann sich die Form der Werkzeugbahn aufgrund einer Auswirkung eines bei der Berechnung auf Grundlage der CAM-Funktion verursachten Fehlers verändern. Wenn sich eine Werkzeugbahn in ihrer Form verändert, kann eine zwischeneinander benachbarten Werkzeugbahnen in einer Richtung senkrecht zu einer Bewegungsrichtung auf den Werkzeugbahnen verursachte Inkonsistenz in der Form zu Kratzern oder Rillen auf einer bearbeiteten Fläche führen, was zu einer Minderung der Qualität der bearbeiteten Fläche führt.When machining a freeform surface, many machining programs are generated by approximating a curved tool path around very small line segments based on a Computer Aided Manufacturing (CAM) function. When a tool path is represented by continuous, very small line segments, the shape of the tool path may change due to the effect of an error introduced in the calculation based on the CAM function. When a tool path changes in shape, an inconsistency in shape caused between adjacent tool paths in a direction perpendicular to a direction of movement on the tool paths can result in scratches or gouges on a machined surface, resulting in a reduction in the quality of the machined surface.

Als eine Technik zur Verbesserung der Qualität der bearbeiteten Fläche, die aufgrund von Inkonsistenzen in der Form zwischen den Werkzeugbahnen abnehmen kann, schlägt Patentliteratur 1 eine Technik zur Korrektur von Befehlspunkten auf einer Vielzahl von Werkzeugbahnen durch Glättungsvorbereitung für jede der Werkzeugbahnen vor. Eine in der Patentliteratur 1 offenbarte Vorrichtung zur Modifikation eines Bearbeitungsprogramms reduziert die Inkonsistenz in der Form zwischen benachbarten Werkzeugbahnen, indem die Werkzeugbahnen in einer Richtung senkrecht zu einer Bewegungsrichtung auf den Werkzeugbahnen geglättet werden.As a technique for improving the quality of the machined surface, which may decrease due to inconsistencies in shape between tool paths, Patent Literature 1 proposes a technique for correcting command points on a plurality of tool paths by smoothing preparation for each of the tool paths. A machining program modification apparatus disclosed in Patent Literature 1 reduces inconsistency in shape between adjacent tool paths by smoothing the tool paths in a direction perpendicular to a moving direction on the tool paths.

Entgegenhaltungslistecitation list

PatentliteraturPatent literature

Patentliteratur 1: Japanische Offenlegungsschrift Nr. 2020-67863 Patent Literature 1: Japanese Patent Laid-Open No. 2020-67863

KurzdarstellungShort presentation

Technisches ProblemTechnical problem

In der konventionellen Technik gemäß der Patentliteratur 1 kann bei einem unebenen Abschnitt an einer Position benachbart zu einer Werkzeugbahn auf einer bearbeiteten Fläche eine Glättung zu einem Fehler in der Werkzeugbahn in Bezug auf die bearbeitete Fläche führen. Um einen durch eine Korrektur verursachten Fehler in der Werkzeugbahn zu vermeiden, kann ein Arbeiter, der Arbeiten zum Modifizieren eines Bearbeitungsprogramms durchführt, vorab einen Abschnitt einstellen, in dem keine Korrektur erforderlich ist. Alternativ kann die Vorrichtung zur Modifikation eines Bearbeitungsprogramms zusätzlich eine Verarbeitung der Überwachung der Krümmung oder dergleichen der bearbeiteten Fläche aufweisen, sodass keine Korrektur durchgeführt wird, wenn festgestellt wird, dass eine Korrektur nicht erforderlich ist. Es ist für den Arbeiter schwierig, einen Abschnitt einzustellen, in dem keine Korrektur erforderlich ist, da der Arbeiter sehr stark belastet ist. Wenn die Vorrichtung zur Modifikation eines Bearbeitungsprogramms darüber hinaus feststellt, ob eine Korrektur erforderlich ist oder nicht, um keine Korrektur durchzuführen, wenn festgestellt wird, dass keine Korrektur erforderlich ist, kann die Inkonsistenz in der Form zwischen einander benachbarten Werkzeugbahnen weiter zunehmen. Wie oben beschrieben, besteht in der herkömmlichen Technik das Problem, dass es schwierig ist, die Qualität der bearbeiteten Fläche zu verbessern.In the conventional technique according to Patent Literature 1, for an uneven portion at a position adjacent to a tool path on a machined surface, smoothing may result in an error in the tool path with respect to the machined surface. In order to avoid an error in the tool path caused by correction, a worker performing work to modify a machining program may preset a portion where no correction is required. Alternatively, the machining program modification apparatus may additionally include processing of monitoring the curvature or the like of the machined surface so that no correction is made when it is determined that correction is not required. It is difficult for the worker to set a section where no correction is required because of the heavy load on the worker. Furthermore, when the machining program modification apparatus determines whether correction is required or not to make no correction when it is determined that no correction is required, the inconsistency in shape between adjacent tool paths may further increase. As described above, there is a problem in the conventional technique that it is difficult to improve the quality of the machined surface.

Die vorliegende Offenbarung wurde unter Berücksichtigung der obigen Umstände erstellt, und eine ihrer Aufgaben ist es, eine Vorrichtung zur Modifikation eines Bearbeitungsprogramms bereitzustellen, die die Qualität einer bearbeiteten Fläche verbessern kann.The present disclosure has been made with the above circumstances in mind, and one of its objects is to provide a machining program modification apparatus that can improve the quality of a machined surface.

Lösung des Problemsthe solution of the problem

Zur Lösung des oben erwähnten Problems und zur Erfüllung der Aufgabe stellt die vorliegende Offenbarung eine Vorrichtung zur Modifikation eines Bearbeitungsprogramms zum Modifizieren eines Bearbeitungsprogramms durch Korrigieren einer Werkzeugbahn, die eine Bahn ist, auf der ein Werkzeug von einer Werkzeugmaschine bewegt wird, bereit, wobei das Bearbeitungsprogramm konfiguriert ist, Bearbeiten der Werkzeugmaschine auszuführen, wobei die Vorrichtung zur Modifikation eines Bearbeitungsprogramms Folgendes umfasst: eine Einheit zur Berechnung des ersten Merkmalsbetrags, um einen ersten Merkmalsbetrag zu erhalten, der ein Merkmal eines Befehlspunktes auf der Werkzeugbahn darstellt, wobei der Befehlspunkt eine Position des Werkzeugs in einer Steuerungsperiode der Werkzeugmaschine darstellt; eine Einheit zur Berechnung eines ähnlichen Punktes, um eine Zielbahn, für die eine Korrektur vorgenommen werden soll, und eine benachbarte Bahn neben der Zielbahn aus einer Vielzahl der Werkzeugbahnen auszuwählen, die in einer von einer Bewegungsrichtung auf der Werkzeugbahn verschiedenen Richtung angeordnet sind, und einen ähnlichen Punkt aus einer Vielzahl von Befehlspunkten auf der benachbarten Bahn auf Grundlage des ersten Merkmalsbetrags des Befehlspunktes auf der Zielbahn und des ersten Merkmalsbetrags des Befehlspunktes auf der benachbarten Bahn zu erhalten, wobei der ähnliche Punkt ein Befehlspunkt ähnlich dem Befehlspunkt auf der Zielbahn ist; und eine Korrektureinheit, um die Zielbahn auf Grundlage des ähnlichen Punktes zu korrigieren.In order to solve the above-mentioned problem and achieve the object, the present disclosure provides a machining program modification apparatus for modifying a machining program by correcting a tool path, which is a path on which a tool is moved by a machine tool, the machining program is configured to execute machining of the machine tool, wherein the machining program modification device comprises: a unit for calculating the first feature amount to obtain a first feature amount representing a feature of a command point on the tool path, the command point being a position of the tool in a control period of the machine tool; a similar point calculating unit for selecting a target path to be corrected and an adjacent path adjacent to the target path from a plurality of the tool paths arranged in a direction other than a moving direction on the tool path, and one obtain a similar point from a plurality of command points on the adjacent trajectory based on the first feature amount of the command point on the target trajectory and the first feature amount of the command point on the adjacent trajectory, the similar point being a command point similar to the command point on the target trajectory; and a correction unit for correcting the target trajectory based on the similar point.

Vorteilhafte Wirkungen der ErfindungAdvantageous effects of the invention

Die Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der vorliegenden Offenbarung hat die vorteilhafte Wirkung, dass sie die Qualität einer bearbeiteten Fläche verbessern kann.The machining program modification apparatus according to the present disclosure has the advantageous effect that it can improve the quality of a machined surface.

Kurze Beschreibung der ZeichnungenBrief description of the drawings

  • 1 ist ein Schaubild, das eine Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß einer ersten Ausführungsform und ein mit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms verbundenes Bearbeitungssystem veranschaulicht. 1 is a diagram illustrating a machining program modification apparatus according to a first embodiment and a machining system connected to the machining program modification apparatus.
  • 2 ist ein Schaubild, das eine funktionale Konfiguration der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform veranschaulicht. 2 is a diagram illustrating a functional configuration of the machining program modification apparatus according to the first embodiment.
  • 3 ist ein Schaubild, das ein Beispiel von Werkzeugbahnen, die durch die Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform korrigiert werden sollen, veranschaulicht. 3 is a diagram illustrating an example of tool paths to be corrected by the machining program modification apparatus according to the first embodiment.
  • 4 ist ein Ablaufdiagramm, das einen Ablaufprozess der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform veranschaulicht. 4 Fig. 10 is a flowchart illustrating a flow process of the machining program modification apparatus according to the first embodiment.
  • 5 ist ein Schaubild zum Beschreiben eines ersten Merkmalsbetrags, der durch eine Einheit zur Berechnung des ersten Merkmalsbetrags der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform zu berechnen ist. 5 is a diagram for describing a first feature amount to be calculated by a first feature amount calculating unit of the machining program modification apparatus according to the first embodiment.
  • 6 ist ein Schaubild zum Beschreiben der Auswahl einer Zielbahn und benachbarter Bahnen durch eine Einheit zur Berechnung eines ähnlichen Punktes der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform. 6 Fig. 10 is a diagram for describing selection of a target path and adjacent paths by a similar point calculating unit of the machining program modification apparatus according to the first embodiment.
  • 7 ist ein Schaubild zum Beschreiben eines Verfahrens zum Berechnen eines ähnlichen Punktes mittels der Einheit zur Berechnung eines ähnlichen Punktes der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform. 7 is a diagram for describing a method of calculating a similar point by the similar point calculating unit of the machining program modification apparatus according to the first embodiment.
  • 8 ist ein Schaubild, das ein Beispiel ähnlicher Punkte, die durch die Einheit zur Berechnung eines ähnlichen Punktes der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform berechnet wurden, veranschaulicht. 8th Fig. 10 is a diagram illustrating an example of similar points calculated by the similar point calculating unit of the machining program modification apparatus according to the first embodiment.
  • 9 ist ein Ablaufdiagramm, das einen Ablaufprozess der Einheit zur Berechnung eines ähnlichen Punktes, die als eine Komponente der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform dient, veranschaulicht. 9 Fig. 10 is a flowchart illustrating a flow process of the similar point calculation unit serving as a component of the machining program modification apparatus according to the first embodiment.
  • 10 ist ein Schaubild zum Beschreiben der Erstellung einer Strecke ähnlicher Punkte durch eine Korrektureinheit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform. 10 Fig. 10 is a diagram for describing the creation of a line of similar points by a correction unit of the machining program modification apparatus according to the first embodiment.
  • 11 ist ein Ablaufdiagramm, das einen Ablaufprozess, in dem eine Strecke ähnlicher Punkte erstellt wird, der von der Korrektureinheit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform ausgeführt wird, veranschaulicht. 11 Fig. 10 is a flowchart illustrating a flow process in which a route of similar points is created, which is executed by the correction unit of the machining program modification apparatus according to the first embodiment.
  • 12 ist ein Schaubild zum Beschreiben eines Beispiels der Korrektur einer Werkzeugbahn, die durch die Korrektureinheit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform ausgeführt wird. 12 Fig. 10 is a diagram for describing an example of the correction of a tool path carried out by the correction unit of the machining program modification apparatus according to the first embodiment.
  • 13 ist ein Schaubild, das eine funktionale Konfiguration einer Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß einer zweiten Ausführungsform veranschaulicht. 13 is a diagram illustrating a functional configuration of a machining program modification apparatus according to a second embodiment.
  • 14 ist ein Schaubild, das ein Beispiel von Werkzeugbahnen, die durch die Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform korrigiert werden sollen, veranschaulicht. 14 is a diagram illustrating an example of tool paths to be corrected by the machining program modification apparatus according to the second embodiment.
  • 15 ist ein Schaubild zum Beschreiben eines zweiten Merkmalsbetrags, der durch eine Einheit zur Berechnung des zweiten Merkmalsbetrags der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform zu berechnen ist. 15 is a diagram for describing a second feature amount to be calculated by a second feature amount calculating unit of the machining program modification apparatus according to the second embodiment.
  • 16 ist ein Schaubild zum Beschreiben eines Verfahrens zum Klassifizieren einer Gruppe von Werkzeugbahnen in zwei oder mehr Cluster mittels einer Clustering-Einheit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform. 16 is a diagram for describing a method for classifying a group of tool paths into two or more clusters by a clustering unit of the machining program modification apparatus according to the second embodiment.
  • 17 ist ein Schaubild, das ein Beispiel eines Ergebnisses einer Klassifizierung, die durch die Clustering-Einheit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform ausgeführt wurde, veranschaulicht. 17 is a diagram illustrating an example of a result of classification performed by the clustering unit of the machining program modification apparatus according to the second embodiment.
  • 18 ist ein Ablaufdiagramm, das einen Ablaufprozess einer Einheit zur Berechnung eines ähnlichen Punktes, die als eine Komponente der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform dient, veranschaulicht. 18 Fig. 10 is a flowchart illustrating a flow process of a similar point calculation unit serving as a component of the machining program modification apparatus according to the second embodiment.
  • 19 ist ein Ablaufdiagramm, das einen Ablaufprozess, in dem eine Strecke ähnlicher Punkte erstellt wird, der von einer Korrektureinheit der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform ausgeführt wird, veranschaulicht. 19 Fig. 10 is a flowchart illustrating a flow process in which a route of similar points is created, which is executed by a correcting unit of the machining program modification apparatus according to the second embodiment.
  • 20 ist ein Schaubild, das ein Bearbeitungssystem gemäß einer dritten Ausführungsform veranschaulicht. 20 is a diagram illustrating a machining system according to a third embodiment.
  • 21 ist ein Schaubild, das ein Beispiel einer Hardware-Konfiguration zum Implementieren der Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten oder zweiten Ausführungsform zeigt. 21 is a diagram showing an example of a hardware configuration for implementing the machining program modification apparatus according to the first or second embodiment.
  • 22 ist ein Ablaufdiagramm, das einen Ablaufprozess, in dem die Vorrichtung zur Modifikation eines Bearbeitungsprogramms gemäß der ersten oder zweiten Ausführungsform Bearbeitung simuliert, veranschaulicht. 22 is a flowchart illustrating a flow process in which the machining program modification apparatus according to the first or second embodiment simulates machining.

Beschreibung von AusführungsformenDescription of embodiments

Im Folgenden werden eine Vorrichtung zur Modifikation eines Bearbeitungsprogramms, ein Verfahren zur Modifikation eines Bearbeitungsprogramms und ein Bearbeitungssystem gemäß Ausführungsformen unter Bezugnahme auf die Zeichnungen näher beschrieben.Below, a device for modifying a machining program, a method for modifying a machining program and a machining system according to embodiments will be described in more detail with reference to the drawings.

Erste Ausführungsform.First embodiment.

1 ist ein Schaubild, das eine Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß einer ersten Ausführungsform und ein mit der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms verbundenes Bearbeitungssystem 1 veranschaulicht. Das Bearbeitungssystem 1 ist ein zur Bearbeitung eines Werkstücks 10 durch Steuerung einer Werkzeugmaschine 7, die eine zu steuernde Vorrichtung ist, konfiguriertes System. Die Werkzeugmaschine 7 bearbeitet das Werkstück 10 mit einem Werkzeug 9, während das Werkzeug 9 relativ zum Werkstück 10 bewegt wird. 1 is a diagram illustrating a machining program modification apparatus 11 according to a first embodiment and a machining system 1 connected to the machining program modification apparatus 11. The machining system 1 is a system configured to machine a workpiece 10 by controlling a machine tool 7, which is a device to be controlled. The machine tool 7 processes the workpiece 10 with a tool 9 while the tool 9 is moved relative to the workpiece 10.

Das Bearbeitungssystem 1 beinhaltet eine CAM-Vorrichtung 3 und eine Vorrichtung 5 zur numerischen Steuerung, wobei die CAM-Vorrichtung 3 eine Vorrichtung zur Erstellung eines Bearbeitungsprogramms ist und die Vorrichtung 5 zur numerischen Steuerung zur Steuerung der Werkzeugmaschine 7 konfiguriert ist. Die CAM-Vorrichtung 3 ist ein Rechnersystem, in dem CAM-Software installiert wurde. Die CAM-Vorrichtung 3 erzeugt ein Bearbeitungsprogramm 4 zum Bearbeiten unter Verwendung des Werkzeugs 9 auf Grundlage eines Modells 2 der rechnergestützten Konstruktion (Computer-aided Design, CAD). Das CAD-Modell 2 bezieht sich auf Formdaten, die eine Zielform spezifizieren.The machining system 1 includes a CAM device 3 and a numerical control device 5, wherein the CAM device 3 is a device for creating a machining program and the numerical control device 5 is configured to control the machine tool 7. The CAM device 3 is a computer system in which CAM software has been installed. The CAM device 3 generates a machining program 4 for machining using the tool 9 based on a computer-aided design (CAD) model 2. The CAD model 2 refers to shape data that specifies a target shape.

Die Vorrichtung 5 zur numerischen Steuerung erzeugt durch Ausführung des Bearbeitungsprogramms 4 ein Steuerungssignal 6. Die Vorrichtung 5 zur numerischen Steuerung überträgt das erzeugte Steuerungssignal 6 an eine Antriebseinheit 8 der Werkzeugmaschine 7. Die Antriebseinheit 8 beinhaltet einen Motor und einen Servoverstärker, wobei der Motor das Werkzeug 9 antreibt und der Servoverstärker zur Steuerung des Motors entsprechend dem Steuerungssignal 6 konfiguriert ist. Der Motor und der Servoverstärker sind in der Figur nicht veranschaulicht. Die Werkzeugmaschine 7 bearbeitet das Werkstück 10, indem sie das Werkzeug 9 entsprechend dem Steuerungssignal 6 antreibt.The numerical control device 5 generates a control signal 6 by executing the machining program 4. The numerical control device 5 transmits the generated control signal 6 to a drive unit 8 of the machine tool 7. The drive unit 8 includes a motor and a servo amplifier, the motor being the tool 9 drives and the servo amplifier is configured to control the motor according to the control signal 6. The motor and the servo amplifier are not illustrated in the figure. The machine tool 7 processes the workpiece 10 by driving the tool 9 in accordance with the control signal 6.

Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms ist derart mit jeder von der CAM-Vorrichtung 3 und der Vorrichtung 5 zur numerischen Steuerung verbunden, dass die Vorrichtung 11 mit jeder der Vorrichtungen 3 und 5 kommunizieren kann. Die Kommunikation kann drahtgebunden oder drahtlos ausgeführt werden. Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms erfasst das von der CAM-Vorrichtung 3 erzeugte Bearbeitungsprogramm 4 und modifiziert das Bearbeitungsprogramm 4. Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms überträgt das modifizierte Bearbeitungsprogramm 4 an die Vorrichtung 5 zur numerischen Steuerung. Die Vorrichtung 5 zur numerischen Steuerung steuert die Werkzeugmaschine 7 auf Grundlage des modifizierten Bearbeitungsprogramms 4.The machining program modification device 11 is connected to each of the CAM device 3 and the numerical control device 5 such that the device 11 can communicate with each of the devices 3 and 5. Communication can be wired or wireless. The machining program modification device 11 detects the machining program 4 generated by the CAM device 3 and modifies the machining program 4. The machining program modification device 11 transmits the modified machining program 4 to the numerical control device 5. The numerical control device 5 controls the machine tool 7 based on the modified machining program 4.

Nachfolgend wird eine Konfiguration der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms beschrieben. 2 ist ein Schaubild, das eine funktionale Konfiguration der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform veranschaulicht. Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms modifiziert das Bearbeitungsprogramm 4 durch Korrigieren einer Werkzeugbahn. Die Werkzeugbahn ist eine Bahn, auf der das Werkzeug 9 von der Werkzeugmaschine 7 bewegt wird, und ist eine Bahn, auf der das Werkzeug 9 in Bezug auf das Werkstück 10 bewegt wird.A configuration of the device 11 for modifying a machining program is described below. 2 is a diagram illustrating a functional configuration of the machining program modification apparatus 11 according to the first embodiment. The device 11 for modifying a machining program modifies the machining program 4 by correcting a tool path. The tool path is a path along which the tool 9 is moved by the machine tool 7, and is a path along which the tool 9 is moved with respect to the workpiece 10.

Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms beinhaltet eine Einheit 12 zur Berechnung des ersten Merkmalsbetrags, eine Einheit 13 zur Berechnung eines ähnlichen Punktes und eine Korrektureinheit 14. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags erhält durch Analyse des Bearbeitungsprogramms 4 eine Werkzeugbahn und eine Vielzahl von auf der Werkzeugbahn angeordneten Befehlspunkten. Jeder Befehlspunkt stellt eine Position des Werkzeugs 9 in einer Steuerperiode der Werkzeugmaschine 7 dar. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags erhält für jeden der mehreren Befehlspunkte einen ersten Merkmalsbetrag, der ein Merkmal des Befehlspunktes auf der Werkzeugbahn darstellt. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags gibt an die Einheit 13 zur Berechnung eines ähnlichen Punktes Daten zur Werkzeugbahn und ein Ergebnis der Berechnung des ersten Merkmalbetrags aus.The machining program modification device 11 includes a first feature amount calculation unit 12, a similar point calculation unit 13, and a correction unit 14. The first feature amount calculation unit 12 obtains a tool path and a plurality of by analyzing the machining program 4 Command points arranged on the tool path. Each command point represents a position of the tool 9 in a control period of the machine tool 7. The unit 12 for calculating the first feature amount receives a first feature amount for each of the plurality of command points, which represents a feature of the command point on the tool path. The first feature amount calculation unit 12 outputs tool path data and a result of the first feature amount calculation to the similar point calculation unit 13.

Die Einheit 13 zur Berechnung eines ähnlichen Punktes wählt aus mehreren Werkzeugbahnen, die in einer von einer Bewegungsrichtung auf der Werkzeugbahn verschiedenen Richtung angeordnet sind, eine zu korrigierende Zielbahn und eine an die Zielbahn angrenzende benachbarte Bahn aus. Die Einheit 13 zur Berechnung eines ähnlichen Punktes erhält auf Grundlage eines ersten Merkmalsbetrags eines Befehlspunktes auf der Zielbahn und eines ersten Merkmalsbetrags eines Befehlspunktes auf der benachbarten Bahn unter den mehreren Befehlspunkten auf der benachbarten Bahn einen ähnlichen Punkt, wobei der ähnliche Punkt ein Befehlspunkt ähnlich dem Befehlspunkt auf der Zielbahn ist. Die Einheit 13 zur Berechnung eines ähnlichen Punktes gibt Daten zur Werkzeugbahn und Daten zum ähnlichen Punkt an die Korrektureinheit 14 aus.The unit 13 for calculating a similar point selects a target path to be corrected and an adjacent path adjacent to the target path from a plurality of tool paths arranged in a direction different from a direction of movement on the tool path. The similar point calculation unit 13 obtains a similar point among the plurality of command points on the adjacent trajectory based on a first feature amount of a command point on the target trajectory and a first feature amount of a command point on the adjacent trajectory, the similar point being a command point similar to the command point is on the target track. The similar point calculation unit 13 outputs tool path data and similar point data to the correction unit 14.

Die Korrektureinheit 14 korrigiert die Zielbahn, indem sie den Befehlspunkt auf der Zielbahn auf Grundlage des ähnlichen Punktes korrigiert. Die Korrektureinheit 14 erzeugt ein modifiziertes Bearbeitungsprogramm 15 durch Korrektur der Zielbahn. Das modifizierte Bearbeitungsprogramm 15 ist das Bearbeitungsprogramm 4, das durch Korrektur der Zielbahn modifiziert wurde. Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms überträgt das modifizierte Bearbeitungsprogramm 15 an die Vorrichtung 5 zur numerischen Steuerung.The correction unit 14 corrects the target trajectory by correcting the command point on the target trajectory based on the similar point. The correction unit 14 generates a modified machining program 15 by correcting the target path. The modified machining program 15 is the machining program 4, which was modified by correcting the target path. The machining program modification device 11 transmits the modified machining program 15 to the numerical control device 5.

3 ist ein Schaubild, das ein Beispiel von Werkzeugbahnen, die durch die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform korrigiert werden sollen, zeigt. 3 zeigt ein Beispiel für eine Zielform 20 und ein Beispiel einer Vielzahl von Werkzeugbahnen 21 zum Bearbeiten des Werkstücks 10 in der Zielform 20. Eine x-Achse, eine y-Achse und eine z-Achse sind drei senkrecht zueinander verlaufende Achsen. In 3 ist ein schraffierter Abschnitt der Zielform 20 mit schrägen Linien eine von der Werkzeugmaschine 7 zu bearbeitende bearbeitete Fläche. Die Zielform 20 beinhaltet eine bearbeitete Fläche PS, die eine Freiformfläche ist. Die mehreren Werkzeugbahnen 21 sind auf der bearbeiteten Fläche der Zielform 20 in einer von einer Bewegungsrichtung auf den Werkzeugbahnen 21 verschiedenen Richtung angeordnet. Die drei in 3 veranschaulichten Werkzeugbahnen 21 sind in einer Richtung senkrecht zu den Bewegungsrichtungen auf den Werkzeugbahnen 21 angeordnet. In 3 ist jede Werkzeugbahn 21 durch eine gestrichelte Linie dargestellt. Die Werkzeugmaschine 7 bewegt das Werkzeug 9 nacheinander auf jeder der Werkzeugbahnen 21. 3 is a diagram showing an example of tool paths to be corrected by the machining program modification apparatus 11 according to the first embodiment. 3 shows an example of a target shape 20 and an example of a plurality of tool paths 21 for machining the workpiece 10 in the target shape 20. An x-axis, a y-axis and a z-axis are three axes that run perpendicular to one another. In 3 is a hatched section of the target shape 20 with oblique lines, a machined surface to be machined by the machine tool 7. The target shape 20 includes a machined surface PS, which is a free-form surface. The plurality of tool paths 21 are arranged on the machined surface of the target shape 20 in a direction different from a direction of movement on the tool paths 21. The three in 3 Tool paths 21 illustrated are arranged in a direction perpendicular to the directions of movement on the tool paths 21. In 3 Each tool path 21 is shown by a dashed line. The machine tool 7 moves the tool 9 one after the other on each of the tool paths 21.

In 3 ist eine Anzahl von Befehlspunkten 22 auf jeder Werkzeugbahn 21 durch schwarze Punkte dargestellt. Die CAM-Vorrichtung 3 erzeugt das Bearbeitungsprogramm 4, in dem eine Krümmung entlang einer Freiformfläche durch sehr kleine Liniensegmente angenähert wird. Ein Liniensegment zwischen den Befehlspunkten 22 stellt ein sehr kleines Liniensegment dar. Jede Werkzeugbahn 21 ist durch durchgehende, sehr kleine Liniensegmente dargestellt.In 3 is a number of command points 22 on each tool path 21 shown by black dots. The CAM device 3 generates the machining program 4 in which a curvature along a free-form surface is approximated by very small line segments. A line segment between the command points 22 represents a very small line segment. Each tool path 21 is represented by continuous, very small line segments.

Nachfolgend wird die Bedienung der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms beschrieben. 4 ist ein Ablaufdiagramm, das einen Ablaufprozess der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform veranschaulicht. Im Schritt S1 berechnet die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms für jeden der Befehlspunkte 22 auf der Werkzeugbahn 21 einen ersten Merkmalsbetrag. Einzelheiten zum ersten Merkmalsbetrag werden später beschrieben.The operation of the device 11 for modifying a machining program is described below. 4 is a flowchart illustrating a flow process of the machining program modification apparatus 11 according to the first embodiment. In step S1, the device 11 for modifying a machining program calculates a first feature amount for each of the command points 22 on the tool path 21. Details of the first feature amount will be described later.

Im Schritt S2 wählt Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms aus der Vielzahl von Werkzeugbahnen 21 eine Zielbahn und eine benachbarte Bahn aus. Im Schritt S3 erhält die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms einen ähnlichen Punkt für einen Zielbefehlspunkt auf Grundlage eines ersten Merkmalsbetrags des Zielbefehlspunktes und eines ersten Merkmalsbetrags eines Befehlspunktes auf der benachbarten Bahn. Der Zielbefehlspunkt ist ein Befehlspunkt auf der Zielbahn. Im Schritt S4 korrigiert die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms den Zielbefehlspunkt auf Grundlage des ähnlichen Punktes. Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms erzeugt entsprechend dem oben beschriebenen Verfahren das modifizierte Bearbeitungsprogramm 15.In step S2, device 11 for modifying a machining program selects a target path and an adjacent path from the plurality of tool paths 21. In step S3, the machining program modification device 11 obtains a similar point for a target command point based on a first feature amount of the target command point and a first feature amount of a command point on the adjacent path. The target command point is a command point on the target trajectory. In step S4, the machining program modification device 11 corrects the target command point based on the similar point. The device 11 for modifying a machining program generates the modified machining program 15 in accordance with the method described above.

Nachfolgend wird ein Betrieb der Einheit 12 zur Berechnung des ersten Merkmalsbetrags beschrieben. 5 ist ein Schaubild zum Beschreiben des ersten Merkmalsbetrags, der durch die Einheit 12 zur Berechnung des ersten Merkmalsbetrags der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform berechnet wird. Der erste Merkmalsbetrag sind beispielsweise Koordinaten des Befehlspunktes 22. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet Koordinaten als den ersten Merkmalsbetrag auf Grundlage des folgenden Ausdrucks (1). Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet für jede der mehreren Werkzeugbahnen 21 Koordinaten jedes Befehlspunktes 22 auf der Werkzeugbahn 21. Es ist zu beachten, dass eine Befehlspunktnummer eine laufende Nummer ist, die jedem der Befehlspunkte 22 auf jeder Werkzeugbahn 21 nacheinander von einem Ausgangspunkt 23 der Werkzeugbahn 21 zugeordnet ist. Der Ausgangspunkt 23 ist ein 0-ter Befehlspunkt 22.
Formel 1: p i = [ p x i p y i p z i ] ,   i = 0,1,2 , N P = [ p 0 T p 1 T p 2 T p N T ] T = [ p x 0 p y 0 p z 0 p x 1 p y 1 p z 1 p x 2 p y 2 p z 2 p x N p y N p z N ] = [ p x p y p z ]

Figure DE112021007120T5_0001

i
Befehlspunktnummer
N
Anzahl der Befehlspunkte auf der Werkzeugbahn: 1
pi
Matrix zur Darstellung der Koordinaten des i-ten Befehlspunktes auf der Werkzeugbahn
P
Matrix zur Darstellung der Koordinaten der einzelnen Befehlspunkte auf der Werkzeugbahn
An operation of the unit 12 for calculating the first feature amount will be described below. 5 is a diagram for describing the first feature amount calculated by the first feature amount calculating unit 12 of the machining program modification apparatus 11 according to the first embodiment. The first feature amount is, for example, coordinates of the command point 22. The first feature amount calculating unit 12 calculates coordinates as the first feature amount based on the following expression (1). The first feature amount calculation unit 12 calculates, for each of the plurality of tool paths 21, coordinates of each command point 22 on the tool path 21. Note that a command point number is a sequential number assigned to each of the command points 22 on each tool path 21 sequentially from a starting point 23 is assigned to the tool path 21. The starting point 23 is a 0th command point 22.
Formula 1: p i = [ p x i p y i p e.g i ] , i = 0,1,2 , N P = [ p 0 T p 1 T p 2 T p N T ] T = [ p x 0 p y 0 p e.g 0 p x 1 p y 1 p e.g 1 p x 2 p y 2 p e.g 2 p x N p y N p e.g N ] = [ p x p y p e.g ]
Figure DE112021007120T5_0001
i
Command point number
N
Number of command points on the tool path: 1
pi
Matrix to represent the coordinates of the ith command point on the tool path
P
Matrix for displaying the coordinates of the individual command points on the tool path

Der erste Merkmalsbetrag kann beispielsweise ein Betrag von Bewegung an dem Befehlspunkt 22 auf der Werkzeugbahn 21 sein. Wie in 5 veranschaulicht, entspricht ein Betrag 24i von Bewegung an einem i-ten Befehlspunkt 22i einem Betrag von Bewegung des Werkzeugs 9 zwischen dem Befehlspunkt 22i und einem (i-1)-ten Befehlspunkt 22(i-1). Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet auf Grundlage des folgenden Ausdrucks (2) den Betrag von Bewegung für jeden Befehlspunkt 22 auf der Werkzeugbahn 21. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet einen Vektor, der den Betrag von Bewegung darstellt. Alternativ kann die Einheit 12 zur Berechnung des ersten Merkmalsbetrags die Länge des sehr kleinen Liniensegments berechnen. Die Länge des sehr kleinen Liniensegments stellt einen Wert des Betrags von Bewegung dar.
Formel 2: Δ p i = [ p x i p x ( i 1 ) p y i p y ( i 1 ) p z i p z ( i 1 ) ] ,   i = 1,2, , N Δ P = [ 0 T Δ p 1 T Δ p 2 T Δ p N T ] T l i = p i p i 1 ,   i = 1,2, , N

Figure DE112021007120T5_0002

Δpi
Betrag von Bewegung auf der Werkzeugbahn am i-ten Befehlspunkt
Δp
Matrix zur Darstellung des Betrags von Bewegung an jedem Befehlspunkt auf der Werkzeugbahn
li
Länge des sehr kleinen Liniensegments, das den i-ten Befehlspunkt und den (i-1)-ten Befehlspunkt verbindet
The first feature amount can be, for example, an amount of movement at the command point 22 on the tool path 21. As in 5 As illustrated, an amount 24i of movement at an i-th command point 22i corresponds to an amount of movement of the tool 9 between the command point 22i and an (i-1)th command point 22(i-1). The first feature amount calculating unit 12 calculates the amount of movement for each command point 22 on the tool path 21 based on the following expression (2). The first feature amount calculating unit 12 calculates a vector representing the amount of movement. Alternatively, to calculate the first feature amount, the unit 12 may calculate the length of the very small line segment. The length of the very small line segment represents a value of the amount of movement.
Formula 2: Δ p i = [ p x i p x ( i 1 ) p y i p y ( i 1 ) p e.g i p e.g ( i 1 ) ] , i = 1.2, , N Δ P = [ 0 T Δ p 1 T Δ p 2 T Δ p N T ] T l i = p i p i 1 , i = 1.2, , N
Figure DE112021007120T5_0002
Δpi
Amount of movement on the tool path at the ith command point
Δp
Matrix representing the amount of movement at each command point on the tool path
li
Length of the very small line segment connecting the ith command point and the (i-1)th command point

Der erste Merkmalsbetrag kann eine kumulierte Länge der Werkzeugbahn 21 am Befehlspunkt 22 sein. Wie in 5 veranschaulicht, ist eine kumulierte Länge 25i am i-ten Befehlspunkt 22i eine Länge, die sich durch Akkumulation der Beträge der Bewegung zwischen den Befehlspunkten 22 vom Ausgangspunkt 23 bis zum Befehlspunkt 22i ergibt. Es lässt sich auch sagen, dass die kumulierte Länge 25i am i-ten Befehlspunkt 22i eine Länge der Werkzeugbahn 21 vom Ausgangspunkt 23 bis zum Befehlspunkt 22i ist. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet die kumulierte Länge für jeden Befehlspunkt 22 auf der Werkzeugbahn 21 auf Grundlage des folgenden Ausdrucks (3).
Formel 3: l l i = j = 1 i l j ,   i = 1,2, , N l l = [ 0 l l 1 l l 2 l l N ] T p G = 1 N + 1 i = 0 N p i = [ p G x p G y p G z ] d x = max ( p x ) min ( p x ) , ( d x 0 ) d y = max ( p y ) min ( p y ) , ( d y 0 ) d z = max ( p z ) min ( p z ) , ( d z 0 )

Figure DE112021007120T5_0003

lli
Kumulierte Länge der Werkzeugbahn am i-ten Befehlspunkt
ll
Vektor der kumulierten Länge der Werkzeugbahn
pG
Koordinaten des Schwerpunktes der Befehlspunkte auf der Werkzeugbahn
dx
Bewegungsabstand auf der Werkzeugbahn in x-Achsen-Richtung
dv
Bewegungsabstand auf der Werkzeugbahn in v-Achsen-Richtung
The first feature amount may be a cumulative length of the tool path 21 at the command point 22. As in 5 As illustrated, a cumulative length 25i at the i-th command point 22i is a length resulting from accumulation of the amounts of movement between the command points 22 from the starting point 23 to the command point 22i. It can also be said that the cumulative length 25i at the ith command point 22i is a length of the tool path 21 from the starting point 23 to the command point 22i. The first feature amount calculating unit 12 calculates the cumulative length for each command point 22 on the tool path 21 based on the following expression (3).
Formula 3: l l i = j = 1 i l j , i = 1.2, , N l l = [ 0 l l 1 l l 2 l l N ] T p G = 1 N + 1 i = 0 N p i = [ p G x p G y p G e.g ] d x = Max ( p x ) min ( p x ) , ( d x 0 ) d y = Max ( p y ) min ( p y ) , ( d y 0 ) d e.g = Max ( p e.g ) min ( p e.g ) , ( d e.g 0 )
Figure DE112021007120T5_0003
lli
Cumulative length of the tool path at the ith command point
ll
Tool path cumulative length vector
pG
Coordinates of the center of gravity of the command points on the tool path
dx
Movement distance on the tool path in the x-axis direction
dv
Movement distance on the tool path in the v-axis direction

Der erste Merkmalsbetrag kann normalisierte Koordinaten, ein normalisierter Betrag von Bewegung oder eine normalisierte kumulierte Länge sein. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet normalisierte Koordinaten durch Division eines Koordinatenwertes durch einen Mittelwert der Koordinatenwerte, einen ihrer Maximalwerte oder dergleichen. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet normalisierte Koordinaten auf Grundlage des folgenden Ausdrucks (4).
Formel 4: p ^ i = [ ( p x i p G x ) / d x ( p y i p G y ) / d y ( p z i p G z ) / d z ] i = 0,1,2, , N P ^ = [ p ^ 0 T p ^ 1 T p ^ 2 T p ^ N T ] T

Figure DE112021007120T5_0004

p̂l
Normalisierte Koordinaten des i-ten Befehlspunktes auf der
Matrix, die normalisierte Koordinaten jedes Befehlspunktes auf der Werkzeugbahn darstellt
The first feature amount may be normalized coordinates, a normalized amount of motion, or a normalized cumulative length. The first feature amount calculation unit 12 calculates normalized coordinates by dividing a coordinate value by an average value Coordinate values, one of their maximum values or the like. The first feature amount calculating unit 12 calculates normalized coordinates based on the following expression (4).
Formula 4: p ^ i = [ ( p x i p G x ) / d x ( p y i p G y ) / d y ( p e.g i p G e.g ) / d e.g ] i = 0,1,2, , N P ^ = [ p ^ 0 T p ^ 1 T p ^ 2 T p ^ N T ] T
Figure DE112021007120T5_0004
p̂l
Normalized coordinates of the ith command point on the
Matrix representing normalized coordinates of each command point on the tool path

Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet einen normalisierten Betrag von Bewegung, indem sie einen Betrag von Bewegung durch einen Mittelwert der Beträge von Bewegung, einen ihrer Maximalwerte oder dergleichen dividiert. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet einen normalisierten Betrag von Bewegung auf Grundlage des folgenden Ausdrucks (5).
Formel 5: Δ p i ^ = Δ p i / l i ,   ( l i 0 ) ,   i = 1,2, , N Δ P ^ = [ 0 T Δ p 1 ^ T Δ p 2 ^ T Δ p N ^ T ] T

Figure DE112021007120T5_0005

Normalisierter Betrag von Bewegung auf der Werkzeugbahn am i-ten Befehlspunkt
Matrix zur Darstellung des normalisierten Betrags von Bewegung an jedem Befehlspunkt auf der Werkzeugbahn
The first feature amount calculating unit 12 calculates a normalized amount of motion by dividing an amount of motion by an average of the amounts of motion, a maximum value thereof, or the like. The first feature amount calculating unit 12 calculates a normalized amount of motion based on the following expression (5).
Formula 5: Δ p i ^ = Δ p i / l i , ( l i 0 ) , i = 1.2, , N Δ P ^ = [ 0 T Δ p 1 ^ T Δ p 2 ^ T Δ p N ^ T ] T
Figure DE112021007120T5_0005
Normalized amount of movement on the tool path at the ith command point
Matrix representing the normalized amount of motion at each command point on the tool path

Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet eine normalisierte kumulierte Länge, indem sie eine kumulierte Länge durch einen Mittelwert der kumulierten Längen, einen ihrer Maximalwerte oder dergleichen dividiert. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet eine normalisierte kumulierte Länge auf der Grundlage des folgenden Ausdrucks (6).
Formel 6: l l i ^ = l l i / l l N ,   ( l N 0 ) ,   i = 1,2, , N l l ^ = [ 0 l l 1 ^ l l 2 ^ l l N ^ ] T

Figure DE112021007120T5_0008

Normalisierte kumulierte Länge der Werkzeugbahn bis zum i-ten Befehlspunkt
Vektor der normalisierten kumulierten Länge der
The first feature amount calculation unit 12 calculates a normalized cumulative length by dividing a cumulative length by an average of the cumulative lengths, a maximum value thereof, or the like. The first feature amount calculating unit 12 calculates a normalized cumulative length based on the following expression (6).
Formula 6: l l i ^ = l l i / l l N , ( l N 0 ) , i = 1.2, , N l l ^ = [ 0 l l 1 ^ l l 2 ^ l l N ^ ] T
Figure DE112021007120T5_0008
Normalized cumulative length of the tool path to the i-th command point
Vector of the normalized cumulative length of the

Der erste Merkmalsbetrag kann eine mehrdimensionale Information sein, die mindestens zwei der normalisierten Koordinaten, den normalisierten Betrag von Bewegung und die normalisierte kumulierte Länge enthält. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet den ersten Merkmalsbetrag, der eine mehrdimensionale Information ist, beispielsweise auf Grundlage des folgenden Ausdrucks (7).
Formel 7: f i = [ δ p ^ i ε Δ p i ^ e l l i ^ ] ,   i = 0,1,2, , N , δ 0, ε 0, ε 0, δ + ε + ε 2 F = [ f 0 T f 1 T f 2 T f N T ] T

Figure DE112021007120T5_0011

fi
Vektor des ersten Merkmalsbetrags des i-ten
δ, ε, ∈
Gewichtungskoeffizient des ersten
F
Matrix zur Darstellung des ersten Merkmalsbetrags
Figure DE112021007120T5_0012
aller Befehlspunkte auf der Werkzeugbahn
The first feature amount may be multidimensional information including at least two of the normalized coordinates, the normalized amount of motion, and the normalized cumulative length. The first feature amount calculating unit 12 calculates the first feature amount, which is multidimensional information, based on, for example, the following expression (7).
Formula 7: f i = [ δ p ^ i ε Δ p i ^ e l l i ^ ] , i = 0,1,2, , N , δ 0, ε 0, ε 0, δ + ε + ε 2 F = [ f 0 T f 1 T f 2 T f N T ] T
Figure DE112021007120T5_0011
fi
Vector of the first feature amount of the i-th
δ, ε, ∈
Weighting coefficient of the first
F
Matrix to represent the first feature amount
Figure DE112021007120T5_0012
all command points on the tool path

Zu beachten ist, dass der erste Merkmalsbetrag nicht unbedingt auf die in der ersten Ausführungsform beschriebenen beschränkt ist, solange der erste Merkmalsbetrag ein Betrag ist, der das Merkmal des Befehlspunktes 22 auf der Werkzeugbahn 21 darstellt.Note that the first feature amount is not necessarily limited to those described in the first embodiment, as long as the first feature amount is an amount representing the feature of the command point 22 on the tool path 21.

Nachfolgend wird ein Betrieb der Einheit 13 zur Berechnung eines ähnlichen Punktes beschrieben. 6 ist ein Schaubild zum Beschreiben der Auswahl einer Zielbahn und benachbarter Bahnen durch die Einheit 13 zur Berechnung eines ähnlichen Punktes der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform. Die Einheit 13 zur Berechnung eines ähnlichen Punktes wählt aus einer Vielzahl der Werkzeugbahnen 21 eine Zielbahn 26 aus. Zusätzlich wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes benachbarte Bahnen 27, die der Zielbahn 26 benachbart sind, aus. 6 zeigt ein Beispiel der Zielbahn 26 und der benachbarten Bahnen 27. Die Einheit 13 zur Berechnung eines ähnlichen Punktes wählt jede der mehreren Werkzeugbahnen 21 nacheinander als Zielbahn 26 aus.An operation of the unit 13 for calculating a similar point will be described below. 6 Fig. 10 is a diagram for describing the selection of a target path and adjacent paths by the similar point calculating unit 13 of the machining program modification apparatus 11 according to the first embodiment. The unit 13 for calculating a similar point selects a target path 26 from a large number of the tool paths 21. In addition, the unit 13 selects adjacent paths 27 that are adjacent to the target path 26 to calculate a similar point. 6 shows an example of the target path 26 and the adjacent paths 27. The unit 13 for calculating a similar point selects each of the plurality of tool paths 21 in turn as the target path 26.

Die Einheit 13 zur Berechnung eines ähnlichen Punktes erfasst von der Einheit 12 zur Berechnung des ersten Merkmalsbetrags Daten zum ersten Merkmalsbetrag jedes Befehlspunktes 22 auf der Zielbahn 26 und Daten zum ersten Merkmalsbetrag jedes Befehlspunktes 22 auf den benachbarten Bahnen 27. Die Einheit 13 zur Berechnung eines ähnlichen Punktes erhält eine Korrespondenzbeziehung zwischen jedem Befehlspunkt 22 auf der Zielbahn 26 und jedem Befehlspunkt 22 auf den benachbarten Bahnen 27, sodass ein kumulierter Abstandsfehler zwischen den Daten zum ersten Merkmalsbetrag auf der Zielbahn 26 und den Daten zum ersten Merkmalsbetrag auf den benachbarten Bahnen 27 minimal wird. Der kumulierte Abstandsfehler ist definiert als ein akkumulierter Wert eines Abstandsfehlers, der eine Differenz zwischen dem ersten Merkmalsbetrag des Befehlspunktes 22 auf der Zielbahn 26 und dem ersten Merkmalsbetrag des Befehlspunktes 22 auf der benachbarten Bahn 27 für jeden Befehlspunkt 22 auf der Zielbahn 26 darstellt. Die Einheit 13 zur Berechnung eines ähnlichen Punktes berechnet als einen ähnlichen Punkt den Befehlspunkt 22 auf der benachbarten Bahn 27 in Zuordnung zum Befehlspunkt 22 auf der Zielbahn 26 in der Entsprechungsbeziehung, in welcher der kumulierte Abstandsfehler minimal ist.The similar point calculation unit 13 acquires from the first feature amount calculation unit 12 data on the first feature amount of each command point 22 on the target trajectory 26 and data on the first feature amount of each command point 22 on the adjacent tracks 27. The similar point calculation unit 13 Point maintains a correspondence relationship between each command point 22 on the target path 26 and each command point 22 on the adjacent paths 27, so that a cumulative distance error between the first feature amount data on the target path 26 and the first feature amount data on the adjacent paths 27 becomes minimal. The cumulative distance error is defined as an accumulated value of a distance error that represents a difference between the first feature amount of the command point 22 on the target trajectory 26 and the first feature amount of the command point 22 on the adjacent trajectory 27 for each command point 22 on the target trajectory 26. The similar point calculation unit 13 calculates as a similar point the command point 22 on the adjacent trajectory 27 in association with the command point 22 on the target trajectory 26 in the correspondence relationship in which the cumulative distance error is minimum.

Hier wird ein Beispiel für ein Verfahren zum Berechnen eines ähnlichen Punktes beschrieben. Im vorliegenden Beispiel erkennt die Einheit 13 zur Berechnung eines ähnlichen Punktes jedes der Daten zu den ersten Merkmalsbeträgen auf der Zielbahn 26 und Daten zu den ersten Merkmalsbeträgen auf den benachbarten Bahnen 27 als Zeitreiheninformationen und berechnet durch ein Verfahren der dynamischen Zeitverzerrung einen ähnlichen Punkt. Ein Verfahren der Berechnung eines ähnlichen Punktes in der Einheit 13 zur Berechnung eines ähnlichen Punktes ist nicht notwendigerweise auf das in der ersten Ausführungsform beschriebene beschränkt.An example of a method for calculating a similar point is described here. In the present example, the similar point calculating unit 13 recognizes each of the first feature amount data on the target trajectory 26 and first feature amount data on the adjacent lanes 27 as time series information and calculates a similar point by a dynamic time warping method. A method of calculating a similar point in the similar point calculating unit 13 is not necessarily limited to that described in the first embodiment.

7 ist ein Schaubild zum Beschreiben eines Verfahrens zum Berechnen eines ähnlichen Punktes mittels der Einheit 13 zur Berechnung eines ähnlichen Punktes der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform. Die horizontale Achse eines in 7 veranschaulichten Diagramms stellt den Befehlspunkt 22 auf der Zielbahn 26 dar. Die vertikale Achse des in 7 veranschaulichten Diagramms stellt den Befehlspunkt 22 auf der benachbarten Bahn 27 dar. Dabei wird jeder Befehlspunkt 22 durch einen numerischen Wert von (eine Befehlspunktnummer)+1 dargestellt. 7 is a diagram for describing a method of calculating a similar point by the similar point calculating unit 13 of the machining program modification apparatus 11 according to the first embodiment. The horizontal axis of an in 7 Illustrated diagram represents the command point 22 on the target trajectory 26. The vertical axis of the in 7 The illustrated diagram represents the command point 22 on the adjacent path 27. Each command point 22 is represented by a numerical value of (a command point number) + 1.

In 7 sind der Befehlspunkt 22 von „p“ auf der Zielbahn 26 und der Befehlspunkt 22 von „q“ auf der benachbarten Bahn 27 einander zugeordnet. Diese Zuordnung ist als (p,q) dargestellt. In dem in 7 veranschaulichten Diagramm stellt ein Punkt 31 eine Zuordnung von (p,q) dar. Ein Punkt 32 stellt eine Zuordnung (1,1) zwischen Ausgangspunkten der Zielbahn 26 und der benachbarten Bahn 27 dar. Ein Punkt 33 stellt eine Zuordnung (N,M) zwischen Endpunkten der Zielbahn 26 und der benachbarten Bahn 27 dar.In 7 the command point 22 of “p” on the target path 26 and the command point 22 of “q” on the adjacent path 27 are assigned to each other. This assignment is represented as (p,q). In the in 7 In the illustrated diagram, a point 31 represents an association of (p,q). A point 32 represents an association (1,1) between starting points of the target trajectory 26 and the neighboring trajectory 27. A point 33 represents an association (N,M) between end points of the target path 26 and the neighboring path 27.

Ein Punkt 34 stellt eine Zuordnung (p,q+1) zwischen dem Befehlspunkt 22 von „p“ auf der Zielbahn 26 und dem Befehlspunkt 22 von „q+1“ auf der benachbarten Bahn 27 dar. Ein Punkt 35 stellt eine Zuordnung (p+1,q+1) zwischen dem Befehlspunkt 22 von „p+1“ auf der Zielbahn 26 und dem Befehlspunkt 22 von „q+1“ auf der benachbarten Bahn 27 dar. Ein Punkt 36 stellt eine Zuordnung (p+1,q) zwischen dem Befehlspunkt 22 von „p+1“ auf der Zielbahn 26 und dem Befehlspunkt 22 von „q“ auf der benachbarten Bahn 27 dar. In dem in 7 veranschaulichten Diagramm gibt es als Optionen einer Strecke vom Punkt 31 zum Punkt 33 eine Aufwärtsstrecke mit einer Richtung vom Punkt 31 zum Punkt 34, eine schräg obere rechte Strecke mit einer Richtung vom Punkt 31 zum Punkt 35 und eine Rechtsstrecke mit einer Richtung vom Punkt 31 zum Punkt 36.A point 34 represents an association (p,q+1) between the command point 22 of "p" on the target trajectory 26 and the command point 22 of "q+1" on the adjacent trajectory 27. A point 35 represents an association (p +1,q+1) between the command point 22 of “p+1” on the target path 26 and the command point 22 of “q+1” on the adjacent path 27. A point 36 represents an association (p+1,q ) between the command point 22 of “p+1” on the target trajectory 26 and the command point 22 of “q” on the adjacent trajectory 27. In the in 7 In the diagram illustrated, the options are a route from point 31 to point 33, an upward route with a direction from point 31 to point 34, a diagonal upper right route with a direction from point 31 to point 35 and a right route with a direction from point 31 to Point 36.

Für den Fall der Auswahl der Aufwärtsstrecke von dem Punkt 31 ermittelt die Einheit 13 zur Berechnung eines ähnlichen Punktes einen Abstandsfehler zwischen dem Befehlspunkt 22 von „p“ auf der Zielbahn 26 und dem Befehlspunkt 22 von „q+1“ auf der benachbarten Bahn 27 und addiert den erhaltenen Abstandsfehler zu einem kumulierten Abstandsfehler von dem Punkt 32 zu dem Punkt 31. Für den Fall der Auswahl der schräg oberen rechten Strecke von dem Punkt 31 ermittelt die Einheit 13 zur Berechnung eines ähnlichen Punktes einen Abstandsfehler zwischen dem Befehlspunkt 22 von „p+1“ auf der Zielbahn 26 und dem Befehlspunkt 22 von „q+1“ auf der benachbarten Bahn 27 und addiert den erhaltenen Abstandsfehler zu dem kumulierten Abstandsfehler von dem Punkt 32 zu dem Punkt 31. Für den Fall der Auswahl der Rechtsstrecke von dem Punkt 31 ermittelt die Einheit 13 zur Berechnung eines ähnlichen Punktes einen Abstandsfehler zwischen dem Befehlspunkt 22 von „p+1“ auf der Zielbahn 26 und dem Befehlspunkt 22 von „q“ auf der benachbarten Bahn 27 und addiert den erhaltenen Abstandsfehler zu dem kumulierten Abstandsfehler von dem Punkt 32 zu dem Punkt 31.In the case of selecting the uplink from the point 31, the unit 13 for calculating a similar point determines a distance error between the command point 22 of “p” on the target trajectory 26 and the command point 22 of “q+1” on the adjacent trajectory 27 and adds the distance error obtained to a cumulative distance error from the point 32 to the point 31. In the case of selecting the diagonally upper right route from the point 31, the unit 13 for calculating a similar point determines a distance error between the command point 22 of “p+ 1" on the target path 26 and the command point 22 of "q+1" on the adjacent path 27 and adds the distance error obtained to the cumulative distance error from point 32 to point 31. In the case of selecting the right route from point 31 For calculating a similar point, the unit 13 determines a distance error between the command point 22 of “p+1” on the target path 26 and the command point 22 of “q” on the adjacent path 27 and adds the obtained distance error to the cumulative distance error from the point 32 to point 31.

Die Einheit 13 zur Berechnung eines ähnlichen Punktes berechnet eine Strecke so, dass ein kumulierter Abstandsfehler vom Punkt 32 zum Punkt 33 minimal ist, indem sie eine solche Berechnung für jede Zuordnung zwischen dem Punkt 32 und dem Punkt 33 durchführt. Eine in 7 veranschaulichte gestrichelte Linie stellt ein Beispiel für ein Ergebnis der Berechnung einer Strecke dar, die eine Minimierung eines kumulierten Abstandsfehlers ermöglicht. Eine solche Strecke stellt eine Korrespondenzbeziehung dar, in welcher ein kumulierter Abstandsfehler zwischen jedem Befehlspunkt 22 auf der Zielbahn 26 und jedem Befehlspunkt 22 auf der benachbarten Bahn 27 minimal wird. Die Einheit 13 zur Berechnung eines ähnlichen Punktes berechnet als einen ähnlichen Punkt den Befehlspunkt 22 auf der benachbarten Bahn 27 in Zuordnung zu jedem Befehlspunkt 22 auf der Zielbahn 26 in der Entsprechungsbeziehung, in welcher der kumulierte Abstandsfehler minimiert werden kann.The similar point calculation unit 13 calculates a distance such that a cumulative distance error from the point 32 to the point 33 is minimal by performing such calculation for each association between the point 32 and the point 33. One in 7 Illustrated dashed line represents an example of a result of calculating a distance that enables a cumulative distance error to be minimized. Such a route represents a correspondence relationship in which a cumulative distance error between each command point 22 on the target trajectory 26 and each command point 22 on the adjacent trajectory 27 becomes minimal. The similar point calculation unit 13 calculates as a similar point the command point 22 on the adjacent trajectory 27 in association with each command point 22 on the target trajectory 26 in the correspondence relationship in which the cumulative distance error can be minimized.

In dem in 7 gezeigten Beispiel ist unter den Befehlspunkten 22 auf der benachbarten Bahn 27 jeder von dem Befehlspunkt 22 von „q“ und dem Befehlspunkt 22 von „q+1“ ein ähnlicher Punkt für den Befehlspunkt 22 von „p“. Die Einheit 13 zur Berechnung eines ähnlichen Punktes setzt als ähnlichen Punkt entweder den Befehlspunkt 22 von „q“ oder den Befehlspunkt 22 von „q+1“, der einen kleineren Abstandsfehler in Bezug auf den Befehlspunkt 22 von „p“ aufweist. Wie soeben beschrieben, setzt die Einheit 13 zur Berechnung eines ähnlichen Punktes, wenn zwei oder mehr Befehlspunkte 22 als ähnliche Punkte für einen einzelnen Befehlspunkt 22 auf der Zielbahn 26 berechnet werden, als ähnlichen Punkt einen Befehlspunkt 22 mit dem kleinsten Abstandsfehler der Befehlspunkte 22.In the in 7 In the example shown, among the command points 22 on the adjacent path 27, each of the command point 22 of "q" and the command point 22 of "q+1" is a similar point for the command point 22 of "p". The similar point calculation unit 13 sets as a similar point either the command point 22 of "q" or the command point 22 of "q+1" which has a smaller distance error with respect to the command point 22 of "p". As just described, when two or more command points 22 are calculated as similar points for a single command point 22 on the target trajectory 26, the similar point calculation unit 13 sets a command point 22 with the smallest distance error of the command points 22 as the similar point.

8 ist ein Schaubild, das ein Beispiel ähnlicher Punkte, die durch die Einheit 13 zur Berechnung eines ähnlichen Punktes der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform berechnet wurden, zeigt. In 8 stellt jeder offene Punkt auf der benachbarten Bahn 27 einen ähnlichen Punkt 41 dar, der einem beliebigen von einer Vielzahl der Befehlspunkte 22 auf der Zielbahn 26 entspricht. Jeder schwarze Punkt auf der benachbarten Bahn 27 stellt einen Befehlspunkt 22 dar, der nicht dem ähnlichen Punkt 41 unter den Befehlspunkten 22 auf der benachbarten Bahn 27 entspricht. Jede den Befehlspunkt 22 auf der Zielbahn 26 und den ähnlichen Punkt 41 auf der benachbarten Bahn 27 verbindende Gerade 42 stellt eine Übereinstimmung zwischen dem Befehlspunkt 22 auf der Zielbahn 26 und dem ähnlichen Punkt 41 auf der benachbarten Bahn 27 dar. Eine Zuordnung zwischen dem Befehlspunkt 22 auf der Zielbahn 26 und dem ähnlichen Punkt 41 auf der benachbarten Bahn 27 stellt eine Zuordnung zwischen Punkten dar, die ähnliche Merkmale auf den einander benachbarten Werkzeugbahnen 21 aufweisen. Auf diese Weise ordnet die Einheit 13 zur Berechnung eines ähnlichen Punktes Punkte mit ähnlichen Merkmalen auf den einander benachbarten Werkzeugbahnen 21 zu. 8th Fig. 10 is a diagram showing an example of similar points calculated by the similar point calculating unit 13 of the machining program modification apparatus 11 according to the first embodiment. In 8th Each open point on the adjacent trajectory 27 represents a similar point 41 that corresponds to any one of a plurality of the command points 22 on the target trajectory 26. Each black dot on the adjacent track 27 represents a command point 22 that does not correspond to the similar point 41 among the command points 22 on the adjacent track 27. Each straight line 42 connecting the command point 22 on the target path 26 and the similar point 41 on the adjacent path 27 represents a correspondence between the command point 22 on the target path 26 and the similar point 41 on the adjacent path 27. An association between the command point 22 on the target path 26 and the similar point 41 on the adjacent path 27 represents an association between points that have similar features on the adjacent tool paths 21. In this way, the unit 13 assigns points with similar features on the adjacent tool paths 21 to calculate a similar point.

Die Einheit 13 zur Berechnung eines ähnlichen Punktes legt als einen Zielbefehlspunkt 40 einen von den mehreren Befehlspunkten 22 auf der Zielbahn 26 fest und berechnet den ähnlichen Punkt 41, der dem Zielbefehlspunkt 40 entspricht. Die Einheit 13 zur Berechnung eines ähnlichen Punktes legt nacheinander jeden Befehlspunkt 22 auf der Zielbahn 26 als den Zielbefehlspunkt 40 fest und berechnet den ähnlichen Punkt 41, der jedem Befehlspunkt 22 auf der Zielbahn 26 entspricht.The similar point calculation unit 13 sets as a target command point 40 one of the plurality of command points 22 on the target trajectory 26 and calculates the similar point 41 corresponding to the target command point 40. The similar point calculation unit 13 sequentially sets each command point 22 on the target trajectory 26 as the target command point 40 and calculates the similar point 41 corresponding to each command point 22 on the target trajectory 26.

9 ist ein Ablaufdiagramm, das einen Ablaufprozess der Einheit 13 zur Berechnung eines ähnlichen Punktes, die als eine Komponente der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform dient, veranschaulicht. Im Schritt S11 wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes die Zielbahn 26 aus, indem sie Daten zur Zielbahn 26 von der Einheit 12 zur Berechnung des ersten Merkmalsbetrags liest. Im Schritt S12 wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes die benachbarte Bahn 27 aus, indem sie Daten zur benachbarten Bahn 27 von der Einheit 12 zur Berechnung des ersten Merkmalsbetrags liest. 9 Fig. 10 is a flowchart illustrating a flow process of the similar point calculation unit 13 serving as a component of the machining program modification apparatus 11 according to the first embodiment. In step S11, the similar point calculation unit 13 selects the target trajectory 26 by reading data on the target trajectory 26 from the first feature amount calculation unit 12. In step S12, the similar point calculating unit 13 selects the adjacent trajectory 27 by reading data on the adjacent trajectory 27 from the first feature amount calculating unit 12.

Im Schritt S13 legt die Einheit 13 zur Berechnung eines ähnlichen Punktes einen von einer Vielzahl von Befehlspunkten 22 auf der Zielbahn 26 als den Zielbefehlspunkt 40 fest. Im Schritt S14 berechnet die Einheit 13 zur Berechnung eines ähnlichen Punktes den ähnlichen Punkt 41 für den Zielbefehlspunkt 40.In step S13, the similar point calculation unit 13 sets one of a plurality of command points 22 on the target trajectory 26 as the target command point 40. In step S14, the similar point calculation unit 13 calculates the similar point 41 for the target command point 40.

Im Schritt S15 bestimmt die Einheit 13 zur Berechnung eines ähnlichen Punktes, ob der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist oder nicht. Ist der Zielbefehlspunkt 40 nicht der letzte Befehlspunkt 22 auf der Zielbahn 26 (Schritt S15, Nein), legt die Einheit 13 zur Berechnung eines ähnlichen Punktes im Schritt S16 den Befehlspunkt 22 neben dem Zielbefehlspunkt 40 als einen Zielbefehlspunkt 40 fest. Die Einheit 13 zur Berechnung eines ähnlichen Punktes führt nach der Festlegung einen Vorgang gemäß einem Prozess aus Schritt S14 für den Zielbefehlspunkt 40 durch.In step S15, the similar point calculation unit 13 determines whether or not the target command point 40 is the last command point 22 on the target trajectory 26. If the target command point 40 is not the last command point 22 on the target trajectory 26 (step S15, No), the similar point calculation unit 13 sets the command point 22 adjacent to the target command point 40 as a target command point 40 in step S16. The similar point calculation unit 13, after setting, performs an operation according to a process in step S14 for the target command point 40.

Wenn andererseits der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist (Schritt S15, Ja), stellt die Einheit 13 zur Berechnung eines ähnlichen Punktes im Schritt S17 fest, ob die Zielbahn 26 die letzte Werkzeugbahn 21 unter allen Werkzeugbahnen 21 ist oder nicht. Wenn die Zielbahn 26 nicht die letzte Werkzeugbahn 21 ist (Schritt S17, Nein), wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes die nächste Zielbahn 26 aus, indem sie im Schritt S18 Daten zur nächsten Zielbahn 26 aus der Einheit 12 zur Berechnung des ersten Merkmalsbetrags liest. Die Einheit 13 zur Berechnung eines ähnlichen Punktes führt für die nächste Zielbahn 26 einen Vorgang gemäß einem Prozess aus Schritt S12 aus.On the other hand, if the target command point 40 is the last command point 22 on the target path 26 (step S15, Yes), the similar point calculation unit 13 determines in step S17 whether or not the target path 26 is the last tool path 21 among all the tool paths 21 . If the target path 26 is not the last tool path 21 (step S17, No), the similar point calculation unit 13 selects the next target path 26 by receiving data on the next target path 26 from the first calculation unit 12 in step S18 characteristic amount reads. The similar point calculation unit 13 executes an operation for the next target trajectory 26 according to a process in step S12.

Wenn andererseits die Zielbahn 26 die letzte Werkzeugbahn 21 ist (Schritt S17, Ja), beendet die Einheit 13 zur Berechnung eines ähnlichen Punktes den Vorgang entsprechend dem in 9 veranschaulichten Prozess. Auf diese Weise berechnet die Einheit 13 zur Berechnung eines ähnlichen Punktes den ähnlichen Punkt 41 für jeden Befehlspunkt 22 auf jeder der mehreren Werkzeugbahnen 21.On the other hand, if the target path 26 is the last tool path 21 (step S17, Yes), the similar point calculation unit 13 finishes the process according to FIG 9 illustrated process. In this way, the similar point calculation unit 13 calculates the similar point 41 for each command point 22 on each of the plurality of tool paths 21.

Nachfolgend wird ein Betrieb der Korrektureinheit 14 beschrieben. Die Korrektureinheit 14 erhält für jeden Satz der einander in den Werkzeugbahnen 21 benachbarten Werkzeugbahnen 21 die ähnlichen Punkte 41, wodurch eine Strecke ähnlicher Punkte geschaffen wird, die eine Vielzahl der erhaltenen ähnlichen Punkte 41 verbindet. Die Korrektureinheit 14 korrigiert den Befehlspunkt 22 auf der Zielbahn 26 auf Grundlage der erhaltenen Strecke ähnlicher Punkte.An operation of the correction unit 14 will be described below. The correction unit 14 obtains the similar points 41 for each set of tool paths 21 adjacent to one another in the tool paths 21, thereby creating a route of similar points that connects a large number of the similar points 41 obtained. The correction unit 14 corrects the command point 22 on the target trajectory 26 based on the obtained distance of similar points.

Die Korrektureinheit 14 korrigiert die Zielbahn 26 durch Anpassen der Position des Zielbefehlspunktes 40 auf der Zielbahn 26 auf Grundlage der erstellten Strecke ähnlicher Punkte. Die Korrektureinheit 14 korrigiert die Zielbahn 26 so, dass durch Anpassen der Position des Zielbefehlspunktes 40 eine Inkonsistenz in der Form der Zielbahn 26 in Bezug auf die benachbarte Bahn 27 verringert wird. Der Begriff „Inkonsistenz in der Form“ bezieht sich auf einen Zustand, in dem ein Unterschied in der Form der Werkzeugbahn 21 auftritt. Alternativ bezieht sich der Begriff „Inkonsistenz in der Form“ auf einen Zustand, in dem ein Unterschied in der Form zwischen den Werkzeugbahnen 21 so weit zunimmt, dass ein zulässiger Bearbeitungsbereich überschritten wird.The correction unit 14 corrects the target trajectory 26 by adjusting the position of the target command point 40 on the target trajectory 26 based on the created route of similar points. The correction unit 14 corrects the target trajectory 26 so that by adjusting the position of the target command point 40, an inconsistency in the shape of the target trajectory 26 with respect to the adjacent trajectory 27 is reduced. The term “inconsistency in shape” refers to a condition in which a difference in the shape of the tool path 21 occurs. Alternatively, the term “inconsistency in shape” refers to a condition in which a difference in shape between the tool paths 21 increases to the point that an allowable machining range is exceeded.

Hier, in einer Strecke ähnlicher Punkte, bestehend aus L Befehlspunkten 22, sind drei aufeinanderfolgende Befehlspunkte 22 als ein k-ter Befehlspunkt 22, ein (k+1)-ter Befehlspunkt 22 und ein (k+2)-ter Befehlspunkt 22 dargestellt. Das Symbol „k“ bezeichnet eine ganze Zahl von 1 bis L-2, wobei L als L≥3 definiert ist. Der Grad von Inkonsistenz in der Form bezüglich des k-ten Befehlspunktes 22 bis zum (k+2)-ten Befehlspunkt 22 ist beispielsweise durch einen Abstand zwischen dem (k+1)-ten Befehlspunkt 22 und einer durch den k-ten Befehlspunkt 22 und den (k+2)-ten Befehlspunkt 22 verlaufenden Gerade dargestellt.Here, in a stretch of similar points consisting of L command points 22, three consecutive command points 22 are shown as a kth command point 22, a (k+1)th command point 22 and a (k+2)th command point 22. The symbol “k” denotes an integer from 1 to L-2, where L is defined as L≥3. The degree of inconsistency in the form with respect to the k-th command point 22 to the (k+2)-th command point 22 is, for example, a distance between the (k+1)-th command point 22 and a distance through the k-th command point 22 and the (k+2)th command point 22 is shown.

10 ist ein Schaubild zum Beschreiben der Erstellung einer Strecke 43 ähnlicher Punkte, die durch eine Korrektureinheit 14 der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform ausgeführt wird. 10 veranschaulicht eine einzelne Strecke 43 ähnlicher Punkte, die durch den Zielbefehlspunkt 40 auf der Zielbahn 26 verläuft. Die in 10 veranschaulichten fünf Werkzeugbahnen 21 sind eine Teilmenge einer Vielzahl von auf der bearbeiteten Fläche angeordneten Werkzeugbahnen 21. Die Strecke 43 ähnlicher Punkte schneidet die Gesamtheit der Werkzeugbahnen 21. 10 veranschaulicht einen Abschnitt der Strecke 43 ähnlicher Punkte, der die fünf Werkzeugbahnen 21 schneidet. 10 is a diagram for describing the creation of a line 43 of similar points executed by a correction unit 14 of the machining program modification apparatus 11 according to the first embodiment. 10 illustrates a single route 43 of similar points passing through the target command point 40 on the target trajectory 26. In the 10 The five tool paths 21 illustrated are a subset of a large number of tool paths 21 arranged on the machined surface. The route 43 of similar points intersects the entirety of the tool paths 21. 10 illustrates a portion of the route 43 of similar points that intersects the five tool paths 21.

Die Einheit 13 zur Berechnung eines ähnlichen Punktes berechnet für jede der Werkzeugbahnen 21 den ähnlichen Punkt 41, der dem Zielbefehlspunkt 40 auf der Zielbahn 26 entspricht, indem sie die als Zielbahn 26 ausgewählte Werkzeugbahn 21 sequenziell umschaltet. Die Befehlspunkte 22, die eine Beziehung zwischen dem Zielbefehlspunkt 40 und dem ähnlichen Punkt 41 aufweisen, sind durch die Gerade 42 verbunden, wie in 8 veranschaulicht, und die Geraden 42 sind über die gesamten Werkzeugbahnen 21 verbunden, wodurch die Strecke 43 ähnlicher Punkte geschaffen wird. Die Korrektureinheit 14 erzeugt für jeden Befehlspunkt 22 der Befehlspunkte auf der Zielbahn 26, für die der ähnliche Punkt 41 berechnet wurde, die Strecke 43 ähnlicher Punkte.The similar point calculation unit 13 calculates, for each of the tool paths 21, the similar point 41 corresponding to the target command point 40 on the target path 26 by sequentially switching the tool path 21 selected as the target path 26. The command points 22, which have a relationship between the target command point 40 and the similar point 41, are connected by the straight line 42, as shown in FIG 8th illustrated, and the straight lines 42 are connected over the entire tool paths 21, thereby creating the route 43 of similar points. The correction unit 14 generates for everyone Command point 22 of the command points on the target trajectory 26 for which the similar point 41 was calculated, the route 43 of similar points.

11 ist ein Ablaufdiagramm, das einen Ablaufprozess veranschaulicht, in dem die Strecke 43 ähnlicher Punkte von der Korrektureinheit 14 der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform erstellt wird. Im Schritt S21 wählt die Korrektureinheit 14 die Zielbahn 26 aus, indem sie Daten zur Zielbahn 26 von der Einheit 13 zur Berechnung eines ähnlichen Punktes erfasst. Im Schritt S22 legt die Korrektureinheit 14 als Zielbefehlspunkt 40 einen der Befehlspunkte 22 auf der Zielbahn 26 fest. 11 is a flowchart illustrating a flow process in which the similar point route 43 is created by the correction unit 14 of the machining program modification apparatus 11 according to the first embodiment. In step S21, the correction unit 14 selects the target trajectory 26 by acquiring data on the target trajectory 26 from the similar point calculation unit 13. In step S22, the correction unit 14 sets one of the command points 22 on the target path 26 as the target command point 40.

Die Korrektureinheit 14 erfasst von der Einheit 13 zur Berechnung eines ähnlichen Punktes Daten zum ähnlichen Punkt 41, der dem Zielbefehlspunkt 40 entspricht. Im Schritt S23 fügt die Korrektureinheit 14 den ähnlichen Punkt 41 für den Zielbefehlspunkt 40 zur Strecke 43 ähnlicher Punkte hinzu. Wenn die erste Werkzeugbahn 21 der Werkzeugbahnen 21 die Zielbahn 26 ist, behält die Korrektureinheit 14 die Gerade 42, die den Zielbefehlspunkt 40 und den ähnlichen Punkt 41 verbindet, als eine anfängliche Strecke 43 ähnlicher Punkte bei der Erstellung. Jedes Mal, wenn die als Zielbahn 26 gewählte Werkzeugbahn 21 umgeschaltet wird, fügt die Korrektureinheit 14 den ähnlichen Punkt 41 zu der darin erhaltenen Strecke 43 ähnlicher Punkte hinzu. Die Korrektureinheit 14 verlängert die Strecke 43 ähnlicher Punkte, indem sie den ähnlichen Punkt 41 zur Strecke 43 ähnlicher Punkte hinzufügt.The correction unit 14 acquires data on the similar point 41 corresponding to the target command point 40 from the similar point calculation unit 13. In step S23, the correction unit 14 adds the similar point 41 for the target command point 40 to the similar point route 43. If the first tool path 21 of the tool paths 21 is the target path 26, the correction unit 14 keeps the straight line 42 connecting the target command point 40 and the similar point 41 as an initial route 43 of similar points when creating. Each time the tool path 21 selected as the target path 26 is switched, the correction unit 14 adds the similar point 41 to the line 43 of similar points obtained therein. The correction unit 14 extends the line 43 of similar points by adding the similar point 41 to the line 43 of similar points.

Im Schritt S24 bestimmt die Korrektureinheit 14, ob der zur Strecke 43 ähnlicher Punkte hinzugefügte ähnliche Punkt 41 der Befehlspunkt 22 auf der letzten Werkzeugbahn 21 unter allen Werkzeugbahnen 21 ist oder nicht. Wenn der ähnliche Punkt 41 nicht der Befehlspunkt 22 auf der letzten Werkzeugbahn 21 ist (Schritt S24, Nein), legt die Korrektureinheit 14 im Schritt S25 den ähnlichen Punkt 41 als den nächsten Zielbefehlspunkt 40 fest. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S23 für den nächsten Zielbefehlspunkt 40 aus.In step S24, the correction unit 14 determines whether or not the similar point 41 added to the similar point route 43 is the command point 22 on the last tool path 21 among all the tool paths 21. If the similar point 41 is not the command point 22 on the last tool path 21 (step S24, No), the correction unit 14 sets the similar point 41 as the next target command point 40 in step S25. The correction unit 14 executes an operation according to the process of step S23 for the next target command point 40.

Wenn andererseits der ähnliche Punkt 41 der Befehlspunkt 22 auf der letzten Werkzeugbahn 21 ist (Schritt S24, Ja), stellt die Korrektureinheit 14 im Schritt S26 fest, ob der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist oder nicht. Ist der Zielbefehlspunkt 40 nicht der letzte Befehlspunkt 22 auf der Zielbahn 26 (Schritt S26, Nein), legt die Korrektureinheit 14 im Schritt S27 den Befehlspunkt 22 neben dem Zielbefehlspunkt 40 als einen Zielbefehlspunkt 40 fest. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S23 für den nächsten Zielbefehlspunkt 40 aus.On the other hand, if the similar point 41 is the command point 22 on the last tool path 21 (step S24, Yes), the correction unit 14 determines whether or not the target command point 40 is the last command point 22 on the target path 26 in step S26. If the target command point 40 is not the last command point 22 on the target path 26 (step S26, No), the correction unit 14 sets the command point 22 next to the target command point 40 as a target command point 40 in step S27. The correction unit 14 executes an operation according to the process of step S23 for the next target command point 40.

Wenn andererseits der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist (Schritt S26, Ja), stellt die Korrektureinheit 14 im Schritt S28 fest, ob die Zielbahn 26 die letzte Werkzeugbahn 21 unter allen Werkzeugbahnen 21 ist oder nicht. Wenn die Zielbahn 26 nicht die letzte Werkzeugbahn 21 ist (Schritt S28, Nein), wählt die Korrektureinheit 14 die nächste Zielbahn 26 aus, indem sie im Schritt S29 Daten zur nächsten Zielbahn 26 von der Einheit 13 zur Berechnung ähnlicher Punkte liest. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S22 für die nächste Zielbahn 26 aus.On the other hand, if the target command point 40 is the last command point 22 on the target path 26 (step S26, Yes), the correction unit 14 determines whether or not the target path 26 is the last tool path 21 among all the tool paths 21 in step S28. If the target path 26 is not the last tool path 21 (step S28, No), the correction unit 14 selects the next target path 26 by reading data on the next target path 26 from the similar point calculation unit 13 in step S29. The correction unit 14 executes an operation according to the process in step S22 for the next target trajectory 26.

Wenn andererseits die Zielbahn 26 die letzte Werkzeugbahn 21 ist (Schritt S28, Ja), beendet die Korrektureinheit 14 den Vorgang entsprechend dem in 11 veranschaulichten Prozess. Auf diese Weise erzeugt die Korrektureinheit 14 an jedem der Befehlspunkte 22 auf der Vielzahl von Werkzeugbahnen 21 die Strecke 43 ähnlicher Punkte.On the other hand, if the target path 26 is the last tool path 21 (step S28, Yes), the correction unit 14 ends the process according to FIG 11 illustrated process. In this way, the correction unit 14 generates the route 43 of similar points at each of the command points 22 on the plurality of tool paths 21.

12 ist ein Schaubild zum Beschreiben eines Beispiels der Korrektur der Werkzeugbahn 21, die durch die Korrektureinheit 14 der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform ausgeführt wird. Eine in 12 veranschaulichte Pfeillinie 47 stellt den Grad von Inkonsistenz in der Form der Zielbahn 26 in Bezug auf die benachbarte Bahn 27 dar. In dem in 12 gezeigten Beispiel erzeugt die Korrektureinheit 14 eine geglättete Strecke 44 durch Glätten der durch den Zielbefehlspunkt 40 verlaufenden Strecke 43 ähnlicher Punkte und schaltet den Befehlspunkt 22 auf der Zielbahn 26 von dem Zielbefehlspunkt 40 zu einem Korrekturpunkt 45 auf der geglätteten Strecke 44. Das heißt, die Korrektureinheit 14 passt die Position des Befehlspunktes 22 durch Bewegen des Befehlspunktes 22 auf die geglättete Strecke 44 an. Die in 12 veranschaulichte geglättete Strecke 44 ist eine Kurve. Die Korrektureinheit 14 glättet die Strecke 43 ähnlicher Punkte unter Verwendung beispielsweise einer B-Spline-Kurve oder einer nicht-uniformen rationalen B-Spline-Kurve (NURBS-Kurve). Es ist zu beachten, dass die geglättete Stecke 44 eine Gerade sein kann. Die Korrektureinheit 14 kann die Inkonsistenz in der Form der Zielbahn 26 in Bezug auf die benachbarte Bahn 27 durch Anpassen der Position des Befehlspunktes 22 auf der Zielbahn 26 auf Grundlage der geglätteten Strecke 44 reduzieren. 12 is a diagram for describing an example of the correction of the tool path 21 carried out by the correction unit 14 of the machining program modification apparatus 11 according to the first embodiment. One in 12 Illustrated arrow line 47 represents the degree of inconsistency in the shape of the target trajectory 26 with respect to the adjacent trajectory 27. In Fig 12 In the example shown, the correction unit 14 generates a smoothed route 44 by smoothing the route 43 of similar points passing through the target command point 40 and switches the command point 22 on the target path 26 from the target command point 40 to a correction point 45 on the smoothed route 44. That is, the correction unit 14 adjusts the position of the command point 22 by moving the command point 22 to the smoothed route 44. In the 12 illustrated smoothed path 44 is a curve. The correction unit 14 smoothes the path 43 of similar points using, for example, a B-spline curve or a non-uniform rational B-spline curve (NURBS curve). It should be noted that the smoothed line 44 can be a straight line. The correction unit 14 can reduce the inconsistency in the shape of the target trajectory 26 with respect to the adjacent trajectory 27 by adjusting the position of the command point 22 on the target trajectory 26 based on the smoothed route 44.

Darüber hinaus kann die Korrektureinheit 14 eine Ebene 46 erhalten, die durch den Zielbefehlspunkt 40 und zwei dem Zielbefehlspunkt 40 benachbarte Befehlspunkte 22 auf der Zielbahn 26 verläuft, um den Korrekturpunkt 45 auf die Ebene 46 zu setzen. Die beiden Befehlspunkte 22 sind ein in einer Bewegungsrichtung des Werkzeugs 9 dem Zielbefehlspunkt 40 benachbarter Befehlspunkt 22 und ein in einer der Bewegungsrichtung des Werkzeugs 9 entgegengesetzten Richtung dem Zielbefehlspunkt 40 benachbarter weiterer Befehlspunkt 22. Das heißt, die Korrektureinheit 14 kann die durch die aufeinanderfolgenden Befehlspunkte 22 auf der Zielbahn 26 verlaufende Ebene 46 erhalten und die Position des Zielbefehlspunktes 40 auf der Ebene 46 anpassen. Infolgedessen kann die Korrektureinheit 14 die Lageabweichung des Korrekturpunktes 45 von der Ebene 46, durch die die Zielbahn 26 verläuft, verringern.In addition, the correction unit 14 can receive a plane 46 which runs through the target command point 40 and two command points 22 adjacent to the target command point 40 on the target path 26 in order to set the correction point 45 on the plane 46. The two command points 22 are a command point 22 which is adjacent to the target command point 40 in a direction of movement of the tool 9 and a further command point 22 which is adjacent to the target command point 40 in a direction opposite to the direction of movement of the tool 9. This means that the correction unit 14 can do the work caused by the successive command points 22 Obtain level 46 running on target path 26 and adjust the position of target command point 40 on level 46. As a result, the correction unit 14 can reduce the positional deviation of the correction point 45 from the plane 46 through which the target path 26 runs.

Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform erzeugt das modifizierte Bearbeitungsprogramm 15 während der Erfassung von Daten zur Werkzeugbahn 21 aus dem Bearbeitungsprogramm 4, die von dem Bearbeitungssystem 1 bereitgestellt werden. An die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms können Daten zur Werkzeugbahn 21 aus dem Bearbeitungssystem 1 übermittelt werden, und sie kann das modifizierte Bearbeitungsprogramm 15 auf Grundlage der dabei erhaltenen Daten zur Werkzeugbahn 21 erzeugen.The machining program modification device 11 according to the first embodiment generates the modified machining program 15 while acquiring data on the tool path 21 from the machining program 4 provided by the machining system 1. Data on the tool path 21 from the machining system 1 can be transmitted to the device 11 for modifying a machining program, and it can generate the modified machining program 15 based on the data on the tool path 21 obtained thereby.

Gemäß der ersten Ausführungsform erhält die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms den ähnlichen Punkt 41, der dem Befehlspunkt 22 der Zielbahn 26 entspricht, auf Grundlage des ersten Merkmalsbetrags des Befehlspunktes 22 auf der Zielbahn 26 und des ersten Merkmalsbetrags des Befehlspunktes 22 auf der benachbarten Bahn 27 und korrigiert dementsprechend die Zielbahn 26 auf Grundlage des ähnlichen Punktes 41. Die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms kann unter Berücksichtigung der Entsprechung zwischen Punkten, die ihre jeweiligen ähnlichen Merkmale auf den einander benachbarten Werkzeugbahnen 21 aufweisen, eine Korrektur durchführen, indem sie den ähnlichen Punkt 41 verwendet, der auf Grundlage des ersten Merkmalbetrags für die Korrektur der Zielbahn 26 erhalten wird. Folglich kann die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms Inkonsistenzen in der Form der Zielbahn 26 in Bezug auf die benachbarte Bahn 27 reduzieren. Darüber hinaus kann die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms das Auftreten eines Fehlers in der Werkzeugbahn 21 in Bezug auf die bearbeitete Fläche aufgrund der Korrektur reduzieren. Wie oben beschrieben, hat die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms die vorteilhafte Wirkung, dass sie eine Verbesserung der Qualität der bearbeiteten Fläche ermöglicht.According to the first embodiment, the machining program modification device 11 obtains the similar point 41 corresponding to the command point 22 of the target path 26 based on the first feature amount of the command point 22 on the target path 26 and the first feature amount of the command point 22 on the adjacent path 27 and accordingly corrects the target path 26 based on the similar point 41. The machining program modification device 11 may perform correction by taking into account the correspondence between points having their respective similar features on the tool paths 21 adjacent to each other, by using the similar point 41 is used, which is obtained based on the first feature amount for the correction of the target trajectory 26. Consequently, the machining program modification apparatus 11 can reduce inconsistencies in the shape of the target path 26 with respect to the adjacent path 27. Furthermore, the machining program modification device 11 can reduce the occurrence of an error in the tool path 21 with respect to the machined surface due to the correction. As described above, the machining program modification device 11 has the advantageous effect of enabling improvement in the quality of the machined surface.

Zweite Ausführungsform.Second embodiment.

13 ist ein Schaubild, das eine funktionale Konfiguration einer Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß einer zweiten Ausführungsform veranschaulicht. In der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms wurden eine Einheit 51 zur Berechnung des zweiten Merkmalsbetrags und eine Clustering-Einheit 52 zu der gleichen Konfiguration wie der in 2 veranschaulichten Konfiguration der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms hinzugefügt. In der zweiten Ausführungsform sind die gleichen Komponenten wie diejenigen in der ersten Ausführungsform mit den gleichen Bezugszeichen bezeichnet, und es wird hauptsächlich ein Teil der Konfiguration beschrieben, der sich von demjenigen der ersten Ausführungsform unterscheidet. 13 is a diagram illustrating a functional configuration of a machining program modification apparatus 11A according to a second embodiment. In the machining program modification apparatus 11A, a second feature amount calculating unit 51 and a clustering unit 52 have been made into the same configuration as that shown in FIG 2 illustrated configuration of the device 11 for modifying a machining program. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and a part of the configuration different from that of the first embodiment is mainly described.

Die Einheit 51 zur Berechnung des zweiten Merkmalsbetrags erhält die Werkzeugbahn 21 durch Analyse des Bearbeitungsprogramms 4 und erhält einen zweiten Merkmalsbetrag, der das Merkmal der Werkzeugbahn 21 darstellt. Die Clustering-Einheit 52 teilt eine Gruppe von Werkzeugbahnen zur Bearbeitung des Werkstücks 10 in eine Vielzahl von Clustern auf Grundlage des zweiten Merkmalsbetrags. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags, die Einheit 13 zur Berechnung eines ähnlichen Punktes und die Korrektureinheit 14 führen im Wesentlichen die gleiche Verarbeitung wie in der ersten Ausführungsform auf einer Vielzahl von Werkzeugbahnen 21 für jeden Cluster durch. Das heißt, die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet für jede der Werkzeugbahnen 21 für jeden Cluster den ersten Merkmalsbetrag jedes Befehlspunktes 22 auf der Werkzeugbahn 21. Die Einheit 13 zur Berechnung eines ähnlichen Punktes wählt für jeden Cluster die Zielbahn 26 und die benachbarte Bahn 27 aus, um den ähnlichen Punkt 41 zu erhalten. Die Korrektureinheit 14 korrigiert die Zielbahn 26 für jeden Cluster.The second feature amount calculation unit 51 obtains the tool path 21 by analyzing the machining program 4 and obtains a second feature amount representing the feature of the tool path 21. The clustering unit 52 divides a group of tool paths for machining the workpiece 10 into a plurality of clusters based on the second feature amount. The first feature amount calculation unit 12, the similar point calculation unit 13, and the correction unit 14 perform substantially the same processing as in the first embodiment on a plurality of tool paths 21 for each cluster. That is, the first feature amount calculation unit 12 calculates the first feature amount of each command point 22 on the tool path 21 for each of the tool paths 21 for each cluster. The similar point calculation unit 13 selects the target path 26 and the adjacent path for each cluster 27 to get the similar point 41. The correction unit 14 corrects the target trajectory 26 for each cluster.

14 ist ein Schaubild, das ein Beispiel der Werkzeugbahnen 21, die durch die Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform korrigiert werden sollen, zeigt. 14 zeigt ein Beispiel für eine Zielform 20A und ein Beispiel einer Gruppe von Werkzeugbahnen zur Bearbeitung des Werkstücks 10 in die Zielform 20A. Eine schraffierte Fläche der Zielform 20A mit schrägen Linien ist eine von der Werkzeugmaschine 7 zu bearbeitende bearbeitete Fläche. Die Zielform 20A beinhaltet zwei bearbeitete Flächen PS1 und PS2, die Freiformflächen sind. Die bearbeitete Fläche PS1 und die bearbeitete Fläche PS2 sind in der Zielform 20A voneinander entfernt positioniert. In 14 sind sechs Werkzeugbahnen 21-1, 21-2, 21-3, 21-4, 21-5 und 21-6 veranschaulicht, die die Werkzeugbahnen 21 sind, welche die Gruppe von Werkzeugbahnen bilden. 14 is a diagram showing an example of the tool paths 21 to be corrected by the machining program modification apparatus 11A according to the second embodiment. 14 shows an example of a target shape 20A and an example of a group of tool paths for machining the workpiece 10 into the target shape 20A. A hatched area of the target shape 20A with oblique lines is a machined surface to be machined by the machine tool 7. The target shape 20A leg hold two machined surfaces PS1 and PS2, which are freeform surfaces. The machined surface PS1 and the machined surface PS2 are positioned apart from each other in the target shape 20A. In 14 Illustrated are six tool paths 21-1, 21-2, 21-3, 21-4, 21-5 and 21-6, which are the tool paths 21 that form the group of tool paths.

Nachfolgend wird ein Betrieb der Einheit 51 zur Berechnung des zweiten Merkmalsbetrags beschrieben. 15 ist ein Schaubild zum Beschreiben eines zweiten Merkmalsbetrags, der durch die Einheit 51 zur Berechnung des zweiten Merkmalsbetrags der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform berechnet wird. Die Einheit 51 zur Berechnung des zweiten Merkmalsbetrags berechnet den zweiten Merkmalsbetrag jeder Werkzeugbahn 21, die in der Gruppe von Werkzeugbahnen enthalten ist.An operation of the unit 51 for calculating the second feature amount will be described below. 15 is a diagram for describing a second feature amount calculated by the second feature amount calculating unit 51 of the machining program modification apparatus 11A according to the second embodiment. The second feature amount calculating unit 51 calculates the second feature amount of each tool path 21 included in the group of tool paths.

Beispielsweise bezieht sich der zweite Merkmalsbetrag auf Koordinaten einer Schwerpunktposition 53 der Werkzeugbahn 21, einer Hauptkomponente 54 der Werkzeugbahn 21, eines Hauptkomponentenvektors der Werkzeugbahn 21 oder einer Werkzeugbahnlänge 55. Die Hauptkomponente 54 ist eine annähernde Gerade der Befehlspunkte 22 auf der Werkzeugbahn 21. Die Werkzeugbahnlänge 55 ist eine Länge der Werkzeugbahn 21 von ihrem Ausgangspunkt 23 bis zu ihrem Endpunkt 25.For example, the second feature amount relates to coordinates of a center of gravity position 53 of the tool path 21, a main component 54 of the tool path 21, a main component vector of the tool path 21 or a tool path length 55. The main component 54 is an approximate straight line of the command points 22 on the tool path 21. The tool path length 55 is a length of the tool path 21 from its starting point 23 to its end point 25.

Der zweite Merkmalsbetrag kann normalisierte Koordinaten der Schwerpunktposition 53 sein. Die Einheit 51 zur Berechnung des zweiten Merkmalsbetrags berechnet normalisierte Koordinaten durch Division eines Koordinatenwertes durch einen Mittelwert der Koordinatenwerte, einen ihrer Maximalwerte oder dergleichen. Ebenso kann die Einheit 51 zur Berechnung des zweiten Merkmalsbetrags als zweiten Merkmalsbetrag eine normalisierte Hauptkomponente 54, einen normalisierten Hauptkomponentenvektor oder eine normalisierte Werkzeugbahnlänge 55 berechnen. Der zweite Merkmalsbetrag kann eine mehrdimensionale Information sein, die mindestens zwei der normalisierten Koordinaten, die normalisierte Hauptkomponente 54, den normalisierten Hauptkomponentenvektor und die normalisierte Werkzeugbahnlänge 55 beinhaltet. Zu beachten ist, dass der zweite Merkmalsbetrag nicht unbedingt auf die in der zweiten Ausführungsform beschriebenen Beträge beschränkt ist, solange der zweite Merkmalsbetrag ein Betrag ist, der das Merkmal der Werkzeugbahn 21 darstellt.The second feature amount may be normalized coordinates of the center of gravity position 53. The second feature amount calculating unit 51 calculates normalized coordinates by dividing a coordinate value by an average of the coordinate values, a maximum value thereof, or the like. Likewise, the unit 51 for calculating the second feature amount can calculate a normalized main component 54, a normalized main component vector or a normalized tool path length 55 as the second feature amount. The second feature amount may be multidimensional information including at least two of the normalized coordinates, the normalized principal component 54, the normalized principal component vector, and the normalized tool path length 55. Note that the second feature amount is not necessarily limited to the amounts described in the second embodiment as long as the second feature amount is an amount representing the feature of the tool path 21.

Nachfolgend wird ein Betrieb der Clustering-Einheit 52 beschrieben. 16 ist ein Schaubild zum Beschreiben eines Verfahrens zum Klassifizieren einer Gruppe von Werkzeugbahnen in zwei oder mehr Cluster mittels der Clustering-Einheit 52 der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform. Die Clustering-Einheit 52 erfasst von der Einheit 51 zur Berechnung des zweiten Merkmalsbetrags Daten zu jeder in der Gruppe von Werkzeugbahnen enthaltenen Werkzeugbahn 21 und den zweiten Merkmalsbetrag jeder Werkzeugbahn 21. Die Clustering-Einheit 52 klassifiziert die Gruppe von Werkzeugbahnen auf Grundlage der zweiten erfassten Merkmalsbeträge in zwei oder mehr Cluster. Beispielsweise kann zur Klassifizierung der Clustering-Einheit 52 ein Verfahren wie ein k-means-Verfahren oder das Verfahren einer dichtebasierten räumlichen Clusteranalyse mit Rauschen (Density-based Spatial Clustering of Applications with Noise, DBSCAN) angewendet werden.An operation of the clustering unit 52 will be described below. 16 is a diagram for describing a method of classifying a group of tool paths into two or more clusters by the clustering unit 52 of the machining program modification device 11A according to the second embodiment. The clustering unit 52 acquires from the second feature amount calculating unit 51 data on each tool path 21 included in the group of tool paths and the second feature amount of each tool path 21. The clustering unit 52 classifies the group of tool paths based on the second acquired feature amounts into two or more clusters. For example, to classify the clustering unit 52, a method such as a k-means method or the method of a density-based spatial clustering of applications with noise (DBSCAN) can be used.

Hier sei angenommen, dass die Clustering-Einheit 52 als Daten zum zweiten Merkmalsbetrag Daten zu jeder der Koordinaten der Schwerpunktposition 53, der Hauptkomponente 54, des Hauptkomponentenvektors und der Werkzeugbahnlänge 55 erfasst. Bei dieser Annahme beinhaltet der zweite Merkmalsbetrag 16 Komponenten, die eine Schwerpunktpositionskoordinate (x), eine Schwerpunktpositionskoordinate (y), eine Schwerpunktpositionskoordinate (z), eine Hauptkomponente (x), eine Hauptkomponente (y), eine Hauptkomponente (z), ein erster Hauptkomponentenvektor (x), ein erster Hauptkomponentenvektor (y), ein erster Hauptkomponentenvektor (z), ein zweiter Hauptkomponentenvektor (x), ein zweiter Hauptkomponentenvektor (y), ein zweiter Hauptkomponentenvektor (z), ein dritter Hauptkomponentenvektor (x), ein dritter Hauptkomponentenvektor (y), ein dritter Hauptkomponentenvektor (z) und die Werkzeugbahnlänge 55 sind. Das Symbol (x) bezeichnet eine Komponente in x-Achsen-Richtung, das Symbol (y) bezeichnet eine Komponente in y-Achsen-Richtung und das Symbol (z) bezeichnet eine Komponente in z-Achsen-Richtung. Der erste Hauptkomponentenvektor, der zweite Hauptkomponentenvektor und der dritte Hauptkomponentenvektor werden beispielsweise durch eine Hauptkomponentenanalyse von Daten zu Befehlspunkten auf der Werkzeugbahn 21 erfasst. Die Clustering-Einheit 52 klassifiziert die Werkzeugbahnen 21 durch Vergleich der zweiten Merkmalsbeträge der Werkzeugbahnen 21 in 16 Dimensionen.Here, assume that the clustering unit 52 acquires data on each of the coordinates of the center of gravity position 53, the main component 54, the main component vector and the tool path length 55 as the second feature amount data. With this assumption, the second feature amount includes 16 components, which include a centroid position coordinate (x), a centroid position coordinate (y), a centroid position coordinate (z), a principal component (x), a principal component (y), a principal component (z), a first principal component vector (x), a first principal component vector (y), a first principal component vector (z), a second principal component vector (x), a second principal component vector (y), a second principal component vector (z), a third principal component vector (x), a third principal component vector ( y), a third principal component vector (z) and the tool path length is 55. The symbol (x) denotes a component in the x-axis direction, the symbol (y) denotes a component in the y-axis direction, and the symbol (z) denotes a component in the z-axis direction. The first principal component vector, the second principal component vector and the third principal component vector are acquired, for example, through principal component analysis of data on command points on the tool path 21. The clustering unit 52 classifies the tool paths 21 by comparing the second feature amounts of the tool paths 21 in 16 dimensions.

Die Cluster-Einheit 52 zeichnet auf einem Graphen Punkte, die die zweiten Merkmalsbeträge der Werkzeugbahnen 21 darstellen, und definiert Regionen von Clustern auf dem Graphen, sodass nahe beieinander auf dem Graphen liegende Punkte, deren Abstände zueinander relativ kurz sind, innerhalb der gleichen Region liegen, die den Bereich eines Clusters darstellt. 16 zeigt ein Beispiel für ein Abbildungsergebnis in dem Fall, dass der zweite Merkmalsbetrag drei Komponenten aufweist. Drei Achsen des in 16 veranschaulichten Diagramms stellen eine erste Komponente, eine zweite Komponente und eine dritte Komponente dar, die Komponenten des zweiten Merkmalsbetrages sind. Zu beachten ist, dass die Anzahl der Komponenten des zweiten Merkmalsbetrags nicht unbedingt auf drei beschränkt ist und auf jede beliebige Anzahl festgelegt werden kann. Auf diese Weise führt die Clustering-Einheit 52 ein Clustering durch, sodass die Werkzeugbahnen 21 mit den zweiten Merkmalsbeträgen nahe beieinander demselben Cluster zugeordnet sind.The cluster unit 52 draws points on a graph that represent the second feature amounts of the tool paths 21 and defines regions of clusters on the graph so that points lying close to one another on the graph and whose distances from one another are relatively short are within the same range chen region that represents the area of a cluster. 16 shows an example of a mapping result in the case that the second feature amount has three components. Three axes of the in 16 illustrated diagram represent a first component, a second component and a third component, which are components of the second feature amount. Note that the number of components of the second feature amount is not necessarily limited to three and can be set to any number. In this way, the clustering unit 52 performs clustering so that the tool paths 21 with the second feature amounts close to each other are assigned to the same cluster.

In 16 stellt ein Punkt 56-1 den zweiten Merkmalsbetrag der Werkzeugbahn 21-1 dar. Ein Punkt 56-2 stellt den zweiten Merkmalsbetrag der Werkzeugbahn 21-2 dar. Ein Punkt 56-3 stellt den zweiten Merkmalsbetrag der Werkzeugbahn 21-3 dar. Ein Punkt 56-4 stellt den zweiten Merkmalsbetrag der Werkzeugbahn 21-4 dar. Ein Punkt 56-5 stellt den zweiten Merkmalsbetrag der Werkzeugbahn 21-5 dar. Ein Punkt 56-6 stellt den zweiten Merkmalsbetrag der Werkzeugbahn 21-6 dar. Außerdem sind bei dem in 16 gezeigten Beispiel die drei Punkte 56-1, 56-2 und 56-3 in einer Region 57-1, die einen ersten Cluster darstellt, enthalten, und die drei Punkte 56-4, 56-5 und 56-6 sind in einer Region 57-2, die einen zweiten Cluster darstellt, enthalten. Infolgedessen klassifiziert die Clustering-Einheit 52 die drei Werkzeugbahnen 21-1, 21-2 und 21-3 in den ersten Cluster und klassifiziert die drei Werkzeugbahnen 21-4, 21-5 und 21-6 in den zweiten Cluster.In 16 a point 56-1 represents the second feature amount of the tool path 21-1. A point 56-2 represents the second feature amount of the tool path 21-2. A point 56-3 represents the second feature amount of the tool path 21-3. One point 56-4 represents the second feature amount of the tool path 21-4. A point 56-5 represents the second feature amount of the tool path 21-5. A point 56-6 represents the second feature amount of the tool path 21-6 in 16 In the example shown, the three points 56-1, 56-2 and 56-3 are in a region 57-1 which represents a first cluster, and the three points 56-4, 56-5 and 56-6 are in a region 57-2, which represents a second cluster. As a result, the clustering unit 52 classifies the three tool paths 21-1, 21-2 and 21-3 into the first cluster and classifies the three tool paths 21-4, 21-5 and 21-6 into the second cluster.

17 ist ein Schaubild, das ein Beispiel eines Ergebnisses einer Klassifizierung, die durch die Clustering-Einheit 52 der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform ausgeführt wurde, zeigt. Die in einen ersten Cluster 58-1 klassifizierten Werkzeugbahnen 21-1, 21-2 und 21-3 sind die Werkzeugbahnen 21 auf der bearbeiteten Fläche PS1. Die in einen zweiten Cluster 58-2 klassifizierten Werkzeugbahnen 21-4, 21-5 und 21-6 sind die Werkzeugbahnen 21 auf der bearbeiteten Fläche PS2. Auf diese Weise klassifiziert die Clustering-Einheit 52 die Werkzeugbahnen 21 in einer Gruppe von Werkzeugbahnen für das Werkstück 10 in Cluster der Werkzeugbahnen 21, deren Merkmale einander gemeinsam sind. 17 is a diagram showing an example of a result of classification performed by the clustering unit 52 of the machining program modification apparatus 11A according to the second embodiment. The tool paths 21-1, 21-2 and 21-3 classified into a first cluster 58-1 are the tool paths 21 on the machined surface PS1. The tool paths 21-4, 21-5 and 21-6 classified into a second cluster 58-2 are the tool paths 21 on the machined surface PS2. In this way, the clustering unit 52 classifies the tool paths 21 in a group of tool paths for the workpiece 10 into clusters of the tool paths 21 whose features are common to each other.

Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags erfasst von der Clustering-Einheit 52 Daten zu jeder Werkzeugbahn 21 für jeden Cluster. Die Einheit 12 zur Berechnung des ersten Merkmalsbetrags berechnet für jede von einer Vielzahl von Werkzeugbahnen 21 jedes Clusters den ersten Merkmalsbetrag jedes Befehlspunktes 22 auf der Werkzeugbahn 21.The unit 12 for calculating the first feature amount acquires data from the clustering unit 52 on each tool path 21 for each cluster. The first feature amount calculation unit 12 calculates the first feature amount of each command point 22 on the tool path 21 for each of a plurality of tool paths 21 of each cluster.

18 ist ein Ablaufdiagramm, das einen Ablaufprozess der Einheit 13 zur Berechnung eines ähnlichen Punktes, die als eine Komponente der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform dient, veranschaulicht. Im Schritt S31 wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes eine Vielzahl der Werkzeugbahnen 21 eines Zielclusters aus, indem sie Daten zur Vielzahl von Werkzeugbahnen 21 des Zielclusters von der Einheit 12 zur Berechnung des ersten Merkmalsbetrags erfasst. Der Zielcluster bezieht sich auf einen Cluster, für den eine Korrektur der Werkzeugbahnen 21 durchzuführen ist. 18 Fig. 11 is a flowchart illustrating a flow process of the similar point calculation unit 13 serving as a component of the machining program modification apparatus 11A according to the second embodiment. In step S31, the similar point calculation unit 13 selects a plurality of the tool paths 21 of a target cluster by acquiring data on the plurality of tool paths 21 of the target cluster from the first feature amount calculation unit 12. The target cluster refers to a cluster for which a correction of the tool paths 21 is to be carried out.

Im Schritt S32 wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes aus der Vielzahl der Werkzeugbahnen 21 des Zielclusters die Zielbahn 26 aus. Im Schritt S33 wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes aus der Vielzahl der Werkzeugbahnen 21 des Zielclusters die benachbarte Bahn 27 aus.In step S32, the unit 13 selects the target path 26 from the plurality of tool paths 21 of the target cluster for calculating a similar point. In step S33, the similar point calculation unit 13 selects the adjacent path 27 from the plurality of tool paths 21 of the target cluster.

Im Schritt S34 legt die Einheit 13 zur Berechnung eines ähnlichen Punktes einen von der Vielzahl von Befehlspunkten 22 auf der Zielbahn 26 als den Zielbefehlspunkt 40 fest. Im Schritt S35 berechnet die Einheit 13 zur Berechnung eines ähnlichen Punktes den ähnlichen Punkt 41 für den Zielbefehlspunkt 40.In step S34, the similar point calculation unit 13 sets one of the plurality of command points 22 on the target trajectory 26 as the target command point 40. In step S35, the similar point calculation unit 13 calculates the similar point 41 for the target command point 40.

Im Schritt S36 bestimmt die Einheit 13 zur Berechnung eines ähnlichen Punktes, ob der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist oder nicht. Wenn der Zielbefehlspunkt 40 nicht der letzte Befehlspunkt 22 auf der Zielbahn 26 ist (Schritt S36, Nein), legt die Einheit 13 zur Berechnung eines ähnlichen Punktes im Schritt S37 den Befehlspunkt 22 neben dem Zielbefehlspunkt 40 als einen Zielbefehlspunkt 40 fest. Die Einheit 13 zur Berechnung eines ähnlichen Punktes führt für den durch die Festlegung erhaltenen Zielbefehlspunkt 40 einen Vorgang gemäß dem Verfahren aus Schritt S35 durch.In step S36, the similar point calculation unit 13 determines whether or not the target command point 40 is the last command point 22 on the target trajectory 26. If the target command point 40 is not the last command point 22 on the target trajectory 26 (step S36, No), the similar point calculating unit 13 sets the command point 22 adjacent to the target command point 40 as a target command point 40 in step S37. The similar point calculation unit 13 performs a process according to the method of step S35 for the target command point 40 obtained by the determination.

Wenn andererseits der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist (Schritt S36, Ja), stellt die Einheit 13 zur Berechnung eines ähnlichen Punktes im Schritt S38 fest, ob die Zielbahn 26 im Zielcluster die letzte Werkzeugbahn 21 ist oder nicht. Wenn die Zielbahn 26 nicht die letzte Werkzeugbahn 21 im Zielcluster ist (Schritt S38, Nein), wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes im Schritt S39 die nächste Zielbahn 26 aus der Vielzahl von Werkzeugbahnen 21 im Zielcluster aus. Die Einheit 13 zur Berechnung eines ähnlichen Punktes führt für die nächste Zielbahn 26 einen Vorgang gemäß dem Prozess aus Schritt S33 aus.On the other hand, if the target command point 40 is the last command point 22 on the target trajectory 26 (step S36, Yes), the similar point calculation unit 13 determines whether the target trajectory 26 is in step S38 in the target cluster the last tool path is 21 or not. If the target path 26 is not the last tool path 21 in the target cluster (step S38, No), the similar point calculation unit 13 selects the next target path 26 from the plurality of tool paths 21 in the target cluster in step S39. The similar point calculation unit 13 executes a process according to the process of step S33 for the next target trajectory 26.

Wenn andererseits die Zielbahn 26 die letzte Werkzeugbahn 21 in dem Zielcluster ist (Schritt S38, Ja), stellt die Einheit 13 zur Berechnung eines ähnlichen Punktes im Schritt S40 fest, ob der Zielcluster ein letzter Cluster für das Werkstück 10 ist oder nicht. Wenn der Zielcluster nicht der letzte Cluster ist (Schritt S40, Nein), wählt die Einheit 13 zur Berechnung eines ähnlichen Punktes in Schritt S41 eine Vielzahl der Werkzeugbahnen 21 des nächsten Zielclusters aus, indem sie Daten zur Vielzahl von Werkzeugbahnen 21 des nächsten Zielclusters von der Einheit 12 zur Berechnung des ersten Merkmalsbetrags erfasst. Die Einheit 13 zur Berechnung eines ähnlichen Punktes führt für den nächsten Zielcluster einen Vorgang gemäß dem Prozess aus Schritt S32 aus.On the other hand, if the target path 26 is the last tool path 21 in the target cluster (step S38, Yes), the similar point calculation unit 13 determines whether or not the target cluster is a last cluster for the workpiece 10 in step S40. If the target cluster is not the last cluster (step S40, No), the similar point calculation unit 13 selects a plurality of the tool paths 21 of the next target cluster in step S41 by obtaining data on the plurality of tool paths 21 of the next target cluster from the Unit 12 is recorded for calculating the first feature amount. The similar point calculation unit 13 executes a process according to the process of step S32 for the next target cluster.

Wenn andererseits der Zielcluster der letzte Cluster für das Werkstück 10 ist (Schritt S40, Ja), beendet die Einheit 13 zur Berechnung eines ähnlichen Punktes den Vorgang entsprechend dem in 18 veranschaulichten Prozess. Auf diese Weise erhält die Einheit 13 zur Berechnung eines ähnlichen Punktes den ähnlichen Punkt 41 mit der Auswahl der Zielbahn 26 und der benachbarten Bahn 27 für jeden Cluster. Die Einheit 13 zur Berechnung eines ähnlichen Punktes berechnet für jeden Befehlspunkt 22 für jeden von einer Vielzahl der Werkzeugbahnen 21 jedes Clusters den ähnlichen Punkt 41.On the other hand, if the target cluster is the last cluster for the workpiece 10 (step S40, Yes), the similar point calculation unit 13 ends the process according to the in 18 illustrated process. In this way, the similar point calculation unit 13 obtains the similar point 41 with the selection of the target trajectory 26 and the neighboring trajectory 27 for each cluster. The similar point calculation unit 13 calculates the similar point 41 for each command point 22 for each of a plurality of the tool paths 21 of each cluster.

19 ist ein Ablaufdiagramm, das einen Ablaufprozess, in dem die Korrektureinheit 14 der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform die Strecke 43 ähnlicher Punkte erstellt, veranschaulicht. Im Schritt S51 wählt die Korrektureinheit 14 eine Vielzahl der Werkzeugbahnen 21 eines Zielclusters aus, indem sie Daten zur Vielzahl von Werkzeugbahnen 21 des Zielclusters von der Einheit 13 zur Berechnung eines ähnlichen Punktes erfasst. 19 is a flowchart illustrating a flow process in which the correction unit 14 of the machining program modification apparatus 11A according to the second embodiment creates the route 43 of similar points. In step S51, the correction unit 14 selects a plurality of the tool paths 21 of a target cluster by acquiring data on the plurality of tool paths 21 of the target cluster from the similar point calculating unit 13.

Im Schritt S52 wählt die Korrektureinheit 14 die Zielbahn 26 aus der Vielzahl der Werkzeugbahnen 21 des Zielclusters aus. Im Schritt S53 legt die Korrektureinheit 14 einen von einer Vielzahl der Befehlspunkte 22 auf der Zielbahn 26 als den Zielbefehlspunkt 40 fest.In step S52, the correction unit 14 selects the target path 26 from the plurality of tool paths 21 of the target cluster. In step S53, the correction unit 14 sets one of a plurality of the command points 22 on the target trajectory 26 as the target command point 40.

Die Korrektureinheit 14 erfasst von der Einheit 13 zur Berechnung eines ähnlichen Punktes Daten zum ähnlichen Punkt 41, der dem Zielbefehlspunkt 40 entspricht. Im Schritt S54 fügt die Korrektureinheit 14 den ähnlichen Punkt 41 für den Zielbefehlspunkt 40 zur Strecke 43 ähnlicher Punkte hinzu.The correction unit 14 acquires data on the similar point 41 corresponding to the target command point 40 from the similar point calculation unit 13. In step S54, the correction unit 14 adds the similar point 41 for the target command point 40 to the similar point route 43.

Im Schritt S55 bestimmt die Korrektureinheit 14, ob der zur Strecke 43 ähnlicher Punkte hinzugefügte ähnliche Punkt 41 der Befehlspunkt 22 auf der letzten Werkzeugbahn 21 in dem Zielcluster ist oder nicht. Wenn der ähnliche Punkt 41 nicht der Befehlspunkt 22 auf der letzten Werkzeugbahn 21 des Zielclusters ist (Schritt S55, Nein), legt die Korrektureinheit 14 im Schritt S56 den ähnlichen Punkt 41 als den nächsten Zielbefehlspunkt 40 fest. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S54 für den nächsten Zielbefehlspunkt 40 aus.In step S55, the correction unit 14 determines whether or not the similar point 41 added to the similar point route 43 is the command point 22 on the last tool path 21 in the target cluster. If the similar point 41 is not the command point 22 on the last tool path 21 of the target cluster (step S55, No), the correction unit 14 sets the similar point 41 as the next target command point 40 in step S56. The correction unit 14 executes a process according to the process of step S54 for the next target command point 40.

Wenn andererseits der ähnliche Punkt 41 der Befehlspunkt 22 auf der letzten Werkzeugbahn 21 im Zielcluster ist (Schritt S55, Ja), stellt die Korrektureinheit 14 im Schritt S57 fest, ob der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist oder nicht. Ist der Zielbefehlspunkt 40 nicht der letzte Befehlspunkt 22 auf der Zielbahn 26 (Schritt S57, Nein), legt die Korrektureinheit 14 im Schritt S58 den Befehlspunkt 22 neben dem Zielbefehlspunkt 40 als einen nächsten Zielbefehlspunkt 40 fest. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S54 für den nächsten Zielbefehlspunkt 40 aus.On the other hand, if the similar point 41 is the command point 22 on the last tool path 21 in the target cluster (step S55, Yes), the correction unit 14 determines whether or not the target command point 40 is the last command point 22 on the target path 26 in step S57. If the target command point 40 is not the last command point 22 on the target path 26 (step S57, No), the correction unit 14 sets the command point 22 next to the target command point 40 as a next target command point 40 in step S58. The correction unit 14 executes a process according to the process of step S54 for the next target command point 40.

Wenn andererseits der Zielbefehlspunkt 40 der letzte Befehlspunkt 22 auf der Zielbahn 26 ist (Schritt S57, Ja), stellt die Korrektureinheit 14 im Schritt S59 fest, ob die Zielbahn 26 die letzte Werkzeugbahn 21 im Zielcluster ist oder nicht. Wenn die Zielbahn 26 nicht die letzte Werkzeugbahn 21 ist (Schritt S59, Nein), wählt die Korrektureinheit 14 im Schritt S60 die nächste Zielbahn 26 aus der Vielzahl von Werkzeugbahnen 21 des Zielclusters aus. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S53 für die nächste Zielbahn 26 aus.On the other hand, if the target command point 40 is the last command point 22 on the target path 26 (step S57, Yes), the correction unit 14 determines whether or not the target path 26 is the last tool path 21 in the target cluster in step S59. If the target path 26 is not the last tool path 21 (step S59, No), the correction unit 14 selects the next target path 26 from the plurality of tool paths 21 of the target cluster in step S60. The correction unit 14 executes a process according to the process in step S53 for the next target trajectory 26.

Wenn andererseits die Zielbahn 26 die letzte Werkzeugbahn 21 in dem Zielcluster ist (Schritt S59, Ja), stellt die Korrektureinheit 14 im Schritt S61 fest, ob der Zielcluster ein letzter Cluster für das Werkstück 10 ist oder nicht. Wenn der Zielcluster nicht der letzte Cluster ist (Schritt S61, Nein), wählt die Korrektureinheit 14 im Schritt S62 eine Vielzahl der Werkzeugbahnen 21 des nächsten Zielclusters aus, indem sie Daten zur Vielzahl von Werkzeugbahnen 21 des nächsten Zielclusters von der Einheit 13 zur Berechnung eines ähnlichen Punktes erfasst. Die Korrektureinheit 14 führt einen Vorgang gemäß dem Prozess aus Schritt S52 für den nächsten Zielcluster aus.On the other hand, if the target path 26 is the last tool path 21 in the target cluster (step S59, Yes), the correction unit 14 determines in step S61 whether the target cluster is a last cluster for the workpiece 10 is or not. If the target cluster is not the last cluster (step S61, No), the correction unit 14 selects a plurality of the tool paths 21 of the next target cluster in step S62 by receiving data on the plurality of tool paths 21 of the next target cluster from the unit 13 for calculating a similar point recorded. The correction unit 14 executes an operation according to the process of step S52 for the next target cluster.

Wenn andererseits der Zielcluster der letzte Cluster für das Werkstück 10 ist (Schritt S61, Ja), beendet die Korrektureinheit 14 den Vorgang entsprechend dem in 19 veranschaulichten Prozess. Auf diese Weise korrigiert die Korrektureinheit 14 die Zielbahn 26 für jeden Cluster.On the other hand, if the target cluster is the last cluster for the workpiece 10 (step S61, Yes), the correction unit 14 finishes the process according to in 19 illustrated process. In this way, the correction unit 14 corrects the target trajectory 26 for each cluster.

Gemäß der zweiten Ausführungsform klassifiziert die Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms auf Grundlage der zweiten Merkmalsbeträge eine Gruppe von Werkzeugbahnen für das Werkstück 10 in eine Vielzahl von Clustern und korrigiert die Zielbahn 26 für jeden Cluster. Die Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms kann eine Korrektur zur Verringerung von Inkonsistenzen in der Form zwischen den Werkzeugbahnen 21 mit ihren jeweiligen gemeinsamen Merkmalen ausführen. Wie oben beschrieben, hat die Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms die vorteilhafte Wirkung, dass sie eine Verbesserung der Qualität der bearbeiteten Fläche ermöglicht.According to the second embodiment, the machining program modification apparatus 11A classifies a group of tool paths for the workpiece 10 into a plurality of clusters based on the second feature amounts, and corrects the target path 26 for each cluster. The machining program modification device 11A can perform correction to reduce inconsistencies in shape between the tool paths 21 having their respective common features. As described above, the machining program modification device 11A has the advantageous effect of enabling improvement in the quality of the machined surface.

Dritte Ausführungsform.Third embodiment.

20 ist ein Schaubild, das ein Bearbeitungssystem 1B gemäß einer dritten Ausführungsform veranschaulicht. Das Bearbeitungssystem 1B beinhaltet die CAM-Vorrichtung 3, die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms, die Vorrichtung 5 zur numerischen Steuerung und die Werkzeugmaschine 7. In der dritten Ausführungsform sind die gleichen Komponenten wie diejenigen in der vorstehenden ersten oder zweiten Ausführungsform mit den gleichen Bezugszeichen bezeichnet, und es wird hauptsächlich eine Konfiguration beschrieben, die sich von derjenigen in der ersten oder zweiten Ausführungsform unterscheidet. 20 is a diagram illustrating a machining system 1B according to a third embodiment. The machining system 1B includes the CAM device 3, the machining program modification device 11, the numerical control device 5, and the machine tool 7. In the third embodiment, the same components as those in the above first or second embodiments are given the same reference numerals and a configuration different from that in the first or second embodiment will be mainly described.

Das Bearbeitungssystem 1B beinhaltet die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform und hat folglich den vorteilhaften Effekt, eine Verbesserung der Qualität einer bearbeiteten Fläche zu ermöglichen. Es ist zu beachten, dass das Bearbeitungssystem 1B so konfiguriert sein kann, dass es die Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform beinhaltet.The machining system 1B includes the machining program modification device 11 according to the first embodiment, and thus has the advantageous effect of enabling improvement in the quality of a machined surface. Note that the machining system 1B may be configured to include the machining program modification apparatus 11A according to the second embodiment.

Das Bearbeitungssystem 1B kann dazu konfiguriert sein, ein Bearbeitungsprogramm-Modifikationsverfahren ähnlich dem der ersten oder zweiten Ausführungsform mittels der CAM-Vorrichtung 3 oder der Vorrichtung 5 zur numerischen Steuerung anstelle einer Konfiguration mit der Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms zu implementieren. Auch in diesem Fall kann das Bearbeitungssystem 1B die Qualität der bearbeiteten Fläche verbessern.The machining system 1B may be configured to implement a machining program modification method similar to that of the first or second embodiment by means of the CAM device 3 or the numerical control device 5 instead of a configuration with the machining program modification device 11 or 11A. In this case too, the machining system 1B can improve the quality of the machined area.

Nachfolgend wird die Hardware zur Implementierung der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform oder der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform beschrieben. 21 ist ein Schaubild, das ein Beispiel einer Hardware-Konfiguration zur Implementierung der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform oder der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform zeigt.Next, hardware for implementing the machining program modification apparatus 11 according to the first embodiment or the machining program modification apparatus 11A according to the second embodiment will be described. 21 is a diagram showing an example of a hardware configuration for implementing the machining program modification apparatus 11 according to the first embodiment or the machining program modification apparatus 11A according to the second embodiment.

Ein Hauptteil der Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms ist durch eine Verarbeitungsschaltung 61 mit einem Prozessor 63 und einem Speicher 64 implementiert. Der Hauptteil der Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms ist die Einheit 12 zur Berechnung des ersten Merkmalsbetrags, die Einheit 13 zur Berechnung eines ähnlichen Punktes und die Korrektureinheit 14. Der Hauptteil der Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms ist die Einheit 51 zur Berechnung des zweiten Merkmalsbetrags, die Clustering-Einheit 52, die Einheit 12 zur Berechnung des ersten Merkmalsbetrags, die Einheit 13 zur Berechnung eines ähnlichen Punktes und die Korrektureinheit 14.A main part of the machining program modification apparatus 11 or 11A is implemented by a processing circuit 61 having a processor 63 and a memory 64. The main part of the machining program modification device 11 is the first feature amount calculation unit 12, the similar point calculation unit 13, and the correction unit 14. The main part of the machining program modification device 11A is the second feature amount calculation unit 51 , the clustering unit 52, the unit 12 for calculating the first feature amount, the unit 13 for calculating a similar point and the correction unit 14.

Eine Eingabeeinheit 62 ist eine Schaltung, die von außen Eingangssignale für die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms empfängt. Die Eingabeeinheit 62 erhält das Bearbeitungsprogramm 4. Eine Ausgabeeinheit 65 ist eine Schaltung, die von der Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms erzeugte Signale nach außen abgibt. Die Ausgabeeinheit 65 gibt das modifizierte Bearbeitungsprogramm 15 aus. Eine Anzeigeeinheit 66 ist eine Anzeige, die Informationen anzeigt.An input unit 62 is a circuit that receives input signals from outside to the device 11 or 11A for modifying a machining program. The input unit 62 receives the machining program 4. An output unit 65 is a circuit that outputs signals generated by the machining program modification device 11 or 11A to the outside. The output unit 65 gives this modified machining program 15. A display unit 66 is a display that displays information.

Der Prozessor 63 ist eine zentrale Verarbeitungseinheit (Central Processing Unit, CPU). Der Prozessor 63 kann eine arithmetische Vorrichtung, ein Mikroprozessor, ein Mikrorechner oder ein digitaler Signalprozessor (DSP) sein. Der Speicher 64 ist ein nicht flüchtiger oder flüchtiger Speicher; zu Beispielen hierfür gehören ein Direktzugriffsspeicher (Random Access Memory, RAM), ein Festwertspeicher (Read Only Memory, ROM), ein Flash-Speicher, ein löschbarer programmierbarer Festwertspeicher (Erasable Programmable Read Only Memory, EPROM) und ein elektrisch löschbarer programmierbarer Festwertspeicher (Electrically Erasable Programmable Read Only Memory, EEPROM (eingetragene Marke)).The processor 63 is a central processing unit (CPU). The processor 63 may be an arithmetic device, a microprocessor, a microcomputer, or a digital signal processor (DSP). Memory 64 is non-volatile or volatile memory; Examples include random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read only memory (EPROM), and electrically erasable programmable read only memory (EPROM). Erasable Programmable Read Only Memory, EEPROM (registered trademark).

Der Prozessor 63 führt ein Programm zur Modifikation eines Bearbeitungsprogramms aus. Das Programm zur Modifikation eines Bearbeitungsprogramms ist ein Programm, in dem die Verarbeitung zur Durchführung von Vorgängen von Einheiten, die den Hauptteil der Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms bilden, beschrieben wird. Das Programm zur Modifikation eines Bearbeitungsprogramms wird vorab im Speicher 64 abgelegt. Der Prozessor 63 arbeitet als jede im Hauptteil der Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms enthaltene Einheit, indem er das im Speicher 64 gespeicherte Programm zur Modifikation eines Bearbeitungsprogramms liest und ausführt.The processor 63 executes a program for modifying a machining program. The machining program modification program is a program in which the processing for performing operations of units constituting the main part of the machining program modification apparatus 11 or 11A is described. The program for modifying a machining program is stored in memory 64 in advance. The processor 63 operates as each unit included in the main body of the machining program modification apparatus 11 or 11A by reading and executing the machining program modification program stored in the memory 64.

Obwohl das Programm zur Modifikation eines Bearbeitungsprogramms als vorab im Speicher 64 abgelegt beschrieben ist, ist die vorliegende Offenbarung nicht notwendigerweise auf dieses Beispiel beschränkt. Das Programm zur Modifikation eines Bearbeitungsprogramms kann einem Benutzer der Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms in einem Zustand bereitgestellt werden, in dem das Programm in ein Speichermedium geschrieben wurde, das so konfiguriert ist, dass es von einem Rechnersystem gelesen werden kann, und kann vom Benutzer im Speicher 64 installiert werden. Das Speichermedium kann ein tragbares Speichermedium sein, bei dem es sich um eine Diskette oder einen Flash-Speicher handelt, der ein Halbleiterspeicher ist. Das Programm zur Modifikation eines Bearbeitungsprogramms kann über ein Kommunikationsnetzwerk von einem anderen Rechner oder einer Servervorrichtung im Speicher 64 installiert werden.Although the program for modifying a machining program is described as previously stored in the memory 64, the present disclosure is not necessarily limited to this example. The machining program modification program may be provided to a user of the machining program modification device 11 or 11A in a state in which the program has been written into a storage medium configured to be read by a computer system installed by the user in memory 64. The storage medium may be a portable storage medium, which is a floppy disk, or a flash memory, which is a semiconductor memory. The program for modifying an editing program may be installed in memory 64 from another computer or server device via a communications network.

Wenn sich die Werkzeugmaschine 7 im Prozess der Bearbeitung befindet, korrigiert die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms die Werkzeugbahn 21 auf Echtzeitbasis und erzeugt das modifizierte Bearbeitungsprogramm 15. Die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms kann so konfiguriert sein, dass sie die Werkzeugbahn 21 korrigiert, wenn sie sich nicht im Prozess der Bearbeitung befindet, und kann so konfiguriert sein, dass sie das modifizierte Bearbeitungsprogramm 15 erzeugt, wenn sie sich nicht im Prozess der Bearbeitung befindet. Die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms kann so konfiguriert sein, dass sie die Bearbeitungsleistung durch Simulation der von der Werkzeugmaschine 7 auszuführenden Bearbeitung auf Grundlage der korrigierten Werkzeugbahn 21 testet.When the machine tool 7 is in the process of machining, the machining program modification device 11 or 11A corrects the tool path 21 on a real-time basis and generates the modified machining program 15. The machining program modification device 11 or 11A may be configured to: Tool path 21 corrected when not in the process of machining and may be configured to generate the modified machining program 15 when not in the process of machining. The machining program modification device 11 or 11A may be configured to test the machining performance by simulating the machining to be performed by the machine tool 7 based on the corrected tool path 21.

22 ist ein Ablaufdiagramm, das einen Ablaufprozess veranschaulicht, in dem die Vorrichtung 11 zur Modifikation eines Bearbeitungsprogramms gemäß der ersten Ausführungsform oder die Vorrichtung 11A zur Modifikation eines Bearbeitungsprogramms gemäß der zweiten Ausführungsform eine Simulation der Bearbeitung ausführt. Im Schritt S71 erzeugt die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms durch Simulation der Bearbeitung im Prozessor 63 ein Modell eines bearbeiteten Produktes. Im Schritt S72 speichert die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms das erzeugte Modell im Speicher 64. 22 is a flowchart illustrating a flow process in which the machining program modification apparatus 11 according to the first embodiment or the machining program modification apparatus 11A according to the second embodiment executes simulation of machining. In step S71, the machining program modification device 11 or 11A generates a model of a machined product by simulating machining in the processor 63. In step S72, the machining program modification device 11 or 11A stores the generated model in the memory 64.

Im Schritt S73 erzeugt die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms ein Bild des bearbeiteten Produktes durch das Rendering des Modells im Prozessor 63. Im Schritt S74 zeigt die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms das Bild auf der Anzeigeeinheit 66 an. Wie oben beschrieben, beendet die Vorrichtung 11 oder 11A zur Modifikation eines Bearbeitungsprogramms den Vorgang entsprechend dem in 22 veranschaulichten Prozess. Der Benutzer kann die korrigierte Werkzeugbahn 21 überprüfen, indem er das angezeigte Bild mit dem CAD-Modell 2 vergleicht, bevor er die eigentliche Bearbeitung durchführt.In step S73, the machining program modification device 11 or 11A generates an image of the machined product by rendering the model in the processor 63. In step S74, the machining program modification device 11 or 11A displays the image on the display unit 66. As described above, the machining program modification apparatus 11 or 11A completes the operation in accordance with FIG 22 illustrated process. The user can check the corrected tool path 21 by comparing the displayed image with the CAD model 2 before performing the actual machining.

Die in jeder der vorstehenden Ausführungsformen beschriebene Konfiguration zeigt ein Beispiel für den Inhalt der vorliegenden Offenbarung. Die Konfiguration einer Ausführungsform kann mit anderen öffentlich bekannten Techniken kombiniert werden. Die Konfigurationen der Ausführungsformen können in geeigneter Weise miteinander kombiniert werden. Es ist möglich, die Konfiguration jeder Ausführungsform teilweise wegzulassen oder zu verändern, ohne vom Schutzumfang der vorliegenden Offenbarung abzuweichen.The configuration described in each of the above embodiments shows an example of the contents of the present disclosure. The configuration of an embodiment may be combined with other publicly known techniques. The configurations of the embodiments can be suitably combined with each other. It is possible to share the configuration of each embodiment wise to omit or modify without departing from the scope of the present disclosure.

Liste der BezugszeichenList of reference symbols

1, 1B Bearbeitungssystem; 2 CAD-Modell; 3 CAM-Vorrichtung; 4 Bearbeitungsprogramm; 5 Vorrichtung zur numerischen Steuerung; 6 Steuerungssignal; 7 Werkzeugmaschine; 8 Antriebseinheit; 9 Werkzeug; 10 Werkstück; 11, 11A Vorrichtung zur Modifikation eines Bearbeitungsprogramms; 12 Einheit zur Berechnung des ersten Merkmalsbetrags; 13 Einheit zur Berechnung eines ähnlichen Punktes; 14 Korrektureinheit; 15 modifiziertes Bearbeitungsprogramm; 20, 20A Zielform; 21, 21-1, 21-2, 21-3, 21-4, 21-5, 21-6 Werkzeugbahn; 22, 22i, 22(i-1) Befehlspunkt; 23 Ausgangspunkt; 24i Betrag von Bewegung; 25 Endpunkt; 26 Zielbahn; 27 benachbarte Bahn; 31, 32, 33, 34, 35, 36, 56-1, 56-2, 56-3, 56-4, 56-5, 56-6 Punkt; 40 Zielbefehlspunkt; 41 ähnlicher Punkt; 42 Gerade; 43 Strecke ähnlicher Punkte; 44 geglättete Strecke; 45 Korrekturpunkt; 46 Ebene; 47 Pfeillinie; 51 Einheit zur Berechnung des zweiten Merkmalsbetrags; 52 Clustering-Einheit; 53 Schwerpunktposition; 54 Hauptkomponente; 55 Werkzeugbahnlänge; 57-1, 57-2 Region; 58-1 erster Cluster; 58-2 zweiter Cluster; 61 Verarbeitungsschaltung; 62 Eingabeeinheit; 63 Prozessor; 64 Speicher; 65 Ausgabeeinheit; 66 Anzeigeeinheit; PS, PS1, PS2 bearbeitete Fläche.1.1B editing system; 2 CAD model; 3 CAM device; 4 editing program; 5 numerical control device; 6 control signal; 7 machine tool; 8 drive unit; 9 tool; 10 workpiece; 11, 11A Device for modifying a machining program; 12 Unit for calculating the first feature amount; 13 unit for calculating a similar point; 14 correction unit; 15 modified editing program; 20, 20A target shape; 21, 21-1, 21-2, 21-3, 21-4, 21-5, 21-6 tool path; 22, 22i, 22(i-1) command point; 23 starting point; 24i amount of movement; 25 endpoint; 26 target lane; 27 adjacent lanes; 31, 32, 33, 34, 35, 36, 56-1, 56-2, 56-3, 56-4, 56-5, 56-6 point; 40 Target Command Point; 41 similar point; 42 straight; 43 route of similar points; 44 smoothed route; 45 correction point; 46 level; 47 arrow line; 51 Unit for calculating the second feature amount; 52 clustering unit; 53 center of gravity position; 54 main component; 55 tool path length; 57-1, 57-2 region; 58-1 first cluster; 58-2 second cluster; 61 processing circuit; 62 input unit; 63 processor; 64 memories; 65 output unit; 66 display unit; PS, PS1, PS2 machined area.

ZITATE ENTHALTEN IN DER BESCHREIBUNGQUOTES INCLUDED IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of documents listed by the applicant was generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.

Zitierte PatentliteraturCited patent literature

  • JP 202067863 [0005]JP 202067863 [0005]

Claims (10)

Vorrichtung zur Modifikation eines Bearbeitungsprogramms zum Modifizieren eines Bearbeitungsprogramms durch Korrigieren einer Werkzeugbahn, die eine Bahn ist, auf der ein Werkzeug durch eine Werkzeugmaschine bewegt wird, wobei das Bearbeitungsprogramm konfiguriert ist, eine Bearbeitung der Werkzeugmaschine auszuführen, wobei die Vorrichtung zur Modifikation eines Bearbeitungsprogramms Folgendes umfasst: eine Einheit zur Berechnung des ersten Merkmalsbetrags, um einen ersten Merkmalsbetrag zu erhalten, der ein Merkmal eines Befehlspunktes auf der Werkzeugbahn darstellt, wobei der Befehlspunkt eine Position des Werkzeugs in einer Steuerungsperiode der Werkzeugmaschine darstellt; eine Einheit zur Berechnung eines ähnlichen Punktes, um aus einer Vielzahl der Werkzeugbahnen, die in einer von einer Bewegungsrichtung auf der Werkzeugbahn verschiedenen Richtung angeordnet sind, eine Zielbahn, für die eine Korrektur vorgenommen werden soll, und eine der Zielbahn benachbarte Bahn auszuwählen, und um aus einer Vielzahl von Befehlspunkten auf der benachbarten Bahn auf Grundlage des ersten Merkmalsbetrags des Befehlspunktes auf der Zielbahn und des ersten Merkmalsbetrags des Befehlspunktes auf der benachbarten Bahn einen ähnlichen Punkt zu erhalten, wobei der ähnliche Punkt ein Befehlspunkt ähnlich dem Befehlspunkt auf der Zielbahn ist; und eine Korrektureinheit zur Korrektur der Zielbahn auf Grundlage des ähnlichen Punktes.Device for modifying a machining program for modifying a machining program by correcting a tool path, which is a path on which a tool is moved by a machine tool, the machining program being configured to execute machining of the machine tool, the device for modifying a machining program comprising: a first feature amount calculating unit to obtain a first feature amount representing a feature of a command point on the tool path, the command point representing a position of the tool in a control period of the machine tool; a similar point calculating unit for selecting a target path to be corrected and a path adjacent to the target path from a plurality of the tool paths arranged in a direction other than a direction of movement on the tool path, and obtain a similar point from a plurality of command points on the adjacent trajectory based on the first feature amount of the command point on the target trajectory and the first feature amount of the command point on the adjacent trajectory, the similar point being a command point similar to the command point on the target trajectory; and a correction unit for correcting the target trajectory based on the similar point. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach Anspruch 1, wobei die Korrektureinheit den ähnlichen Punkt für den Befehlspunkt auf jeder von einer Vielzahl der Werkzeugbahnen erhält, um dadurch eine Strecke ähnlicher Punkte zu erzeugen, die eine Vielzahl der erhaltenen ähnlichen Punkte verbindet, und die Zielbahn durch Einstellen einer Position des Befehlspunktes auf der Zielbahn auf Grundlage der Strecke ähnlicher Punkte korrigiert.Device for modifying a machining program Claim 1 , wherein the correction unit obtains the similar point for the command point on each of a plurality of the tool paths, thereby generating a similar point path connecting a plurality of the obtained similar points, and the target path by adjusting a position of the command point on the target path Corrected the basis of the route of similar points. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach Anspruch 2, wobei die Korrektureinheit die Position des Befehlspunktes durch Glätten der Strecke ähnlicher Punkte und Bewegen des Befehlspunktes auf der Zielbahn zur geglätteten Strecke ähnlicher Punkte anpasst.Device for modifying a machining program Claim 2 , wherein the correction unit adjusts the position of the command point by smoothing the path of similar points and moving the command point on the target trajectory to the smoothed path of similar points. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach Anspruch 2, wobei die Korrektureinheit eine durch die aufeinanderfolgenden Befehlspunkte auf der Zielbahn verlaufende Ebene erhält und die Position des Befehlspunktes auf der Ebene anpasst.Device for modifying a machining program Claim 2 , wherein the correction unit obtains a plane passing through the successive command points on the target trajectory and adjusts the position of the command point on the plane. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach einem der Ansprüche 1 bis 4, wobei der erste Merkmalsbetrag mindestens eine von Informationen über Koordinaten des Befehlspunktes, Informationen über einen Betrag von Bewegung des Werkzeugs an dem Befehlspunkt und Informationen über eine Länge der Werkzeugbahn zu dem Befehlspunkt beinhaltet.Device for modifying a machining program according to one of the Claims 1 until 4 , wherein the first feature amount includes at least one of information about coordinates of the command point, information about an amount of movement of the tool at the command point, and information about a length of the tool path to the command point. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach einem der Ansprüche 1 bis 5, wobei die Einheit zur Berechnung eines ähnlichen Punktes den ähnlichen Punkt durch Erhalten einer Zuordnung zwischen dem Befehlspunkt auf der Zielbahn und dem Befehlspunkt auf der benachbarten Bahn erhält, sodass ein Abstandsfehler, der eine Differenz zwischen dem ersten Merkmalsbetrag des Befehlspunktes auf der Zielbahn und dem ersten Merkmalsbetrag des Befehlspunktes auf der benachbarten Bahn darstellt, minimal ist.Device for modifying a machining program according to one of the Claims 1 until 5 , wherein the similar point calculating unit obtains the similar point by obtaining a mapping between the command point on the target trajectory and the command point on the adjacent trajectory, so that a distance error representing a difference between the first feature amount of the command point on the target trajectory and the first Feature amount of the command point on the adjacent path represents is minimal. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach einem der Ansprüche 1 bis 6, ferner umfassend: eine Einheit zur Berechnung des zweiten Merkmalsbetrags, um einen zweiten Merkmalsbetrag zu erhalten, der ein Merkmal der Werkzeugbahn darstellt; und eine Clustering-Einheit zum Klassifizieren einer Gruppe von Werkzeugbahnen zum Bearbeiten eines Werkstücks in eine Vielzahl von Clustern auf Grundlage der zweiten Merkmalsbeträge, wobei die Einheit zur Berechnung eines ähnlichen Punktes den ähnlichen Punkt durch Auswählen der Zielbahn und der benachbarten Bahn für jeden der Cluster erhält, und die Korrektureinheit die Zielbahn für jeden der Cluster korrigiert.Device for modifying a machining program according to one of the Claims 1 until 6 , further comprising: a unit for calculating the second feature amount to obtain a second feature amount representing a feature of the tool path; and a clustering unit for classifying a group of tool paths for machining a workpiece into a plurality of clusters based on the second feature amounts, wherein the similar point calculating unit obtains the similar point by selecting the target path and the adjacent path for each of the clusters , and the correction unit corrects the target trajectory for each of the clusters. Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach Anspruch 7, wobei der zweite Merkmalsbetrag mindestens eine von Informationen über Koordinaten einer Schwerpunktposition der Werkzeugbahn, Informationen über eine Hauptkomponente, die eine annähernde Gerade von einer Vielzahl von Befehlspunkten auf der Werkzeugbahn ist, und Informationen über eine Werkzeugbahnlänge beinhaltet.Device for modifying a machining program Claim 7 , wherein the second feature amount includes at least one of information about coordinates of a center of gravity position of the tool path, information about a principal component that is an approximate straight line of a plurality of command points on the tool path, and information about a tool path length. Verfahren zur Modifikation eines Bearbeitungsprogramms, in dem eine Vorrichtung zur Modifikation eines Bearbeitungsprogramms ein Bearbeitungsprogramm durch Korrigieren einer Werkzeugbahn, die eine Bahn ist, auf der ein Werkzeug in Bezug auf ein Werkstück bewegt wird, modifiziert, wobei das Bearbeitungsprogramm konfiguriert ist, eine Bearbeitung unter Verwendung des Werkzeugs auszuführen, wobei das Verfahren zur Modifikation eines Bearbeitungsprogramms Folgendes umfasst: einen Schritt des Erhaltens eines ersten Merkmalsbetrags, der ein Merkmal eines Befehlspunktes auf der Werkzeugbahn darstellt, wobei der Befehlspunkt eine Position des Werkzeugs in einer Steuerungsperiode darstellt; einen Schritt des Auswählens einer Zielbahn, für die eine Korrektur vorgenommen werden soll, und einer der Zielbahn benachbarten Bahn aus einer Vielzahl der Werkzeugbahnen, die in einer von einer Bewegungsrichtung auf der Werkzeugbahn verschiedenen Richtung angeordnet sind; einen Schritt des Erhaltens eines ähnlichen Punktes aus einer Vielzahl von Befehlspunkten auf der benachbarten Bahn auf Grundlage des ersten Merkmalsbetrags des Befehlspunktes auf der Zielbahn und des ersten Merkmalsbetrags des Befehlspunktes auf der benachbarten Bahn, wobei der ähnliche Punkt ein Befehlspunkt ähnlich dem Befehlspunkt auf der Zielbahn ist; und einen Schritt des Korrigierens der Zielbahn durch Korrigieren des Befehlspunktes auf der Zielbahn auf Grundlage des ähnlichen Punktes.A method of modifying a machining program, in which a machining program modification device modifies a machining program by correcting a tool path, which is a path on which a tool is moved with respect to a workpiece, the machining program being configured to use machining of the tool, the method of modifying a machining program comprising: a step of obtaining a first feature amount representing a feature of a command point on the tool path, the command point representing a position of the tool in a control period; a step of selecting a target path for which a correction is to be made and a path adjacent to the target path from a plurality of the tool paths arranged in a direction other than a direction of movement on the tool path; a step of obtaining a similar point from a plurality of command points on the adjacent trajectory based on the first feature amount of the command point on the target trajectory and the first feature amount of the command point on the adjacent trajectory, the similar point being a command point similar to the command point on the target trajectory ; and a step of correcting the target trajectory by correcting the command point on the target trajectory based on the similar point. Bearbeitungssystem, umfassend: eine Vorrichtung zur Erstellung eines Bearbeitungsprogramms, um ein Bearbeitungsprogramm zu erstellen; die Vorrichtung zur Modifikation eines Bearbeitungsprogramms nach einem der Ansprüche 1 bis 8, die das erstellte Bearbeitungsprogramm modifiziert; und eine Vorrichtung zur numerischen Steuerung, um eine zu steuernde Einrichtung auf Grundlage des modifizierten Bearbeitungsprogramms zu steuern.Machining system, comprising: a device for creating a machining program for creating a machining program; the device for modifying a machining program according to one of the Claims 1 until 8th , which modifies the created editing program; and a numerical control device for controlling a device to be controlled based on the modified machining program.
DE112021007120.3T 2021-02-17 2021-02-17 DEVICE FOR MODIFYING A MACHINING PROGRAM, METHOD FOR MODIFYING A MACHINING PROGRAM AND MACHINING SYSTEM Pending DE112021007120T5 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/005986 WO2022176077A1 (en) 2021-02-17 2021-02-17 Machining program modification device, machining program modification method, and machining system

Publications (1)

Publication Number Publication Date
DE112021007120T5 true DE112021007120T5 (en) 2023-12-21

Family

ID=82930359

Family Applications (1)

Application Number Title Priority Date Filing Date
DE112021007120.3T Pending DE112021007120T5 (en) 2021-02-17 2021-02-17 DEVICE FOR MODIFYING A MACHINING PROGRAM, METHOD FOR MODIFYING A MACHINING PROGRAM AND MACHINING SYSTEM

Country Status (4)

Country Link
JP (1) JP7455271B2 (en)
CN (1) CN116802573A (en)
DE (1) DE112021007120T5 (en)
WO (1) WO2022176077A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3466111B2 (en) * 1999-06-10 2003-11-10 ファナック株式会社 Numerical control unit
JP4969484B2 (en) * 2008-02-25 2012-07-04 三菱重工業株式会社 Numerical controller
JP5383230B2 (en) * 2009-01-30 2014-01-08 三菱重工業株式会社 NC data correction method and apparatus
JP6582931B2 (en) * 2015-11-30 2019-10-02 ブラザー工業株式会社 Control device, machine tool, control method, and computer program
JP6823032B2 (en) * 2018-10-25 2021-01-27 ファナック株式会社 Program modifier
JP6823037B2 (en) * 2018-11-09 2021-01-27 ファナック株式会社 Numerical control device, machining route setting method and program

Also Published As

Publication number Publication date
JP7455271B2 (en) 2024-03-25
WO2022176077A1 (en) 2022-08-25
JPWO2022176077A1 (en) 2022-08-25
CN116802573A (en) 2023-09-22

Similar Documents

Publication Publication Date Title
DE102016008994B4 (en) MACHINE TOOL, SIMULATION DEVICE AND MACHINE LEARNING DEVICE
EP1626317B1 (en) Method for developing a nonlinear, stationary or dynamical model of a control variable of a construction machine
DE102016009106A1 (en) Machining device equipped with control with processing time measuring function and measuring function on the machine
DE19725461A1 (en) Cutting path generation method for operating NC machine with CAD/CAM control
DE4430234A1 (en) Method for the detection of crawling in coatings and coating system using the said method
DE102018008395A1 (en) ROBOTIC INTRINSIC DEVICE FOR INDICATING OR CORRECTING POSITION DEVIATION FROM INTAKE POINTS OR AN INCLINED LINE
DE102019208262A1 (en) Method and device for determining model parameters for a control strategy of a technical system with the help of a Bayesian optimization method
DE112010005978T5 (en) A method and apparatus for creating a numerically controlled machining program and program for causing a computer to implement the same method
DE102020124734A1 (en) SIMULATION DEVICE
EP1830235A2 (en) Configuration of tools and processes for metal forming
DE102019118202A1 (en) robot system
DE20122802U1 (en) Computer readable medium with program for the production of constructions of tools for sheet metal forming parts
DE10393527T5 (en) Systems and methods for displaying complex n-curves for direct control of tool motion
DE102020105745A1 (en) TOOLS AND PROCESSES FOR AERODYNAMIC OPTIMIZATION OF THE GEOMETRY OF VEHICLE BODIES
DE112019007889T5 (en) MACHINING PROGRAM CONVERSION DEVICE, NUMERICAL CONTROL DEVICE AND MACHINING PROGRAM CONVERSION METHOD
DE102019000890A1 (en) A robot system for executing learning control based on machining results and control method thereof
DE102018220367A1 (en) Volume-based prediction of physical properties in sporting goods
DE112021007120T5 (en) DEVICE FOR MODIFYING A MACHINING PROGRAM, METHOD FOR MODIFYING A MACHINING PROGRAM AND MACHINING SYSTEM
DE102019207432A1 (en) Numerical control, numerical control process and numerical control program
DE102017116788A1 (en) Robot control device and method for controlling the same
DE102019208263A1 (en) Method and device for determining a control strategy for a technical system
DE102019208264A1 (en) Method and device for determining a control strategy for a technical system
WO2023194301A1 (en) Simulation method for a coating installation, and corresponding coating installation
DE60020234T2 (en) PROCESS AND DEVICE FOR IMAGE PLAYBACK
EP1891559B1 (en) Method for representing flexible elongate volume objects

Legal Events

Date Code Title Description
R012 Request for examination validly filed