JP6822242B2 - Diagnostic equipment, diagnostic systems, diagnostic methods and programs - Google Patents

Diagnostic equipment, diagnostic systems, diagnostic methods and programs Download PDF

Info

Publication number
JP6822242B2
JP6822242B2 JP2017051990A JP2017051990A JP6822242B2 JP 6822242 B2 JP6822242 B2 JP 6822242B2 JP 2017051990 A JP2017051990 A JP 2017051990A JP 2017051990 A JP2017051990 A JP 2017051990A JP 6822242 B2 JP6822242 B2 JP 6822242B2
Authority
JP
Japan
Prior art keywords
information
unit
state
learning data
deterioration
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.)
Active
Application number
JP2017051990A
Other languages
Japanese (ja)
Other versions
JP2018156340A (en
Inventor
陽介 村本
陽介 村本
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2017051990A priority Critical patent/JP6822242B2/en
Publication of JP2018156340A publication Critical patent/JP2018156340A/en
Application granted granted Critical
Publication of JP6822242B2 publication Critical patent/JP6822242B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Description

本発明は、診断装置、診断システム、診断方法およびプログラムに関する。 The present invention relates to diagnostic devices, diagnostic systems, diagnostic methods and programs.

画像形成装置および工作機械等の機械において、音または振動等の物理量を検知した検知情報と、予め用意しておいた検知情報とを利用して、機械の異常等を判定する技術が既に知られている。 In machines such as image forming devices and machine tools, a technique for determining a machine abnormality or the like by using detection information for detecting a physical quantity such as sound or vibration and detection information prepared in advance is already known. ing.

このような物理量を検知して機械の異常等を判定する技術として、集音手段によって集音された動作音データと、予め用意しておいた正常音データとを利用して、機械の異常を検出する技術が開示されている(特許文献1)。 As a technique for detecting such a physical quantity and determining a machine abnormality, etc., a machine abnormality is detected by using the operation sound data collected by the sound collecting means and the normal sound data prepared in advance. A technique for detecting is disclosed (Patent Document 1).

しかしながら、特許文献1に記載された技術では、予め用意しておくべきデータに対して、例えば、正常または異常等のラベルを付ける作業を、人の手によって行う必要があり、大量のデータに対して手動でラベルを付けることは時間的に現実的ではないという問題点があった。 However, in the technique described in Patent Document 1, it is necessary to manually label the data to be prepared in advance, for example, normal or abnormal, and for a large amount of data. There was a problem that it was not realistic in terms of time to label manually.

本発明は、上述の課題に鑑みてなされたものであって、予め用意しておくべき学習データに対して、対応するラベルを容易に付加することができる診断装置、診断システム、診断方法およびプログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and is a diagnostic device, a diagnostic system, a diagnostic method, and a program capable of easily adding a corresponding label to the training data to be prepared in advance. The purpose is to provide.

上述した課題を解決し、目的を達成するために、本発明は、対象装置の現在の動作に対応する所定の情報を、前記対象装置から取得する第1取得部と、前記対象装置の部材に関する物理量を検知する検知部から出力される第1検知情報を学習データとして取得する第2取得部と、前記第2取得部により取得された前記学習データの特徴を示す第1特徴情報を抽出する抽出部と、前記動作が実行されることにより、前記部材について新品状態における使用開始から使用不可となるまでの継続時間を、所定の複数の区間に分け、前記各区間に対応する前記学習データに対して、該部材の状態を示すラベル情報をそれぞれ付加する第1付加部と、前記各区間に対応する前記学習データにそれぞれ付加された前記ラベル情報と、前記第1特徴情報とに基づいて、前記第2取得部により取得された前記ラベル情報が未知である第2検知情報が、どの前記ラベル情報に対応するのかを判定するためのモデルを、前記学習データに対応する前記所定の情報をモデル特定情報として対応付けて生成する生成部と、を備える。 In order to solve the above-mentioned problems and achieve the object, the present invention relates to a first acquisition unit that acquires predetermined information corresponding to the current operation of the target device from the target device, and a member of the target device. An extraction that extracts a second acquisition unit that acquires the first detection information output from the detection unit that detects a physical quantity as learning data, and a first feature information that indicates the characteristics of the learning data acquired by the second acquisition unit. The unit and the duration from the start of use of the member in a new state to the inability to use the member by executing the operation are divided into a plurality of predetermined sections, and the learning data corresponding to each section is divided. Then, based on the first addition part to which the label information indicating the state of the member is added, the label information added to the learning data corresponding to each section, and the first feature information. The model for determining which of the label information the second detection information for which the label information acquired by the second acquisition unit is unknown corresponds to, and the predetermined information corresponding to the training data are specified as a model. It includes a generation unit that is associated and generated as information.

本発明によれば、予め用意しておくべき学習データに対して、対応するラベルを容易に付加することができる。 According to the present invention, a corresponding label can be easily added to the learning data to be prepared in advance.

図1は、第1の実施形態に係る診断システムの全体構成の一例を示す図である。FIG. 1 is a diagram showing an example of the overall configuration of the diagnostic system according to the first embodiment. 図2は、第1の実施形態の加工機のハードウェア構成の一例を示す図である。FIG. 2 is a diagram showing an example of the hardware configuration of the processing machine of the first embodiment. 図3は、第1の実施形態に係る診断装置のハードウェア構成の一例を示す図である。FIG. 3 is a diagram showing an example of the hardware configuration of the diagnostic apparatus according to the first embodiment. 図4は、第1の実施形態に係る診断システムの機能ブロックの構成の一例を示す図である。FIG. 4 is a diagram showing an example of the configuration of the functional block of the diagnostic system according to the first embodiment. 図5は、学習データに対して時間的に等間隔な区間ごとにラベル情報を付加することを説明する図である。FIG. 5 is a diagram for explaining that label information is added to the learning data at intervals of equal intervals in time. 図6は、第1の実施形態におけるモデル生成処理の一例を示すフローチャートである。FIG. 6 is a flowchart showing an example of the model generation process according to the first embodiment. 図7は、第1の実施形態における状態判定処理の一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of the state determination process according to the first embodiment. 図8は、第1の実施形態におけるモデル生成処理および状態判定処理の具体例を説明する図である。FIG. 8 is a diagram illustrating a specific example of the model generation process and the state determination process in the first embodiment. 図9は、共通のモデルを他の加工工程で使用する例を説明する図である。FIG. 9 is a diagram illustrating an example in which a common model is used in another processing process. 図10は、第2の実施形態に係る診断システムの機能ブロックの構成の一例を示す図である。FIG. 10 is a diagram showing an example of the configuration of the functional block of the diagnostic system according to the second embodiment. 図11は、工具の使用時間と劣化度との関係からラベル情報を付加することを説明する図である。FIG. 11 is a diagram illustrating that label information is added based on the relationship between the tool usage time and the degree of deterioration. 図12は、第2の実施形態におけるモデル生成処理の一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of the model generation process in the second embodiment. 図13は、第3の実施形態に係る診断システムの機能ブロックの構成の一例を示す図である。FIG. 13 is a diagram showing an example of the configuration of the functional block of the diagnostic system according to the third embodiment. 図14は、複数の工具の使用時間と劣化度との関係の一例を示すグラフである。FIG. 14 is a graph showing an example of the relationship between the usage time of a plurality of tools and the degree of deterioration. 図15は、工具の使用時間と劣化度との関係からラベル情報を付加することを説明する図である。FIG. 15 is a diagram illustrating that label information is added based on the relationship between the tool usage time and the degree of deterioration. 図16は、第3の実施形態におけるモデル生成処理の一例を示すフローチャートである。FIG. 16 is a flowchart showing an example of the model generation process according to the third embodiment.

以下に、図1〜図16を参照しながら、本発明に係る診断装置、診断システム、診断方法およびプログラムの実施形態を詳細に説明する。また、以下の実施形態によって本発明が限定されるものではなく、以下の実施形態における構成要素には、当業者が容易に想到できるもの、実質的に同一のもの、およびいわゆる均等の範囲のものが含まれる。さらに、以下の実施形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換、変更および組み合わせを行うことができる。 Hereinafter, embodiments of a diagnostic apparatus, a diagnostic system, a diagnostic method, and a program according to the present invention will be described in detail with reference to FIGS. 1 to 16. Further, the present invention is not limited by the following embodiments, and the components in the following embodiments include those easily conceived by those skilled in the art, substantially the same, and so-called equivalent ranges. Is included. Furthermore, various omissions, substitutions, changes and combinations of components can be made without departing from the gist of the following embodiments.

[第1の実施形態]
(診断システムの全体構成)
図1は、第1の実施形態に係る診断システムの全体構成の一例を示す図である。図1を参照しながら、本実施形態に係る診断システム1の全体構成について説明する。
[First Embodiment]
(Overall configuration of diagnostic system)
FIG. 1 is a diagram showing an example of the overall configuration of the diagnostic system according to the first embodiment. The overall configuration of the diagnostic system 1 according to the present embodiment will be described with reference to FIG.

図1に示すように、本実施形態に係る診断システム1は、加工機200に設置されたセンサ57と、診断装置100と、を含む。加工機200は、診断装置100に対して通信可能となるように接続されている。なお、図1には1台の加工機200が診断装置100に接続されている例が示されているが、これに限定されるものではなく、複数台の加工機200が診断装置100に対して、それぞれ通信可能となるように接続されているものとしてもよい。 As shown in FIG. 1, the diagnostic system 1 according to the present embodiment includes a sensor 57 installed in the processing machine 200 and a diagnostic device 100. The processing machine 200 is connected so as to be able to communicate with the diagnostic device 100. Although FIG. 1 shows an example in which one processing machine 200 is connected to the diagnostic device 100, the present invention is not limited to this, and a plurality of processing machines 200 are connected to the diagnostic device 100. They may be connected so that they can communicate with each other.

加工機200は、工具を用いて、加工対象に対して切削、研削または研磨等の加工を行う工作機械である。加工機200は、診断装置100による診断の対象となる対象装置の一例である。なお、対象装置として加工機200に限定されるものではなく、診断の対象となり得る機械であればよく、例えば、組立機、測定機、検査機、または洗浄機等の機械が対象装置であってもよい。以下では、加工機200を対象装置の一例として説明する。 The processing machine 200 is a machine tool that uses a tool to perform processing such as cutting, grinding, or polishing on a processing object. The processing machine 200 is an example of a target device to be diagnosed by the diagnostic device 100. The target device is not limited to the processing machine 200, and may be any machine that can be the target of diagnosis. For example, a machine such as an assembly machine, a measuring machine, an inspection machine, or a washing machine is the target device. May be good. Hereinafter, the processing machine 200 will be described as an example of the target device.

診断装置100は、加工機200に対して通信可能となるように接続され、加工機200の動作について診断を行う装置である。 The diagnostic device 100 is a device that is connected to the processing machine 200 so as to be communicable and diagnoses the operation of the processing machine 200.

センサ57は、加工機200に設置されたドリル、エンドミル、バイトチップもしくは砥石等の工具と加工対象とが加工動作中に接触することにより発する振動もしくは音等、または、工具もしくは加工機200自体が発する振動もしくは音等の物理量を検知し、検知した物理量の情報を検知情報(センサデータ)として診断装置100へ出力するセンサである。センサ57は、例えば、マイク、振動センサ、加速度センサ、またはAEセンサ等で構成され、例えば、振動または音等が検出できる工具の近傍に設置される。 The sensor 57 is a vibration or sound generated when a tool such as a drill, an end mill, a bite tip or a grindstone installed in the processing machine 200 and a processing target come into contact with each other during the processing operation, or the tool or the processing machine 200 itself. It is a sensor that detects a physical quantity such as vibration or sound generated and outputs the information of the detected physical quantity as detection information (sensor data) to the diagnostic apparatus 100. The sensor 57 is composed of, for example, a microphone, a vibration sensor, an acceleration sensor, an AE sensor, or the like, and is installed in the vicinity of a tool capable of detecting, for example, vibration or sound.

なお、加工機200と診断装置100とは、どのような接続形態で接続されてもよい。例えば、加工機200と診断装置100とは、専用の接続線、有線LAN(Local Area Network)等の有線ネットワーク、または、無線ネットワーク等により接続されるものとすればよい。 The processing machine 200 and the diagnostic apparatus 100 may be connected in any connection form. For example, the processing machine 200 and the diagnostic apparatus 100 may be connected by a dedicated connection line, a wired network such as a wired LAN (Local Area Network), a wireless network, or the like.

また、センサ57の個数は任意であってよい。また、同一の物理量を検知する複数のセンサ57を備えてもよいし、相互に異なる物理量を検知する複数のセンサ57を備えてもよい。 Further, the number of sensors 57 may be arbitrary. Further, a plurality of sensors 57 for detecting the same physical quantity may be provided, or a plurality of sensors 57 for detecting different physical quantities may be provided.

また、センサ57は、加工機200に予め備えられているものとしてもよく、または、完成機械である加工機200に対して後から取り付けられるものとしてもよい。 Further, the sensor 57 may be provided in advance in the processing machine 200, or may be attached to the processing machine 200 which is a completed machine later.

(加工機のハードウェア構成)
図2は、第1の実施形態の加工機のハードウェア構成の一例を示す図である。図2を参照しながら、本実施形態の加工機200のハードウェア構成について説明する。
(Hardware configuration of processing machine)
FIG. 2 is a diagram showing an example of the hardware configuration of the processing machine of the first embodiment. The hardware configuration of the processing machine 200 of the present embodiment will be described with reference to FIG.

図2に示すように、加工機200は、CPU(Central Processing Unit)51と、ROM(Read Only Memory)52と、RAM(Random Access Memory)53と、通信I/F(インターフェース)54と、駆動制御回路55と、がバス58で通信可能に接続された構成となっている。センサ57は、診断装置100に通信可能に接続されている。 As shown in FIG. 2, the processing machine 200 is driven by a CPU (Central Processing Unit) 51, a ROM (Read Only Memory) 52, a RAM (Random Access Memory) 53, a communication I / F (interface) 54, and the like. The control circuit 55 and the control circuit 55 are connected to each other so as to be communicable by the bus 58. The sensor 57 is communicably connected to the diagnostic device 100.

CPU51は、加工機200の全体を制御する演算装置である。CPU51は、例えば、RAM53をワークエリア(作業領域)としてROM52等に格納されたプログラムを実行することで、加工機200全体の動作を制御し、加工機能を実現する。 The CPU 51 is an arithmetic unit that controls the entire processing machine 200. For example, the CPU 51 controls the operation of the entire processing machine 200 and realizes a processing function by executing a program stored in the ROM 52 or the like with the RAM 53 as a work area (work area).

通信I/F54は、診断装置100等の外部装置と通信するためのインターフェースである。駆動制御回路55は、モータ56の駆動を制御する回路である。モータ56は、ドリル、エンドミル、バイトチップまたは砥石等、および、加工対象が載置され加工に合わせて移動されるテーブル等の加工に用いる工具を駆動するモータである。センサ57は、上述の通りである。 The communication I / F 54 is an interface for communicating with an external device such as the diagnostic device 100. The drive control circuit 55 is a circuit that controls the drive of the motor 56. The motor 56 is a motor that drives a tool used for machining a drill, an end mill, a tool tip, a grindstone, or the like, and a table or the like on which a machining target is placed and moved according to the machining. The sensor 57 is as described above.

(診断装置のハードウェア構成)
図3は、第1の実施形態に係る診断装置のハードウェア構成の一例を示す図である。図3を参照しながら、本実施形態に係る診断装置100のハードウェア構成について説明する。
(Hardware configuration of diagnostic device)
FIG. 3 is a diagram showing an example of the hardware configuration of the diagnostic apparatus according to the first embodiment. The hardware configuration of the diagnostic apparatus 100 according to the present embodiment will be described with reference to FIG.

図3に示すように、診断装置100は、CPU61と、ROM62と、RAM63と、通信I/F64と、センサI/F65と、補助記憶装置66と、入力装置67と、ディスプレイ68と、がバス69で通信可能に接続された構成となっている。 As shown in FIG. 3, the diagnostic device 100 includes a CPU 61, a ROM 62, a RAM 63, a communication I / F 64, a sensor I / F 65, an auxiliary storage device 66, an input device 67, and a display 68. It is configured so that it can be communicated with 69.

CPU61は、診断装置100の全体を制御する演算装置である。CPU61は、例えば、RAM63をワークエリア(作業領域)としてROM62等に格納されたプログラムを実行することで、診断装置100全体の動作を制御し、診断機能を実現する。 The CPU 61 is an arithmetic unit that controls the entire diagnostic device 100. The CPU 61 controls the operation of the entire diagnostic device 100 and realizes a diagnostic function by executing a program stored in the ROM 62 or the like with the RAM 63 as a work area (work area), for example.

通信I/F64は、加工機200等の外部装置と通信するためのインターフェースである。通信I/F64は、例えば、TCP(Transmission Control Protocol)/IP(Internet Protocol)に対応したNIC(Network Interface Card)等である。 The communication I / F64 is an interface for communicating with an external device such as a processing machine 200. The communication I / F64 is, for example, a NIC (Network Interface Card) corresponding to TCP (Transmission Protocol) / IP (Internet Protocol).

センサI/F65は、加工機200に設置されたセンサ57から検知情報を受信するためのインターフェースである。 The sensor I / F65 is an interface for receiving detection information from the sensor 57 installed in the processing machine 200.

補助記憶装置66は、診断装置100の設定情報、加工機200から受信された検知情報およびコンテキスト情報、後述する診断装置100により生成されたモデル、OS(Operating System)、およびアプリケーションプログラム等の各種データを記憶するHDD(Hard Disk Drive)、SSD(Solid State Drive)、またはEEPROM(Electrically Erasable Programmable Read−Only Memory)等の不揮発性の記憶装置である。なお、補助記憶装置66は、診断装置100が備えるものとしているが、これに限定されるものではなく、例えば、診断装置100の外部に設置された記憶装置であってもよく、または、診断装置100とデータ通信可能なサーバ装置が備えた記憶装置であってもよい。 The auxiliary storage device 66 includes setting information of the diagnostic device 100, detection information and context information received from the processing machine 200, a model generated by the diagnostic device 100 described later, an OS (Operating System), various data such as an application program, and the like. It is a non-volatile storage device such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), or an EEPROM (Electrically Erasable Program Read-Only Memory) that stores the data. The auxiliary storage device 66 is provided in the diagnostic device 100, but is not limited to this, and may be, for example, a storage device installed outside the diagnostic device 100, or the diagnostic device. It may be a storage device provided with a server device capable of data communication with 100.

