JP2018004566A - Diagnosis device, diagnosis system, diagnosis method and program - Google Patents

Diagnosis device, diagnosis system, diagnosis method and program Download PDF

Info

Publication number
JP2018004566A
JP2018004566A JP2016135372A JP2016135372A JP2018004566A JP 2018004566 A JP2018004566 A JP 2018004566A JP 2016135372 A JP2016135372 A JP 2016135372A JP 2016135372 A JP2016135372 A JP 2016135372A JP 2018004566 A JP2018004566 A JP 2018004566A
Authority
JP
Japan
Prior art keywords
information
unit
detection information
context information
frequency
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.)
Granted
Application number
JP2016135372A
Other languages
Japanese (ja)
Other versions
JP6790520B2 (en
Inventor
尚史 堀尾
Hisafumi Horio
尚史 堀尾
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 JP2016135372A priority Critical patent/JP6790520B2/en
Publication of JP2018004566A publication Critical patent/JP2018004566A/en
Application granted granted Critical
Publication of JP6790520B2 publication Critical patent/JP6790520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a diagnosis device, diagnosis system, diagnosis method and program that can reduce a data volume of a learned model to be used for diagnosis of abnormality of a device, as keeping accuracy of diagnosing the abnormality thereof.SOLUTION: A diagnosis device comprises: a reception unit that receives context information corresponding to a current operation of a plural pieces of context information determined for each operation category of an object device, and detection information on a physical quantity including a frequency component varying in accordance with the operation of the object device from the object device; a first pre-processing unit that converts a frequency of the detection information into a preset reference frequency from the detection information received by the reception unit to obtain conversion information; and a determination unit that determines whether the operation of the object device is normal or not, using the conversion information converted by the first pre-processing unit, and a model corresponding to the context information received by the reception unit of one or more models to be determined with respect to each of one or more pieces of context information.SELECTED DRAWING: Figure 4

Description

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

ドリル等の回転体等を有する装置において、コンテキスト情報に基づく動作状態毎に、予め加速度センサ等で取得したセンサデータにより学習した学習済みのモデルを構築し、判定対象となるセンサデータに対して、モデルとの比較から異常の有無を判定する技術が既に知られている。   In a device having a rotating body such as a drill, for each operation state based on context information, a learned model learned from sensor data acquired in advance with an acceleration sensor or the like is constructed, and for sensor data to be determined, A technique for determining the presence or absence of an abnormality from a comparison with a model is already known.

このように回転体等が発生するセンサデータ(例えば、収録した音)に対して異常の有無を判定する技術として、動作モード情報を基にして、異常音に起因する周波数成分を観測可能な周波数帯域への折り返しを考慮した上で、予め定められた異常指標に基づいて、正常音との比較によって異常が発生しているか否かを診断する技術が提案されている(特許文献1参照)。   As a technique for determining the presence or absence of abnormality with respect to sensor data (for example, recorded sound) generated by a rotating body or the like in this way, a frequency at which frequency components due to abnormal sound can be observed based on operation mode information A technique for diagnosing whether or not an abnormality has occurred by comparison with a normal sound based on a predetermined abnormality index in consideration of turning back to a band has been proposed (see Patent Document 1).

また、予め用意したデータを基に、学習済みのモデルを構築して異常の有無を判定する技術が提案されている(特許文献2参照)。   In addition, a technique has been proposed in which a learned model is constructed based on data prepared in advance to determine whether there is an abnormality (see Patent Document 2).

しかしながら、特許文献1に記載された技術では、異常指標が予め定められていなければならず、異常指標の定義がうまくできない場合、正しく異常の有無の判定ができないという問題があった。   However, the technique described in Patent Document 1 has a problem that an abnormality index must be determined in advance, and if the abnormality index cannot be defined well, the presence / absence of abnormality cannot be correctly determined.

また、特許文献2に記載された技術では、予め用意されたデータを基に学習済みのモデルを構築し、異常指標を明確に定義する必要はないが、判定の基準になるモデルを予め多く用意しておく必要があり、例えば、加工機の加工具の劣化状態の推定等は異なる回転数ごとに学習済みのモデルを用意しなければならず、それらの多くのモデルを記憶する記憶装置の容量を圧迫するという問題があった。   In the technique described in Patent Document 2, it is not necessary to construct a learned model based on data prepared in advance and to clearly define an abnormality index. However, a large number of models serving as criteria for determination are prepared in advance. For example, for the estimation of the deterioration state of the processing tool of the processing machine, a learned model must be prepared for each different rotation speed, and the capacity of the storage device that stores these many models There was a problem of squeezing.

本発明は、上述の課題に鑑みてなされたものであり、装置の異常を診断する精度を保ちつつ、異常を診断するために使用する学習済みのモデルのデータ量を削減することができる診断装置、診断システム、診断方法およびプログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and is a diagnostic device capable of reducing the amount of data of a learned model used for diagnosing an abnormality while maintaining the accuracy of diagnosing the abnormality of the device. An object of the present invention is to provide a diagnostic system, a diagnostic method, and a program.

上述した課題を解決し、目的を達成するために、本発明は、対象装置の動作の種類ごとに定められた複数のコンテキスト情報のうち現在の動作に対応するコンテキスト情報と、対象装置の動作に応じて変化する周波数成分を含む物理量の検知情報と、を対象装置から受信する受信部と、受信部により受信された検知情報から、その検知情報の周波数を、予め設定された基準周波数に変換して変換情報を得る第1前処理部と、第1前処理部により変換された変換情報と、1以上のコンテキスト情報それぞれに対して定められる1以上のモデルのうち受信部により受信されたコンテキスト情報に対応するモデルと、を用いて、対象装置の動作が正常であるか否かを判定する判定部と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention relates to context information corresponding to the current operation among a plurality of pieces of context information determined for each type of operation of the target device, and the operation of the target device. The detection information of the physical quantity including the frequency component that changes according to the reception unit that receives from the target device, and the detection information received by the reception unit, the frequency of the detection information is converted to a preset reference frequency A first preprocessing unit for obtaining conversion information, conversion information converted by the first preprocessing unit, and context information received by the receiving unit among one or more models defined for each of the one or more context information And a determination unit that determines whether or not the operation of the target device is normal using a model corresponding to the above.

本発明によれば、装置の異常を診断する精度を保ちつつ、異常を診断するために使用する学習済みのモデルのデータ量を削減することができる。   ADVANTAGE OF THE INVENTION According to this invention, the data amount of the learned model used in order to diagnose abnormality can be reduced, maintaining the precision which diagnoses abnormality of an apparatus.

図1は、第1の実施形態に係る診断システムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a diagnostic system according to the first embodiment. 図2は、第1の実施形態の加工機のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of the processing machine according to the first embodiment. 図3は、第1の実施形態に係る診断装置のハードウェア構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a hardware configuration of the diagnostic apparatus according to the first embodiment. 図4は、第1の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the first embodiment. 図5は、第1の実施形態における診断処理の一例を示すフローチャートである。FIG. 5 is a flowchart illustrating an example of a diagnosis process according to the first embodiment. 図6−1は、検知情報の生データの一例を示すグラフである。FIG. 6A is a graph illustrating an example of raw data of detection information. 図6−2は、検知情報を基準回転周波数に変換したデータの一例を示すグラフである。FIG. 6B is a graph illustrating an example of data obtained by converting the detection information into the reference rotation frequency. 図7−1は、検知情報の周波数スペクトルの一例を示すグラフである。FIG. 7A is a graph illustrating an example of a frequency spectrum of detection information. 図7−2は、検知情報の周波数スペクトルの一例を示すグラフである。FIG. 7-2 is a graph illustrating an example of a frequency spectrum of detection information. 図7−3は、検知情報を基準回転周波数に変換したデータの周波数スペクトルの一例を示すグラフである。FIG. 7-3 is a graph illustrating an example of a frequency spectrum of data obtained by converting detection information into a reference rotation frequency. 図8は、第1の実施形態におけるモデル生成処理の一例を示すフローチャートである。FIG. 8 is a flowchart illustrating an example of model generation processing according to the first embodiment. 図9は、第1の実施の形態におけるモデル生成処理および診断処理の具体例を説明する図である。FIG. 9 is a diagram illustrating a specific example of the model generation process and the diagnosis process in the first embodiment. 図10は、一部のコンテキスト情報についてモデル生成処理および診断処理を行う具体例を説明する図である。FIG. 10 is a diagram for explaining a specific example in which model generation processing and diagnosis processing are performed for some context information. 図11は、共通のモデルを他の加工工程で使用する例を説明する図である。FIG. 11 is a diagram illustrating an example in which a common model is used in other processing steps. 図12は、累積使用時間をコンテキスト情報として利用する場合の例を説明する図である。FIG. 12 is a diagram for explaining an example in which the accumulated usage time is used as context information. 図13は、モデルが生成されていないコンテキスト情報が入力された場合にモデルを生成する動作を説明する図である。FIG. 13 is a diagram illustrating an operation for generating a model when context information for which a model has not been generated is input. 図14は、第2の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。FIG. 14 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the second embodiment. 図15は、駆動部によって異なる検知情報を判定対象とすることを説明する図である。FIG. 15 is a diagram illustrating that detection information that differs depending on the drive unit is set as a determination target. 図16は、検知情報の決定に用いられる対応情報のデータ構造の一例を示す図である。FIG. 16 is a diagram illustrating an example of a data structure of correspondence information used for determination of detection information. 図17は、第3の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。FIG. 17 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the third embodiment. 図18は、複数の基準回転周波数に変換した検知情報からモデルを生成する動作の一例を示す図である。FIG. 18 is a diagram illustrating an example of an operation for generating a model from detection information converted into a plurality of reference rotation frequencies. 図19は、第4の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。FIG. 19 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the fourth embodiment. 図20は、コンテキスト情報と加工区間との関係の一例を示す図である。FIG. 20 is a diagram illustrating an example of the relationship between the context information and the processing section. 図21は、加工区間の特定方法の一例を示す図である。FIG. 21 is a diagram illustrating an example of a method for specifying a machining section. 図22は、尤度と判定値r(k)との関係の一例を示すグラフである。FIG. 22 is a graph illustrating an example of the relationship between the likelihood and the determination value r (k).

以下に、図面を参照しながら、本発明に係る診断装置、診断システム、診断方法およびプログラムの実施の形態を詳細に説明する。また、以下の実施の形態によって本発明が限定されるものではなく、以下の実施の形態における構成要素には、当業者が容易に想到できるもの、実質的に同一のもの、およびいわゆる均等の範囲のものが含まれる。さらに、以下の実施の形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換、変更および組み合わせを行うことができる。   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 the drawings. In addition, the present invention is not limited by the following embodiments, and constituent elements in the following embodiments are easily conceivable by those skilled in the art, substantially the same, and so-called equivalent ranges. Is included. Furthermore, various omissions, substitutions, changes, and combinations of the constituent elements can be made without departing from the scope of the following embodiments.

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

図1に示すように、診断システムは、加工機200(対象装置の一例)と、診断装置100と、を含む。加工機200は、診断装置100による診断の対象となる対象装置の一例である。   As shown in FIG. 1, the diagnostic system includes a processing machine 200 (an example of a target device) and a diagnostic device 100. The processing machine 200 is an example of a target device to be diagnosed by the diagnostic device 100.

加工機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 are connected by a dedicated line, a wired network such as a wired LAN (Local Area Network), a wireless network, or the like.

加工機200は、数値制御部201と、通信制御部202と、駆動制御部203と、駆動部204と、検知部211と、を備えている。なお、検知部211は、加工機200に予め備えられている場合、または、完成機械である加工機200に対して後から取り付けられる場合等がある。   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. The detection unit 211 may be provided in the processing machine 200 in advance, or may be attached later to the processing machine 200 that is a completed machine.

加工機200は、数値制御部201の制御に従い加工対象を加工する機械である。加工機200は、数値制御部201の制御により動作する駆動部204を含む。駆動部204は、例えば、モータ等であり、加工に用いられ、数値制御の対象となるものであればどのようなものであってもよい。なお、駆動部204は、2以上備えられていてもよい。   The processing machine 200 is a machine that processes a processing target in accordance with the control of the numerical control unit 201. The processing machine 200 includes a drive unit 204 that operates under the control of the numerical control unit 201. The drive unit 204 is, for example, a motor or the like, and may be any device as long as it is used for machining and is subject to numerical control. Two or more drive units 204 may be provided.

数値制御部201は、駆動部204による加工を数値制御(NC:Numerical Control)により実行する。例えば、数値制御部201は、駆動部204の動作を制御するための数値制御データを生成して出力する。また、数値制御部201は、コンテキスト情報を通信制御部202に出力する。ここで、コンテキスト情報とは、加工機200の動作の種類ごとに複数定められる情報である。コンテキスト情報は、例えば、駆動部204を識別する情報、駆動部204の回転数、駆動部204の回転速度、駆動部204に係る負荷、駆動部204の大きさ、および、駆動部204の使用開始からの累積使用時間等を含む。   The numerical control unit 201 performs processing by the driving 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 driving unit 204. The numerical control unit 201 also outputs context information to the communication control unit 202. Here, the context information is information determined in plural for each type of operation of the processing machine 200. The context information includes, for example, information for identifying the drive unit 204, the number of rotations of the drive unit 204, the rotation speed of the drive unit 204, the load related to the drive unit 204, the size of the drive unit 204, and the start of use of the drive unit 204. The cumulative usage time from is included.

数値制御部201は、例えば、現在の動作を示すコンテキスト情報を、通信制御部202を介して診断装置100に送信する。数値制御部201は、加工対象を加工する際、加工の工程に応じて、駆動する駆動部204の種類、駆動部204の駆動状態(回転数、回転速度等)を変更する。数値制御部201は、動作の種類を変更するごとに、変更した動作の種類に対応するコンテキスト情報を、通信制御部202を介して診断装置100に逐次送信する。   For example, the numerical control unit 201 transmits context information indicating the current operation to the diagnostic apparatus 100 via the communication control unit 202. The numerical control unit 201 changes the type of the driving unit 204 to be driven and the driving state (the rotational speed, the rotation speed, etc.) of the driving unit 204 according to the processing step when processing the processing target. Each time the operation control type is changed, the numerical control unit 201 sequentially transmits context information corresponding to the changed operation type to the diagnostic apparatus 100 via the communication control unit 202.

通信制御部202は、診断装置100等の外部装置との間の通信を制御する。例えば、通信制御部202は、現在の動作に対応するコンテキスト情報を診断装置100に送信する。   The communication control unit 202 controls communication with an external device such as the diagnostic device 100. For example, the communication control unit 202 transmits context information corresponding to the current operation to the diagnostic apparatus 100.

駆動制御部203は、数値制御部201により求められた数値制御データに基づいて、駆動部204を駆動制御する。   The drive control unit 203 controls the drive of the drive unit 204 based on the numerical control data obtained by the numerical control unit 201.

検知部211は、加工機200の動作に応じて変化する物理量を検知し、検知情報(センサデータ)を出力する。なお、検知部211の種類、および、検知する物理量はどのようなものであってもよい。例えば、検知部211を、マイク、加速度センサ、または、AE(Acoustic Emission)センサとし、それぞれ、音響データ、加速度データ、振動データまたは、AE波を示すデータを検知情報としてもよい。また、検知部211の個数は任意であってよい。また、同一の物理量を検知する複数の検知部211を備えてもよいし、相互に異なる物理量を検知する複数の検知部211を備えてもよい。   The detection unit 211 detects a physical quantity that changes in accordance with the operation of the processing machine 200 and outputs detection information (sensor data). In addition, the kind of the detection part 211 and the physical quantity to detect may be what. For example, the detection unit 211 may be a microphone, an acceleration sensor, or an AE (Acoustic Emission) sensor, and acoustic data, acceleration data, vibration data, or data indicating an AE wave may be detection information. Further, the number of detection units 211 may be arbitrary. Moreover, the some detection part 211 which detects the same physical quantity may be provided, and the some detection part 211 which detects a mutually different physical quantity may be provided.

例えば、加工に用いる刃の折れ、および、刃のチッピング等が発生すると、加工時の音が変化する。このため、検知部211(マイク)で音響データを検知し、正常音を示すモデル等と比較することにより、加工機200の動作の異常を検知可能となる。   For example, when bending of a blade used for processing, chipping of a blade, or the like occurs, sound during processing changes. For this reason, it is possible to detect an abnormality in the operation of the processing machine 200 by detecting acoustic data with the detection unit 211 (microphone) and comparing it with a model or the like showing normal sound.

診断装置100は、通信制御部101と、判定部102と、を備えている。   The diagnostic device 100 includes a communication control unit 101 and a determination unit 102.

通信制御部101は、加工機200等の外部装置との間の通信を制御する。例えば、通信制御部101は、コンテキスト情報および検知情報を加工機200から受信する。判定部102は、コンテキスト情報および検知情報を参照して、加工機200の動作が正常であるか否かを判定する。各部の機能の詳細は後述する。   The communication control unit 101 controls communication with an external device such as the processing machine 200. For example, the communication control unit 101 receives context information and detection information from the processing machine 200. The determination unit 102 refers to the context information and the detection information to determine whether the operation of the processing machine 200 is normal. Details of the function of each unit will be described later.

(加工機のハードウェア構成)
図2は、第1の実施形態の加工機のハードウェア構成の一例を示す図である。図2を参照しながら、本実施形態の加工機200のハードウェア構成について説明する。
(Processing machine hardware configuration)
FIG. 2 is a diagram illustrating an example of a hardware configuration of the processing machine according to the first embodiment. The hardware configuration of the processing machine 200 according to 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と、モータ56と、がバス58で接続された構成となっている。   As shown in FIG. 2, the processing machine 200 includes 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 a drive. The control circuit 55 and the motor 56 are connected by a bus 58.

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

通信I/F54は、診断装置100等の外部装置と通信するためのインターフェースである。駆動制御回路55は、モータ56の駆動を制御する回路である。モータ56は、ドリル、カッタ、および、テーブル等の加工に用いる工具を駆動する。モータ56は、例えば、図1に示す駆動部204に相当する。センサ57は、加工機200の動作に応じて変化する物理量を検知し、検知情報を診断装置100へ出力する。センサ57は、例えば、図1に示す検知部211に相当する。   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 drives tools used for processing such as a drill, a cutter, and a table. The motor 56 corresponds to, for example, the drive unit 204 illustrated in FIG. The sensor 57 detects a physical quantity that changes according to the operation of the processing machine 200, and outputs detection information to the diagnostic apparatus 100. The sensor 57 corresponds to, for example, the detection unit 211 illustrated in FIG.

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

(診断装置のハードウェア構成)
図3は、第1の実施形態に係る診断装置のハードウェア構成の一例を示す図である。図3を参照しながら、本実施形態に係る診断装置100のハードウェア構成について説明する。
(Hardware configuration of diagnostic device)
FIG. 3 is a diagram illustrating an example of a hardware configuration of the diagnostic apparatus according to the first embodiment. A 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 illustrated in FIG. 3, the diagnostic device 100 includes a CPU 61, a ROM 62, a RAM 63, a communication I / F 64, an input / output I / F 65, an input device 66, a display 67, and an auxiliary storage device 68. It is configured to be connected by a bus 69.

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

通信I/F64は、加工機200等の外部装置と通信するためのインターフェースである。   The communication I / F 64 is an interface for communicating with an external device such as the processing machine 200.

入出力I/F65は、各種装置(例えば、入力装置66およびディスプレイ67)とバス69とを接続するためのインターフェースである。   The input / output I / F 65 is an interface for connecting various devices (for example, the input device 66 and the display 67) and the bus 69.

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

ディスプレイ67は、カーソル、メニュー、ウィンドウ、文字または画像等の各種情報を表示するLCD(Liquid Crystal Display)、プラズマディスプレイ、または有機EL(Electro−Luminescence)ディスプレイ等の表示装置である。   The display 67 is a display device such as an LCD (Liquid Crystal Display), a plasma display, or an organic EL (Electro-Luminescence) display that displays various information such as a cursor, a menu, a window, characters or images.

補助記憶装置68は、診断装置100の設定情報、加工機200から受信された検知情報、OS(Operating System)、アプリケーションプログラム、および各種データを記憶するHDD(Hard Disk Drive)、SSD(Solid State Drive)、またはEEPROM(Electrically Erasable Programmable Read−Only Memory)等の不揮発性の記憶装置である。なお、補助記憶装置68は、診断装置100が備えるものとしているが、これに限定されるものではなく、例えば、診断装置100の外部に設置された記憶装置であってもよく、または、診断装置100とデータ通信可能なサーバ装置が備えた記憶装置であってもよい。   The auxiliary storage device 68 includes setting information of the diagnostic device 100, detection information received from the processing machine 200, an OS (Operating System), an application program, and various data, an HDD (Hard Disk Drive), an SSD (Solid State Drive). ) Or an EEPROM (Electrically Erasable Programmable Read-Only Memory) or the like. The auxiliary storage device 68 is included 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. 100 may be a storage device included in a server device capable of data communication with 100.