入力装置67は、文字および数字等の入力、各種指示の選択、ならびにカーソルの移動等の操作を行うためのマウスまたはキーボード等の入力装置である。 The input device 67 is an input device such as a mouse or keyboard for inputting characters and numbers, selecting various instructions, and performing operations such as moving a cursor.

ディスプレイ68は、文字、数字、および各種画面および操作用アイコン等を表示するCRT(Cathode Ray Tube)ディスプレイ、LCD(Liquid Crystal Display)、または有機EL(Electro−Luminescence)ディスプレイ等の表示装置である。 The display 68 is a display device such as a CRT (Cathode Ray Tube) display, an LCD (Liquid Crystal Display), or an organic EL (Electro-Luminesse) display that displays characters, numbers, various screens, operation icons, and the like.

なお、図3に示したハードウェア構成は一例であり、すべての構成機器を備えている必要はなく、また、他の構成機器を備えているものとしてもよい。例えば、診断装置100が加工機200の診断動作に特化し、診断結果を外部のサーバ装置等に送信する場合、入力装置67およびディスプレイ68は備えられていない構成としてもよい。 The hardware configuration shown in FIG. 3 is an example, and it is not necessary to include all the constituent devices, or it may be provided with other constituent devices. For example, when the diagnostic device 100 specializes in the diagnostic operation of the processing machine 200 and transmits the diagnostic result to an external server device or the like, the input device 67 and the display 68 may not be provided.

(診断システムの機能ブロックの構成および動作)
図4は、第1の実施形態に係る診断システムの機能ブロックの構成の一例を示す図である。図5は、学習データに対して時間的に等間隔な区間ごとにラベル情報を付加することを説明する図である。図4および図5を参照しながら、本実施形態に係る診断システム1および加工機200の機能ブロックの構成および動作について説明する。
(Configuration and operation of functional blocks of diagnostic system)
FIG. 4 is a diagram showing an example of the configuration of the functional block of the diagnostic system according to the first embodiment. FIG. 5 is a diagram for explaining that label information is added to the learning data at intervals of equal intervals in time. The configuration and operation of the functional blocks of the diagnostic system 1 and the processing machine 200 according to the present embodiment will be described with reference to FIGS. 4 and 5.

図4に示すように、加工機200は、数値制御部201と、通信制御部202と、駆動制御部203と、駆動部204と、検知部211と、を有する。 As shown in FIG. 4, the processing machine 200 includes a numerical control unit 201, a communication control unit 202, a drive control unit 203, a drive unit 204, and a detection unit 211.

数値制御部201は、駆動部204による加工を数値制御(NC:Numerical Control)により実行する機能部である。例えば、数値制御部201は、駆動部204の動作を制御するための数値制御データを生成して出力する。また、数値制御部201は、コンテキスト情報を通信制御部202に出力する。ここで、コンテキスト情報とは、加工機200の動作の種類ごとに複数定められる情報である。コンテキスト情報は、例えば、工作機械(加工機200)の識別情報、駆動部204の識別情報(例えば、工具の識別情報等)、駆動部204に駆動される工具の径、および工具の材質等のコンフィギュレーション情報、ならびに、駆動部204に駆動される工具の動作状態、駆動部204の使用開始からの累積使用時間、駆動部204に係る負荷、駆動部204の回転数、駆動部204の加工速度等の加工条件の情報等を示す情報である。 The numerical control unit 201 is a functional unit that executes machining by the drive unit 204 by numerical control (NC: Numerical Control). For example, the numerical control unit 201 generates and outputs numerical control data for controlling the operation of the drive unit 204. Further, the numerical control unit 201 outputs the context information to the communication control unit 202. Here, the context information is a plurality of information defined for each type of operation of the processing machine 200. The context information includes, for example, identification information of a machine tool (machining machine 200), identification information of a drive unit 204 (for example, tool identification information, etc.), a diameter of a tool driven by the drive unit 204, a tool material, and the like. Configuration information, operating status of the tool driven by the drive unit 204, cumulative usage time from the start of use of the drive unit 204, load related to the drive unit 204, rotation speed of the drive unit 204, machining speed of the drive unit 204. This is information indicating information on processing conditions such as.

数値制御部201は、例えば、現在の加工機200の動作に対応するコンテキスト情報を、逐次、通信制御部202を介して診断装置100に送信する。数値制御部201は、加工対象を加工する際、加工の工程に応じて、駆動する駆動部204の種類、または駆動部204の駆動状態(回転数、回転速度等)を変更する。数値制御部201は、動作の種類を変更するごとに、変更した動作の種類に対応するコンテキスト情報を、通信制御部202を介して診断装置100に逐次送信する。数値制御部201は、例えば、図2に示すCPU51で動作するプログラムによって実現される。 For example, the numerical control unit 201 sequentially transmits the context information corresponding to the operation of the current processing machine 200 to the diagnostic apparatus 100 via the communication control unit 202. When machining an object to be machined, the numerical control unit 201 changes the type of the drive unit 204 to be driven or the drive state (rotation speed, rotation speed, etc.) of the drive unit 204 according to the machining process. Each time the numerical control unit 201 changes the operation type, the numerical control unit 201 sequentially transmits the context information corresponding to the changed operation type to the diagnostic apparatus 100 via the communication control unit 202. The numerical control unit 201 is realized by, for example, a program running on the CPU 51 shown in FIG.

通信制御部202は、診断装置100等の外部装置との間の通信を制御する機能部である。例えば、通信制御部202は、現在の動作に対応するコンテキスト情報を診断装置100に送信する。通信制御部202は、例えば、図2に示す通信I/F54、およびCPU51で動作するプログラムによって実現される。 The communication control unit 202 is a functional unit that controls communication with an external device such as the diagnostic device 100. For example, the communication control unit 202 transmits the context information corresponding to the current operation to the diagnostic device 100. The communication control unit 202 is realized by, for example, a communication I / F 54 shown in FIG. 2 and a program running on the CPU 51.

駆動制御部203は、数値制御部201により求められた数値制御データに基づいて、駆動部204を駆動制御する機能部である。駆動制御部203は、例えば、図2に示す駆動制御回路55によって実現される。 The drive control unit 203 is a functional unit that drives and controls the drive unit 204 based on the numerical control data obtained by the numerical control unit 201. The drive control unit 203 is realized by, for example, the drive control circuit 55 shown in FIG.

駆動部204は、駆動制御部203による駆動制御の対象となる機能部である。駆動部204は、駆動制御部203による制御によって工具を駆動する。駆動部204は、駆動制御部203によって駆動制御されるアクチュエータであり、例えば、図2に示すモータ56等によって実現される。なお、駆動部204は、加工に用いられ、数値制御の対象となるものであればどのようなアクチュエータであってもよい。また、駆動部204は、2以上備えられていてもよい。 The drive unit 204 is a functional unit that is the target of drive control by the drive control unit 203. The drive unit 204 drives the tool under the control of the drive control unit 203. The drive unit 204 is an actuator that is driven and controlled by the drive control unit 203, and is realized by, for example, the motor 56 shown in FIG. The drive unit 204 may be any actuator as long as it is used for machining and is subject to numerical control. Further, two or more drive units 204 may be provided.

検知部211は、加工機200に設置されたドリル、エンドミル、バイトチップもしくは砥石等の工具と加工対象とが加工動作中に接触することにより発する振動もしくは音等、または、工具もしくは加工機200自体が発する振動もしくは音等の物理量を検知し、検知した物理量の情報を検知情報(センサデータ)として診断装置100へ出力する機能部である。検知部211は、例えば、図2に示すセンサ57によって実現される。なお、検知部211の個数は任意である。例えば、同一の物理量を検知する複数の検知部211を備えてもよいし、相互に異なる物理量を検知する複数の検知部211を備えてもよい。例えば、加工に用いる工具である刃の折れ、および、刃のチッピング等が発生すると、加工時の音が変化する。このため、検知部211(マイク)で音響データを検知し、正常音を判断するためのモデル等を用いて判断することにより、加工機200の動作の異常を検知可能となる。 The detection unit 211 is a vibration or sound generated when a tool such as a drill, an end mill, a tool tip or a grindstone installed in the processing machine 200 and a processing target come into contact with each other during the processing operation, or the tool or the processing machine 200 itself. This is a functional unit that detects a physical quantity such as vibration or sound generated by the machine and outputs the detected physical quantity information to the diagnostic apparatus 100 as detection information (sensor data). The detection unit 211 is realized by, for example, the sensor 57 shown in FIG. The number of detection units 211 is arbitrary. For example, a plurality of detection units 211 that detect the same physical quantity may be provided, or a plurality of detection units 211 that detect different physical quantities may be provided. For example, when the blade, which is a tool used for machining, breaks or chipping of the blade occurs, the sound during machining changes. Therefore, by detecting the acoustic data with the detection unit 211 (microphone) and making a judgment using a model or the like for judging the normal sound, it is possible to detect an abnormality in the operation of the processing machine 200.

なお、図4に示す数値制御部201および通信制御部202は、図2に示すCPU51にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよく、IC(Integrated Circuit)等のハードウェアにより実現してもよく、または、ソフトウェアおよびハードウェアを併用して実現してもよい。 The numerical control unit 201 and the communication control unit 202 shown in FIG. 4 may be realized by causing the CPU 51 shown in FIG. 2 to execute a program, that is, by software, or by hardware such as an IC (Integrated Circuit). It may be realized by using software and hardware together.

図4に示すように、診断システム1の診断装置100は、通信制御部101と、検知情報受信部102(第2取得部)と、加工情報取得部103(第1取得部)と、受付部104と、特徴抽出部105と、ラベル付加部106(第1付加部)と、生成部107と、判定部108と、記憶部109と、入力部110と、表示制御部111と、表示部112と、を有する。 As shown in FIG. 4, the diagnostic device 100 of the diagnostic system 1 includes a communication control unit 101, a detection information receiving unit 102 (second acquisition unit), a processing information acquisition unit 103 (first acquisition unit), and a reception unit. 104, feature extraction unit 105, label addition unit 106 (first addition unit), generation unit 107, determination unit 108, storage unit 109, input unit 110, display control unit 111, and display unit 112. And have.

通信制御部101は、加工機200との間の通信を制御する機能部である。例えば、通信制御部101は、加工機200の数値制御部201から、通信制御部202を介して、コンテキスト情報を受信する。通信制御部101は、例えば、図3に示す通信I/F64、およびCPU61で動作するプログラムによって実現される。 The communication control unit 101 is a functional unit that controls communication with the processing machine 200. For example, the communication control unit 101 receives context information from the numerical control unit 201 of the processing machine 200 via the communication control unit 202. The communication control unit 101 is realized by, for example, the communication I / F64 shown in FIG. 3 and a program operated by the CPU 61.

検知情報受信部102は、加工機200に設置された検知部211から検知情報を受信する機能部である。検知情報受信部102は、例えば、図3に示すセンサI/F65、およびCPU61で動作するプログラムによって実現される。 The detection information receiving unit 102 is a functional unit that receives detection information from the detection unit 211 installed in the processing machine 200. The detection information receiving unit 102 is realized by, for example, a program that operates on the sensor I / F65 and the CPU 61 shown in FIG.

ここで、図5に、検知情報受信部102により受信された、後述するモデルを生成するための学習データとして使用される検知情報の波形の一例を示す。図5では、新しく交換された新品状態の工具を使用し始めたタイミングから、繰り返される加工処理に伴う工具の摩耗等の劣化によって折損したタイミングまでの検知情報が示されている。図5に示す検知情報は、例えば、工具によって加工対象の加工処理が実行されている加工区間での波形データと、工具が加工対象に当たっていない非加工区間の波形データとを含む。 Here, FIG. 5 shows an example of the waveform of the detection information received by the detection information receiving unit 102 and used as the learning data for generating the model described later. FIG. 5 shows detection information from the timing when a newly replaced new tool is started to be used to the timing when the tool is broken due to deterioration such as wear of the tool due to repeated machining processes. The detection information shown in FIG. 5 includes, for example, waveform data in a machining section in which machining processing of a machining target is executed by a tool, and waveform data in a non-machining section in which the tool does not hit the machining target.

加工情報取得部103は、加工機200から、通信制御部101により受信されたコンテキスト情報(加工情報)を取得する機能部である。加工情報取得部103は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The machining information acquisition unit 103 is a functional unit that acquires context information (machining information) received by the communication control unit 101 from the machining machine 200. The processing information acquisition unit 103 is realized by, for example, a program running on the CPU 61 shown in FIG.

受付部104は、通信制御部101が加工機200から受信するコンテキスト情報とは異なるコンテキスト情報の入力を受け付ける機能部である。例えば、累積使用時間は加工機200から取得するように構成できる。この場合、加工機200は、例えば、工具を交換したときに累積使用時間をリセット(初期化)する機能を備えていてもよい。 The reception unit 104 is a functional unit that receives input of context information different from the context information received from the processing machine 200 by the communication control unit 101. For example, the cumulative usage time can be configured to be obtained from the processing machine 200. In this case, the processing machine 200 may have, for example, a function of resetting (initializing) the cumulative usage time when the tool is replaced.

累積使用時間を加工機200から取得せず、受付部104が受け付けるように構成することもできる。受付部104は、例えば、キーボードおよびタッチパネル等により実現される入力部110から入力されたコンテキスト情報を受け付ける。受付部104で受け付けるコンテキスト情報は、累積使用時間に限らず、例えば、使用する工具の仕様の情報(工具の直径、刃数、材質、工具にコーティングが施されているか否か等)、加工対象の情報(材質等)の情報でもよい。また、受付部104は、外部装置からコンテキスト情報を受信するように構成してもよい。受付部104は、例えば、図3に示すCPU61で動作するプログラムによって実現される。なお、加工機200以外からコンテキスト情報を受け付ける必要がない場合は、受付部104は備えなくてもよい。 It is also possible to configure the reception unit 104 to accept the cumulative usage time without acquiring it from the processing machine 200. The reception unit 104 receives the context information input from the input unit 110 realized by, for example, a keyboard and a touch panel. The context information received by the reception unit 104 is not limited to the cumulative usage time, for example, information on the specifications of the tool to be used (tool diameter, number of blades, material, whether or not the tool is coated, etc.), machining target. Information (material, etc.) may be used. Further, the reception unit 104 may be configured to receive context information from an external device. The reception unit 104 is realized by, for example, a program that operates on the CPU 61 shown in FIG. If it is not necessary to receive context information from other than the processing machine 200, the reception unit 104 may not be provided.