(診断装置の機能ブロックの構成)
図4は、第1の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。図4を参照しながら、本実施形態に係る診断装置100の機能ブロックの構成について説明する。
(Configuration of functional block of diagnostic device)
FIG. 4 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the first embodiment. With reference to FIG. 4, the functional block configuration of the diagnostic apparatus 100 according to the present embodiment will be described.

図4に示すように、診断装置100は、上述の通信制御部101および判定部102に加え、受付部103と、特徴抽出部104と、生成部105と、前処理部106(第1前処理部)と、記憶部111と、を備えている。   As shown in FIG. 4, in addition to the communication control unit 101 and the determination unit 102 described above, the diagnostic device 100 includes a reception unit 103, a feature extraction unit 104, a generation unit 105, and a preprocessing unit 106 (first preprocessing). Part) and a storage unit 111.

記憶部111は、診断装置100による診断機能で必要な各種情報を記憶する。記憶部111は、例えば、図3のRAM63および補助記憶装置68等により実現できる。例えば、記憶部111は、異常の判定に用いる1以上のモデルを記憶する。   The storage unit 111 stores various types of information necessary for the diagnostic function of the diagnostic apparatus 100. The storage unit 111 can be realized by, for example, the RAM 63 and the auxiliary storage device 68 shown in FIG. For example, the storage unit 111 stores one or more models used for abnormality determination.

モデルは、例えば、加工機200が正常に動作しているときに検知部211により検知された検知情報を用いて、学習により生成される。学習方法、および、学習するモデルの形式は、どのような方法であってもよい。例えば、GMM(ガウス混合モデル)、および、HMM(隠れマルコフモデル)等のモデルおよび対応するモデル学習方法を適用できる。   The model is generated by learning using, for example, detection information detected by the detection unit 211 when the processing machine 200 is operating normally. The learning method and the model of the learning model may be any method. For example, models such as GMM (Gaussian mixture model) and HMM (Hidden Markov model) and corresponding model learning methods can be applied.

本実施形態では、モデルは、コンテキスト情報ごとに生成される。記憶部111は、例えば、コンテキスト情報と、当該コンテキスト情報に対応するモデルとを対応付けて記憶する。さらに、後述するが、記憶部111が記憶するあるコンテキスト情報に対応するモデルとして、上述の検知部211が検知する検知情報のうち特定の回転周波数である基準回転周波数の検知情報から生成されたモデルが記憶されている。   In the present embodiment, a model is generated for each context information. For example, the storage unit 111 stores context information and a model corresponding to the context information in association with each other. Further, as will be described later, as a model corresponding to certain context information stored in the storage unit 111, a model generated from detection information of a reference rotation frequency that is a specific rotation frequency among the detection information detected by the detection unit 211 described above. Is remembered.

通信制御部101は、受信部101aと、送信部101bと、を備えている。受信部101aは、加工機200等の外部装置から送信された各種情報を受信する。例えば、受信部101aは、加工機200の現在の動作に対応するコンテキスト情報と、検知部211により送信された検知情報と、を受信する。送信部101bは、外部装置に対して各種情報を送信する。   The communication control unit 101 includes a reception unit 101a and a transmission unit 101b. The receiving unit 101a receives various types of information transmitted from an external device such as the processing machine 200. For example, the receiving unit 101a receives the context information corresponding to the current operation of the processing machine 200 and the detection information transmitted by the detection unit 211. The transmission unit 101b transmits various types of information to the external device.

前処理部106は、受信部101aにより受信された検知情報を特徴抽出部104へ送信する前に、予め決められた基準に従って変換処理(前処理)をする。変換するための基準は複数あってもよく、例えば、検知情報が加工機200のドリルで切削中の振動データだとすると、前処理部106は、コンテキスト情報から得られた加工中のドリルの回転周波数を予め決められた1以上の基準回転周波数のうち、元の振動データとの変化が少ない基準回転周波数となるようなデータ(以下、「変換情報」と称する場合がある)へ変換する。この際、モデル作成のための振動データを予め決められた基準回転周波数の学習データとして用意して、それを基にモデルを作成しておき、前処理部106は、判定の対象となる振動データの回転周波数を、用意した学習データの基準回転周波数に合わせるように変換する。なお、前処理部106は、コンテキスト情報から加工中のドリル等の回転周波数を得るものとしたが、これに限定されるものではなく、検知情報を解析して回転周波数を得るものとしてもよい。   The preprocessing unit 106 performs conversion processing (preprocessing) according to a predetermined criterion before transmitting the detection information received by the receiving unit 101a to the feature extraction unit 104. There may be a plurality of standards for conversion. For example, if the detection information is vibration data during cutting by the drill of the processing machine 200, the preprocessing unit 106 determines the rotation frequency of the drill being processed obtained from the context information. Of the one or more predetermined reference rotation frequencies, the data is converted into data (hereinafter, referred to as “conversion information” in some cases) that has a reference rotation frequency with little change from the original vibration data. At this time, vibration data for model creation is prepared as learning data of a predetermined reference rotation frequency, a model is created based on the learning data, and the preprocessing unit 106 determines vibration data to be determined. Is converted to match the reference rotation frequency of the prepared learning data. The preprocessing unit 106 obtains the rotation frequency of the drill or the like being processed from the context information. However, the present invention is not limited to this, and the rotation frequency may be obtained by analyzing the detection information.