特徴抽出部105は、生成部107によるモデルの生成、および、判定部108による判定処理等で用いる特徴情報を、検知情報から抽出する機能部である。特徴情報は、検知情報の特徴を示す情報であればどのような情報であってもよい。例えば、特徴抽出部105は、検知情報から、エネルギー、周波数スペクトル、および、MFCC(メル周波数ケプストラム係数)等を特徴情報として抽出してもよい。特徴抽出部105は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The feature extraction unit 105 is a functional unit that extracts feature information used in model generation by the generation unit 107 and determination processing by the determination unit 108 from the detection information. The feature information may be any information as long as it indicates the features of the detection information. For example, the feature extraction unit 105 may extract energy, frequency spectrum, MFCC (mel frequency cepstrum coefficient), and the like as feature information from the detection information. The feature extraction unit 105 is realized by, for example, a program running on the CPU 61 shown in FIG.

ラベル付加部106は、検知情報受信部102により受信された学習データとしての検知情報(第1検知情報)に対して、所定のラベル情報を付加する(対応付ける)機能部である。具体的には、上述した図5に示す学習データでは、例えば、ラベル付加部106は、新しく交換された新品状態の工具を使用し始めたタイミングから、繰り返される加工処理に伴う工具の摩耗等の劣化によって折損したタイミングまでの時間(以下、「継続時間」と称する場合がある)を、5つの区間に等分し、時間が古い区間に対応する学習データから、順に、「劣化度1」、「劣化度2」、「劣化度3」、「劣化度4」、「劣化度5」というラベル情報を付加する。すなわち、図5に示すラベル情報は、継続時間の各段階において、使用されている工具の劣化度が5段階の劣化度のうちどの段階の劣化度にあるのかを示す情報であり、「劣化度1」から「劣化度5」へ向かうにつれて、工具の劣化度が強くなる。このように、ラベル付加部106は、学習データの継続時間を用いて、ラベル情報を付加している。ラベル付加部106は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The label adding unit 106 is a functional unit that adds (associates) predetermined label information with the detection information (first detection information) as learning data received by the detection information receiving unit 102. Specifically, in the learning data shown in FIG. 5 described above, for example, the label adding portion 106 shows that the tool is worn due to repeated machining processes from the timing when the newly replaced new tool is started to be used. The time until the timing of breakage due to deterioration (hereinafter, may be referred to as "duration") is equally divided into five sections, and the learning data corresponding to the section with the oldest time is in order, "deterioration degree 1", Label information such as "deterioration degree 2", "deterioration degree 3", "deterioration degree 4", and "deterioration degree 5" is added. That is, the label information shown in FIG. 5 is information indicating which of the five stages of deterioration the degree of deterioration of the tool being used is in each stage of the duration, and is "deterioration degree". The degree of deterioration of the tool increases from "1" to "degree of deterioration 5". In this way, the label adding unit 106 adds the label information by using the duration of the learning data. The label adding unit 106 is realized by, for example, a program running on the CPU 61 shown in FIG.

なお、継続時間は、工具が折損したタイミングまでとしたが、工具の折損の状態に限定するものではなく、工具の変形、欠損、折損または治具からの欠落等により工具が使用不可となる状態になるタイミングまでとしてもよい。 The duration is limited to the timing when the tool is broken, but it is not limited to the state where the tool is broken, and the tool cannot be used due to deformation, chipping, breakage, or chipping from the jig. It may be until the timing of becoming.

また、ラベル付加部106は、継続時間を5つの区間に等分した例を示したが、これに限定されるものではなく、区分する区間の数は任意でよいのは言うまでもない。 Further, the label addition unit 106 shows an example in which the duration is equally divided into five sections, but the present invention is not limited to this, and it goes without saying that the number of sections to be divided may be arbitrary.

また、ラベル付加部106により学習データに付加されるラベル情報としては劣化度に限定されるものではない。例えば、工具の長さの摩耗についてのラベル(例えば「工具長さ」、「摩耗度」)等のように、状態の判定対象となる工具または機器等の部材の状態が時間経過に伴って変化する場合、その部材の状態の変化を捉えた検知情報に対して、当該状態を示すラベルをラベル情報として付加するものとしてもよい。 Further, the label information added to the learning data by the label addition unit 106 is not limited to the degree of deterioration. For example, the state of a member such as a tool or device whose state is to be determined changes with the passage of time, such as a label for wear of a tool length (for example, "tool length", "wear degree"). In this case, a label indicating the state may be added as label information to the detection information that captures the change in the state of the member.

生成部107は、ラベル付加部106により学習データに対して付加されたラベル情報と、特徴抽出部105により学習データから抽出された特徴情報とを用いて、工具の劣化度を判定するためのモデルを生成する機能部である。この場合、学習データについては上述の継続時間における区間ごとにラベル情報が付加されているので、その学習データから抽出された特徴情報(第1特徴情報)についても、各区間に対応する特徴情報にはラベル情報が対応付けられていることになる。また、生成部107は、検知情報受信部102が学習データを受信する際に、加工情報取得部103により取得されたコンテキスト情報に対応付けてモデルを生成する。 The generation unit 107 is a model for determining the degree of deterioration of the tool by using the label information added to the training data by the label addition unit 106 and the feature information extracted from the training data by the feature extraction unit 105. It is a functional part that generates. In this case, since label information is added to the training data for each section in the above-mentioned duration, the feature information (first feature information) extracted from the learning data is also included in the feature information corresponding to each section. Is associated with label information. Further, when the detection information receiving unit 102 receives the learning data, the generation unit 107 generates a model in association with the context information acquired by the processing information acquisition unit 103.

生成部107によるモデルの生成は、機械学習のうちいわゆる教師あり学習に基づいて実行される。教師あり学習によるモデルの生成のアルゴリズムとしては、例えば、SVM(Support Vector Machine)またはGMM(Gaussian Mixture Model)等を用いればよい。例えば、SVMでは、学習データから抽出された特徴情報を訓練データ(教師データ)とし、各ラベル情報に対応する特徴情報をクラスに分け、各クラスに含まれる特徴情報の距離が最大値(最大マージン)となるようにクラスを分ける超平面を示す識別関数を規定するパラメータを求める。このようなパラメータを求めることが、モデルの生成に相当する。すなわち、どのラベル情報に対応するのか不明な特徴情報と、SVMにより求められたモデルとを用いることによって、当該特徴情報がどのクラスに対応するのか、すなわち、どのラベル情報(上述の例では「劣化度1」〜「劣化度5」)に対応するのかが明らかになる。具体的には、どのラベル情報に対応するのか未知の特徴情報と、生成部107により生成されたモデルとから、どのラベル情報に対応するのかを示すような出力値を得ることにより、当該特徴情報がどのラベル情報に対応するのかが明らかになる。 The generation of the model by the generation unit 107 is executed based on the so-called supervised learning of machine learning. As an algorithm for generating a model by supervised learning, for example, SVM (Support Vector Machine) or GMM (Gaussian Mixture Model) may be used. For example, in SVM, the feature information extracted from the learning data is used as training data (teacher data), the feature information corresponding to each label information is divided into classes, and the distance of the feature information included in each class is the maximum value (maximum margin). ), And find the parameters that specify the discriminant function that indicates the hyperplane that divides the classes. Obtaining such parameters corresponds to the generation of a model. That is, by using the feature information for which it is unknown which label information corresponds to and the model obtained by SVM, which class the feature information corresponds to, that is, which label information (in the above example, "deterioration") It becomes clear whether it corresponds to "degree 1" to "deterioration degree 5"). Specifically, the feature information is obtained by obtaining an output value indicating which label information is supported from the feature information whose label information is unknown and the model generated by the generation unit 107. It becomes clear which label information corresponds to.

生成部107は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The generation unit 107 is realized by, for example, a program running on the CPU 61 shown in FIG.

判定部108は、特徴抽出部105により検知情報(第2検知情報)から抽出された特徴情報(第2特徴情報)と、加工情報取得部103により取得されたコンテキスト情報に対応するモデルと、を用いて、当該特徴情報がどの劣化度(ラベル情報)に対応するかを判定する機能部である。具体的には、上述のように、判定部108は、例えば、特徴情報とモデルとから、当該特徴情報がどのラベル情報に対応するかを示すような出力値を求め、その出力値がどの劣化度(ラベル情報)に対応するかを判定する。これによって、加工機200で使用されている工具が、判定部108により判定された劣化度の状態であることが判断できる。判定部108は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The determination unit 108 includes the feature information (second feature information) extracted from the detection information (second detection information) by the feature extraction unit 105 and the model corresponding to the context information acquired by the processing information acquisition unit 103. It is a functional unit that is used to determine which degree of deterioration (label information) the feature information corresponds to. Specifically, as described above, the determination unit 108 obtains, for example, an output value indicating which label information the feature information corresponds to from the feature information and the model, and which deterioration of the output value is obtained. Judge whether it corresponds to the degree (label information). Thereby, it can be determined that the tool used in the processing machine 200 is in the state of the degree of deterioration determined by the determination unit 108. The determination unit 108 is realized by, for example, a program running on the CPU 61 shown in FIG.

記憶部109は、生成部107により生成されたモデルをコンテキスト情報と関連付けて記憶する機能部である。また、記憶部109は、検知情報受信部102により受信された検知情報を、加工情報取得部103により受信されたコンテキスト情報と関連付けて記憶するものとしてもよい。記憶部109は、例えば、図3のRAM63および補助記憶装置66等によって実現される。 The storage unit 109 is a functional unit that stores the model generated by the generation unit 107 in association with the context information. Further, the storage unit 109 may store the detection information received by the detection information receiving unit 102 in association with the context information received by the processing information acquisition unit 103. The storage unit 109 is realized by, for example, the RAM 63 and the auxiliary storage device 66 of FIG.

入力部110は、文字および数字等の入力、各種指示の選択、ならびにカーソルの移動等の操作を行うための機能部である。入力部110は、図3に示す入力装置67によって実現される。 The input unit 110 is a functional unit for inputting characters and numbers, selecting various instructions, moving the cursor, and the like. The input unit 110 is realized by the input device 67 shown in FIG.

表示制御部111は、表示部112の表示動作を制御する機能部である。具体的には、表示制御部111は、例えば、判定部108による工具の劣化度についての判定結果等を、表示部112に表示させる。表示制御部111は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The display control unit 111 is a functional unit that controls the display operation of the display unit 112. Specifically, the display control unit 111 causes the display unit 112 to display, for example, a determination result of the degree of deterioration of the tool by the determination unit 108. The display control unit 111 is realized by, for example, a program running on the CPU 61 shown in FIG.

表示部112は、表示制御部111による制御に従って各種情報を表示する機能部である。表示部112は、例えば、図3に示すディスプレイ68によって実現される。 The display unit 112 is a functional unit that displays various information according to the control by the display control unit 111. The display unit 112 is realized by, for example, the display 68 shown in FIG.

なお、図4に示した診断装置100の各機能部(通信制御部101、検知情報受信部102、加工情報取得部103、受付部104、特徴抽出部105、ラベル付加部106、生成部107、判定部108および表示制御部111)は、図3のCPU61にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよく、IC等のハードウェアにより実現してもよく、または、ソフトウェアおよびハードウェアを併用して実現してもよい。 Each functional unit of the diagnostic apparatus 100 shown in FIG. 4 (communication control unit 101, detection information receiving unit 102, processing information acquisition unit 103, reception unit 104, feature extraction unit 105, label addition unit 106, generation unit 107, The determination unit 108 and the display control unit 111) have the CPU 61 of FIG. 3 execute the program, that is, they may be realized by software, hardware such as IC, or software and hardware. May be realized in combination with.

また、図4に示した診断装置100および加工機200それぞれの各機能部は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図4で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図4の1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。 Further, each functional unit of the diagnostic apparatus 100 and the processing machine 200 shown in FIG. 4 conceptually shows the function, and is not limited to such a configuration. For example, a plurality of functional units shown as independent functional units in FIG. 4 may be configured as one functional unit. On the other hand, the function of one functional unit in FIG. 4 may be divided into a plurality of functions and configured as a plurality of functional units.

(診断装置によるモデル生成処理)
図6は、第1の実施形態におけるモデル生成処理の一例を示すフローチャートである。図6を参照しながら、本実施形態に係る診断システム1の診断装置100のモデル生成処理の流れについて説明する。なお、モデル生成処理は、例えば、状態判定処理の前に事前に実行されるものとする。以下のモデル生成処理を実行する前に、加工機200には新品状態の工具が取り付けられた状態とする。
(Model generation processing by diagnostic equipment)
FIG. 6 is a flowchart showing an example of the model generation process according to the first embodiment. The flow of the model generation process of the diagnostic apparatus 100 of the diagnostic system 1 according to the present embodiment will be described with reference to FIG. It should be noted that the model generation process is, for example, executed in advance before the state determination process. Before executing the following model generation process, it is assumed that a new tool is attached to the processing machine 200.

<ステップS101>
診断装置100の通信制御部101は、加工機200から送信されたコンテキスト情報を受信する。そして、診断装置100の加工情報取得部103は、通信制御部101により受信されたコンテキスト情報を取得する。そして、ステップS102へ移行する。
<Step S101>
The communication control unit 101 of the diagnostic apparatus 100 receives the context information transmitted from the processing machine 200. Then, the processing information acquisition unit 103 of the diagnostic apparatus 100 acquires the context information received by the communication control unit 101. Then, the process proceeds to step S102.

<ステップS102>
診断装置100の検知情報受信部102は、加工機200から送信された学習データとしての検知情報(センサデータ)を受信する。検知情報受信部102による学習データの受信動作は、新しく交換された新品状態の工具を使用し始めたタイミングから、繰り返される加工処理に伴う工具の摩耗等の劣化によって折損するタイミングまで継続する。
<Step S102>
The detection information receiving unit 102 of the diagnostic apparatus 100 receives the detection information (sensor data) as learning data transmitted from the processing machine 200. The operation of receiving the learning data by the detection information receiving unit 102 continues from the timing when the newly replaced new tool is started to be used to the timing when the tool is broken due to deterioration such as wear of the tool due to repeated machining processes.

このように受信されたコンテキスト情報および検知情報(学習データ)が、モデルの生成に利用される。モデルは、コンテキスト情報ごとに生成されるため、検知情報は、対応するコンテキスト情報に関連付けられる必要がある。このため、例えば、検知情報受信部102は、受信した検知情報を、同じタイミングで通信制御部101により受信されたコンテキスト情報と対応付けて記憶部109等に記憶させるものとしてもよい。この場合、コンテキスト情報は、生成されたモデルを特定するためのモデル特定情報として用いられる。 The context information and detection information (learning data) received in this way are used to generate the model. Since the model is generated for each context information, the detection information needs to be associated with the corresponding context information. Therefore, for example, the detection information receiving unit 102 may store the received detection information in the storage unit 109 or the like in association with the context information received by the communication control unit 101 at the same timing. In this case, the context information is used as model identification information for identifying the generated model.

検知情報受信部102によって継続時間分の学習データが受信された場合、ステップS103へ移行する。 When the learning data for the duration is received by the detection information receiving unit 102, the process proceeds to step S103.

<ステップS103>
診断装置100の特徴抽出部105は、検知情報受信部102により受信された継続時間分の学習データから、特徴情報を抽出する。そして、ステップS104へ移行する。
<Step S103>
The feature extraction unit 105 of the diagnostic device 100 extracts feature information from the learning data for the duration received by the detection information receiving unit 102. Then, the process proceeds to step S104.

<ステップS104>
診断装置100のラベル付加部106は、検知情報受信部102により受信された学習データに対して、所定のラベル情報を付加する(対応付ける)。具体的には、上述した図5に示す学習データのように、例えば、ラベル付加部106は、継続時間を5つの区間に等分し、時間が古い区間に対応する学習データから、順に、「劣化度1」、「劣化度2」、「劣化度3」、「劣化度4」、「劣化度5」というラベル情報を付加する。この場合、学習データについて継続時間における区間ごとにラベル情報が付加されているので、その学習データから抽出された特徴情報についても、各区間に対応する特徴情報にはラベル情報が対応付けられていることになる。そして、ステップS105へ移行する。
<Step S104>
The label adding unit 106 of the diagnostic apparatus 100 adds (associates) predetermined label information with the learning data received by the detection information receiving unit 102. Specifically, as in the learning data shown in FIG. 5 described above, for example, the label addition unit 106 divides the duration into five sections equally, and in order from the learning data corresponding to the section with the oldest time, " Label information such as "deterioration degree 1", "deterioration degree 2", "deterioration degree 3", "deterioration degree 4", and "deterioration degree 5" is added. In this case, since the label information is added to the training data for each section in the duration, the label information is associated with the feature information corresponding to each section of the feature information extracted from the learning data. It will be. Then, the process proceeds to step S105.

<ステップS105>
診断装置100の生成部107は、ラベル付加部106により学習データに対して付加されたラベル情報と、特徴抽出部105により学習データから抽出された特徴情報とを用いて、工具の劣化度を判定するためのモデルを生成する。この場合、生成部107は、検知情報受信部102が学習データを受信するときに加工情報取得部103により取得されたコンテキスト情報に対応付けてモデルを生成する。このモデルの生成のアルゴリズムとしては、例えば、教師あり学習のSVMまたはGMM等を用いる。このように生成されたモデルを用いることによって、どのラベル情報に対応するのか不明な特徴情報が、どのクラスに対応するのか、すなわち、どのラベル情報(上述の例では「劣化度1」〜「劣化度5」)に対応するのかが明らかになる。そして、ステップS106へ移行する。
<Step S105>
The generation unit 107 of the diagnostic apparatus 100 determines the degree of deterioration of the tool by using the label information added to the learning data by the label addition unit 106 and the feature information extracted from the learning data by the feature extraction unit 105. Generate a model to do. In this case, the generation unit 107 generates a model in association with the context information acquired by the processing information acquisition unit 103 when the detection information reception unit 102 receives the learning data. As an algorithm for generating this model, for example, SVM or GMM of supervised learning is used. By using the model generated in this way, which label information corresponds to which class of characteristic information, that is, which label information (in the above example, "deterioration degree 1" to "deterioration") It becomes clear whether it corresponds to degree 5 "). Then, the process proceeds to step S106.

<ステップS106>
生成部107は、生成したモデルを、加工情報取得部103により取得されたコンテキスト情報(モデル特定情報)に関連付けて、記憶部109に記憶させる。
<Step S106>
The generation unit 107 associates the generated model with the context information (model specific information) acquired by the processing information acquisition unit 103, and stores the generated model in the storage unit 109.

以上のステップS101〜S106によって、モデル生成処理が実行される。 The model generation process is executed by the above steps S101 to S106.

(診断装置による状態判定処理)
図7は、第1の実施形態における状態判定処理の一例を示すフローチャートである。図7を参照しながら、本実施形態に係る診断システム1の診断装置100の状態判定処理の流れについて説明する。
(Status judgment processing by diagnostic device)
FIG. 7 is a flowchart showing an example of the state determination process according to the first embodiment. The flow of the state determination process of the diagnostic apparatus 100 of the diagnostic system 1 according to the present embodiment will be described with reference to FIG. 7.

<ステップS201>
加工機200の数値制御部201は、加工機200から送信されたコンテキスト情報を、逐次、診断装置100に送信する。診断装置100の通信制御部101は、このようにして加工機200から送信されたコンテキスト情報を受信する。そして、診断装置100の加工情報取得部103は、通信制御部101により受信されたコンテキスト情報を取得する。そして、ステップS202へ移行する。
<Step S201>
The numerical control unit 201 of the processing machine 200 sequentially transmits the context information transmitted from the processing machine 200 to the diagnostic apparatus 100. The communication control unit 101 of the diagnostic apparatus 100 receives the context information transmitted from the processing machine 200 in this way. Then, the processing information acquisition unit 103 of the diagnostic apparatus 100 acquires the context information received by the communication control unit 101. Then, the process proceeds to step S202.

<ステップS202>
また、加工機200の検知部211は、検知情報を、逐次、出力する。診断装置100の検知情報受信部102は、このようにして加工機200から送信された検知情報(センサデータ)を受信する。そして、ステップS203へ移行する。
<Step S202>
Further, the detection unit 211 of the processing machine 200 sequentially outputs the detection information. The detection information receiving unit 102 of the diagnostic apparatus 100 receives the detection information (sensor data) transmitted from the processing machine 200 in this way. Then, the process proceeds to step S203.

<ステップS203>
診断装置100の特徴抽出部105は、検知情報受信部102により受信された検知情報から特徴情報を抽出する。そして、ステップS204へ移行する。
<Step S203>
The feature extraction unit 105 of the diagnostic device 100 extracts the feature information from the detection information received by the detection information receiving unit 102. Then, the process proceeds to step S204.

<ステップS204>
診断装置100の判定部108は、加工情報取得部103により取得されたコンテキスト情報(モデル特定情報)に対応するモデルを記憶部109から取得する。そして、ステップS205へ移行する。
<Step S204>
The determination unit 108 of the diagnostic apparatus 100 acquires a model corresponding to the context information (model identification information) acquired by the processing information acquisition unit 103 from the storage unit 109. Then, the process proceeds to step S205.

<ステップS205>
判定部108は、特徴抽出部105により検知情報から抽出された特徴情報と、加工情報取得部103により取得されたコンテキスト情報(モデル特定情報)に対応するモデルと、を用いて、当該特徴情報がどの劣化度(ラベル情報)に対応するかを判定する。具体的には、判定部108は、例えば、特徴情報とモデルとから、当該特徴情報がどのラベル情報に対応するかを示すような出力値を求め、その出力値がどの劣化度(ラベル情報)に対応するかを判定する。これによって、加工機200で使用されている工具が、判定部108により判定された劣化度の状態であることが判断できる。そして、ステップS206へ移行する。
<Step S205>
The determination unit 108 uses the feature information extracted from the detection information by the feature extraction unit 105 and the model corresponding to the context information (model identification information) acquired by the processing information acquisition unit 103 to obtain the feature information. Determine which degree of deterioration (label information) corresponds to. Specifically, the determination unit 108 obtains, for example, an output value indicating which label information the feature information corresponds to from the feature information and the model, and which degree of deterioration (label information) the output value corresponds to. Determine if it corresponds to. Thereby, it can be determined that the tool used in the processing machine 200 is in the state of the degree of deterioration determined by the determination unit 108. Then, the process proceeds to step S206.

<ステップS206>
判定部108は、判定結果を出力する。判定結果の出力方法はどのような方法であってもよい。判定部108は、例えば、診断装置100の表示制御部111に対して、判定結果を表示部112に表示させるものとしてもよい。または、判定部108が、サーバ装置およびPC(Personal Computer)等の外部装置に判定結果を出力するものとしてもよい。
<Step S206>
The determination unit 108 outputs the determination result. Any method may be used to output the determination result. The determination unit 108 may cause the display control unit 111 of the diagnostic apparatus 100 to display the determination result on the display unit 112, for example. Alternatively, the determination unit 108 may output the determination result to the server device and an external device such as a PC (Personal Computer).

以上のステップS201〜S206によって、状態判定処理が実行される。 The state determination process is executed by the above steps S201 to S206.

(モデル生成処理および診断処理の具体例)
次に、本実施形態によるモデル生成処理および状態処理の具体例について説明する。図8は、第1の実施形態におけるモデル生成処理および状態判定処理の具体例を説明する図である。
(Specific examples of model generation processing and diagnostic processing)
Next, specific examples of model generation processing and state processing according to the present embodiment will be described. FIG. 8 is a diagram illustrating a specific example of the model generation process and the state determination process in the first embodiment.

図8は、例えば、ある加工対象を加工する工程の一部についての検知情報に基づいて工具の劣化度を判定するためのモデル生成処理、および、状態判定処理を示す。モデル生成処理では、コンテキスト情報701と共に受信された、当該コンテキスト情報701に対応する工具の継続時間分の学習データ(図8では検知情報711)が利用される。 FIG. 8 shows, for example, a model generation process for determining the degree of deterioration of a tool based on detection information for a part of a process of machining a certain machining target, and a state determination process. In the model generation process, learning data (detection information 711 in FIG. 8) for the duration of the tool corresponding to the context information 701 received together with the context information 701 is used.

コンテキスト情報701は、モータBを駆動する動作を示している。検知情報711は、加工機200から常時、モータBを駆動する動作を示すコンテキスト情報が出力されている状態において受信されたものである必要はなく、いくつかの加工工程(例えば、4つのモータ(モータA、モータB、モータC、モータD)をそれぞれ駆動する工程)のうちモータBの駆動を示すコンテキスト情報である場合に、受信された検知情報をつなぎ合わせたものとすればよい。すなわち、図8に示すコンテキスト情報701については、モータBを駆動する動作を示す情報として常時出力されていることを示すものではない。 The context information 701 indicates an operation of driving the motor B. The detection information 711 does not have to be received in a state where context information indicating an operation for driving the motor B is constantly output from the processing machine 200, and some processing steps (for example, four motors (for example, four motors)) need to be received. In the process of driving the motor A, the motor B, the motor C, and the motor D), when the context information indicates the driving of the motor B, the received detection information may be stitched together. That is, the context information 701 shown in FIG. 8 does not indicate that it is always output as information indicating the operation of driving the motor B.

特徴抽出部105は、検知情報受信部102により受信された継続時間分の学習データである検知情報から特徴情報を抽出する。生成部107は、コンテキスト情報(図8では「モータB」の駆動を示す情報)に対応して、ラベル付加部106により学習データに対して付加されたラベル情報と、検知情報から抽出された特徴情報とを用いてモデルを生成する。生成されたモデルは、対応するコンテキスト情報と対応付けられて記憶部109等に記憶される。図8では、モータBが駆動される場合のコンテキスト情報に対して生成されたモデル(「モータB」)が記憶部109に記憶された例が示されている。記憶されたモデルは、その後の状態判定処理で参照される。 The feature extraction unit 105 extracts the feature information from the detection information which is the learning data for the duration received by the detection information receiving unit 102. The generation unit 107 corresponds to the context information (information indicating the drive of the “motor B” in FIG. 8), and the label information added to the learning data by the label addition unit 106 and the features extracted from the detection information. Generate a model using information. The generated model is stored in the storage unit 109 or the like in association with the corresponding context information. FIG. 8 shows an example in which a model (“motor B”) generated for context information when the motor B is driven is stored in the storage unit 109. The stored model is referred to in the subsequent state determination process.

状態判定処理では、コンテキスト情報702と共に、検知情報721が受信される。図8に示すように、コンテキスト情報702は、加工工程が切り替わるたびにその内容が変更されて加工機200から出力される。コンテキスト情報702が「モータBが駆動されていること」を示す場合、判定部108は、例えば、「モータBが駆動されていること」を示すコンテキスト情報702が受信された期間に受信された検知情報と、記憶部109に記憶されているモデル「モータB」とを用いて、加工機200の工具(モータBにより駆動される工具)の劣化度を判定する。 In the state determination process, the detection information 721 is received together with the context information 702. As shown in FIG. 8, the content of the context information 702 is changed every time the machining process is switched, and the context information 702 is output from the machining machine 200. When the context information 702 indicates that "the motor B is being driven", the determination unit 108 detects, for example, that the context information 702 indicating that "the motor B is being driven" is received during the period of reception. Using the information and the model "motor B" stored in the storage unit 109, the degree of deterioration of the tool of the processing machine 200 (the tool driven by the motor B) is determined.

他の動作を示すコンテキスト情報が受信される場合も同様に、対応する検知情報と、対応するモデルとを用いて、判定部108による状態判定処理が実行される。 Similarly, when context information indicating another operation is received, the state determination process by the determination unit 108 is executed by using the corresponding detection information and the corresponding model.

また、相互に異なる加工工程であっても、例えば、同一のモータ等を使用する場合は、対応するモデルを共通に利用して状態判定処理を実行してもよい。図9は、共通のモデルを他の加工工程で使用する例を説明する図である。 Further, even if the processing processes are different from each other, for example, when the same motor or the like is used, the state determination process may be executed by commonly using the corresponding models. FIG. 9 is a diagram illustrating an example in which a common model is used in another processing process.

図9のコンテキスト情報901は、加工工程が、4つのモータ(モータX、モータY、モータZ、モータB)を駆動する動作を含むことを示している。モータBを使用する点は、例えば、図8に示す加工工程と共通する。このため、図9の加工工程でも、判定部108は、記憶部109に記憶されている同一のモデル「モータB」と、検知情報921とを用いて状態判定処理を実行できる。 The context information 901 in FIG. 9 indicates that the machining process includes an operation of driving four motors (motor X, motor Y, motor Z, motor B). The point that the motor B is used is common to, for example, the processing process shown in FIG. Therefore, even in the processing step of FIG. 9, the determination unit 108 can execute the state determination process using the same model “motor B” stored in the storage unit 109 and the detection information 921.

以上のように、本実施形態に係る診断システム1では、工具が新品状態から使用不可となる状態までの時間(継続時間)をいくつかの区間に分けて、各区間に対応する学習データに対して特定の状態を示すラベル情報を付加するものとしている。すなわち、継続時間を用いることによってラベル情報を付加している。そして、このように付加されたラベル情報と、学習データから抽出された特徴情報とを用いて、工具の状態を判定するためのモデルを生成するものとしている。これによって、人の手で工具の状態を判断してラベル情報を付加する必要がなく、対応する状態を示すラベル情報を容易に付加することができる。そして、このように生成されたモデルの精度が向上し、状態が未知の検知情報に対して、当該モデルを用いることによって、どのような状態(ラベル情報)であるのかを判定する状態判定処理の精度も向上させることができる。 As described above, in the diagnostic system 1 according to the present embodiment, the time (duration) from the new state to the unusable state of the tool is divided into several sections, and the learning data corresponding to each section is divided. Label information indicating a specific state is added. That is, the label information is added by using the duration. Then, using the label information added in this way and the feature information extracted from the learning data, a model for determining the state of the tool is generated. As a result, it is not necessary to manually determine the state of the tool and add the label information, and the label information indicating the corresponding state can be easily added. Then, the accuracy of the model generated in this way is improved, and for the detection information whose state is unknown, the state determination process for determining what kind of state (label information) is by using the model. The accuracy can also be improved.

なお、上述のように、付加されたラベル情報と、学習データの特徴情報とから、モデルを生成するものであり、未知の特徴情報が、複数種類のラベル情報のいずれかに対応するかを判定するための1つのモデルとして説明したが、これに限定されるものではない。例えば、上述の「劣化度1」〜「劣化度5」の5つのラベル情報を、分割した区間に付加し、それぞれの区間に対応する学習データの特徴情報から、当該区間に付加されたラベル情報に対応するモデルをそれぞれ生成するものとしてもよい。すなわち、上述の例では、「劣化度1」に対応するモデル、「劣化度2」に対応するモデル、・・・、「劣化度5」に対応するモデルの5つのモデルを生成するものとしてもよい。この場合、例えば、未知の特徴情報と、「劣化度1」に対応するモデルとを用いて、出力値として「劣化度1」に対する尤度が算出されるものとし、未知の特徴情報と、各ラベル情報に対応するモデルとから算出されるそれぞれの尤度のうち、最も高い尤度に対応するラベル情報が、当該特徴情報に対応するラベル情報(劣化度)であると判定するものとしてもよい。 As described above, the model is generated from the added label information and the feature information of the learning data, and it is determined whether the unknown feature information corresponds to any of a plurality of types of label information. Although described as one model for this, the present invention is not limited to this. For example, the above-mentioned five label information of "deterioration degree 1" to "deterioration degree 5" is added to the divided sections, and the label information added to the section is obtained from the feature information of the learning data corresponding to each section. The models corresponding to may be generated respectively. That is, in the above example, five models of a model corresponding to "deterioration degree 1", a model corresponding to "deterioration degree 2", ..., And a model corresponding to "deterioration degree 5" may be generated. Good. In this case, for example, it is assumed that the likelihood for the "deterioration degree 1" is calculated as the output value by using the unknown feature information and the model corresponding to the "deterioration degree 1", and the unknown feature information and each of them. Of the respective likelihoods calculated from the model corresponding to the label information, the label information corresponding to the highest likelihood may be determined to be the label information (deterioration degree) corresponding to the feature information. ..

[第2の実施形態]
第2の実施形態に係る診断システムについて、第1の実施形態に係る診断システム1と相違する点を中心に説明する。本実施形態では、継続時間内において、一定時間ごとに実際の劣化度を人の手によって測定し、使用時間と劣化度との関係を特定した上で、ラベル情報の付加を行う動作について説明する。なお、本実施形態に係る診断システムの全体構成、ならびに、診断装置および加工機200のハードウェア構成は、それぞれ第1の実施形態で説明した構成と同様である。また、本実施形態に係る診断システムの状態判定処理は、第1の実施形態で説明した状態判定処理と同様である。
[Second Embodiment]
The diagnostic system according to the second embodiment will be described focusing on the differences from the diagnostic system 1 according to the first embodiment. In the present embodiment, an operation of manually measuring the actual deterioration degree at regular time intervals within the duration, specifying the relationship between the usage time and the deterioration degree, and then adding the label information will be described. .. The overall configuration of the diagnostic system according to the present embodiment and the hardware configuration of the diagnostic apparatus and the processing machine 200 are the same as the configurations described in the first embodiment, respectively. Further, the state determination process of the diagnostic system according to the present embodiment is the same as the state determination process described in the first embodiment.