特徴抽出部104は、モデルの生成で用いる特徴情報を検知情報から抽出し、判定部102による判定で用いる特徴情報を、前処理部106から受け取った変換情報から抽出する。特徴情報は、検知情報の特徴を示す情報であればどのような情報であってもよい。例えば、検知情報がマイクにより集音された音響データである場合、特徴抽出部104は、エネルギー、周波数スペクトル、および、MFCC(メル周波数ケプストラム係数)等を特徴情報として抽出してもよい。   The feature extraction unit 104 extracts feature information used for generating the model from the detection information, and extracts feature information used for determination by the determination unit 102 from the conversion information received from the preprocessing unit 106. The feature information may be any information as long as the information indicates the feature of the detection information. For example, when the detection information is acoustic data collected by a microphone, the feature extraction unit 104 may extract energy, frequency spectrum, MFCC (Mel Frequency Cepstrum Coefficient), and the like as feature information.

生成部105は、正常動作時の検知情報から抽出された特徴情報を用いた学習により、正常動作を判定するためのモデルを作成する。モデルを外部装置で生成する場合は、生成部105は備えなくてもよい。生成部105は、モデルが定められていないコンテキスト情報と、当該コンテキスト情報に対応する検知情報が入力された場合に、この検知情報から抽出された特徴情報を用いて、当該コンテキスト情報に対応するモデルを生成してもよい。   The generation unit 105 creates a model for determining normal operation by learning using feature information extracted from detection information during normal operation. When the model is generated by an external device, the generation unit 105 may not be provided. When the context information for which the model is not defined and the detection information corresponding to the context information are input, the generation unit 105 uses the feature information extracted from the detection information, and uses the model corresponding to the context information. May be generated.

判定部102は、前処理部106により検知情報から変換された変換情報と、受信部101aにより受信されたコンテキスト情報、および検知情報を変換した基準回転周波数に対応するモデルと、を用いて、加工機200の動作が正常であるか否かを判定する。例えば、判定部102は、特徴抽出部104に対して変換情報からの特徴情報の抽出を依頼する。判定部102は、変換情報から抽出された特徴情報が正常であることの尤もらしさを示す尤度を、対応するモデルを用いて算出する。判定部102は、尤度と、予め定められた閾値とを比較し、例えば尤度が閾値以上である場合に、加工機200の動作は正常であると判定する。また、判定部102は、尤度が閾値未満である場合に、加工機200の動作は異常であると判定する。   The determination unit 102 uses the conversion information converted from the detection information by the preprocessing unit 106, the context information received by the reception unit 101a, and the model corresponding to the reference rotation frequency converted from the detection information. It is determined whether or not the operation of the machine 200 is normal. For example, the determination unit 102 requests the feature extraction unit 104 to extract feature information from the conversion information. The determination unit 102 calculates a likelihood indicating the likelihood that the feature information extracted from the conversion information is normal using a corresponding model. The determination unit 102 compares the likelihood with a predetermined threshold, and determines that the operation of the processing machine 200 is normal when the likelihood is equal to or greater than the threshold, for example. Moreover, the determination part 102 determines with the operation | movement of the processing machine 200 being abnormal, when likelihood is less than a threshold value.

なお、加工機200の動作が正常か否かの判定方法はこれに限られるものではなく、変換情報とモデルとを用いて、加工機200の動作が正常か否かを判定できる方法であればどのような方法であってもよい。例えば、尤度の値を直接閾値と比較する代わりに、尤度の変動を示す値と閾値とを比較してもよい。   Note that the method for determining whether the operation of the processing machine 200 is normal is not limited to this, and any method that can determine whether the operation of the processing machine 200 is normal using the conversion information and the model. Any method may be used. For example, instead of directly comparing the likelihood value with the threshold value, a value indicating a variation in likelihood may be compared with the threshold value.

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

なお、累積使用時間を加工機200から取得せず、受付部103が受け付けるように構成することもできる。受付部103は、例えば、キーボードおよびタッチパネル等の操作部から入力されたコンテキスト情報を受け付ける。受付部103で受け付けるコンテキスト情報は、累積使用時間に限らず、例えば、使用する工具の仕様の情報(刃の直径、刃数、材質、工具にコーティングが施されているか否か等)や、加工する材料の情報(材質等)の情報でもよい。受付部103が、サーバ装置およびPC(Personal Computer)等の外部装置からコンテキスト情報を受信するように構成してもよい。加工機200以外からコンテキスト情報を受け付ける必要がない場合は、受付部103は備えなくてもよい。   Note that the reception unit 103 can receive the accumulated usage time without acquiring the accumulated usage time from the processing machine 200. The accepting unit 103 accepts context information input from an operation unit such as a keyboard and a touch panel, for example. The context information received by the receiving unit 103 is not limited to the cumulative usage time, but includes, for example, information on the specification of the tool to be used (blade diameter, number of blades, material, whether the tool is coated, etc.) Information on the material to be performed (material, etc.) may be used. The receiving unit 103 may be configured to receive context information from an external device such as a server device and a PC (Personal Computer). When it is not necessary to receive context information from other than the processing machine 200, the receiving unit 103 may not be provided.

なお、図4の各部(通信制御部101、判定部102、受付部103、特徴抽出部104、生成部105、前処理部106)は、図3のCPU61にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよいし、IC等のハードウェアにより実現してもよいし、ソフトウェアおよびハードウェアを併用して実現してもよい。   4 (communication control unit 101, determination unit 102, reception unit 103, feature extraction unit 104, generation unit 105, preprocessing unit 106) causes CPU 61 in FIG. 3 to execute a program, that is, software. May be realized by hardware such as an IC, or may be realized by using software and hardware together.

また、図4に示した診断装置100の各機能部(通信制御部101、受信部101a、送信部101b、判定部102、受付部103、特徴抽出部104、生成部105、前処理部106、および記憶部111)は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図4で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図4の1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。   In addition, each functional unit (communication control unit 101, reception unit 101a, transmission unit 101b, determination unit 102, reception unit 103, feature extraction unit 104, generation unit 105, preprocessing unit 106, diagnostic device 100 illustrated in FIG. The storage unit 111) conceptually shows functions, and is not limited to such a configuration. For example, a plurality of functional units illustrated 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.

(診断装置による診断処理)
図5は、第1の実施形態における診断処理の一例を示すフローチャートである。図6−1は、検知情報の生データの一例を示すグラフである。図6−2は、検知情報を基準回転周波数に変換したデータの一例を示すグラフである。図7−1および図7−2は、検知情報の周波数スペクトルの一例を示すグラフである。図7−3は、検知情報を基準回転周波数に変換したデータの周波数スペクトルの一例を示すグラフである。図5、図6−1、図6−2、および図7−1〜図7−3を参照しながら、本実施形態に係る診断装置100による診断処理について説明する。
(Diagnosis process by diagnostic device)
FIG. 5 is a flowchart illustrating an example of a diagnosis process according to the first embodiment. FIG. 6A is a graph illustrating an example of raw data of detection information. FIG. 6B is a graph illustrating an example of data obtained by converting the detection information into the reference rotation frequency. 7A and 7B are graphs illustrating an example of the frequency spectrum of the detection information. FIG. 7-3 is a graph illustrating an example of a frequency spectrum of data obtained by converting detection information into a reference rotation frequency. With reference to FIGS. 5, 6-1, 6-2, and FIGS. 7-1 to 7-3, diagnostic processing by the diagnostic device 100 according to the present embodiment will be described.

上述のように、加工機200の数値制御部201は、現在の動作を示すコンテキスト情報を逐次、診断装置100に送信する。受信部101aは、このようにして加工機200から送信されたコンテキスト情報を受信する(ステップS101)。また加工機200の検知部211は、加工時の検知情報を逐次出力する。受信部101aは、このようにして加工機200から送信された検知情報(センサデータ)を受信する(ステップS102)。   As described above, the numerical control unit 201 of the processing machine 200 sequentially transmits context information indicating the current operation to the diagnostic apparatus 100. The receiving unit 101a receives the context information thus transmitted from the processing machine 200 (step S101). Further, the detection unit 211 of the processing machine 200 sequentially outputs detection information at the time of processing. The receiving unit 101a receives the detection information (sensor data) thus transmitted from the processing machine 200 (step S102).

前処理部106は、受信部101aにより受信された検知情報を特徴抽出部104へ送信する前に、予め決められた基準に従って変換処理(前処理)をする。すなわち、前処理部106は、検知情報を、コンテキスト情報から得られた駆動部204の回転周波数を予め決められた1以上の基準回転周波数のうち、元の検知情報との変化が少ない基準回転周波数となるようなデータ(変換情報)へ変換する(ステップS103)。   The preprocessing unit 106 performs conversion processing (preprocessing) according to a predetermined criterion before transmitting the detection information received by the receiving unit 101a to the feature extraction unit 104. That is, the pre-processing unit 106 sets the detection information as the reference rotation frequency with a small change from the original detection information among one or more reference rotation frequencies determined in advance as the rotation frequency of the drive unit 204 obtained from the context information. (Step S103).

ここで、図6−1に示すグラフは、受信部101aにより受信された検知情報の生データを示している。このうち、図6−1(a)は、回転周波数が25[Hz]の検知情報を示し、図6−1(b)は、回転周波数が2.8[Hz]の検知情報を示している。そして、図6−2に示すグラフは、前処理部106によって、図6−1に示す検知情報を、基準回転周波数の一例である3[Hz]に変換した場合の変換情報を示している。このうち、図6−2(a)は、回転周波数が25[Hz]の検知情報を、基準回転周波数である3[Hz]に変換した変換情報を示し、図6−2(b)は、回転周波数が2.8[Hz]の検知情報を、基準回転周波数である3[Hz]に変換した変換情報を示す。すなわち、図6−2(a)に示す変換情報は、元の検知情報の回転周波数を下げるアップサンプリングした情報であり、図6−2(b)に示す変換情報は、元の検知情報の回転周波数を上げるダウンサンプリングした情報であり、それぞれサンプリングレートを変えずに変換された情報である。また、図6−2に示す変換情報は、いずれも3[Hz]に変換された情報であるので、振動の周期がほぼ一致している。   Here, the graph shown in FIG. 6A shows raw data of detection information received by the receiving unit 101a. Among these, FIG. 6-1 (a) shows detection information with a rotational frequency of 25 [Hz], and FIG. 6-1 (b) shows detection information with a rotational frequency of 2.8 [Hz]. . And the graph shown to FIGS. 6-2 has shown the conversion information at the time of converting the detection information shown to FIGS. 6-1 into 3 [Hz] which is an example of a reference | standard rotation frequency by the pre-processing part 106. FIG. Among these, FIG. 6-2 (a) shows the conversion information which converted the detection information whose rotation frequency is 25 [Hz] into 3 [Hz] which is a reference | standard rotation frequency, FIG. The conversion information which converted the detection information whose rotation frequency is 2.8 [Hz] into 3 [Hz] which is a reference rotation frequency is shown. That is, the conversion information shown in FIG. 6-2 (a) is up-sampled information that lowers the rotation frequency of the original detection information, and the conversion information shown in FIG. 6-2 (b) is a rotation of the original detection information. The information is down-sampled to increase the frequency, and is converted without changing the sampling rate. Moreover, since all the conversion information shown to FIGS. 6-2 is the information converted into 3 [Hz], the period of a vibration is substantially in agreement.

また、図7−1〜図7−3は、それぞれ、25[Hz]の生データである検知情報(図6−1(a))、2.8[Hz]の生データである検知情報(図6−1(b))、および、25[Hz]の検知情報から3[Hz]に変換した変換情報(図6−2(a))のパワースペクトル(周波数スペクトル)を示す。図7−3のパワースペクトルの縦軸のスケールが大きいのは、振幅に関して正規化を行っているためである。また、25[Hz]の変換前のパワースペクトル(図7−1)より変換後のパワースペクトル(図7−3)の方が周期的な振幅を示す、くし状のスペクトルが現れており、傾向として図7−2の検知情報のパワースペクトルに近づいている。したがって、25[Hz]の検知情報に対して、3[Hz]の基準回転周波数に対応したモデルを用いて、異常の判定を行うよりも、上述のように、25[Hz]の検知情報を基準回転周波数の3[Hz]となるように変換した変換情報に対して、3[Hz]の基準回転周波数に対応したモデルを用いて、異常の判定を行う方が精度よく判定を行うことができる。   FIGS. 7-1 to 7-3 respectively show detection information (FIG. 6-1 (a)) that is raw data of 25 [Hz] (detection information that is raw data of 2.8 [Hz] (FIG. 6-1). 6-1 (b)) and the power spectrum (frequency spectrum) of the conversion information (FIG. 6-2 (a)) converted from the detection information of 25 [Hz] to 3 [Hz]. The reason why the scale of the vertical axis of the power spectrum in FIG. 7-3 is large is that the amplitude is normalized. Further, a comb-like spectrum appears in which the power spectrum after conversion (FIG. 7-3) shows a periodic amplitude rather than the power spectrum before conversion of 25 [Hz] (FIG. 7-1). As shown in FIG. 7-2, the power spectrum is approaching. Therefore, the detection information of 25 [Hz] is detected as described above, rather than the determination of abnormality using the model corresponding to the reference rotation frequency of 3 [Hz] with respect to the detection information of 25 [Hz]. It is more accurate to determine abnormality using a model corresponding to the reference rotation frequency of 3 [Hz] with respect to the conversion information converted to be 3 [Hz] of the reference rotation frequency. it can.

また、上述の例では、25[Hz]の検知情報を変換して3[Hz]の変換情報としているため約8倍のアップサンプリングが行われている。しかし、元の25[Hz]のセンサデータ(検知情報)には、駆動部204によって駆動される回転体等によらない振動成分も含まれているため、変換によって不自然な信号が得られる場合がある。そこで元のセンサデータ(検知情報)を大きく変化させるようなアップサンプリングおよびダウンサンプリングを行わないようにするために、複数の基準回転周波数を設定してもよく、前処理部106は、複数の基準回転周波数のうち、最も元の検知情報からの変化が小さい基準回転周波数へ変換を行うようにしてもよい。   Further, in the above-described example, detection information of 25 [Hz] is converted into 3 [Hz] conversion information, so upsampling is performed about 8 times. However, since the original 25 [Hz] sensor data (detection information) includes vibration components that do not depend on a rotating body or the like driven by the drive unit 204, an unnatural signal can be obtained by conversion. There is. Therefore, in order not to perform up-sampling and down-sampling that greatly change the original sensor data (detection information), a plurality of reference rotation frequencies may be set, and the preprocessing unit 106 may include a plurality of reference You may make it convert into the reference | standard rotation frequency with the smallest change from the original detection information among rotation frequencies.

例えば、複数の基準回転周波数として、予め5[Hz]、10[Hz]、20[Hz]および40[Hz]の基準回転周波数が設定されているものとする。そして、前処理部106は、以下の式(1)で求まる指標値f(x,y)(回転周波数の基準回転周波数に対する割合、または、基準回転周波数の回転周波数に対する割合)に基づいて、最適な基準回転周波数を選択する。   For example, it is assumed that reference rotation frequencies of 5 [Hz], 10 [Hz], 20 [Hz], and 40 [Hz] are set in advance as a plurality of reference rotation frequencies. Then, the preprocessing unit 106 optimizes based on the index value f (x, y) (the ratio of the rotation frequency to the reference rotation frequency or the ratio of the reference rotation frequency to the rotation frequency) obtained by the following equation (1). Select the correct reference rotation frequency.

f(x,y)=x/y (x<yの場合)
f(x,y)=y/x (x≧yの場合) ・・・(1)
f (x, y) = x / y (when x <y)
f (x, y) = y / x (when x ≧ y) (1)

この式(1)において、xは、受信部101aにより受信された検知情報(センサデータ)の回転周波数であり、yは、基準回転周波数である。ここで、検知情報の回転周波数を25[Hz]とした場合、上述の4つの基準回転周波数に対応する指標値f(x,y)はそれぞれ、以下のように求まる。   In this formula (1), x is the rotation frequency of the detection information (sensor data) received by the receiving unit 101a, and y is the reference rotation frequency. Here, when the rotation frequency of the detection information is 25 [Hz], the index values f (x, y) corresponding to the four reference rotation frequencies described above are obtained as follows.

f(25,5)=5/25=0.2
f(25,10)=10/25=0.4
f(25,20)=20/25=0.8
f(25,40)=25/40=0.625
f (25,5) = 5/25 = 0.2
f (25,10) = 10/25 = 0.4
f (25,20) = 20/25 = 0.8
f (25,40) = 25/40 = 0.625

このように算出された各基準回転周波数に対応する指標値のうち、最大となる指標値に対応する基準回転周波数を、変換する回転周波数として選択する。すなわち、このように選択された基準回転周波数によって変換され変換情報が、最も元の検知情報からの変化が小さいものと判断する。ここでは、指標値0.8が最大なので、前処理部106は、基準回転周波数20[Hz]を選択し、検知情報の回転周波数をこの基準回転周波数となるように変換する。   Of the index values corresponding to the respective reference rotation frequencies calculated in this way, the reference rotation frequency corresponding to the maximum index value is selected as the rotation frequency to be converted. That is, it is determined that the conversion information converted by the reference rotation frequency thus selected has the smallest change from the original detection information. Here, since the index value 0.8 is the maximum, the preprocessing unit 106 selects the reference rotation frequency 20 [Hz], and converts the rotation frequency of the detection information to be the reference rotation frequency.

なお、上述のように、式(1)に従う指標値に基づいて基準回転周波数を選択する方法以外に、例えば、単純に、検知情報の回転周波数に最も近い基準回転周波数を選択するものとしてもよい。   As described above, other than the method of selecting the reference rotation frequency based on the index value according to Equation (1), for example, the reference rotation frequency closest to the rotation frequency of the detection information may be simply selected. .

特徴抽出部104は、前処理部106により変換された変換情報から特徴情報を抽出する(ステップS104)。判定部102は、抽出された特徴情報と、受信されたコンテキスト情報、および検知情報を変換した変換情報の基準回転周波数に対応するモデルと、を用いて、加工機200が正常に動作しているか否かを判定する(ステップS105)。判定部102は、判定結果を出力する(ステップS106)。判定結果の出力方法はどのような方法であってもよい。判定部102は、例えば、診断装置100のディスプレイ67に判定結果を表示してもよい。あるいは、判定部102が、サーバ装置およびPC等の外部装置に判定結果を出力してもよい。   The feature extraction unit 104 extracts feature information from the conversion information converted by the preprocessing unit 106 (step S104). Whether the processing machine 200 is operating normally using the extracted feature information, the received context information, and the model corresponding to the reference rotation frequency of the conversion information obtained by converting the detection information. It is determined whether or not (step S105). The determination unit 102 outputs the determination result (step S106). Any method of outputting the determination result may be used. For example, the determination unit 102 may display the determination result on the display 67 of the diagnostic apparatus 100. Alternatively, the determination unit 102 may output the determination result to the server device and an external device such as a PC.

なお、上述の回転周波数を変換する処理の対象となる検知情報の発生元は、ドリル、砥石、エンドミル、もしくはフライス等の工具でもよく、または、部材を加工する工具ではなく軸受け等の回転体であってもよい。   In addition, the generation source of the detection information that is the target of the process of converting the rotation frequency described above may be a tool such as a drill, a grindstone, an end mill, or a milling cutter, or a rotating body such as a bearing instead of a tool that processes a member. There may be.

(診断装置によるモデル生成処理)
図8は、第1の実施形態におけるモデル生成処理の一例を示すフローチャートである。図8を参照しながら、本実施形態に係る診断装置100によるモデル生成処理について説明する。なお、モデル生成処理は、例えば、診断処理の前に事前に実行される。あるいは、モデルが定められていないコンテキスト情報が入力された場合にモデル生成処理を実行するように構成してもよい。また、上述のようにモデルを外部で生成する場合は、モデル生成処理は実行されなくてもよい。
(Model generation processing by diagnostic equipment)
FIG. 8 is a flowchart illustrating an example of model generation processing according to the first embodiment. With reference to FIG. 8, a model generation process performed by the diagnostic apparatus 100 according to the present embodiment will be described. The model generation process is executed in advance before the diagnosis process, for example. Or you may comprise so that a model production | generation process may be performed when the context information in which the model is not defined is input. Further, when the model is generated outside as described above, the model generation process may not be executed.

受信部101aは、加工機200から送信されたコンテキスト情報を受信する(ステップS201)。受信部101aは、加工機200から送信された検知情報(センサデータ)を受信する(ステップS202)。   The receiving unit 101a receives the context information transmitted from the processing machine 200 (step S201). The receiving unit 101a receives the detection information (sensor data) transmitted from the processing machine 200 (step S202).

このように受信されたコンテキスト情報および検知情報が、モデルの生成に利用される。モデルは、コンテキスト情報ごと、かつ、基準回転周波数ごとに生成されるため、検知情報は、対応するコンテキスト情報および基準回転周波数に関連付けられる必要がある。すなわち、基準回転周波数に対応したモデルを生成するためには、受信部101aは、回転周波数が基準回転周波数である検知情報を受信する必要がある。そのため、例えば、受信部101aは、受信した検知情報を、同じタイミングで受信したコンテキスト情報と、基準回転周波数とに対応づけて記憶部111等に記憶させる。各情報を記憶部111等に一旦記憶し、正常時の情報であることを確認し、正常時の情報のみを用いてモデルを生成してもよい。すなわち、正常であるとラベルづけされた検知情報を用いてモデルを生成してもよい。   The context information and detection information received in this way are used to generate a model. Since the model is generated for each context information and for each reference rotation frequency, the detection information needs to be associated with the corresponding context information and the reference rotation frequency. That is, in order to generate a model corresponding to the reference rotation frequency, the reception unit 101a needs to receive detection information whose rotation frequency is the reference rotation frequency. Therefore, for example, the receiving unit 101a stores the received detection information in the storage unit 111 or the like in association with the context information received at the same timing and the reference rotation frequency. Each information may be temporarily stored in the storage unit 111 or the like, confirmed as normal information, and a model may be generated using only normal information. That is, the model may be generated using detection information labeled as normal.

正常であるか否かの確認(ラベルづけ)は、情報を記憶部111等に記憶した後の任意のタイミングで実行してもよいし、加工機200を動作させながらリアルタイムに実行してもよい。ラベルづけを実行せず、情報が正常であると仮定してモデルを生成してもよい。正常であると仮定した情報が実際は異常であった場合は、生成されたモデルにより正しく判定処理が実行されなくなる。異常と判定される頻度等によりこのような状況であるかを判断でき、誤って生成されたモデルを削除する等の対応を取ることができる。また、異常であった情報から生成されたモデルを、異常であることを判定するモデルとして利用してもよい。   The confirmation (labeling) of whether or not it is normal may be executed at an arbitrary timing after information is stored in the storage unit 111 or the like, or may be executed in real time while the processing machine 200 is operating. . The model may be generated on the assumption that the information is normal without performing labeling. If the information assumed to be normal is actually abnormal, the generated model will not be correctly determined. Whether such a situation is present can be determined based on the frequency at which it is determined that there is an abnormality, and it is possible to take measures such as deleting an erroneously generated model. In addition, a model generated from information that is abnormal may be used as a model for determining abnormality.

特徴抽出部104は、収集された検知情報から特徴情報を抽出する(ステップS203)。生成部105は、同じコンテキスト情報に対応づけられた検知情報から抽出された特徴情報を用いて、このコンテキスト情報についてのモデルを生成する(ステップS204)。この場合、生成部105は、生成したモデルに対して、ラベルデータを付与してもよい。例えば、ラベルデータとして、新品の工具からの検知情報によって生成されたモデルには「0」を付与し、摩耗が進んだ工具からの検知情報によって生成されたモデルには「1」を付与するものとしてもよい。   The feature extraction unit 104 extracts feature information from the collected detection information (step S203). The generation unit 105 generates a model for the context information using the feature information extracted from the detection information associated with the same context information (step S204). In this case, the generation unit 105 may add label data to the generated model. For example, as label data, “0” is given to a model generated from detection information from a new tool, and “1” is given to a model generated from detection information from a tool with advanced wear. It is good.

生成部105は、生成したモデルを、例えば、コンテキスト情報および基準回転周波数に対応付けて、記憶部111に記憶する(ステップS205)。   The generation unit 105 stores the generated model in the storage unit 111, for example, in association with the context information and the reference rotation frequency (step S205).

このように、基準回転周波数に調整された生データである検知情報を用いてモデルを生成しているので、誤差の混入を抑制したモデルを生成することができる。ただし、検知情報の回転周波数を基準回転周波数に調整して受信することが困難な環境である場合、受信した検知情報の回転周波数を、前処理部106により基準回転周波数に変換して、モデルを生成するものとしてもよい。これにより、モデルに誤差がある程度含まれるものの、上述のように、特定の基準回転周波数に変換された変換情報に対して、異なる回転周波数の検知情報で生成したモデルを用いて異常の判定を行うよりも、精度よく判定を行うことができる。   As described above, since the model is generated using the detection information that is the raw data adjusted to the reference rotation frequency, it is possible to generate a model in which mixing of errors is suppressed. However, if it is difficult to receive the detection information by adjusting the rotation frequency of the detection information to the reference rotation frequency, the preprocessing unit 106 converts the rotation frequency of the received detection information into the reference rotation frequency, It may be generated. As a result, although the model includes a certain amount of error, as described above, abnormality determination is performed using the model generated with the detection information of the different rotation frequency with respect to the conversion information converted into the specific reference rotation frequency. The determination can be made with higher accuracy.

(モデル生成処理および診断処理の具体例)
図9は、第1の実施の形態におけるモデル生成処理および診断処理の具体例を説明する図である。図10は、一部のコンテキスト情報についてモデル生成処理および診断処理を行う具体例を説明する図である。図11は、共通のモデルを他の加工工程で使用する例を説明する図である。図12は、累積使用時間をコンテキスト情報として利用する場合の例を説明する図である。図13は、モデルが生成されていないコンテキスト情報が入力された場合にモデルを生成する動作を説明する図である。図9〜図13を参照しながら、本実施形態に係る診断装置100によるモデル生成処理および診断処理の具体例について説明する。
(Specific examples of model generation processing and diagnosis processing)
FIG. 9 is a diagram illustrating a specific example of the model generation process and the diagnosis process in the first embodiment. FIG. 10 is a diagram for explaining a specific example in which model generation processing and diagnosis processing are performed for some context information. FIG. 11 is a diagram illustrating an example in which a common model is used in other processing steps. FIG. 12 is a diagram for explaining an example in which the accumulated usage time is used as context information. FIG. 13 is a diagram illustrating an operation for generating a model when context information for which a model has not been generated is input. A specific example of the model generation process and the diagnosis process performed by the diagnosis apparatus 100 according to the present embodiment will be described with reference to FIGS.