(診断システムの機能ブロックの構成および動作)
図10は、第2の実施形態に係る診断システムの機能ブロックの構成の一例を示す図である。図11は、工具の使用時間と劣化度との関係からラベル情報を付加することを説明する図である。図10および図11を参照しながら、本実施形態に係る診断システム1aの機能ブロックの構成および動作について説明する。なお、加工機200の機能ブロックの構成は、上述の第1の実施形態で説明した構成と同様である。
(Configuration and operation of functional blocks of diagnostic system)
FIG. 10 is a diagram showing an example of the configuration of the functional block of the diagnostic system according to the second embodiment. FIG. 11 is a diagram illustrating that label information is added based on the relationship between the tool usage time and the degree of deterioration. The configuration and operation of the functional block of the diagnostic system 1a according to the present embodiment will be described with reference to FIGS. 10 and 11. The configuration of the functional block of the processing machine 200 is the same as the configuration described in the first embodiment described above.

図10に示すように、診断システム1aの診断装置100aは、通信制御部101と、検知情報受信部102(第2取得部)と、加工情報取得部103(第1取得部)と、受付部104と、特徴抽出部105と、劣化度特定部113(特定部)と、ラベル付加部106a(第1付加部)と、生成部107と、判定部108と、記憶部109と、入力部110と、表示制御部111と、表示部112と、を有する。なお、診断装置100aが有する機能部のうち劣化度特定部113およびラベル付加部106a以外の機能部の動作は、上述の第1の実施形態で説明した動作と同様である。 As shown in FIG. 10, the diagnostic device 100a of the diagnostic system 1a includes a communication control unit 101, a detection information receiving unit 102 (second acquisition unit), a processing information acquisition unit 103 (first acquisition unit), and a reception unit. 104, feature extraction unit 105, deterioration degree identification unit 113 (specific unit), label addition unit 106a (first addition unit), generation unit 107, determination unit 108, storage unit 109, and input unit 110. And a display control unit 111, and a display unit 112. Of the functional units included in the diagnostic apparatus 100a, the operations of the functional units other than the deterioration degree specifying unit 113 and the label adding unit 106a are the same as the operations described in the first embodiment described above.

図11に示すグラフは、工具が新品から徐々に劣化し最終的に折損するまでの使用時間と劣化度との関係を示すグラフである。例えば、加工機200のユーザは、工具を新品の状態から使用を始めて、一定間隔ごとに、工具を顕微鏡写真等で撮影する等して、当該ユーザの判断により劣化度を測定する。例えば、劣化度としては、工具の刃先が削れた長さをそのまま劣化度として扱ってもよい。図11におけるグラフに示される「×」印が、ユーザによって一定間隔ごとに測定された劣化度を示している。このように、使用時間と劣化度とは必ずしも比例した関係ではない場合がある。 The graph shown in FIG. 11 is a graph showing the relationship between the degree of deterioration and the usage time until the tool gradually deteriorates from a new product and finally breaks. For example, the user of the processing machine 200 starts using the tool from a new state, takes a micrograph or the like of the tool at regular intervals, and measures the degree of deterioration at the discretion of the user. For example, as the degree of deterioration, the length at which the cutting edge of the tool is scraped may be treated as the degree of deterioration as it is. The “x” mark shown in the graph in FIG. 11 indicates the degree of deterioration measured by the user at regular intervals. In this way, the usage time and the degree of deterioration may not always be in proportion to each other.

劣化度特定部113は、工具が新品の状態から使用が開始され、上述のように、使用時間の各タイミングで実際に測定された劣化度から、劣化度が測定されていない区間の劣化度を補間(例えば、線形補間または多項式補間等)することによって、使用時間に対する劣化度の関係を特定する機能部である。劣化度特定部113は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The deterioration degree specifying unit 113 starts using the tool from a new state, and as described above, the deterioration degree of the section where the deterioration degree is not measured is calculated from the deterioration degree actually measured at each timing of the use time. It is a functional unit that specifies the relationship of the degree of deterioration with respect to the usage time by interpolation (for example, linear interpolation or polynomial interpolation). The deterioration degree specifying unit 113 is realized by, for example, a program running on the CPU 61 shown in FIG.

ラベル付加部106aは、劣化度が測定されたタイミング間の区間に対応する学習データごとにラベル情報を付加する(対応付ける)機能部である。図11に示す例では、第1の実施形態と同様に、分けた区間に対応する学習データごとに、劣化度が小さい方から「劣化度1」、「劣化度2」、・・・(図11の例では「劣化度1」〜「劣化度7」の7つのラベル情報)、というようにラベル情報を付加している。これによって、例えば、「劣化度5」に対応する区間の両端のタイミングに測定された劣化度がそれぞれ「0.5」および「0.7」である場合、ラベル情報が未知の検知情報について状態判定処理が行われて、対応するラベル情報が「劣化度5」と判定された場合、その工具の劣化度は「0.5」〜「0.7」の範囲にあると認識することができる。すなわち、第1の実施形態と比較して、本実施形態では、より厳密に劣化度を認識することができる。ラベル付加部106aは、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The label addition unit 106a is a functional unit that adds (associates) label information for each learning data corresponding to the interval between the timings at which the degree of deterioration is measured. In the example shown in FIG. 11, similarly to the first embodiment, for each learning data corresponding to the divided sections, “deterioration degree 1”, “deterioration degree 2”, ... In the example of 11, label information is added such as "7 label information of" deterioration degree 1 "to" deterioration degree 7 "). As a result, for example, when the deterioration degrees measured at the timings at both ends of the section corresponding to the "deterioration degree 5" are "0.5" and "0.7", respectively, the label information is the state of the unknown detection information. When the determination process is performed and the corresponding label information is determined to be "deterioration degree 5", it can be recognized that the deterioration degree of the tool is in the range of "0.5" to "0.7". .. That is, the degree of deterioration can be recognized more strictly in the present embodiment as compared with the first embodiment. The label addition unit 106a is realized by, for example, a program that operates on the CPU 61 shown in FIG.

なお、上述のように、ラベル付加部106aは、第1の実施形態と同様に、劣化度が小さい方から「劣化度1」、「劣化度2」、・・・、というようなラベル情報を付加しているが、このようなラベル情報に限定されるものではない。すなわち、分けた区間の両端のタイミングの実際の劣化度が測定されているので、例えば、その区間の後端のタイミングでの劣化度の測定値そのものを使用してラベル情報を付加するものとしてもよい。例えば、ある区間の後端のタイミングでの劣化度が「0.9」である場合、当該区間に対応するラベル情報として「劣化度0.9」のようなラベル情報を付加してもよい。これによって、ラベル情報が未知に検知情報について状態判定処理が行われて、対応するラベル情報が「劣化度0.9」と判定された場合、その工具は「劣化度が最大で0.9の状態」と認識することができる。 As described above, the label addition unit 106a provides label information such as "deterioration degree 1", "deterioration degree 2", ..., From the one with the smallest deterioration degree, as in the first embodiment. Although it is added, it is not limited to such label information. That is, since the actual deterioration degree of the timing at both ends of the divided section is measured, for example, the label information may be added using the measurement value of the deterioration degree at the rear end timing of the section itself. Good. For example, when the degree of deterioration at the rear end timing of a certain section is "0.9", label information such as "degree of deterioration 0.9" may be added as the label information corresponding to the section. As a result, when the label information is unknown and the state determination process is performed on the detected information and the corresponding label information is determined to be "deterioration degree 0.9", the tool has "deterioration degree 0.9 at maximum". It can be recognized as a "state".

また、上述のように、ラベル付加部106aは、劣化度が測定されたタイミング間の区間に対応する学習データごとにラベル情報を付加するものとしたが、区間の分け方はこれに限定されるものではない。例えば、図11に示すグラフの劣化度を所定数に等分し、等分した劣化度の各範囲に対応する使用時間の区間ごとにラベル情報を付加するものとしてもよい。 Further, as described above, the label addition unit 106a adds label information for each learning data corresponding to the section between the timings at which the degree of deterioration is measured, but the method of dividing the section is limited to this. It's not a thing. For example, the degree of deterioration of the graph shown in FIG. 11 may be equally divided into a predetermined number, and label information may be added for each section of usage time corresponding to each range of the equally divided degree of deterioration.

また、図10に示した診断装置100aの各機能部(通信制御部101、検知情報受信部102、加工情報取得部103、受付部104、特徴抽出部105、劣化度特定部113、ラベル付加部106a、生成部107、判定部108および表示制御部111)は、図3のCPU61にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよく、IC等のハードウェアにより実現してもよく、または、ソフトウェアおよびハードウェアを併用して実現してもよい。 Further, each functional unit (communication control unit 101, detection information receiving unit 102, processing information acquisition unit 103, reception unit 104, feature extraction unit 105, deterioration degree specifying unit 113, label adding unit) of the diagnostic device 100a shown in FIG. 10 The 106a, the generation unit 107, the determination unit 108, and the display control unit 111) may be realized by causing the CPU 61 of FIG. 3 to execute the program, that is, by software or by hardware such as an IC. Alternatively, it may be realized by using software and hardware together.

また、図10に示した診断装置100aおよび加工機200それぞれの各機能部は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図10で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図10の1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。 Further, each functional unit of the diagnostic apparatus 100a and the processing machine 200 shown in FIG. 10 conceptually shows the function, and is not limited to such a configuration. For example, a plurality of functional units shown as independent functional units in FIG. 10 may be configured as one functional unit. On the other hand, the function of one functional unit in FIG. 10 may be divided into a plurality of functions and configured as a plurality of functional units.

(診断装置によるモデル生成処理)
図12は、第2の実施形態におけるモデル生成処理の一例を示すフローチャートである。図12を参照しながら、本実施形態に係る診断システム1aの診断装置100aのモデル生成処理の流れについて説明する。なお、モデル生成処理は、例えば、状態判定処理の前に事前に実行されるものとする。以下のモデル生成処理を実行する前に、加工機200には新品状態の工具が取り付けられた状態とする。
(Model generation processing by diagnostic equipment)
FIG. 12 is a flowchart showing an example of the model generation process in the second embodiment. The flow of the model generation process of the diagnostic apparatus 100a of the diagnostic system 1a according to the present embodiment will be described with reference to FIG. It should be noted that the model generation process is, for example, executed in advance before the state determination process. Before executing the following model generation process, it is assumed that a new tool is attached to the processing machine 200.

<ステップS301>
診断装置100aの通信制御部101は、加工機200から送信されたコンテキスト情報を受信する。そして、診断装置100aの加工情報取得部103は、通信制御部101により受信されたコンテキスト情報を取得する。そして、ステップS302へ移行する。
<Step S301>
The communication control unit 101 of the diagnostic apparatus 100a receives the context information transmitted from the processing machine 200. Then, the processing information acquisition unit 103 of the diagnostic apparatus 100a acquires the context information received by the communication control unit 101. Then, the process proceeds to step S302.

<ステップS302>
診断装置100aの検知情報受信部102は、加工機200から送信された学習データとしての検知情報(センサデータ)の受信を開始する。検知情報受信部102による学習データの受信動作は、新しく交換された新品状態の工具を使用し始めたタイミングから、最終的には、繰り返される加工処理に伴う工具の摩耗等の劣化によって折損するタイミングまで継続する。学習データの受信を開始した場合、ステップS303へ移行する。
<Step S302>
The detection information receiving unit 102 of the diagnostic apparatus 100a starts receiving the detection information (sensor data) as learning data transmitted from the processing machine 200. The operation of receiving the learning data by the detection information receiving unit 102 starts from the timing when the newly replaced new tool is started to be used, and finally the timing when the tool is broken due to deterioration such as wear of the tool due to repeated machining processes. Continue until. When the reception of the training data is started, the process proceeds to step S303.

<ステップS303>
現在、加工情報取得部103により取得されたコンテキスト情報に対応し、加工機200で駆動している工具について、使用時間と劣化度との関係が定義されている場合(ステップS303:Yes)、ステップS306へ移行し、定義されていない場合(ステップS303:No)、ステップS304へ移行する。
<Step S303>
If the relationship between the usage time and the degree of deterioration of the tool currently being driven by the machining machine 200 is defined according to the context information acquired by the machining information acquisition unit 103 (step S303: Yes), the step The process proceeds to S306, and if it is not defined (step S303: No), the process proceeds to step S304.

<ステップS304>
加工機200のユーザは、工具を新品の状態から使用を始めて、所定の使用時間のタイミング(例えば、所定時間ごと)で、劣化度を測定する。このユーザによる劣化度の測定は、工具が折損するまで継続する。そして、ステップS305へ移行する。
<Step S304>
The user of the processing machine 200 starts using the tool from a new state and measures the degree of deterioration at a predetermined usage time timing (for example, every predetermined time). This user measurement of the degree of deterioration continues until the tool breaks. Then, the process proceeds to step S305.

<ステップS305>
診断装置100aの劣化度特定部113は、工具が新品の状態から使用が開始され、使用時間の各タイミングで実際に測定された劣化度から、劣化度が測定されていない区間の劣化度を補間することによって、使用時間に対する劣化度の関係を特定する。そして、ステップS306へ移行する。
<Step S305>
The deterioration degree specifying unit 113 of the diagnostic apparatus 100a interpolates the deterioration degree of the section in which the deterioration degree is not measured from the deterioration degree actually measured at each timing of the use time when the tool is started from the new state. By doing so, the relationship between the degree of deterioration and the usage time is specified. Then, the process proceeds to step S306.

<ステップS306>
診断装置100aの特徴抽出部105は、検知情報受信部102により受信された継続時間分の学習データから、特徴情報を抽出する。そして、ステップS307へ移行する。
<Step S306>
The feature extraction unit 105 of the diagnostic device 100a extracts feature information from the learning data for the duration received by the detection information receiving unit 102. Then, the process proceeds to step S307.

<ステップS307>
診断装置100aのラベル付加部106aは、劣化度が測定されたタイミング間の区間に対応する学習データごとにラベル情報を付加する(対応付ける)。具合的には、上述した図11に示す使用時間と劣化度との関係を示すグラフにおいて、例えば、ラベル付加部106aは、分けた区間に対応する学習データごとに、劣化度が小さい方から「劣化度1」、「劣化度2」、・・・、「劣化度7」というようにラベル情報を付加する。この場合、学習データについて継続時間における区間ごとにラベル情報が付加されているので、その学習データから抽出された特徴情報についても、各区間に対応する特徴情報にはラベル情報が対応付けられていることになる。そして、ステップS308へ移行する。
<Step S307>
The label addition unit 106a of the diagnostic apparatus 100a adds (associates) label information for each learning data corresponding to the interval between the timings at which the degree of deterioration is measured. Specifically, in the graph showing the relationship between the usage time and the degree of deterioration shown in FIG. 11 described above, for example, the label addition unit 106a is "for each learning data corresponding to the divided sections, from the one with the smallest degree of deterioration". Label information is added such as "deterioration degree 1", "deterioration degree 2", ..., "deterioration degree 7". In this case, since the label information is added to the training data for each section in the duration, the label information is associated with the feature information corresponding to each section of the feature information extracted from the learning data. It will be. Then, the process proceeds to step S308.

<ステップS308>
診断装置100aの生成部107は、ラベル付加部106aにより学習データに対して付加されたラベル情報と、特徴抽出部105により学習データから抽出された特徴情報とを用いて、工具の劣化度を判定するためのモデルを生成する。この場合、生成部107は、検知情報受信部102が学習データを受信するときに加工情報取得部103により取得されたコンテキスト情報に対応付けてモデルを生成する。このモデルの生成のアルゴリズムとしては、例えば、教師あり学習のSVMまたはGMM等を用いる。このように生成されたモデルを用いることによって、どのラベル情報に対応するのか不明な特徴情報が、どのクラスに対応するのか、すなわち、どのラベル情報(上述の例では「劣化度1」〜「劣化度7」)に対応するのかが明らかになる。そして、ステップS309へ移行する。
<Step S308>
The generation unit 107 of the diagnostic apparatus 100a determines the degree of deterioration of the tool by using the label information added to the learning data by the label addition unit 106a and the feature information extracted from the learning data by the feature extraction unit 105. Generate a model to do. In this case, the generation unit 107 generates a model in association with the context information acquired by the processing information acquisition unit 103 when the detection information reception unit 102 receives the learning data. As an algorithm for generating this model, for example, SVM or GMM of supervised learning is used. By using the model generated in this way, which label information corresponds to which class of characteristic information, that is, which label information (in the above example, "deterioration degree 1" to "deterioration") It becomes clear whether it corresponds to degree 7 "). Then, the process proceeds to step S309.

<ステップS309>
生成部107は、生成したモデルを、加工情報取得部103により取得されたコンテキスト情報に関連付けて、記憶部109に記憶させる。
<Step S309>
The generation unit 107 associates the generated model with the context information acquired by the processing information acquisition unit 103, and stores the generated model in the storage unit 109.

以上のステップS301〜S309によって、モデル生成処理が実行される。 The model generation process is executed by the above steps S301 to S309.

以上のように、本実施形態に係る診断システム1aでは、工具について使用時間と劣化度との関係が定義されていない場合、継続時間のうち所定の使用時間のタイミング(例えば、一定時間ごと)でユーザ等により測定された劣化度に基づいて、補間等を行って使用時間に対する実際の劣化度との関係を特定するものとしている。さらに、ラベル付加部106aによって、継続時間を複数の区間(例えば、劣化度が測定されたタイミング間の区間)に分け、各区間に対応する学習データごとにラベル情報を付加するものとしている。そして、このように付加されたラベル情報と、学習データから抽出された特徴情報とを用いて、工具の状態を判定するためのモデルを生成するものとしている。これによって、モデルが生成される前の最初の工具については、継続時間のうち所定のタイミングでユーザによって劣化度を測定することが必要となるものの、使用時間と劣化度との関係を特定した上で、ラベル情報を付加しているので、状態(劣化度)が未知の検知情報に対して、モデルによって判定したラベル情報は、具体的な劣化度を示すので、より厳密に劣化度を認識することができる。そして、このように生成されたモデルの精度が向上し、状態が未知の検知情報に対して、当該モデルを用いることによって、どのような状態(ラベル情報)であるのかを判定する状態判定処理の精度も向上させることができる。 As described above, in the diagnostic system 1a according to the present embodiment, when the relationship between the usage time and the degree of deterioration of the tool is not defined, at the timing of the predetermined usage time (for example, at regular time intervals) of the duration. Based on the degree of deterioration measured by the user or the like, interpolation or the like is performed to specify the relationship between the actual degree of deterioration and the usage time. Further, the label addition unit 106a divides the duration into a plurality of sections (for example, sections between the timings at which the degree of deterioration is measured), and adds label information to each learning data corresponding to each section. Then, using the label information added in this way and the feature information extracted from the learning data, a model for determining the state of the tool is generated. As a result, for the first tool before the model is generated, it is necessary for the user to measure the degree of deterioration at a predetermined timing of the duration, but after identifying the relationship between the usage time and the degree of deterioration. Since the label information is added, the label information determined by the model indicates the specific deterioration degree for the detection information whose state (deterioration degree) is unknown, so that the deterioration degree is recognized more strictly. be able to. Then, the accuracy of the model generated in this way is improved, and for the detection information whose state is unknown, the state determination process for determining what kind of state (label information) is by using the model. The accuracy can also be improved.

[第3の実施形態]
第3の実施形態に係る診断システムについて、第1の実施形態に係る診断システム1と相違する点を中心に説明する。本実施形態では、1本目(n=1)の工具については、継続時間内において、人の手によって所定のタイミングで劣化度を測定することによって、使用時間と劣化度との関係を特定し、2本目以降(n≧2)の工具については、1本目の工具の使用時間と劣化度との関係を示すグラフと相似形になるものとして、ラベル情報の付加を行う動作について説明する。なお、本実施形態に係る診断システムの全体構成、ならびに、診断装置および加工機200のハードウェア構成は、それぞれ第1の実施形態で説明した構成と同様である。また、本実施形態に係る診断システムの状態判定処理は、第1の実施形態で説明した状態判定処理と同様である。
[Third Embodiment]
The diagnostic system according to the third embodiment will be described focusing on the differences from the diagnostic system 1 according to the first embodiment. In the present embodiment, for the first tool (n = 1), the relationship between the usage time and the degree of deterioration is specified by manually measuring the degree of deterioration at a predetermined timing within the duration. For the second and subsequent tools (n ≧ 2), the operation of adding label information will be described assuming that the shape is similar to the graph showing the relationship between the usage time of the first tool and the degree of deterioration. The overall configuration of the diagnostic system according to the present embodiment and the hardware configuration of the diagnostic apparatus and the processing machine 200 are the same as the configurations described in the first embodiment, respectively. Further, the state determination process of the diagnostic system according to the present embodiment is the same as the state determination process described in the first embodiment.

(診断システムの機能ブロックの構成および動作)
図13は、第3の実施形態に係る診断システムの機能ブロックの構成の一例を示す図である。図14は、複数の工具の使用時間と劣化度との関係の一例を示すグラフである。図15は、工具の使用時間と劣化度との関係からラベル情報を付加することを説明する図である。図13〜図15を参照しながら、本実施形態に係る診断システム1bの機能ブロックの構成および動作について説明する。なお、加工機200の機能ブロックの構成は、上述の第1の実施形態で説明した構成と同様である。
(Configuration and operation of functional blocks of diagnostic system)
FIG. 13 is a diagram showing an example of the configuration of the functional block of the diagnostic system according to the third embodiment. FIG. 14 is a graph showing an example of the relationship between the usage time of a plurality of tools and the degree of deterioration. FIG. 15 is a diagram illustrating that label information is added based on the relationship between the tool usage time and the degree of deterioration. The configuration and operation of the functional block of the diagnostic system 1b according to the present embodiment will be described with reference to FIGS. 13 to 15. The configuration of the functional block of the processing machine 200 is the same as the configuration described in the first embodiment described above.

図13に示す、診断システム1bの診断装置100bは、通信制御部101と、検知情報受信部102(第2取得部)と、加工情報取得部103(第1取得部)と、受付部104と、特徴抽出部105と、劣化度特定部113b(特定部)と、第1ラベル付加部114(第1付加部)と、測定部115と、第2ラベル付加部116(第2付加部)と、生成部107と、判定部108と、記憶部109と、入力部110と、表示制御部111と、表示部112と、を有する。なお、診断装置100bが有する機能部のうち劣化度特定部113b、第1ラベル付加部114、測定部115および第2ラベル付加部116以外の機能部の動作は、上述の第1の実施形態で説明した動作と同様である。 The diagnostic device 100b of the diagnostic system 1b shown in FIG. 13 includes a communication control unit 101, a detection information receiving unit 102 (second acquisition unit), a processing information acquisition unit 103 (first acquisition unit), and a reception unit 104. , Feature extraction unit 105, deterioration degree specifying unit 113b (specific unit), first label addition unit 114 (first addition unit), measurement unit 115, and second label addition unit 116 (second addition unit). , A generation unit 107, a determination unit 108, a storage unit 109, an input unit 110, a display control unit 111, and a display unit 112. Of the functional units included in the diagnostic apparatus 100b, the operations of the functional units other than the deterioration degree specifying unit 113b, the first label addition unit 114, the measurement unit 115, and the second label addition unit 116 are described in the first embodiment described above. It is the same as the operation described.

n=1の工具(1本目の工具)(第1部材の一例)の使用時間と劣化度との関係に対して、n≧2の工具(2本目以降の工具)(第2部材の一例)の使用時間と劣化度との関係は相対的に変わらないということを前提とする。すなわち、工具の種類が同じであれば、個体差によって寿命(継続時間)のばらつきはあるものの、劣化度の進み具合(グラフの相対的な形状)は同じであるものとする。この場合、図14に示すように、n=1の使用時間と劣化度との関係を示すグラフの形状と、n≧2の使用時間と劣化度との関係を示すグラフ(図14の例では、n=2およびn=3のグラフを示している)の形状とは互いに相似の形状となる。この点を踏まえて、後述するような方法で、第1ラベル付加部114および第2ラベル付加部116により学習データに対するラベル情報が付加される。 With respect to the relationship between the usage time and the degree of deterioration of a tool with n = 1 (first tool) (an example of the first member), a tool with n ≧ 2 (second and subsequent tools) (an example of the second member) It is assumed that the relationship between the usage time and the degree of deterioration of is relatively unchanged. That is, if the types of tools are the same, it is assumed that the degree of deterioration (relative shape of the graph) is the same, although the life (duration) varies depending on individual differences. In this case, as shown in FIG. 14, the shape of the graph showing the relationship between the usage time of n = 1 and the degree of deterioration and the graph showing the relationship between the usage time of n ≧ 2 and the degree of deterioration (in the example of FIG. 14). , N = 2 and n = 3) and the shapes are similar to each other. Based on this point, label information for the training data is added by the first label addition unit 114 and the second label addition unit 116 by a method as described later.

図15に示すグラフは、モデルを生成するための1本目(n=1)の工具が新品から徐々に劣化し最終的に折損するまでの使用時間と劣化度との関係を示すグラフである。第2の実施形態の図11で上述したように、例えば、加工機200のユーザは、工具を新品の状態から使用を始めて、一定間隔ごとに、工具を顕微鏡写真等で撮影する等して、当該ユーザの判断により劣化度を測定する。例えば、劣化度としては、工具の刃先が削れた長さをそのまま劣化度として扱ってもよい。図15におけるグラフに示される「×」印が、ユーザによって一定間隔ごとに測定された劣化度を示している。 The graph shown in FIG. 15 is a graph showing the relationship between the usage time and the degree of deterioration until the first tool (n = 1) for generating a model gradually deteriorates from a new tool and finally breaks. As described above in FIG. 11 of the second embodiment, for example, the user of the processing machine 200 starts using the tool from a new state and takes a photomicrograph or the like of the tool at regular intervals. The degree of deterioration is measured at the discretion of the user. For example, as the degree of deterioration, the length at which the cutting edge of the tool is scraped may be treated as the degree of deterioration as it is. The “x” mark shown in the graph in FIG. 15 indicates the degree of deterioration measured by the user at regular intervals.

劣化度特定部113bは、n=1の工具が新品の状態から使用が開始され、上述のように、使用時間の各タイミングで実際に測定された劣化度から、劣化度が測定されていない区間の劣化度を補間(例えば、線形補間または多項式補間等)することによって、使用時間に対する劣化度の関係を特定する機能部である。劣化度特定部113bは、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The deterioration degree specifying unit 113b is a section in which the deterioration degree is not measured from the deterioration degree actually measured at each timing of the use time, as described above, when the tool with n = 1 is started to be used from a new state. It is a functional unit that specifies the relationship of the degree of deterioration with respect to the usage time by interpolating the degree of deterioration (for example, linear interpolation or polynomial interpolation). The deterioration degree specifying unit 113b is realized by, for example, a program running on the CPU 61 shown in FIG.

第1ラベル付加部114は、n=1の工具についての図15に示すグラフ(劣化度特定部113bにより特定されたn=1の工具についての使用時間に対する劣化度の関係を示すグラフ)の劣化度を所定数に等分し、等分した劣化度の各範囲に対応する使用時間の区間に対応する学習データごとにラベル情報を付加する(対応付ける)機能部である。図15に示す例では、等分した劣化度の各範囲に対応する使用時間の区間に対応する学習データごとに、劣化度が小さい方から「劣化度1」、「劣化度2」、・・・、「劣化度5」というように5つのラベル情報を付加している。また、図15に示すように、「劣化度1」に対応する区間を区間A、「劣化度2」に対応する区間を区間B、「劣化度3」に対応する区間を区間C、「劣化度4」に対応する区間を区間D、そして、「劣化度5」に対応する区間を区間Eとしている。これによって、例えば、「劣化度3」に対応する区間の両端のタイミングに測定された劣化度がそれぞれ「0.3」および「0.5」とした場合、ラベル情報が未知の検知情報について状態判定処理が行われて、対応するラベル情報が「劣化度3」と判定された場合、その工具の劣化度は「0.3」〜「0.5」の範囲にあると認識することができる。第1ラベル付加部114は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The first label addition unit 114 is a deterioration of the graph shown in FIG. 15 for the tool with n = 1 (a graph showing the relationship of the degree of deterioration with respect to the usage time for the tool with n = 1 specified by the degree of deterioration specifying unit 113b). It is a functional unit that divides the degree equally into a predetermined number and adds (associates) label information for each training data corresponding to the interval of the usage time corresponding to each range of the equally divided deterioration degree. In the example shown in FIG. 15, "deterioration degree 1", "deterioration degree 2", and so on, from the smallest deterioration degree for each learning data corresponding to the usage time interval corresponding to each range of the equally divided deterioration degree. -, Five label information such as "deterioration degree 5" is added. Further, as shown in FIG. 15, the section corresponding to "deterioration degree 1" is section A, the section corresponding to "deterioration degree 2" is section B, the section corresponding to "deterioration degree 3" is section C, and "deterioration degree 3". The section corresponding to "degree 4" is referred to as section D, and the section corresponding to "deterioration degree 5" is referred to as section E. As a result, for example, when the deterioration degrees measured at the timings at both ends of the section corresponding to the "deterioration degree 3" are "0.3" and "0.5", respectively, the label information is unknown for the detection information. When the determination process is performed and the corresponding label information is determined to be "deterioration degree 3", it can be recognized that the deterioration degree of the tool is in the range of "0.3" to "0.5". .. The first label addition unit 114 is realized by, for example, a program that operates on the CPU 61 shown in FIG.

なお、上述のように、第1ラベル付加部114は、劣化度を所定数に等分し、等分した劣化度の各範囲に対応する使用時間の区間に対応する学習データごとにラベル情報を付加するものとしたが、これに限定されるものではない。例えば、劣化度が測定されたタイミング間の区間に対応する学習データごとにラベル情報を付加するものとしてもよい。 As described above, the first label addition unit 114 divides the degree of deterioration into a predetermined number and divides the degree of deterioration into equal parts, and provides label information for each learning data corresponding to the interval of the usage time corresponding to each range of the degree of deterioration. It is supposed to be added, but it is not limited to this. For example, label information may be added for each learning data corresponding to the interval between the timings at which the degree of deterioration is measured.

測定部115は、n=1の工具を用いてモデルが生成された後、別の工具(2本目以降の工具)を用いてモデルを生成するために、当該工具についての継続時間を測定する機能部である。このとき、上述のように、n=1の使用時間と劣化度との関係を示すグラフの形状と、n≧2の使用時間と劣化度との関係を示すグラフの形状とは互いに相似の形状であるものとすることから、劣化度特定部113bは、n=1の工具の継続時間に対する、測定部115により測定されたn≧2の工具の継続時間の割合から、n≧2の工具についての使用時間に対する劣化度の関係を特定する。測定部115は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The measuring unit 115 has a function of measuring the duration of a model in order to generate a model using another tool (the second and subsequent tools) after the model is generated using the tool of n = 1. It is a department. At this time, as described above, the shape of the graph showing the relationship between the usage time of n = 1 and the degree of deterioration and the shape of the graph showing the relationship between the usage time of n ≧ 2 and the degree of deterioration are similar to each other. Therefore, the deterioration degree specifying unit 113b is for a tool with n ≧ 2 from the ratio of the duration of the tool with n ≧ 2 measured by the measuring unit 115 to the duration of the tool with n = 1. Identify the relationship between the degree of deterioration and the usage time of. The measuring unit 115 is realized by, for example, a program running on the CPU 61 shown in FIG.

第2ラベル付加部116は、測定部115により測定されたn≧2の工具の継続時間と、n=1の工具の継続時間に対する、第1ラベル付加部114により付加された各ラベル情報に対応する各区間の割合と、から求まるn≧2の工具の継続時間に対する各区間に対応する学習データに対して、第1ラベル付加部114により付加されたラベル情報と同一のラベル情報を付加する機能部である。例えば、図15に示すように、n=1の工具の継続時間を仮に「1」とした場合、例えば、「劣化度1」と「劣化度2」との境界の使用時間は「0.3」であり、「劣化度2」と「劣化度3」との境界の使用時間は「0.6」である。このとき、n≧2の工具の継続時間が「10」である場合、使用時間が「3」(=10×0.3)〜「6」(=10×0.6)の区間に対応する学習データに対して、「劣化度2」というラベル情報が付加されることになる。第2ラベル付加部116は、例えば、図3に示すCPU61で動作するプログラムによって実現される。 The second label addition unit 116 corresponds to each label information added by the first label addition unit 114 with respect to the duration of the tool with n ≧ 2 measured by the measurement unit 115 and the duration of the tool with n = 1. A function of adding the same label information as the label information added by the first label addition unit 114 to the training data corresponding to each section with respect to the ratio of each section to be measured and the duration of the tool of n ≧ 2 obtained from It is a department. For example, as shown in FIG. 15, when the duration of the tool with n = 1 is assumed to be "1", for example, the usage time of the boundary between "deterioration degree 1" and "deterioration degree 2" is "0.3". The usage time of the boundary between the "deterioration degree 2" and the "deterioration degree 3" is "0.6". At this time, when the duration of the tool with n ≧ 2 is “10”, the usage time corresponds to the section from “3” (= 10 × 0.3) to “6” (= 10 × 0.6). Label information of "deterioration degree 2" is added to the training data. The second label addition unit 116 is realized by, for example, a program that operates on the CPU 61 shown in FIG.