図9は、例えば、ある部品を加工する工程の一部についてのモデル生成処理、および、診断処理を示す。モデル生成処理では、コンテキスト情報701とともに受信された複数の検知情報(図9では、検知情報711a〜711c)が利用される。なお、検知情報の個数は3に限られるものではなく、任意の個数とすることができる。   FIG. 9 shows, for example, a model generation process and a diagnosis process for a part of a process for processing a certain part. In the model generation process, a plurality of detection information (detection information 711a to 711c in FIG. 9) received together with the context information 701 is used. Note that the number of pieces of detection information is not limited to three and may be any number.

コンテキスト情報701は、加工工程が、4つのモータ(モータA、モータB、モータC、モータD)を駆動する動作を含むことを示している。特徴抽出部104は、受信された検知情報から特徴情報を抽出する。生成部105は、各モータに対応するコンテキスト情報ごと、かつ、設定された基準回転周波数ごとに、対応する検知情報から抽出された特徴情報を用いてモデルを生成する。生成されたモデルは、記憶部111等に記憶される。図9では、モータBが駆動される場合のコンテキスト情報に対して生成された、各基準回転周波数ごとのモデル(「モータB」)が記憶部111に記憶された例が示されている。記憶されたモデルは、その後の診断処理で参照される。   The context information 701 indicates that the machining process includes an operation of driving four motors (motor A, motor B, motor C, and motor D). The feature extraction unit 104 extracts feature information from the received detection information. The generation unit 105 generates a model using the feature information extracted from the corresponding detection information for each context information corresponding to each motor and for each set reference rotation frequency. The generated model is stored in the storage unit 111 or the like. FIG. 9 shows an example in which a model (“motor B”) for each reference rotation frequency generated for the context information when the motor B is driven is stored in the storage unit 111. The stored model is referred to in subsequent diagnosis processing.

診断処理では、モデル生成処理と同様に、コンテキスト情報701とともに、検知情報721が受信される。コンテキスト情報が「モータBが駆動されていること」を示す場合、前処理部106は、同じくコンテキスト情報が示す検知情報721の回転周波数を、1以上の基準回転周波数から上述の方法で選択した基準回転周波数に変換して変換情報を生成する。そして、判定部102は、例えば、このコンテキスト情報が受信された期間に受信された検知情報から変換された変換情報と、記憶部111に記憶されている、変換情報の基準回転周波数に対応するモデル「モータB」とを用いて、加工機200の動作が正常であるか否かを判定する。   In the diagnosis process, the detection information 721 is received together with the context information 701 as in the model generation process. When the context information indicates that “the motor B is being driven”, the preprocessing unit 106 selects the rotation frequency of the detection information 721 similarly indicated by the context information from one or more reference rotation frequencies by the above method. Conversion information is generated by converting the rotation frequency. Then, for example, the determination unit 102 converts the conversion information converted from the detection information received during the period in which the context information is received, and the model corresponding to the reference rotation frequency of the conversion information stored in the storage unit 111. Using “Motor B”, it is determined whether or not the operation of the processing machine 200 is normal.

他のコンテキスト情報が受信される場合も同様に、対応する検知情報から変換された変換情報と、その変換情報の基準回転周波数に対応するモデルとを用いて、判定部102による判定が実行される。   Similarly, when other context information is received, determination by the determination unit 102 is performed using conversion information converted from corresponding detection information and a model corresponding to the reference rotation frequency of the conversion information. .

なお、すべてのコンテキスト情報に対して判定を実行する必要はない。例えば、図10は、一部のコンテキスト情報に対して判定を実行する例を示す図である。   Note that it is not necessary to perform determination on all context information. For example, FIG. 10 is a diagram illustrating an example in which determination is performed on some context information.

図10の例では、コンテキスト情報が「モータBが駆動されていること」を示す場合のみモデルが生成される。また、診断処理は、「モータBが駆動されていること」を示すコンテキスト情報701−2が受信された場合に実行される。これにより、異常の判定に有効な検知情報のみを用いて診断処理を実行することができる。例えば、検知情報として音響データを用いる場合、無音区間等判定する必要がない区間が加工工程に含まれる場合がある。このような不要な区間を判定対象から外すことによって、誤判定を減らすこと、および、計算コストを減らすことが可能となる。すなわち、診断処理の高精度化および効率化が実現可能となる。   In the example of FIG. 10, the model is generated only when the context information indicates “motor B is driven”. The diagnosis process is executed when context information 701-2 indicating "motor B is driven" is received. As a result, the diagnosis process can be executed using only the detection information effective for determining the abnormality. For example, when using acoustic data as detection information, a section that does not need to be determined, such as a silent section, may be included in the machining process. By excluding such unnecessary sections from the determination target, it is possible to reduce erroneous determinations and to reduce calculation costs. That is, it is possible to achieve high accuracy and efficiency of the diagnostic processing.

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

図11のコンテキスト情報901は、加工工程が、4つのモータ(モータX、モータY、モータZ、モータB)を駆動する動作を含むことを示している。モータBを使用する点は、例えば、図9に示す加工工程と共通する。このため、図11の加工工程でも、判定部102は、同一のモデル「モータB」と、検知情報921が変換された変換情報とを用いて診断処理を実行できる。   The context information 901 in FIG. 11 indicates that the machining process includes an operation of driving four motors (motor X, motor Y, motor Z, and motor B). The point that the motor B is used is, for example, common to the processing steps shown in FIG. For this reason, also in the machining process of FIG. 11, the determination unit 102 can execute a diagnosis process using the same model “motor B” and the conversion information obtained by converting the detection information 921.

また、図12は、累積使用時間をコンテキスト情報として利用する場合の例を示す図である。コンテキスト情報1001は、各モータの累積使用時間を示す。図12の例では、累積使用時間の範囲(0月〜6月、6月〜12月、・・・等)ごと、モータの種類ごと、かつ、基準回転周波数ごとにモデルが生成される。例えば、記憶部111aは、累積使用時間が0〜6月の各モータのモデルを記憶する。記憶部111bは、累積使用時間が6〜12月の各モータのモデルを記憶する。記憶部111cは、累積使用時間が例えば12月以上の各モータのモデルを記憶する。記憶部111a〜111cは、物理的に異なる記憶媒体で実現してもよいし、物理的に同一の記憶媒体(記憶部111)で実現してもよい。判定部102は、コンテキスト情報701とともに、コンテキスト情報1001を用いて対応するモデルを特定し、特定したモデルを用いて診断処理を実行する。   FIG. 12 is a diagram illustrating an example in which the accumulated use time is used as context information. The context information 1001 indicates the accumulated usage time of each motor. In the example of FIG. 12, a model is generated for each cumulative usage time range (from 0 to June, from June to December,...), For each motor type, and for each reference rotation frequency. For example, the storage unit 111a stores a model of each motor whose accumulated usage time is 0 to June. The memory | storage part 111b memorize | stores the model of each motor whose accumulation | storage use time is 6 to December. The memory | storage part 111c memorize | stores the model of each motor whose accumulation use time is 12 months or more. The storage units 111a to 111c may be realized by physically different storage media, or may be realized by the physically same storage medium (storage unit 111). The determination unit 102 specifies a corresponding model using the context information 1001 together with the context information 701, and executes a diagnosis process using the specified model.

また、図13は、モデルが定められていないコンテキスト情報が入力された場合にモデルを生成する例を示す図である。図13のコンテキスト情報1101は、加工工程が、4つのモータ(モータX、モータC、モータD、モータB)を駆動する動作を含むことを示している。モータXの駆動を示すコンテキスト情報に対して、モデルが生成されていないものとする。   FIG. 13 is a diagram illustrating an example of generating a model when context information for which a model is not defined is input. The context information 1101 in FIG. 13 indicates that the machining process includes an operation of driving four motors (motor X, motor C, motor D, and motor B). It is assumed that no model has been generated for the context information indicating the driving of the motor X.

この場合、特徴抽出部104は、基準回転周波数を有する複数の検知情報(図11では、検知情報1111a、1111b、1111c)それぞれについて、「モータXが駆動されていること」を示すコンテキスト情報に対応する期間の検知情報から特徴情報を抽出する。生成部105は、抽出された特徴情報を用いて、「モータXが駆動されていること」を示すコンテキスト情報に対応するモデル「モータX」を生成し、記憶部111に記憶する。これにより、今後モータXを駆動する期間についても異常の判定が可能となる。   In this case, the feature extraction unit 104 corresponds to context information indicating that “the motor X is driven” for each of a plurality of pieces of detection information having the reference rotation frequency (in FIG. 11, detection information 1111a, 1111b, and 1111c). The feature information is extracted from the detection information of the period to be used. Using the extracted feature information, the generation unit 105 generates a model “motor X” corresponding to the context information indicating “motor X is being driven” and stores the model “motor X” in the storage unit 111. As a result, it is possible to determine whether the motor X is to be driven in the future.

このように、第1の実施形態では、検知部211から得られた検知情報を、所定の基準回転周波数のデータとなるように変換して変換情報とし、この変換情報に対し、当該基準回転周波数に対応したモデルを用いて異常を判定するものとしている。これによって、同じ回転周波数に対応する変換情報とモデルとの比較で異常の判定をするので、装置(例えば、加工機200)の異常を診断する精度を維持または向上させることができる。さらに、記憶部111等に記憶させておくモデルとして、あらゆる回転周波数に対応したモデルを記憶させておく必要がなく、1以上の基準回転周波数に対応するモデルを記憶させておけばよいので、記憶部111に記憶させるモデルのデータ量を削減できる。   As described above, in the first embodiment, the detection information obtained from the detection unit 211 is converted into data of a predetermined reference rotation frequency to be converted into conversion information, and the reference rotation frequency is converted to the conversion information. It is assumed that an abnormality is determined using a model corresponding to. As a result, the abnormality is determined by comparing the conversion information corresponding to the same rotation frequency with the model, so that the accuracy of diagnosing the abnormality of the apparatus (for example, the processing machine 200) can be maintained or improved. Furthermore, as a model to be stored in the storage unit 111 or the like, it is not necessary to store a model corresponding to any rotation frequency, and a model corresponding to one or more reference rotation frequencies may be stored. The amount of model data stored in the unit 111 can be reduced.

また、第1の実施形態では、現在の動作を示すコンテキスト情報を加工機200から受信し、受信したコンテキスト情報に対応するモデルを用いて異常を判定できる。従って、動作する駆動部を高精度に特定し、異常をより高精度に診断可能となる。   In the first embodiment, context information indicating the current operation is received from the processing machine 200, and an abnormality can be determined using a model corresponding to the received context information. Therefore, it is possible to specify the drive unit that operates with high accuracy and to diagnose the abnormality with higher accuracy.

[第2の実施形態]
第1の実施形態では、1種類の検知情報を用いて正常か否かを判定していた。判定に用いる検知情報の個数は1に限られず、2以上であってもよい。第2の実施形態の診断システムは、複数の検知情報を用いて加工機200の異常を判定する。
[Second Embodiment]
In 1st Embodiment, it was determined whether it was normal using one type of detection information. The number of detection information used for determination is not limited to 1, and may be 2 or more. The diagnosis system of the second embodiment determines an abnormality of the processing machine 200 using a plurality of detection information.

(診断装置の機能ブロックの構成)
図14は、第2の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。図14を参照しながら、本実施形態に係る診断装置100−2の機能ブロックの構成について説明する。
(Configuration of functional block of diagnostic device)
FIG. 14 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the second embodiment. With reference to FIG. 14, the functional block configuration of the diagnostic apparatus 100-2 according to the present embodiment will be described.

第2の実施形態の診断システムの構成は、第1の実施形態の構成を示す図1と同様であるため説明を省略する。図14に示すように、診断装置100−2は、通信制御部101と、判定部102−2と、受付部103と、特徴抽出部104と、生成部105と、前処理部106−2(第1前処理部)と、記憶部111と、を備えている。   Since the configuration of the diagnosis system of the second embodiment is the same as that of FIG. 1 showing the configuration of the first embodiment, description thereof is omitted. As illustrated in FIG. 14, the diagnostic device 100-2 includes a communication control unit 101, a determination unit 102-2, a reception unit 103, a feature extraction unit 104, a generation unit 105, and a preprocessing unit 106-2 ( A first preprocessing unit) and a storage unit 111.

第2の実施形態では、判定部102−2および前処理部106−2の機能が第1の実施形態と異なっている。その他の構成および機能は、第1の実施形態に係る診断装置100のブロック図である図4と同様であるので、同一符号を付し、ここでの説明は省略する。   In the second embodiment, the functions of the determination unit 102-2 and the preprocessing unit 106-2 are different from those in the first embodiment. Other configurations and functions are the same as those in FIG. 4 which is a block diagram of the diagnostic apparatus 100 according to the first embodiment, and thus the same reference numerals are given and description thereof is omitted here.