なお、図13に示した診断装置100bの各機能部(通信制御部101、検知情報受信部102、加工情報取得部103、受付部104、特徴抽出部105、劣化度特定部113b、第1ラベル付加部114、測定部115、第2ラベル付加部116、生成部107、判定部108および表示制御部111)は、図3のCPU61にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよく、IC等のハードウェアにより実現してもよく、または、ソフトウェアおよびハードウェアを併用して実現してもよい。 In addition, each functional unit (communication control unit 101, detection information receiving unit 102, processing information acquisition unit 103, reception unit 104, feature extraction unit 105, deterioration degree specifying unit 113b, first label) of the diagnostic device 100b shown in FIG. The addition unit 114, the measurement unit 115, the second label addition unit 116, the generation unit 107, the determination unit 108, and the display control unit 111) may be realized by causing the CPU 61 of FIG. 3 to execute the program, that is, by software. , IC or other hardware may be used, or software and hardware may be used in combination.

また、図13に示した診断装置100bおよび加工機200それぞれの各機能部は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図13で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図13の1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。 Further, each functional unit of the diagnostic apparatus 100b and the processing machine 200 shown in FIG. 13 conceptually shows a function, and is not limited to such a configuration. For example, a plurality of functional units shown as independent functional units in FIG. 13 may be configured as one functional unit. On the other hand, the function of one functional unit in FIG. 13 may be divided into a plurality of functions and configured as a plurality of functional units.

(診断装置によるモデル生成処理)
図16は、第3の実施形態におけるモデル生成処理の一例を示すフローチャートである。図16を参照しながら、本実施形態に係る診断システム1bの診断装置100bのモデル生成処理の流れについて説明する。なお、モデル生成処理は、例えば、状態判定処理の前に事前に実行されるものとする。以下のモデル生成処理を実行する前に、加工機200には新品状態の工具が取り付けられた状態とする。
(Model generation processing by diagnostic equipment)
FIG. 16 is a flowchart showing an example of the model generation process according to the third embodiment. The flow of the model generation process of the diagnostic apparatus 100b of the diagnostic system 1b according to the present embodiment will be described with reference to FIG. It should be noted that the model generation process is, for example, executed in advance before the state determination process. Before executing the following model generation process, it is assumed that a new tool is attached to the processing machine 200.

<ステップS401>
診断装置100bの通信制御部101は、加工機200から送信されたコンテキスト情報を受信する。そして、診断装置100bの加工情報取得部103は、通信制御部101により受信されたコンテキスト情報を取得する。そして、ステップS402へ移行する。
<Step S401>
The communication control unit 101 of the diagnostic apparatus 100b receives the context information transmitted from the processing machine 200. Then, the processing information acquisition unit 103 of the diagnostic apparatus 100b acquires the context information received by the communication control unit 101. Then, the process proceeds to step S402.

<ステップS402>
診断装置100bの検知情報受信部102は、加工機200から送信された学習データとしての検知情報(センサデータ)の受信を開始する。検知情報受信部102による学習データの受信動作は、新しく交換された新品状態の工具を使用し始めたタイミングから、最終的には、繰り返される加工処理に伴う工具の摩耗等の劣化によって折損するタイミングまで継続する。学習データの受信を開始した場合、ステップS403へ移行する。
<Step S402>
The detection information receiving unit 102 of the diagnostic apparatus 100b starts receiving the detection information (sensor data) as learning data transmitted from the processing machine 200. The operation of receiving the learning data by the detection information receiving unit 102 starts from the timing when the newly replaced new tool is started to be used, and finally the timing when the tool is broken due to deterioration such as wear of the tool due to repeated machining processes. Continue until. When the reception of the training data is started, the process proceeds to step S403.

<ステップS403>
現在、加工情報取得部103により取得されたコンテキスト情報に対応し、加工機200で駆動している工具がn=1の工具である場合(ステップS403:Yes(n=1))、ステップS404へ移行し、n≧2の工具である場合(ステップS403:No(n≧2))、ステップS406へ移行する。
<Step S403>
If the tool currently being driven by the machining machine 200 corresponds to the context information acquired by the machining information acquisition unit 103 and the tool is n = 1 (step S403: Yes (n = 1)), the process proceeds to step S404. If the tool is n ≧ 2 (step S403: No (n ≧ 2)), the process proceeds to step S406.

<ステップS404>
加工機200のユーザは、n=1の工具を新品の状態から使用を始めて、所定の使用時間のタイミング(例えば、所定時間ごと)で、劣化度を測定する。このユーザによる劣化度の測定は、工具が折損するまで継続する。そして、ステップS405へ移行する。
<Step S404>
The user of the processing machine 200 starts using the tool with n = 1 from a new state, and measures the degree of deterioration at a predetermined usage time timing (for example, every predetermined time). This user measurement of the degree of deterioration continues until the tool breaks. Then, the process proceeds to step S405.

<ステップS405>
診断装置100bの劣化度特定部113bは、n=1の工具が新品の状態から使用が開始され、使用時間の各タイミングで実際に測定された劣化度から、劣化度が測定されていない区間の劣化度を補間することによって、使用時間に対する劣化度の関係を特定する。そして、ステップS408へ移行する。
<Step S405>
The deterioration degree specifying unit 113b of the diagnostic apparatus 100b is a section in which the deterioration degree is not measured from the deterioration degree actually measured at each timing of the use time when the tool of n = 1 is started to be used from a new state. By interpolating the degree of deterioration, the relationship of the degree of deterioration with respect to the usage time is specified. Then, the process proceeds to step S408.

<ステップS406>
診断装置100bの測定部115は、n≧2の工具(2本目以降の工具)を用いてモデルを生成するために、当該工具についての継続時間(新品状態から折損するまでの時間)を測定する。そして、ステップS407へ移行する。
<Step S406>
The measuring unit 115 of the diagnostic apparatus 100b measures the duration (time from a new state to breakage) of the tool in order to generate a model using a tool with n ≧ 2 (the second and subsequent tools). .. Then, the process proceeds to step S407.

<ステップS407>
劣化度特定部113bは、n=1の使用時間と劣化度との関係を示すグラフの形状と、n≧2の使用時間と劣化度との関係を示すグラフの形状とは互いに相似の形状であるものとして、n=1の工具の継続時間に対する、測定部115により測定されたn≧2の工具の継続時間の割合から、n≧2の工具についての使用時間に対する劣化度の関係を特定する。そして、ステップS408へ移行する。
<Step S407>
The deterioration degree specifying unit 113b has a shape similar to the shape of the graph showing the relationship between the usage time of n = 1 and the degree of deterioration and the shape of the graph showing the relationship between the usage time of n ≧ 2 and the degree of deterioration. As a certain thing, the relationship of the degree of deterioration with respect to the usage time of the tool of n ≧ 2 is specified from the ratio of the duration of the tool of n ≧ 2 measured by the measuring unit 115 to the duration of the tool of n = 1. .. Then, the process proceeds to step S408.

<ステップS408>
診断装置100bの特徴抽出部105は、検知情報受信部102により受信された継続時間分の学習データから、特徴情報を抽出する。そして、ステップS409へ移行する。
<Step S408>
The feature extraction unit 105 of the diagnostic device 100b extracts the feature information from the learning data for the duration received by the detection information receiving unit 102. Then, the process proceeds to step S409.

<ステップS409>
n=1の工具の場合、診断装置100bの第1ラベル付加部114は、劣化度特定部113bにより特定されたn=1の工具についての使用時間に対する劣化度の関係を示すグラフの劣化度を所定数に等分し、等分した劣化度の各範囲に対応する使用時間の区間に対応する学習データごとにラベル情報を付加する(対応付ける)。n≧2の工具の場合、第2ラベル付加部116は、測定部115により測定されたn≧2の工具の継続時間と、n=1の工具の継続時間に対する、第1ラベル付加部114により付加された各ラベル情報に対応する各区間の割合と、から求まるn≧2の工具の継続時間に対する各区間に対応する学習データに対して、第1ラベル付加部114により付加されたラベル情報と同一のラベル情報を付加する(対応付ける)。そして、ステップS410へ移行する。
<Step S409>
In the case of a tool with n = 1, the first label addition unit 114 of the diagnostic apparatus 100b determines the degree of deterioration of the graph showing the relationship of the degree of deterioration with respect to the usage time of the tool with n = 1 specified by the degree of deterioration specifying unit 113b. It is equally divided into a predetermined number, and label information is added (corresponded) to each learning data corresponding to the interval of usage time corresponding to each range of the equally divided deterioration degree. In the case of a tool with n ≧ 2, the second label adding part 116 is set by the first label adding part 114 with respect to the duration of the tool with n ≧ 2 measured by the measuring unit 115 and the duration of the tool with n = 1. With respect to the ratio of each section corresponding to each added label information and the training data corresponding to each section with respect to the duration of the tool of n ≧ 2 obtained from the label information added by the first label addition unit 114. Add (associate) the same label information. Then, the process proceeds to step S410.

<ステップS410>
診断装置100bの生成部107は、第1ラベル付加部114または第2ラベル付加部116により学習データに対して付加されたラベル情報と、特徴抽出部105により学習データから抽出された特徴情報とを用いて、工具の劣化度を判定するためのモデルを生成する。この場合、生成部107は、検知情報受信部102が学習データを受信するときに加工情報取得部103により取得されたコンテキスト情報に対応付けてモデルを生成する。このモデルの生成のアルゴリズムとしては、例えば、教師あり学習のSVMまたはGMM等を用いる。このように生成されたモデルを用いることによって、どのラベル情報に対応するのか不明な特徴情報が、どのクラスに対応するのか、すなわち、どのラベル情報(上述の例では「劣化度1」〜「劣化度7」)に対応するのかが明らかになる。そして、ステップS411へ移行する。
<Step S410>
The generation unit 107 of the diagnostic apparatus 100b combines the label information added to the training data by the first label addition unit 114 or the second label addition unit 116 and the feature information extracted from the training data by the feature extraction unit 105. It is used to generate a model for determining the degree of deterioration of a tool. In this case, the generation unit 107 generates a model in association with the context information acquired by the processing information acquisition unit 103 when the detection information reception unit 102 receives the learning data. As an algorithm for generating this model, for example, SVM or GMM of supervised learning is used. By using the model generated in this way, which label information corresponds to which class of characteristic information, that is, which label information (in the above example, "deterioration degree 1" to "deterioration") It becomes clear whether it corresponds to degree 7 "). Then, the process proceeds to step S411.

<ステップS411>
生成部107は、生成したモデルを、加工情報取得部103により取得されたコンテキスト情報に関連付けて、記憶部109に記憶させる。
<Step S411>
The generation unit 107 associates the generated model with the context information acquired by the processing information acquisition unit 103, and stores the generated model in the storage unit 109.

以上のステップS401〜S411によって、モデル生成処理が実行される。 The model generation process is executed by the above steps S401 to S411.

以上のように、本実施形態に係る診断システム1bでは、モデルの生成のための最初の1本目(n=1)の工具について使用時間と劣化度との関係が定義されていない場合、継続時間のうち所定の使用時間のタイミング(例えば、一定時間ごと)でユーザ等により測定された劣化度に基づいて、補間等を行って使用時間に対する実際の劣化度との関係を特定するものとしている。さらに、第1ラベル付加部114によって、n=1の工具についての使用時間に対する劣化度の関係を示すグラフについて継続時間について所定の方法により複数の区間に分け、各区間に対応する学習データごとにラベル情報が付加される。また、2本目以降(n≧2)の工具についてモデルを生成するために、測定部115により、当該工具についての継続時間(新品状態から折損するまでの時間)が測定される。そして、第2ラベル付加部116は、測定部115により測定されたn≧2の工具の継続時間と、n=1の工具の継続時間に対する、第1ラベル付加部114により付加された各ラベル情報に対応する各区間の割合と、から求まるn≧2の工具の継続時間に対する各区間に対応する学習データに対して、第1ラベル付加部114により付加されたラベル情報と同一のラベル情報を付加するものとしている。これによって、モデルが生成される前の最初の1本目の工具については、継続時間のうち所定のタイミングでユーザによって劣化度を測定することが必要となるものの、使用時間と劣化度との関係を特定した上で、ラベル情報を付加しているので、状態(劣化度)が未知の検知情報に対して、モデルによって判定したラベル情報は、具体的な劣化度を示すので、より厳密に劣化度を認識することができる。また、n≧2の工具を用いて新たにモデルを生成する場合、n=1の使用時間と劣化度との関係を示すグラフの形状と、n≧2の使用時間と劣化度との関係を示すグラフの形状とは互いに相似の形状であるものとして扱い、n≧2について劣化度を測定することなく、n≧2の学習データに対してラベル情報を付加するものとしている。これによって、n≧2の工具の学習データについては、人の判断を介さずに、工具の状態を示すラベル情報を容易に付加することが可能となる。そして、このように生成されたモデルの精度が向上し、状態が未知の検知情報に対して、当該モデルを用いることによって、どのような状態(ラベル情報)であるのかを判定する状態判定処理の精度も向上させることができる。 As described above, in the diagnostic system 1b according to the present embodiment, when the relationship between the usage time and the degree of deterioration of the first tool (n = 1) for generating the model is not defined, the duration is Of these, based on the degree of deterioration measured by a user or the like at a predetermined timing of use time (for example, every fixed time), interpolation or the like is performed to specify the relationship between the degree of use and the actual degree of deterioration. Further, the first label addition unit 114 divides the graph showing the relationship of the degree of deterioration with respect to the usage time of the tool of n = 1 into a plurality of sections by a predetermined method for the duration, and for each learning data corresponding to each section. Label information is added. Further, in order to generate a model for the second and subsequent tools (n ≧ 2), the measuring unit 115 measures the duration (time from a new state to breakage) of the tool. Then, the second label adding unit 116 provides each label information added by the first label adding unit 114 with respect to the duration of the tool with n ≧ 2 measured by the measuring unit 115 and the duration of the tool with n = 1. The same label information as the label information added by the first label addition unit 114 is added to the training data corresponding to each section with respect to the ratio of each section corresponding to and the duration of the tool of n ≧ 2 obtained from. It is supposed to be done. As a result, for the first tool before the model is generated, it is necessary for the user to measure the degree of deterioration at a predetermined timing of the duration, but the relationship between the usage time and the degree of deterioration can be determined. Since the label information is added after specifying, the label information determined by the model indicates the specific degree of deterioration for the detection information whose state (deterioration degree) is unknown, so that the degree of deterioration is more rigorous. Can be recognized. Further, when a new model is generated using a tool with n ≧ 2, the shape of the graph showing the relationship between the usage time of n = 1 and the degree of deterioration and the relationship between the usage time of n ≧ 2 and the degree of deterioration are shown. The shapes of the graphs shown are treated as having similar shapes to each other, and label information is added to the training data of n ≧ 2 without measuring the degree of deterioration for n ≧ 2. As a result, it is possible to easily add label information indicating the state of the tool to the learning data of the tool with n ≧ 2 without human judgment. Then, the accuracy of the model generated in this way is improved, and for the detection information whose state is unknown, the state determination process for determining what kind of state (label information) is by using the model. The accuracy can also be improved.

なお、上述の各実施形態の診断システムで実行されるプログラムは、ROM等に予め組み込まれて提供するように構成してもよい。 The program executed by the diagnostic system of each of the above-described embodiments may be configured to be provided in advance in a ROM or the like.