前処理部106−2は、複数の検知情報それぞれを、コンテキスト情報に応じて、基準回転周波数に変換して変換情報を得る。この場合、基準回転周波数は、コンテキスト情報に対応したものであり、当該コンテキスト情報に対応する1以上の基準回転周波数からどの基準回転周波数を選択するかは、第1の実施形態で説明した通りである。   The preprocessing unit 106-2 obtains conversion information by converting each of the plurality of pieces of detection information into a reference rotation frequency according to the context information. In this case, the reference rotation frequency corresponds to the context information, and which reference rotation frequency is selected from one or more reference rotation frequencies corresponding to the context information is as described in the first embodiment. is there.

判定部102−2は、複数の検知情報からそれぞれ変換された変換情報を用いて加工機200の動作が正常であるか否かを判定する。例えば、判定部102−2は、コンテキスト情報に応じて、判定に用いる変換情報を切り替える。   The determination unit 102-2 determines whether the operation of the processing machine 200 is normal using the conversion information converted from each of the plurality of detection information. For example, the determination unit 102-2 switches conversion information used for determination according to the context information.

(本実施形態による処理の具体例)
図15は、駆動部によって異なる検知情報を判定対象とすることを説明する図である。図16は、検知情報の決定に用いられる対応情報のデータ構造の一例を示す図である。図15および図16を参照しながら、本実施形態による処理の具体例を説明する。
(Specific example of processing according to this embodiment)
FIG. 15 is a diagram illustrating that detection information that differs depending on the drive unit is set as a determination target. FIG. 16 is a diagram illustrating an example of a data structure of correspondence information used for determination of detection information. A specific example of processing according to the present embodiment will be described with reference to FIGS. 15 and 16.

図15の例では、コンテキスト情報1201と、複数種類の検知情報1221a、1221bとが受信される。検知情報1221aは、例えば、加速度データである。検知情報1221bは、例えば、音響データである。   In the example of FIG. 15, context information 1201 and a plurality of types of detection information 1221a and 1221b are received. The detection information 1221a is acceleration data, for example. The detection information 1221b is, for example, acoustic data.

前処理部106−2は、コンテキスト情報が「モータAが駆動されていること」を示す場合、検知情報1221bのうち、当該コンテキスト情報に対応する期間の検知情報1222bの回転周波数を、当該コンテキスト情報に対応する基準回転周波数に変換して変換情報を得る。また、前処理部106−2は、コンテキスト情報が「モータBが駆動されていること」を示す場合、検知情報1221aのうち、当該コンテキスト情報に対応する期間の検知情報1222aの回転周波数を、当該コンテキスト情報に対応する基準回転周波数に変換して変換情報を得る。   When the context information indicates that “the motor A is being driven”, the preprocessing unit 106-2 sets the rotation frequency of the detection information 1222b in the period corresponding to the context information in the detection information 1221b. Conversion information is obtained by converting to a reference rotation frequency corresponding to. Further, when the context information indicates “motor B is being driven”, the preprocessing unit 106-2 sets the rotation frequency of the detection information 1222a in the period corresponding to the context information in the detection information 1221a. Conversion information is obtained by converting the reference rotation frequency corresponding to the context information.

判定部102−2は、コンテキスト情報が「モータAが駆動されていること」を示す場合、検知情報1221bのうち、当該コンテキスト情報に対応する期間の検知情報1222bから変換された変換情報から抽出された特徴情報を用いて判定を実行する。このとき、判定部102−2は、当該コンテキスト情報、かつ、変換情報の基準回転周波数に対応するモデルを記憶部111a−2から読み出して使用する。また、判定部102−2は、コンテキスト情報が「モータBが駆動されていること」を示す場合、検知情報1221aのうち、当該コンテキスト情報に対応する期間の検知情報1222aから変換された変換情報から抽出された特徴情報を用いて判定を実行する。このとき、判定部102−2は、当該コンテキスト情報、かつ、変換情報の基準回転周波数に対応するモデルを記憶部111b−2から読み出して使用する。   When the context information indicates “motor A is driven”, the determination unit 102-2 is extracted from the conversion information converted from the detection information 1222b in the period corresponding to the context information in the detection information 1221b. The determination is executed using the feature information. At this time, the determination unit 102-2 reads out the context information and the model corresponding to the reference rotation frequency of the conversion information from the storage unit 111a-2 and uses the model. Further, when the context information indicates “motor B is being driven”, the determination unit 102-2 uses the conversion information converted from the detection information 1222a in the period corresponding to the context information in the detection information 1221a. Determination is performed using the extracted feature information. At this time, the determination unit 102-2 reads out the context information and the model corresponding to the reference rotation frequency of the conversion information from the storage unit 111b-2 and uses the model.

コンテキスト情報に対応する検知情報は、例えば、記憶部111に記憶される対応情報を用いて決定されてもよい。図16は、検知情報の決定に用いられる対応情報のデータ構造の一例を示す図である。対応情報は、例えば、センサデータと、コンテキスト情報と、を含む。前処理部106−2および判定部102−2は、このような対応情報を参照することにより、コンテキスト情報に対応する検知情報を決定することができる。   The detection information corresponding to the context information may be determined using, for example, correspondence information stored in the storage unit 111. FIG. 16 is a diagram illustrating an example of a data structure of correspondence information used for determination of detection information. The correspondence information includes, for example, sensor data and context information. The preprocessing unit 106-2 and the determination unit 102-2 can determine the detection information corresponding to the context information by referring to such correspondence information.

[第3の実施形態]
第1の実施形態では、装置の異常の判定に用いる基準回転周波数に対応したモデルを生成する場合、回転周波数が基準回転周波数に調整された検知情報を受信して行っていた。第3の実施形態の診断システムは、モデルを生成する場合に受信した検知情報の回転周波数が、予め設定されている基準回転周波数のうち一致しないものがある場合、その一致しない基準回転周波数に変換して、その変換情報を用いて当該基準回転周波数に対応したモデルを生成する。
[Third Embodiment]
In the first embodiment, when generating a model corresponding to the reference rotation frequency used for determining the abnormality of the apparatus, detection information in which the rotation frequency is adjusted to the reference rotation frequency is received. In the diagnosis system of the third embodiment, when the rotation frequency of the detection information received when generating the model does not match among the preset reference rotation frequencies, the detection information is converted to the mismatched reference rotation frequency. Then, a model corresponding to the reference rotation frequency is generated using the conversion information.

(診断装置の機能ブロックの構成)
図17は、第3の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。図17を参照しながら、本実施形態に係る診断装置100−3の機能ブロックの構成について説明する。
(Configuration of functional block of diagnostic device)
FIG. 17 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the third embodiment. With reference to FIG. 17, the functional block configuration of the diagnostic apparatus 100-3 according to the present embodiment will be described.

図17に示すように、診断装置100−3は、通信制御部101と、判定部102と、受付部103と、特徴抽出部104と、生成部105と、第1前処理部107と、第2前処理部107−2と、記憶部111と、を備えている。   As illustrated in FIG. 17, the diagnostic device 100-3 includes a communication control unit 101, a determination unit 102, a reception unit 103, a feature extraction unit 104, a generation unit 105, a first preprocessing unit 107, 2 preprocessing unit 107-2 and storage unit 111.

第3の実施形態では、第1前処理部107および第2前処理部107−2の構成が第1の実施形態と異なっている。その他の構成および機能は、第1の実施形態に係る診断装置100のブロック図である図4と同様であるので、同一符号を付し、ここでの説明は省略する。   In the third embodiment, the configurations of the first preprocessing unit 107 and the second preprocessing unit 107-2 are different from those of the first embodiment. Other configurations and functions are the same as those in FIG. 4 which is a block diagram of the diagnostic apparatus 100 according to the first embodiment, and thus the same reference numerals are given and description thereof is omitted here.

第1前処理部107は、第1の実施形態の前処理部106と同様の処理を行う。すなわち、第1前処理部107は、診断処理において、コンテキスト情報から得られた駆動部204の回転周波数を予め決められた1以上の基準回転周波数のうち、元の検知情報との変化が少ない基準回転周波数となるような変換情報へ変換する。ここで、1以上の基準回転周波数から1の基準回転周波数の選択方法は、第1の実施形態で説明した方法と同様である。   The first preprocessing unit 107 performs the same processing as the preprocessing unit 106 of the first embodiment. That is, in the diagnosis process, the first pre-processing unit 107 is a reference in which the rotation frequency of the drive unit 204 obtained from the context information is less than one or more reference rotation frequencies determined in advance. It converts into conversion information which becomes rotation frequency. Here, a method for selecting one reference rotation frequency from one or more reference rotation frequencies is the same as the method described in the first embodiment.

第2前処理部107−2は、モデルを生成する場合に、設定された基準回転周波数の検知情報が得られない場合等に、受信部101aにより受信された検知情報を、設定された基準回転周波数に変換して変換情報を得る。   When the second pre-processing unit 107-2 generates a model, when the detection information of the set reference rotation frequency is not obtained, the detection information received by the receiving unit 101a is set as the set reference rotation. Conversion information is obtained by converting to frequency.

(本実施形態による処理の具体例)
図18は、複数の基準回転周波数に変換した検知情報からモデルを生成する動作の一例を示す図である。図18を参照しながら、本実施形態による処理の具体例を説明する。
(Specific example of processing according to this embodiment)
FIG. 18 is a diagram illustrating an example of an operation for generating a model from detection information converted into a plurality of reference rotation frequencies. A specific example of processing according to the present embodiment will be described with reference to FIG.

図18の例では、例えば、受信部101aにより受信可能な検知情報の回転周波数が25[Hz]であり、設定された基準回転周波数が10[Hz]および5[Hz]であるものとする。この場合、受信部101aにより、10[Hz]および5[Hz]の検知情報を受信することが困難である場合、それぞれの回転周波数(基準回転周波数)に対応したモデルを生成することができないことになる。そこで、第2前処理部107−2は、受信部101aから受信された回転周波数が25[Hz]の検知情報を、回転周波数がそれぞれ基準回転周波数10[Hz]および5[Hz]となるように変換して変換情報を生成する。   In the example of FIG. 18, for example, it is assumed that the rotation frequency of the detection information that can be received by the reception unit 101a is 25 [Hz], and the set reference rotation frequencies are 10 [Hz] and 5 [Hz]. In this case, when it is difficult to receive detection information of 10 [Hz] and 5 [Hz] by the receiving unit 101a, it is impossible to generate a model corresponding to each rotation frequency (reference rotation frequency). become. Therefore, the second pre-processing unit 107-2 receives the detection information received from the receiving unit 101a and whose rotation frequency is 25 [Hz], and the rotation frequency becomes the reference rotation frequency 10 [Hz] and 5 [Hz], respectively. To generate conversion information.

そして、特徴抽出部104は、第2前処理部107−2により変換された変換情報から特徴情報を抽出する。そして、生成部105は、同じコンテキスト情報に対応付けられた変換情報から抽出された特徴情報を用いて、このコンテキスト情報、および、当該変換情報の基準回転周波数についてのモデルを生成する。   Then, the feature extraction unit 104 extracts feature information from the conversion information converted by the second preprocessing unit 107-2. And the production | generation part 105 produces | generates the model about this context information and the reference | standard rotation frequency of the said conversion information using the feature information extracted from the conversion information matched with the same context information.

これによって、受信部101aにより基準回転周波数とは異なる検知情報しか得られない状況でも、当該基準回転周波数に対応したモデルを生成することが可能となる。   Thereby, even in a situation where only the detection information different from the reference rotation frequency can be obtained by the receiving unit 101a, it is possible to generate a model corresponding to the reference rotation frequency.

なお、受信部101aにより受信される検知情報の回転周波数と、作成するモデルに対応する基準回転周波数とが一致する場合、第2前処理部107−2による変換処理は必要なく、特徴抽出部104は、受信部101aにより受信された検知情報から直接、特徴情報を抽出するものとすればよい。   When the rotation frequency of the detection information received by the reception unit 101a matches the reference rotation frequency corresponding to the model to be created, the conversion process by the second preprocessing unit 107-2 is not necessary, and the feature extraction unit 104 The feature information may be extracted directly from the detection information received by the receiving unit 101a.

[第4の実施形態]
第1の実施形態では、加工機200と通信可能な診断装置100が、加工機200からコンテキスト情報を受信し、そのコンテキスト情報を用いて、モデル生成処理および診断処理を行っていた。第4の実施形態では、診断装置が加工機200に接続されていない場合等により加工機200と通信ができない場合に、手動でコンテキスト情報を診断装置に入力可能とする。
[Fourth Embodiment]
In the first embodiment, the diagnosis apparatus 100 that can communicate with the processing machine 200 receives context information from the processing machine 200 and performs model generation processing and diagnosis processing using the context information. In the fourth embodiment, context information can be manually input to the diagnostic apparatus when communication with the processing machine 200 is not possible due to a case where the diagnostic apparatus is not connected to the processing machine 200 or the like.

(診断装置の機能ブロックの構成)
図19は、第4の実施形態に係る診断装置の機能ブロックの構成の一例を示す図である。図19を参照しながら、本実施形態に係る診断装置100−4の機能ブロックの構成について説明する。
(Configuration of functional block of diagnostic device)
FIG. 19 is a diagram illustrating an example of a functional block configuration of the diagnostic apparatus according to the fourth embodiment. With reference to FIG. 19, the functional block configuration of the diagnostic apparatus 100-4 according to the present embodiment will be described.

図19に示すように、診断装置100−4は、通信制御部101と、判定部102と、受付部103と、特徴抽出部104と、生成部105と、前処理部106(第1前処理部)と、操作部108と、記憶部111と、を備えている。   As illustrated in FIG. 19, the diagnostic device 100-4 includes a communication control unit 101, a determination unit 102, a reception unit 103, a feature extraction unit 104, a generation unit 105, and a preprocessing unit 106 (first preprocessing). Unit), an operation unit 108, and a storage unit 111.

第4の実施形態では、第1の実施形態の構成に加えて、操作部108が加わっている。その他の構成および機能は、第1の実施形態に係る診断装置100のブロック図である図4と同様であるので、同一符号を付し、ここでの説明は省略する。   In the fourth embodiment, an operation unit 108 is added to the configuration of the first embodiment. Other configurations and functions are the same as those in FIG. 4 which is a block diagram of the diagnostic apparatus 100 according to the first embodiment, and thus the same reference numerals are given and description thereof is omitted here.

操作部108は、ユーザが、現在の加工機200のコンテキスト情報(例えば、駆動部204の内容、および回転周波数等)等の必要な情報を入力するための機能部である。操作部108は、例えば、図3に示す入力装置66により実現される。   The operation unit 108 is a functional unit for the user to input necessary information such as the current context information of the processing machine 200 (for example, the content of the driving unit 204, the rotation frequency, and the like). The operation unit 108 is realized by, for example, the input device 66 illustrated in FIG.

以上のような構成によって、診断対象となる装置と診断装置が物理的、または無線を用いたネットワークで接続されていない場等の場合のようにコンテキスト情報が使えない場合、または、コンテキスト情報に目的となる情報(例えば、回転周波数等)が含まれない場合、診断装置100−4に対して手動で回転周波数等の必要な情報を入力することができ、このような場合でも、モデルの生成処理および診断処理が可能となる。   With the above configuration, when context information cannot be used, such as when the device to be diagnosed and the diagnostic device are not physically or wirelessly connected via a network, or the purpose of the context information is If necessary information (for example, rotation frequency) is not included, necessary information such as the rotation frequency can be manually input to the diagnostic apparatus 100-4. Even in such a case, the model generation process In addition, diagnostic processing is possible.

次に、上述の各実施形態に適用可能な変形例について説明する。   Next, modified examples applicable to the above-described embodiments will be described.

[変形例1]
図20は、コンテキスト情報と加工区間との関係の一例を示す図である。図21は、加工区間の特定方法の一例を示す図である。
[Modification 1]
FIG. 20 is a diagram illustrating an example of the relationship between the context information and the processing section. FIG. 21 is a diagram illustrating an example of a method for specifying a machining section.

コンテキスト情報は、ある駆動部204が駆動されている区間を示しているだけであり、例えば、この駆動部204により工具が回転し材料に当たって加工している、実際の加工区間を厳密に抽出できない場合がある。すなわち、異常判定の精度が悪くなる場合がある。   The context information only indicates a section in which a certain driving unit 204 is driven. For example, when the actual processing section in which the tool rotates by the driving unit 204 and hits the material cannot be accurately extracted. There is. That is, the accuracy of abnormality determination may deteriorate.

図20では、コンテキスト情報1501は、モータBが駆動されていることを示す。コンテキスト情報1501のみに基づくと、例えば、検知情報のうち波形区間1512に相当する検知情報が特定される。しかし、実際に材料を加工している区間は波形区間1511である。例えば、音響データを検知情報としている場合、波形区間1511は、工具が材料に接触して音が発生することにより検出される音響データの区間に相当する。   In FIG. 20, the context information 1501 indicates that the motor B is being driven. Based on only the context information 1501, for example, detection information corresponding to the waveform section 1512 is specified in the detection information. However, the section where the material is actually processed is the waveform section 1511. For example, when acoustic data is used as detection information, the waveform section 1511 corresponds to a section of acoustic data detected when a tool makes contact with a material to generate sound.

そこで、変形例1では、コンテキスト情報と検知情報とを組合せて、実際の加工区間を特定するように構成する。すなわち、判定部102は、受信されたコンテキスト情報で特定される期間のうち判定に用いる期間を、受信された検知情報に基づいて決定し、決定した期間の検知情報とモデルとを用いて判定を実行する。   Therefore, in the first modification, the actual processing section is specified by combining the context information and the detection information. That is, the determination unit 102 determines a period to be used for determination out of the period specified by the received context information based on the received detection information, and makes a determination using the detection information and the model of the determined period. Run.

例えば、判定部102は、検知情報の特徴が切り替わる時刻を特定することにより、加工区間を求める。図21の例では、判定部102は、検知情報の振幅が予め定められた閾値(例えば「a」および「−a」)を超えるように切り替わった時刻1601と、その後、閾値を下回るように切り替わった時刻1602とを特定する。判定部102は、時刻1601と時刻1602の間の区間1611を抽出する。そして、判定部102は、区間1611の検知情報から抽出された特徴情報を用いて判定を実行する。これにより、実際の加工区間に相当する区間の検知情報を用いて、より高精度に判定を実行可能となる。   For example, the determination unit 102 obtains a machining section by specifying a time at which the feature of the detection information is switched. In the example of FIG. 21, the determination unit 102 switches to a time 1601 when the amplitude of the detection information is switched to exceed a predetermined threshold (for example, “a” and “−a”), and then switches to be below the threshold. Time 1602 is specified. The determination unit 102 extracts a section 1611 between the time 1601 and the time 1602. Then, the determination unit 102 performs determination using the feature information extracted from the detection information of the section 1611. Thereby, determination can be performed with higher accuracy by using detection information of a section corresponding to an actual machining section.

[変形例2]
図22は、尤度と判定値r(k)との関係の一例を示すグラフである。
[Modification 2]
FIG. 22 is a graph illustrating an example of the relationship between the likelihood and the determination value r (k).

上述のように、正常か否かを判定するとき、尤度の値自体を用いてもよいし、尤度の変動を示す値を用いてもよい。変形例2では、尤度の変動を示す値の例について説明する。尤度の変動を示す値として、例えば、尤度の分散を用いることができる。例えば、区間Xでの尤度の分散は、以下の式(2)により算出される。nXは区間Xでのフレーム数、kはフレームのインデックス、xiはフレームiでの尤度(フレーム尤度)、μXは区間Xでのフレーム尤度の平均、を表す。なお、フレームは、尤度を算出する単位区間に相当する。   As described above, when determining whether or not normal, the likelihood value itself may be used, or a value indicating a variation in likelihood may be used. In the second modification, an example of a value indicating a variation in likelihood will be described. As a value indicating the variation in likelihood, for example, the variance of likelihood can be used. For example, the variance of the likelihood in the section X is calculated by the following equation (2). nX represents the number of frames in the section X, k represents the index of the frame, xi represents the likelihood (frame likelihood) in the frame i, and μX represents the average frame likelihood in the section X. A frame corresponds to a unit interval for calculating likelihood.

Figure 2018004566
Figure 2018004566

さらに式(2)のような分散を元にスコア化した値を判定に用いてもよい。例えば、以下の式(3)に示すr(k)を判定に用いてもよい。   Furthermore, a value obtained by scoring on the basis of the variance as in Expression (2) may be used for the determination. For example, r (k) shown in the following formula (3) may be used for the determination.

r(k)=VS(k)/VL(k) ・・・(3)   r (k) = VS (k) / VL (k) (3)

S、Lは、区間Xの種類を表す。Sは、短い区間(Short区間)を表し、Lは長い区間(Long区間)を表す。VS(k)は、短い区間に対して式(2)で算出される値を示す。VL(k)は、長い区間に対して式(2)で算出される値を示す。SおよびLのそれぞれに対して、nX、μXに対応する値であるnS、μS、および、nL、μLが算出される。   S and L represent the types of the section X. S represents a short section (Short section), and L represents a long section (Long section). VS (k) indicates a value calculated by the expression (2) for a short interval. VL (k) indicates a value calculated by Expression (2) for a long section. For each of S and L, nS, μS, and nL, μL, which are values corresponding to nX, μX, are calculated.

例えば、図22に示すように、尤度と閾値とを比較する判定方法では、閾値を0.97とすると、200〜300フレームの間では正常と判定される。一方、判定値r(k)と閾値(例えば、1.0)とを比較する判定方法では、200〜300フレームの間での尤度の変動を検出し、異常と判定することが可能となる。   For example, as shown in FIG. 22, in the determination method for comparing the likelihood with the threshold value, if the threshold value is 0.97, it is determined normal between 200 and 300 frames. On the other hand, in the determination method that compares the determination value r (k) and a threshold value (for example, 1.0), it is possible to detect a variation in likelihood between 200 to 300 frames and determine an abnormality. .

なお、上述の各実施形態および各変形例では、検知部211で検出される回転体等が発する検知情報の回転周波数および基準回転周波数を扱ったが、必ずしも、回転周波数に限定されるものではなく、振動データであれば振動周波数でもよく、周期的な信号成分を含む情報であればよい。この場合、回転周波数を単に「周波数」と呼称し、基準回転周波数を「基準周波数」を呼称するものとすればよい。   In each of the above-described embodiments and modifications, the rotation frequency and the reference rotation frequency of the detection information generated by the rotating body detected by the detection unit 211 are handled, but are not necessarily limited to the rotation frequency. If it is vibration data, the vibration frequency may be used, and information including a periodic signal component may be used. In this case, the rotation frequency may be simply referred to as “frequency”, and the reference rotation frequency may be referred to as “reference frequency”.

なお、上述の各実施形態および各変形例の診断装置で実行されるプログラムは、ROM等に予め組み込まれて提供される。   The programs executed by the diagnostic devices of the above-described embodiments and modifications are provided by being incorporated 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)等のコンピュータで読み取り可能な記録媒体に記録してコンピュータ・プログラム・プロダクトとして提供するように構成してもよい。   The programs executed by the diagnostic devices of the above-described embodiments and modifications are installable or executable files in a CD-ROM (Compact Disc Read Only Memory), a flexible disk (FD), a CD- The recording medium may be recorded on a computer-readable recording medium such as R (Compact Disk-Recordable), DVD (Digital Versatile Disk), or the like and provided as a computer program product.

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

上述の各実施形態および各変形例の診断装置で実行されるプログラムは、上述した各部(通信制御部、判定部等)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記ROMからプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、各部が主記憶装置上に生成されるようになっている。   The program executed by the diagnostic device of each of the above-described embodiments and modifications has a module configuration including the above-described units (communication control unit, determination unit, etc.), and the actual hardware is a CPU (processor). When the program is read from the ROM and executed, the respective units are loaded onto the main storage device, and the respective units are generated on the main storage device.

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、100−2〜100−4 診断装置
101 通信制御部
101a 受信部
101b 送信部
102、102−2 判定部
103 受付部
104 特徴抽出部
105 生成部
106、106−2 前処理部
107 第1前処理部
107−2 第2前処理部
108 操作部
111、111a〜111c 記憶部
111a−2、111b−2 記憶部
200 加工機
201 数値制御部
202 通信制御部
203 駆動制御部
204 駆動部
211 検知部
701、701−2 コンテキスト情報
711a〜711c 検知情報
721 検知情報
901 コンテキスト情報
921 検知情報
1001 コンテキスト情報
1101 コンテキスト情報
1111a〜1111c 検知情報
1201 コンテキスト情報
1221a、1221b 検知情報
1222a、1222b 検知情報
1501 コンテキスト情報
1511、1512 波形区間
1601、1602 時刻
1611 区間
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 I / O I / F
66 Input Device 67 Display 68 Auxiliary Storage Device 69 Bus 100, 100-2 to 100-4 Diagnosis Device 101 Communication Control Unit 101a Receiving Unit 101b Transmitting Unit 102, 102-2 Determination Unit 103 Reception Unit 104 Feature Extraction Unit 105 Generation Unit 106 , 106-2 preprocessing unit 107 first preprocessing unit 107-2 second preprocessing unit 108 operation unit 111, 111a to 111c storage unit 111a-2, 111b-2 storage unit 200 processing machine 201 numerical control unit 202 communication control Unit 203 drive control unit 204 drive unit 211 detection unit 701, 701-2 context information 711a to 711c detection information 721 detection information 901 context information 921 detection information 1001 context information 1101 context information 1111a to 1111c detection information 1201 Text information 1221a, 1221b detection information 1222a, 1222b detection information 1501 context information 1511 and 1512 waveform segment 1601 and 1602 time period 1611

特開2015−021901号公報JP2015-021901A 特許第3100757号公報Japanese Patent No. 3100777

Claims (15)