また、上述の各実施形態の診断システムで実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM(Compact Disc Read Only Memory)、フレキシブルディスク(FD)、CD−R(Compact Disk−Recordable)、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録してコンピュータ・プログラム・プロダクトとして提供するように構成してもよい。 Further, the programs executed by the diagnostic system of each of the above-described embodiments are files in an installable format or an executable format, such as a CD-ROM (Computer Disc Read Only Memory), a flexible disk (FD), and a CD-R ( It may be configured to be recorded on a computer-readable recording medium such as a Compact Disc-Recordable or a DVD (Digital Versaille Disk) and provided as a computer program product.

また、上述の各実施形態の診断システムで実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上述の各実施形態の診断システムで実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。 Further, the program executed by the diagnostic system of each of the above-described embodiments may be stored on a computer connected to a network such as the Internet and provided by downloading via the network. Further, the program executed by the diagnostic system of each of the above-described embodiments may be configured to be provided or distributed via a network such as the Internet.

また、上述の各実施形態の診断システムで実行されるプログラムは、上述した各機能部を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)がROMからプログラムを読み出して実行することにより上述の各機能部が主記憶装置上にロードされ、各機能部が主記憶装置上に生成されるようになっている。 Further, the program executed by the diagnostic system of each of the above-described embodiments has a module configuration including each of the above-mentioned functional parts, and as the actual hardware, the CPU (processor) reads the program from the ROM and executes it. As a result, each of the above-mentioned functional units is loaded on the main storage device, and each functional unit is generated on the main storage device.

1、1a、1b 診断システム
51 CPU
52 ROM
53 RAM
54 通信I/F
55 駆動制御回路
56 モータ
57 センサ
58 バス
61 CPU
62 ROM
63 RAM
64 通信I/F
65 センサI/F
66 補助記憶装置
67 入力装置
68 ディスプレイ
69 バス
100、100a、100b 診断装置
101 通信制御部
102 検知情報受信部
103 加工情報取得部
104 受付部
105 特徴抽出部
106、106a ラベル付加部
107 生成部
108 判定部
109 記憶部
110 入力部
111 表示制御部
112 表示部
113、113b 劣化度特定部
114 第1ラベル付加部
115 測定部
116 第2ラベル付加部
200 加工機
201 数値制御部
202 通信制御部
203 駆動制御部
204 駆動部
211 検知部
701、702 コンテキスト情報
711、721 検知情報
901 コンテキスト情報
921 検知情報
1,1a, 1b diagnostic system 51 CPU
52 ROM
53 RAM
54 Communication I / F
55 Drive control circuit 56 Motor 57 Sensor 58 Bus 61 CPU
62 ROM
63 RAM
64 Communication I / F
65 Sensor I / F
66 Auxiliary storage device 67 Input device 68 Display 69 Bus 100, 100a, 100b Diagnostic device 101 Communication control unit 102 Detection information reception unit 103 Processing information acquisition unit 104 Reception unit 105 Feature extraction unit 106, 106a Label addition unit 107 Generation unit 108 Judgment Unit 109 Storage unit 110 Input unit 111 Display control unit 112 Display unit 113, 113b Deterioration degree identification unit 114 First label addition unit 115 Measuring unit 116 Second label addition unit 200 Processing machine 201 Numerical control unit 202 Communication control unit 203 Drive control Unit 204 Drive unit 211 Detection unit 701, 702 Context information 711, 721 Detection information 901 Context information 921 Detection information

特開2010−054558号公報Japanese Unexamined Patent Publication No. 2010-054558

Claims (11)

対象装置の現在の動作に対応する所定の情報を、前記対象装置から取得する第1取得部と、
前記対象装置の部材に関する物理量を検知する検知部から出力される第1検知情報を学習データとして取得する第2取得部と、
前記第2取得部により取得された前記学習データの特徴を示す第1特徴情報を抽出する抽出部と、
前記動作が実行されることにより、前記部材について新品状態における使用開始から使用不可となるまでの継続時間を、所定の複数の区間に分け、前記各区間に対応する前記学習データに対して、該部材の状態を示すラベル情報をそれぞれ付加する第1付加部と、
前記各区間に対応する前記学習データにそれぞれ付加された前記ラベル情報と、前記第1特徴情報とに基づいて、前記第2取得部により取得された前記ラベル情報が未知である第2検知情報が、どの前記ラベル情報に対応するのかを判定するためのモデルを、前記学習データに対応する前記所定の情報をモデル特定情報として対応付けて生成する生成部と、
を備えた診断装置。
A first acquisition unit that acquires predetermined information corresponding to the current operation of the target device from the target device, and
A second acquisition unit that acquires first detection information output as learning data from a detection unit that detects a physical quantity related to a member of the target device, and a second acquisition unit.
An extraction unit that extracts the first feature information indicating the characteristics of the learning data acquired by the second acquisition unit, and an extraction unit.
When the operation is executed, the duration from the start of use of the member in a new state until it becomes unusable is divided into a plurality of predetermined sections, and the learning data corresponding to each section is described. The first additional part to which label information indicating the state of the member is added, and
Based on the label information added to the learning data corresponding to each section and the first feature information, the second detection information in which the label information acquired by the second acquisition unit is unknown is , A generation unit that generates a model for determining which label information corresponds to, in association with the predetermined information corresponding to the training data as model specific information.
Diagnostic device equipped with.
前記抽出部は、前記第2検知情報の特徴を示す第2特徴情報を抽出し、
前記第1取得部により取得された前記モデル特定情報に対応するモデルと、該モデル特定情報に対応する前記第2特徴情報と、を用いて、該第2特徴情報がどの状態を示す前記ラベル情報に対応するかを判定する判定部を、さらに備えた請求項1に記載の診断装置。
The extraction unit extracts the second feature information indicating the feature of the second detection information, and then extracts the second feature information.
The label information indicating which state the second feature information indicates by using the model corresponding to the model specific information acquired by the first acquisition unit and the second feature information corresponding to the model specific information. The diagnostic device according to claim 1, further comprising a determination unit for determining whether or not the information corresponds to.
前記第1付加部は、前記継続時間を所定数の区間に等分し、等分した前記各区間に対応する前記学習データに対して、前記部材の状態を示すラベル情報を付加する請求項1または2に記載の診断装置。 The first additional part divides the duration into a predetermined number of sections and adds label information indicating the state of the member to the learning data corresponding to each of the equally divided sections. Or the diagnostic apparatus according to 2. 前記部材について新品状態における使用開始から、使用時間の所定のタイミングで測定された該部材の状態に基づいて、前記使用時間に対する該部材の状態の関係を特定する特定部を、さらに備え、
前記第1付加部は、前記継続時間を、前記使用時間に対する前記部材の状態の関係により前記状態の変化が特定される複数の区間に分け、前記各区間に対応する前記学習データに対して、前記ラベル情報をそれぞれ付加する請求項1または2に記載の診断装置。
Further, a specific unit for specifying the relationship between the state of the member and the use time is further provided based on the state of the member measured at a predetermined timing of the use time from the start of use of the member in a new state.
The first addition unit divides the duration into a plurality of sections in which the change in the state is specified by the relationship of the state of the member with respect to the usage time, and with respect to the learning data corresponding to each section. The diagnostic device according to claim 1 or 2, to which the label information is added, respectively.
前記部材としての第1部材について新品状態における使用開始から、使用時間の所定のタイミングで測定された前記第1部材の状態に基づいて、前記使用時間に対する該第1部材の状態の関係を特定する特定部を、さらに備え、
前記第1付加部は、前記継続時間を、前記使用時間に対する前記第1部材の状態の関係により前記状態の変化が特定される複数の区間に分け、前記各区間に対応する前記学習データに対して、前記ラベル情報をそれぞれ付加し、
前記第1部材の使用後、該第1部材とは異なる第2部材についての前記継続時間を測定する測定部を、さらに備え、
前記特定部は、前記第1部材の前記継続時間に対する、前記第2部材の前記継続時間の割合から、前記使用時間に対する該第2部材の状態の関係を特定し、
前記第2部材の前記継続時間と、前記第1部材の前記継続時間に対する、前記第1付加部により付加された前記各ラベル情報に対応する各区間の割合と、から求まる前記第2部材の前記継続時間に対する各区間に対応する前記学習データに対して、前記第1付加部によりそれぞれ付加された前記ラベル情報と同一の前記ラベル情報を付加する第2付加部を、さらに備えた請求項1または2に記載の診断装置。
The relationship between the state of the first member and the state of the first member is specified based on the state of the first member measured at a predetermined timing of the use time from the start of use of the first member as the member in a new state. With more specific parts,
The first addition unit divides the duration into a plurality of sections in which changes in the state are specified by the relationship between the state of the first member and the usage time, and with respect to the learning data corresponding to each section. Then, add the label information to each of them.
After the use of the first member, a measuring unit for measuring the duration of the second member different from the first member is further provided.
The specific unit identifies the relationship between the state of the second member and the usage time from the ratio of the duration of the second member to the duration of the first member.
The second member, which is obtained from the duration of the second member and the ratio of each section corresponding to each label information added by the first addition portion to the duration of the first member. Claim 1 or claim 1 is further provided with a second additional part that adds the same label information as the label information added by the first additional part to the learning data corresponding to each section with respect to the duration. 2. The diagnostic device according to 2.
前記第1付加部は、前記継続時間を、前記状態が測定されたタイミング間の区間に分け、前記各区間に対応する前記学習データに対して、前記ラベル情報をそれぞれ付加する請求項4または5に記載の診断装置。 Claim 4 or 5 in which the first addition unit divides the duration into sections between timings at which the state is measured, and adds the label information to the learning data corresponding to each section. Diagnostic device according to. 前記第1付加部は、前記部材の状態を所定数に等分し、前記使用時間に対する前記部材の状態の関係に基づいて、等分した前記状態の各範囲に対応する前記使用時間の区間に対応する前記学習データに対して、前記ラベル情報をそれぞれ付加する請求項4または5に記載の診断装置。 The first additional portion divides the state of the member into a predetermined number, and based on the relationship of the state of the member with respect to the use time, sets the interval of the use time corresponding to each range of the equally divided states. The diagnostic device according to claim 4 or 5, wherein the label information is added to the corresponding learning data, respectively. 前記対象装置の前記部材は、加工対象を加工するための工具であり、
前記ラベル情報が示す前記部材の状態は、前記工具の劣化度である請求項1〜7のいずれか一項に記載の診断装置。
The member of the target device is a tool for machining a machining target.
The diagnostic device according to any one of claims 1 to 7, wherein the state of the member indicated by the label information is the degree of deterioration of the tool.
前記検知部と、
請求項1〜8のいずれか一項に記載の診断装置と、
を有する診断システム。
With the detector
The diagnostic device according to any one of claims 1 to 8.
Diagnostic system with.
対象装置の現在の動作に対応する所定の情報を、前記対象装置から取得する第1取得ステップと、
前記対象装置の部材に関する物理量を検知する検知部から出力される第1検知情報を学習データとして取得する第2取得ステップと、
取得した前記学習データの特徴を示す特徴情報を抽出する抽出ステップと、
前記動作が実行されることにより、前記部材について新品状態における使用開始から使用不可となるまでの継続時間を、所定の複数の区間に分け、前記各区間に対応する前記学習データに対して、該部材の状態を示すラベル情報をそれぞれ付加する付加ステップと、
前記各区間に対応する前記学習データにそれぞれ付加した前記ラベル情報と、前記特徴情報とに基づいて、取得した前記ラベル情報が未知である第2検知情報が、どの前記ラベル情報に対応するのかを判定するためのモデルを、前記学習データに対応する前記所定の情報をモデル特定情報として対応付けて生成する生成ステップと、
を有する診断方法。
The first acquisition step of acquiring predetermined information corresponding to the current operation of the target device from the target device, and
The second acquisition step of acquiring the first detection information output from the detection unit that detects the physical quantity of the member of the target device as learning data, and
An extraction step for extracting feature information indicating the features of the acquired learning data, and
When the operation is executed, the duration from the start of use of the member in a new state until it becomes unusable is divided into a plurality of predetermined sections, and the learning data corresponding to each section is described. An additional step to add label information indicating the state of the member, and
Based on the label information added to the learning data corresponding to each section and the feature information, which label information the second detection information for which the acquired label information is unknown corresponds to is determined. A generation step of generating a model for determination by associating the predetermined information corresponding to the training data with the model specific information.
Diagnostic method with.
コンピュータに、
対象装置の現在の動作に対応する所定の情報を、前記対象装置から取得する第1取得ステップと、
前記対象装置の部材に関する物理量を検知する検知部から出力される第1検知情報を学習データとして取得する第2取得ステップと、
取得した前記学習データの特徴を示す特徴情報を抽出する抽出ステップと、
前記動作が実行されることにより、前記部材について新品状態における使用開始から使用不可となるまでの継続時間を、所定の複数の区間に分け、前記各区間に対応する前記学習データに対して、該部材の状態を示すラベル情報をそれぞれ付加する付加ステップと、
前記各区間に対応する前記学習データにそれぞれ付加した前記ラベル情報と、前記特徴情報とに基づいて、取得した前記ラベル情報が未知である第2検知情報が、どの前記ラベル情報に対応するのかを判定するためのモデルを、前記学習データに対応する前記所定の情報をモデル特定情報として対応付けて生成する生成ステップと、
を実行させるためのプログラム。
On the computer
The first acquisition step of acquiring predetermined information corresponding to the current operation of the target device from the target device, and
The second acquisition step of acquiring the first detection information output from the detection unit that detects the physical quantity of the member of the target device as learning data, and
An extraction step for extracting feature information indicating the features of the acquired learning data, and
When the operation is executed, the duration from the start of use of the member in a new state until it becomes unusable is divided into a plurality of predetermined sections, and the learning data corresponding to each section is described. An additional step to add label information indicating the state of the member, and
Based on the label information added to the learning data corresponding to each section and the feature information, which label information the second detection information for which the acquired label information is unknown corresponds to is determined. A generation step of generating a model for determination by associating the predetermined information corresponding to the training data with the model specific information.
A program to execute.
JP2017051990A 2017-03-16 2017-03-16 Diagnostic equipment, diagnostic systems, diagnostic methods and programs Active JP6822242B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017051990A JP6822242B2 (en) 2017-03-16 2017-03-16 Diagnostic equipment, diagnostic systems, diagnostic methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017051990A JP6822242B2 (en) 2017-03-16 2017-03-16 Diagnostic equipment, diagnostic systems, diagnostic methods and programs

Publications (2)

Publication Number Publication Date
JP2018156340A JP2018156340A (en) 2018-10-04
JP6822242B2 true JP6822242B2 (en) 2021-01-27

Family

ID=63717275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017051990A Active JP6822242B2 (en) 2017-03-16 2017-03-16 Diagnostic equipment, diagnostic systems, diagnostic methods and programs

Country Status (1)

Country Link
JP (1) JP6822242B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7401207B2 (en) 2019-06-21 2023-12-19 ファナック株式会社 Machine learning device, robot system, and machine learning method for learning tool status
JP2022053036A (en) * 2020-09-24 2022-04-05 国立大学法人大阪大学 Degradation-status prediction system and degradation-status prediction method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5740459B2 (en) * 2009-08-28 2015-06-24 株式会社日立製作所 Equipment status monitoring method
JP6276732B2 (en) * 2015-07-03 2018-02-07 横河電機株式会社 Equipment maintenance management system and equipment maintenance management method

Also Published As

Publication number Publication date
JP2018156340A (en) 2018-10-04

Similar Documents

Publication Publication Date Title
JP7085370B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP7338743B2 (en) Diagnostic device, diagnostic method, program and diagnostic system
JP6156566B2 (en) Diagnostic device, diagnostic method, program, and diagnostic system
JP6822245B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP7127304B2 (en) Diagnostic device, diagnostic method and program
JP6673002B2 (en) Information processing apparatus, information processing method, information processing program, and information processing system
JP2018025945A (en) Diagnostic device, learning device, and diagnostic system
WO2018169069A1 (en) Diagnosis device, diagnosis system, diagnosis method, and program
US20180017960A1 (en) Diagnostic apparatus, diagnostic system, diagnostic method, and recording medium
CN111868644A (en) Information processing apparatus, information processing method, and recording medium for detecting abnormality of processing device for processing object
US20230008247A1 (en) Diagnostic system, diagnostic method, and recording medium
JP2019160250A (en) Information processor, information processing method, program, and mechanical device
JP6822242B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP2019159759A (en) Processing section determination device, processing section determination method, program, and diagnostic device
JP7225984B2 (en) System, Arithmetic Unit, and Program
JP7358755B2 (en) Diagnostic device, diagnostic method, and diagnostic program
JP6939053B2 (en) Diagnostic equipment, programs and diagnostic systems
JP2018005855A (en) Diagnosis device, diagnosis system, diagnosis method and program
JP6790520B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP7208083B2 (en) Diagnostic equipment, diagnostic systems and programs
JP2021015445A (en) Abnormality detector and information processing method and program
JP2022143423A (en) Diagnosis device, diagnosis system, diagnosis method and diagnosis program
JP2023008825A (en) Diagnosis system and diagnosis method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201221

R151 Written notification of patent or utility model registration

Ref document number: 6822242

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151