対象装置の動作の種類ごとに定められた複数のコンテキスト情報のうち現在の動作に対応するコンテキスト情報と、前記対象装置の動作に応じて変化する周波数成分を含む物理量の検知情報と、を前記対象装置から受信する受信部と、
前記受信部により受信された前記検知情報から、該検知情報の周波数を、予め設定された基準周波数に変換して変換情報を得る第1前処理部と、
前記第1前処理部により変換された前記変換情報と、1以上の前記コンテキスト情報それぞれに対して定められる1以上のモデルのうち前記受信部により受信された前記コンテキスト情報に対応するモデルと、を用いて、前記対象装置の動作が正常であるか否かを判定する判定部と、
を備えた診断装置。
Of the plurality of context information determined for each type of operation of the target device, the context information corresponding to the current operation, and physical quantity detection information including a frequency component that changes according to the operation of the target device, A receiver for receiving from the device;
A first preprocessing unit that obtains conversion information by converting the frequency of the detection information from the detection information received by the reception unit into a preset reference frequency;
The conversion information converted by the first preprocessing unit and a model corresponding to the context information received by the receiving unit among one or more models determined for each of the one or more context information items, A determination unit that determines whether the operation of the target device is normal;
Diagnostic device with
前記判定部は、前記受信部により受信された前記検知情報のうち、前記受信部により受信された前記コンテキスト情報で特定される期間の検知情報から前記第1前処理部により変換された前記変換情報と、前記受信部により受信された前記コンテキスト情報に対応するモデルと、を用いて、前記期間の前記対象装置の動作が正常であるか否かを判定する請求項1に記載の診断装置。   The said determination part is the said conversion information converted by the said 1st pre-processing part from the detection information of the period specified by the said context information received by the said reception part among the said detection information received by the said reception part. The diagnostic apparatus according to claim 1, wherein a determination is made as to whether or not the operation of the target apparatus during the period is normal using a model corresponding to the context information received by the receiving unit. 前記受信部は、異なる物理量にそれぞれ対応する複数の検知情報を受信し、
前記第1前処理部は、複数の前記検知情報のうち、前記コンテキスト情報に応じて定められる前記検知情報から前記変換情報に変換し、
前記判定部は、複数の前記変換情報のうち、前記コンテキスト情報に応じて定められる前記変換情報と、前記受信部により受信された前記コンテキスト情報に対応するモデルとを用いて、前記対象装置の動作が正常であるか否かを判定する請求項1または2に記載の診断装置。
The receiving unit receives a plurality of detection information respectively corresponding to different physical quantities,
The first preprocessing unit converts the detection information determined according to the context information from the plurality of detection information into the conversion information,
The determination unit uses the conversion information determined according to the context information among a plurality of the conversion information and a model corresponding to the context information received by the reception unit, and operates the target device. The diagnostic device according to claim 1, wherein whether or not is normal is determined.
前記基準周波数は、予め複数設定されており、
前記第1前処理部は、複数の前記基準周波数から、前記検知情報の周波数特性と前記変換情報の周波数特性との差が小さくなるような前記基準周波数を選択し、前記検知情報から、該検知情報の周波数を、選択した前記基準周波数に変換して前記変換情報を得る請求項1〜3のいずれか1項に記載の診断装置。
A plurality of the reference frequencies are set in advance,
The first preprocessing unit selects the reference frequency such that a difference between the frequency characteristic of the detection information and the frequency characteristic of the conversion information is reduced from the plurality of reference frequencies, and the detection information is used to detect the detection frequency. The diagnostic device according to any one of claims 1 to 3, wherein a frequency of information is converted into the selected reference frequency to obtain the converted information.
前記第1前処理部は、複数の前記基準周波数から、前記受信部により受信された前記検知情報の周波数が前記基準周波数よりも小さい場合は該基準周波数に対する該周波数の割合を求め、前記検知情報の周波数が前記基準周波数よりも大きい場合は該周波数に対する該基準周波数の割合を求め、求めた前記割合が最も大きい基準周波数を選択する請求項4に記載の診断装置。   The first preprocessing unit obtains a ratio of the frequency to the reference frequency when the frequency of the detection information received by the reception unit is smaller than the reference frequency from a plurality of the reference frequencies, and the detection information The diagnostic apparatus according to claim 4, wherein when the frequency is higher than the reference frequency, the ratio of the reference frequency to the frequency is obtained, and the reference frequency having the largest obtained ratio is selected. 前記受信部により受信された前記検知情報から、該検知情報の周波数と異なる1以上の前記基準周波数に変換する第2前処理部と、
前記第2前処理部により変換された情報を用いて、前記検知情報に対応する前記コンテキスト情報に対応するモデルを生成する生成部と、
をさらに備えた請求項1〜5のいずれか一項に記載の診断装置。
A second preprocessing unit that converts the detection information received by the reception unit into one or more reference frequencies different from the frequency of the detection information;
A generation unit that generates a model corresponding to the context information corresponding to the detection information using the information converted by the second preprocessing unit;
The diagnostic device according to any one of claims 1 to 5, further comprising:
前記受信部によりモデルが定められていないコンテキスト情報が受信された場合に、前記コンテキスト情報に対応する前記検知情報を用いて、モデルが定められていないコンテキスト情報に対するモデルを生成する生成部を、さらに備えた請求項1〜5のいずれか一項に記載の診断装置。   A generation unit configured to generate a model for context information for which no model is determined, using the detection information corresponding to the context information when context information for which the model is not determined is received by the reception unit; The diagnostic apparatus as described in any one of Claims 1-5 provided. 前記第1前処理部は、前記受信部により受信されたコンテキスト情報から、該受信部により受信された前記検知情報の周波数を得る請求項1〜7のいずれか一項に記載の診断装置。   The diagnostic device according to any one of claims 1 to 7, wherein the first preprocessing unit obtains the frequency of the detection information received by the receiving unit from the context information received by the receiving unit. 前記第1前処理部は、前記受信部により受信された前記検知情報を解析して、該検知情報の周波数を得る請求項1〜7のいずれか一項に記載の診断装置。   The diagnostic device according to any one of claims 1 to 7, wherein the first preprocessing unit analyzes the detection information received by the reception unit to obtain a frequency of the detection information. 前記受信部により前記コンテキスト情報が受信されない場合、該コンテキスト情報を入力する操作部を、さらに備えた請求項1〜9のいずれか一項に記載の診断装置。   The diagnostic apparatus according to claim 1, further comprising an operation unit that inputs the context information when the context information is not received by the receiving unit. 前記判定部は、前記コンテキスト情報で特定される期間のうち、判定に用いる期間を、前記受信部により受信された前記検知情報に基づいて決定し、決定した期間に対応する前記検知情報と、前記モデルとを用いて、前記対象装置の動作が正常であるか否かを判定する請求項1〜10のいずれか一項に記載の診断装置。   The determination unit determines a period to be used for determination among periods specified by the context information based on the detection information received by the reception unit, and the detection information corresponding to the determined period, The diagnostic device according to claim 1, wherein a model is used to determine whether the operation of the target device is normal. 前記判定部は、前記受信部により受信された前記検知情報の前記モデルに対する尤度を求め、前記尤度、および、該尤度の変動を示す値のうち少なくとも一方と、閾値と、を比較することにより、前記対象装置の動作が正常であるか否かを判定する請求項1〜11のいずれか一項に記載の診断装置。   The determination unit obtains a likelihood of the detection information received by the reception unit with respect to the model, and compares at least one of the likelihood and a value indicating variation in the likelihood with a threshold value. The diagnostic device according to any one of claims 1 to 11, wherein whether or not the operation of the target device is normal is determined. 請求項1〜12のいずれか一項に記載の診断装置と、
前記物理量を前記検知情報として検知する検知部と、
を備えた診断システム。
The diagnostic device according to any one of claims 1 to 12,
A detection unit that detects the physical quantity as the detection information;
Diagnostic system with
対象装置の動作の種類ごとに定められた複数のコンテキスト情報のうち現在の動作に対応するコンテキスト情報と、前記対象装置の動作に応じて変化する周波数成分を含む物理量の検知情報と、を前記対象装置から受信する受信ステップと、
受信した前記検知情報から、該検知情報の周波数を、予め設定された基準周波数に変換して変換情報を得る前処理ステップと、
変換した前記変換情報と、1以上の前記コンテキスト情報それぞれに対して定められる1以上のモデルのうち受信した前記コンテキスト情報に対応するモデルと、を用いて、前記対象装置の動作が正常であるか否かを判定する判定ステップと、
を有する診断方法。
Of the plurality of context information determined for each type of operation of the target device, the context information corresponding to the current operation, and physical quantity detection information including a frequency component that changes according to the operation of the target device, A receiving step for receiving from the device;
From the received detection information, a preprocessing step of converting the frequency of the detection information to a preset reference frequency to obtain conversion information;
Whether the operation of the target device is normal using the converted conversion information and a model corresponding to the received context information among one or more models determined for each of the one or more context information A determination step for determining whether or not;
A diagnostic method comprising:
コンピュータを、
対象装置の動作の種類ごとに定められた複数のコンテキスト情報のうち現在の動作に対応するコンテキスト情報と、前記対象装置の動作に応じて変化する周波数成分を含む物理量の検知情報と、を前記対象装置から受信する受信部と、
前記受信部により受信された前記検知情報から、該検知情報の周波数を、予め設定された基準周波数に変換して変換情報を得る第1前処理部と、
前記第1前処理部により変換された前記変換情報と、1以上の前記コンテキスト情報それぞれに対して定められる1以上のモデルのうち前記受信部により受信された前記コンテキスト情報に対応するモデルと、を用いて、前記対象装置の動作が正常であるか否かを判定する判定部と、
して機能させるためのプログラム。
Computer
Of the plurality of context information determined for each type of operation of the target device, the context information corresponding to the current operation, and physical quantity detection information including a frequency component that changes according to the operation of the target device, A receiver for receiving from the device;
A first preprocessing unit that obtains conversion information by converting the frequency of the detection information from the detection information received by the reception unit into a preset reference frequency;
The conversion information converted by the first preprocessing unit and a model corresponding to the context information received by the receiving unit among one or more models determined for each of the one or more context information items, A determination unit that determines whether the operation of the target device is normal;
Program to make it function.
JP2016135372A 2016-07-07 2016-07-07 Diagnostic equipment, diagnostic systems, diagnostic methods and programs Active JP6790520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016135372A JP6790520B2 (en) 2016-07-07 2016-07-07 Diagnostic equipment, diagnostic systems, diagnostic methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016135372A JP6790520B2 (en) 2016-07-07 2016-07-07 Diagnostic equipment, diagnostic systems, diagnostic methods and programs

Publications (2)

Publication Number Publication Date
JP2018004566A true JP2018004566A (en) 2018-01-11
JP6790520B2 JP6790520B2 (en) 2020-11-25

Family

ID=60949210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016135372A Active JP6790520B2 (en) 2016-07-07 2016-07-07 Diagnostic equipment, diagnostic systems, diagnostic methods and programs

Country Status (1)

Country Link
JP (1) JP6790520B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022145537A (en) * 2021-03-19 2022-10-04 株式会社リコー Determination device, determination method, program, and processing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0798268A (en) * 1992-11-30 1995-04-11 Toyota Central Res & Dev Lab Inc Dynamic system diagnostic and tire pneumatic-pressure diagnostic device and device for detecting fluctuation of car body weight using the diagnostic device
JP2007057326A (en) * 2005-08-23 2007-03-08 Mitsubishi Electric Corp Equipment diagnostic method and device, and program
JP2011145295A (en) * 2010-01-15 2011-07-28 Fluke Corp Apparatus and method for diagnosing vibration measurement and rotating machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0798268A (en) * 1992-11-30 1995-04-11 Toyota Central Res & Dev Lab Inc Dynamic system diagnostic and tire pneumatic-pressure diagnostic device and device for detecting fluctuation of car body weight using the diagnostic device
JP2007057326A (en) * 2005-08-23 2007-03-08 Mitsubishi Electric Corp Equipment diagnostic method and device, and program
JP2011145295A (en) * 2010-01-15 2011-07-28 Fluke Corp Apparatus and method for diagnosing vibration measurement and rotating machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022145537A (en) * 2021-03-19 2022-10-04 株式会社リコー Determination device, determination method, program, and processing system

Also Published As

Publication number Publication date
JP6790520B2 (en) 2020-11-25

Similar Documents

Publication Publication Date Title
JP7338743B2 (en) Diagnostic device, diagnostic method, program and diagnostic system
JP6156566B2 (en) Diagnostic device, diagnostic method, program, and diagnostic system
JP7085370B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP6840953B2 (en) Diagnostic device, learning device and diagnostic system
JP7127304B2 (en) Diagnostic device, diagnostic method and program
US10739764B2 (en) Diagnostic apparatus, diagnostic system, diagnostic method, and recording medium
WO2018169069A1 (en) Diagnosis device, diagnosis system, diagnosis method, and program
JP7151108B2 (en) Information processing device, information processing method and program
JP7091743B2 (en) Information processing equipment, information processing methods, programs, and mechanical equipment
JP2017205821A (en) Information processor, information processing method, information processing program, and information processing system
JP6705315B2 (en) Diagnostic device, diagnostic system, diagnostic method and program
CN114216640A (en) Method, apparatus and medium for detecting fault status of industrial equipment
JP6939053B2 (en) Diagnostic equipment, programs and diagnostic systems
CN114117689B (en) Method, system, terminal device and storage medium for preventing production resonance
JP2019159759A (en) Processing section determination device, processing section determination method, program, and diagnostic device
JP2020154712A (en) System, arithmetic device and program
JP6790520B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP6822242B2 (en) Diagnostic equipment, diagnostic systems, diagnostic methods and programs
JP2018156486A (en) Information providing system, information providing method, and program
US20230091235A1 (en) Information processing apparatus and information processing method
EP4060442A1 (en) Diagnostic apparatus, system, diagnostic method, and carrier means
JP2021015445A (en) Abnormality detector and information processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200818

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: 20201006

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201019

R151 Written notification of patent or utility model registration

Ref document number: 6790520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151