[go: up one dir, main page]

JP2018206362A - Process analysis apparatus, process analysis method, and process analysis program - Google Patents

Process analysis apparatus, process analysis method, and process analysis program Download PDF

Info

Publication number
JP2018206362A
JP2018206362A JP2018046755A JP2018046755A JP2018206362A JP 2018206362 A JP2018206362 A JP 2018206362A JP 2018046755 A JP2018046755 A JP 2018046755A JP 2018046755 A JP2018046755 A JP 2018046755A JP 2018206362 A JP2018206362 A JP 2018206362A
Authority
JP
Japan
Prior art keywords
mechanisms
relationship
control program
production line
process analysis
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
JP2018046755A
Other languages
Japanese (ja)
Other versions
JP6551565B2 (en
Inventor
玲子 服部
Reiko Hattori
玲子 服部
雄也 太田
Yuya Ota
雄也 太田
俊文 峯本
Toshifumi Minemoto
俊文 峯本
佑紀 広橋
Yuki Hirohashi
佑紀 広橋
浩輔 鶴田
Kosuke Tsuruta
浩輔 鶴田
真輔 川ノ上
Shinsuke Kawanokami
真輔 川ノ上
白水 岳
Takeshi Shiromizu
岳 白水
泰明 阿部
Yasuaki Abe
泰明 阿部
晶 仲島
Akira Nakajima
晶 仲島
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to EP18171798.4A priority Critical patent/EP3410245A1/en
Priority to CN201810448907.2A priority patent/CN108983710B/en
Priority to US15/986,103 priority patent/US20180348728A1/en
Publication of JP2018206362A publication Critical patent/JP2018206362A/en
Application granted granted Critical
Publication of JP6551565B2 publication Critical patent/JP6551565B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • General Factory Administration (AREA)

Abstract

【課題】製造ラインを構成する複数の機構間の因果関係を正確にモデル化する技術を提供する。【解決手段】本発明の一側面に係る工程解析装置は、製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得する第1取得部と、前記製造ラインの動作を制御するための制御プログラムを取得する第2取得部と、取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定する第1解析部と、取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定する第2解析部と、それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定する関係特定部と、を備える。【選択図】図1PROBLEM TO BE SOLVED: To provide a technique for accurately modeling a causal relationship between a plurality of mechanisms constituting a manufacturing line. A process analysis apparatus according to one aspect of the present invention is for controlling a first acquisition unit that acquires a plurality of status data regarding the status of a plurality of mechanisms that configure a manufacturing line, and an operation of the manufacturing line. A second acquisition unit that acquires a control program of the above, a first analysis unit that specifies a connection state between the plurality of mechanisms by analyzing the acquired plurality of state data, and analyzes the acquired control program. By doing so, the causal effect between the plurality of mechanisms in the process performed on the manufacturing line based on the second analysis unit that specifies the order relationship of the plurality of mechanisms, and the connection state and the order relationship that are specified respectively. A relationship specifying unit that specifies a relationship. [Selection diagram] Figure 1

Description

本発明は、工程解析装置、工程解析方法、及び工程解析プログラムに関する。   The present invention relates to a process analysis apparatus, a process analysis method, and a process analysis program.

工場等における製造ラインは、コンベア、ロボットアーム等の複数の機構で構成されている。この製造ラインのいずれかの機構で異常が発生すると、製品の製造が停止してしまい、大きな損害をもたらす可能性がある。そのため、工場等では、保全員が、製造ラインを定期的に巡回して、異常の発生又はその予兆の有無の確認を行っている。   A production line in a factory or the like is composed of a plurality of mechanisms such as a conveyor and a robot arm. If an abnormality occurs in any of the mechanisms of this production line, the production of the product is stopped, which may cause great damage. For this reason, in factories and the like, maintenance staff periodically visit the production line to check whether an abnormality has occurred or whether there is a precursor.

製造ライン内で異常の発生又はその予兆を検知したとき、異常が検知された機構よりも前の機構に真の異常の原因が存在する場合がある。したがって、真の異常の原因を特定するためには、製造ライン内の各機構の因果関係を把握することが重要である。しかしながら、製造ラインを構成する機構の数が多くなり、かつ各機構の動作条件が日々変化し得ることから、全ての機構の因果関係を正確に把握するのは困難である。   When an occurrence or a sign of an abnormality is detected in the production line, there may be a true cause of the abnormality in a mechanism before the mechanism in which the abnormality is detected. Therefore, in order to identify the cause of the true abnormality, it is important to understand the causal relationship of each mechanism in the production line. However, since the number of mechanisms constituting the production line increases and the operating conditions of each mechanism can change from day to day, it is difficult to accurately grasp the causal relationship of all the mechanisms.

そのため、従来、熟練の保全員が、自身の経験及び勘に基づいて、製造ラインを構成する複数の機構間の因果関係を把握して、製造ライン内で生じた異常又はその予兆の検知を行っていた。このような保全業務を非熟練の保全員が行うことができるようにするため、製造ラインを構成する複数の機構の因果関係を可視化する技術の開発が望まれていた。   For this reason, conventionally, a skilled maintenance worker grasps the causal relationship between a plurality of mechanisms constituting a production line based on his / her experience and intuition, and detects an abnormality occurring in the production line or its precursor. It was. In order to allow unskilled maintenance personnel to perform such maintenance work, it has been desired to develop a technique for visualizing the causal relationship between a plurality of mechanisms constituting the production line.

そこで、特許文献1では、複数の製造装置と制御装置との間でやりとりされる信号を解析することで、製造ライン内の製造装置の関係をモデル化する方法が提案されている。具体的には、取得される複数の信号から特徴量を算出し、かつ当該複数の信号の発生順序を抽出する。そして、特徴量間の相関と信号の発生順序とに基づいて、信号間の因果構造を作成する。これによって、特許文献1により提案されている方法では、製造ライン内の製造装置の関係をモデル化することができる。   Therefore, Patent Document 1 proposes a method of modeling a relationship between manufacturing apparatuses in a manufacturing line by analyzing signals exchanged between a plurality of manufacturing apparatuses and a control apparatus. Specifically, feature quantities are calculated from a plurality of acquired signals, and the generation order of the plurality of signals is extracted. Then, a causal structure between the signals is created based on the correlation between the feature quantities and the signal generation order. Thereby, in the method proposed by Patent Document 1, the relationship between the manufacturing apparatuses in the manufacturing line can be modeled.

特開2009−064407号公報JP 2009-064407 A

上記特許文献1の方法によれば、製造ラインを構成する複数の機構間の因果関係を自動的にモデル化することができる。しかしながら、製造ラインは同じ動作を繰り返すため、信号の発生順序から、各機構の相対的な順序関係を特定することはできるものの、どの信号(機構)が動作の起点であるかを特定するのは困難であった。例えば、製造ラインが、機構A1、機構A2、及び機構A3の3つの機構を備え、機構A1、機構A2、及び機構A3の順で動作している場合に、従来の方法では、機構A1が動作の起点であることを特定するのが困難であった。そのため、特許文献1の方法では、起点となる信号を取り違えてしまい、複数の機構の因果関係を正確にモデル化することができない可能性があった。   According to the method of Patent Document 1, a causal relationship between a plurality of mechanisms constituting a production line can be automatically modeled. However, since the production line repeats the same operation, it is possible to specify the relative order relationship of each mechanism from the signal generation order, but to identify which signal (mechanism) is the starting point of the operation. It was difficult. For example, when the production line includes three mechanisms A1, A2, and A3 and operates in the order of mechanism A1, mechanism A2, and mechanism A3, the mechanism A1 operates in the conventional method. It was difficult to identify the starting point of Therefore, in the method of Patent Document 1, there is a possibility that signals as starting points are mistaken and the causal relationship of a plurality of mechanisms cannot be accurately modeled.

本発明は、一側面では、このような点を考慮してなされたものであり、その目的は、製造ラインを構成する複数の機構間の因果関係を正確にモデル化する技術を提供することである。   In one aspect, the present invention has been made in consideration of such points, and an object of the present invention is to provide a technique for accurately modeling a causal relationship between a plurality of mechanisms constituting a production line. is there.

本発明は、上述した課題を解決するために、以下の構成を採用する。   The present invention employs the following configuration in order to solve the above-described problems.

すなわち、本発明の一側面に係る工程解析装置は、製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得する第1取得部と、前記製造ラインの動作を制御するための制御プログラムを取得する第2取得部と、取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定する第1解析部と、取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定する第2解析部と、それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定する関係特定部と、を備える。   That is, the process analysis apparatus according to one aspect of the present invention includes a first acquisition unit that acquires a plurality of state data related to the states of a plurality of mechanisms that constitute a production line, and a control for controlling the operation of the production line. A second acquisition unit that acquires a program; a first analysis unit that identifies a connection state between the plurality of mechanisms by analyzing the acquired state data; and an analysis of the acquired control program Based on the second analysis unit that identifies the order relationship of the plurality of mechanisms, and the connection state and the order relationship that are identified respectively, the causal relationship between the plurality of mechanisms in the process that is performed on the production line is determined. A relationship specifying unit for specifying.

上記構成では、製造ラインを構成する複数の機構の状態に関する複数件の状態データに基づいて、当該複数の機構間の接続状態を特定する。また、製造ラインを制御するための制御プログラムに基づいて、複数の機構間の順序関係を特定する。そして、それぞれで特定した接続状態及び順序関係を統合することによって、製造ラインで実施される工程における複数の機構間の因果関係を特定する。ここで、制御プログラムは、各機構の動作を規定する。そのため、制御プログラムを利用することで、各機構の順序関係を適切に特定することができる。したがって、上記構成によれば、製造ラインを構成する複数の機構間の因果関係を正確にモデル化することができる。   In the above configuration, the connection state between the plurality of mechanisms is specified based on a plurality of state data regarding the states of the plurality of mechanisms constituting the production line. Further, an order relationship between a plurality of mechanisms is specified based on a control program for controlling the production line. And the causal relationship between several mechanisms in the process implemented in a manufacturing line is specified by integrating the connection state and order relationship which were each identified. Here, the control program defines the operation of each mechanism. Therefore, the order relation of each mechanism can be specified appropriately by using the control program. Therefore, according to the said structure, the causal relationship between the some mechanism which comprises a manufacturing line can be modeled correctly.

なお、製造ラインは、何らかの物を製造可能であればよく、複数の装置で構成されてもよいし、包装機等の1つの装置で構成されてもよい。また、各機構は、製造工程の何らかの処理を実施可能であればよい。各機構は、例えば、コンベア、ロボットアーム、サーボモータ、シリンダ(成形機等)、吸着パッド、カッター装置、シール装置等であってよい。また、各機構は、例えば、印刷機、実装機、リフロー炉、基板検査装置等の複合装置であってもよい。更に、各機構は、上記のような何らかの物理的な動作を伴う装置の他に、例えば、各種センサにより何らかの情報を検知する装置、各種センサからデータを取得する装置、取得したデータから何らかの情報を検知する装置、取得したデータを情報処理する装置等の内部処理を行う装置を含んでもよい。1つの機構は、1又は複数の装置で構成されてもよいし、装置の一部で構成されてもよい。1つの機構が装置の一部で構成される場合、複数の機構は、1つの装置で構成されてもよい。また、同一の装置が複数の処理を実施する場合には、それぞれを別の機構とみなしてもよい。例えば、同一の装置が第1の処理と第2の処理とを実施する場合に、第1の処理をする当該装置を第1の機構とみなし、第2の処理をする当該装置を第2の機構とみなしてもよい。   In addition, the manufacturing line should just be able to manufacture a certain thing, may be comprised with a some apparatus, and may be comprised with one apparatus, such as a packaging machine. Moreover, each mechanism should just be able to implement a certain process of a manufacturing process. Each mechanism may be, for example, a conveyor, a robot arm, a servo motor, a cylinder (such as a molding machine), a suction pad, a cutter device, and a seal device. Moreover, each mechanism may be a composite apparatus such as a printing machine, a mounting machine, a reflow furnace, and a board inspection apparatus. Furthermore, each mechanism is not limited to a device with some physical operation as described above, for example, a device that detects some information by various sensors, a device that acquires data from various sensors, and some information from the acquired data. A device that performs internal processing such as a device that detects data and a device that processes acquired data may be included. One mechanism may be composed of one or a plurality of devices, or may be composed of a part of the device. When one mechanism is configured by a part of the apparatus, the plurality of mechanisms may be configured by one apparatus. When the same apparatus performs a plurality of processes, each may be regarded as a separate mechanism. For example, when the same apparatus performs the first process and the second process, the apparatus that performs the first process is regarded as the first mechanism, and the apparatus that performs the second process is the second process. It may be regarded as a mechanism.

状態データは、製造ラインを構成する各機構の状態に関するあらゆる種類のデータを含んでよい。状態データは、1又は複数のセンサ、カメラ等の計測装置から得られるデータで構成されてもよい。また、状態データは、計測装置から得られるデータそのままであってもよいし、画像データから取得される位置データ等のように計測装置から得られたデータに何らかの処理を適用することで得られるデータであってもよい。   The state data may include any kind of data regarding the state of each mechanism constituting the production line. The state data may be composed of data obtained from a measuring device such as one or a plurality of sensors and cameras. Further, the status data may be data obtained from the measuring device as it is, or data obtained by applying some processing to data obtained from the measuring device such as position data obtained from image data. It may be.

制御プログラムは、製造ラインを構成する各機構の動作を制御するあらゆる種類のプログラムを含んでよい。制御プログラムは、1件のプログラムで構成されてもよいし、複数件のプログラムで構成されてもよい。   The control program may include any type of program that controls the operation of each mechanism constituting the production line. The control program may be composed of one program or a plurality of programs.

接続状態の表現方法は、複数の機構間のつながりを示し得るものであれば、特に限定されなくてもよく、実施の形態に応じて適宜決定されてよい。接続状態は、例えば、関係の強さ(例えば、相関関係を示す相関係数)、関係の有無、関係の変化等によって表現されてよい。なお、関係の変化は、例えば、関係の強さ又は有無で表現された関係性の時系列での差分(変化量)で示されてよい。   The connection state expression method is not particularly limited as long as it can indicate a connection between a plurality of mechanisms, and may be appropriately determined according to the embodiment. The connection state may be expressed by, for example, the strength of the relationship (for example, the correlation coefficient indicating the correlation), the presence / absence of the relationship, the change in the relationship, and the like. Note that the change in the relationship may be indicated by, for example, a time-series difference (change amount) of the relationship expressed by the strength or presence of the relationship.

上記一側面に係る工程解析装置において、前記関係特定部は、特定した前記複数の機構間の因果関係を示す有向グラフ情報を出力してもよい。当該構成によれば、出力される有向グラフ情報によって、非熟練の保全員でも、製造ラインを構成する複数の機構間の因果関係を容易に把握することができるようになる。   In the process analysis apparatus according to the one aspect, the relationship specifying unit may output directed graph information indicating a causal relationship between the specified mechanisms. According to this configuration, even the unskilled maintenance staff can easily grasp the causal relationship between the plurality of mechanisms constituting the production line by the output directed graph information.

上記一側面に係る工程解析装置において、前記第1解析部は、特定した前記複数の機構間の接続状態を示す無向グラフ情報を構築してよく、前記関係特定部は、前記無向グラフ情報に前記順序関係を適用することにより、前記有向グラフ情報を作成してもよい。当該構成によれば、複数の機構間の因果関係を示す有向グラフ情報を適切に作成することができる。   In the process analysis apparatus according to the above aspect, the first analysis unit may construct undirected graph information indicating a connection state between the plurality of specified mechanisms, and the relationship specifying unit may include the undirected graph information. The directed graph information may be created by applying the order relation to the. According to the said structure, the directed graph information which shows the causal relationship between several mechanisms can be produced appropriately.

上記一側面に係る工程解析装置において、前記第1解析部は、(1)前記各件の状態データから特徴量を算出し、(2)当該各特徴量間の相関係数又は偏相関係数を算出する、ことによって、前記複数の機構間の接続状態を特定してもよい。当該構成によれば、複数の機構間の接続状態を適切に特定することができる。   In the process analysis apparatus according to the above aspect, the first analysis unit (1) calculates a feature amount from the state data of each case, and (2) a correlation coefficient or a partial correlation coefficient between the feature amounts. The connection state between the plurality of mechanisms may be specified by calculating. According to the said structure, the connection state between several mechanisms can be specified appropriately.

上記一側面に係る工程解析装置において、前記第2解析部は、前記制御プログラムを利用して前記製造ラインを稼働させることで得られるログデータに基づいて、前記複数の機構の順序関係を特定してもよい。当該構成によれば、複数の機構間の順序関係を適切に特定することができる。   In the process analysis apparatus according to the one aspect, the second analysis unit specifies an order relation of the plurality of mechanisms based on log data obtained by operating the manufacturing line using the control program. May be. According to this configuration, it is possible to appropriately specify the order relationship between a plurality of mechanisms.

上記一側面に係る工程解析装置において、前記第2解析部は、(1)前記制御プログラムから抽象構文木を構築し、(2)構築した当該抽象構文木から前記各機構に関する変数と条件分岐とを抽出し、(3)前記制御プログラムを利用して前記製造ラインを正常に稼働させたときのログデータを取得し、(4)取得した前記ログデータを参照して、前記条件分岐の実行結果に基づいた、前記各変数の順番付けを行う、ことによって、前記複数の機構の順序関係を特定してもよい。当該構成によれば、複数の機構間の順序関係を適切に特定することができる。   In the process analysis apparatus according to the above aspect, the second analysis unit (1) constructs an abstract syntax tree from the control program, and (2) uses variables and conditional branches related to the mechanisms from the constructed abstract syntax tree. (3) Obtain log data when the production line is operated normally using the control program, and (4) Refer to the obtained log data and execute the conditional branch execution result. The order relation of the plurality of mechanisms may be specified by ordering the variables based on the above. According to this configuration, it is possible to appropriately specify the order relationship between a plurality of mechanisms.

上記一側面に係る工程解析装置において、前記第2解析部は、(1)前記制御プログラムから抽象構文木を構築し、(2)構築した当該抽象構文木から前記各機構に関する変数を抽出し、(3)構築した当該抽象構文木に基づいて、前記制御プログラムの処理における前記変数の依存関係を特定し、(4)特定した依存関係に基づいて、前記複数の機構の順序関係を特定してもよい。当該構成によれば、複数の機構間の順序関係を適切に特定することができる。   In the process analysis apparatus according to the above aspect, the second analysis unit (1) constructs an abstract syntax tree from the control program, (2) extracts variables related to the mechanisms from the constructed abstract syntax tree, (3) Based on the constructed abstract syntax tree, the dependency relationship of the variables in the processing of the control program is specified. (4) Based on the specified dependency relationship, the order relationship of the plurality of mechanisms is specified. Also good. According to this configuration, it is possible to appropriately specify the order relationship between a plurality of mechanisms.

上記一側面に係る工程解析装置において、前記(3)構築した当該抽象構文木に基づいて、前記制御プログラムの処理における前記変数の依存関係を特定するステップは、構築した当該抽象構文木から制御フローグラフを生成するステップと、生成した当該制御フローグラフに基づいて、抽出した前記変数の依存関係を特定するステップと、を含んでもよい。当該構成によれば、複数の機構間の順序関係を適切に特定することができる。   In the process analysis apparatus according to the above aspect, the step of (3) identifying the dependency relationship of the variables in the processing of the control program based on the constructed abstract syntax tree includes a control flow from the constructed abstract syntax tree. You may include the step which produces | generates a graph, and the step which specifies the dependence relationship of the extracted said variable based on the said produced | generated control flow graph. According to this configuration, it is possible to appropriately specify the order relationship between a plurality of mechanisms.

上記一側面に係る工程解析装置において、前記各件の状態データは、トルク、速度、加速度、温度、電流、電圧、空圧、圧力、流量、位置、寸法(高さ、長さ、幅)及び面積の少なくともいずれかを示すデータであってよい。また、前記制御プログラムは、ラダー・ダイアグラム言語、ファンクション・ブロック・ダイアグラム言語、ストラクチャード・テキスト言語、インストラクション・リスト言語、及びシーケンシャル・ファンクション・チャート言語、C言語の少なくともいずれかを利用して記述されていてもよい。当該構成によれば、様々な種類のデータ及びプログラムを取り扱うことのできる工程解析装置を提供することができる。   In the process analysis apparatus according to the above aspect, the state data of each case includes torque, speed, acceleration, temperature, current, voltage, air pressure, pressure, flow rate, position, dimensions (height, length, width) and It may be data indicating at least one of the areas. The control program is described using at least one of a ladder diagram language, a function block diagram language, a structured text language, an instruction list language, a sequential function chart language, and a C language. May be. According to the said structure, the process-analysis apparatus which can handle various kinds of data and programs can be provided.

上記一側面に係る工程解析装置において、前記第1解析部は、取得した前記複数件の状態データを統計的に解析することにより、前記複数の機構間の接続状態を特定してもよい。当該構成によれば、複数の機構間の接続状態を適切に特定することができる。   In the process analysis apparatus according to the above aspect, the first analysis unit may identify connection states between the plurality of mechanisms by statistically analyzing the acquired plurality of state data. According to the said structure, the connection state between several mechanisms can be specified appropriately.

上記一側面に係る工程解析装置において、前記第1解析部は、前記接続状態として、前記複数の機構間の関係の強さを特定してもよい。当該構成によれば、複数の機構間の接続状態を適切に特定することができる。   In the process analysis apparatus according to the above aspect, the first analysis unit may specify the strength of the relationship between the plurality of mechanisms as the connection state. According to the said structure, the connection state between several mechanisms can be specified appropriately.

上記一側面に係る工程解析装置は、前記複数の機構それぞれに含まれる装置の相対的な位置関係及び前記装置が前記工程に関与する順序の少なくとも一方に関する機構データを取得する第3取得部と、取得した前記機構データを解析し、前記製造ラインで実施される前記工程をモデル化することで、前記複数の機構の順序関係を示す工程モデルを特定する第3解析部と、を更に備えてもよい。そして、前記関係特定部は、それぞれ特定した前記接続状態、前記順序関係、及び前記工程モデルに基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定してもよい。当該構成によれば、特定された工程モデルの知見を更に利用することで、製造ラインを構成する複数の機構間の因果関係をより正確にモデル化することができる。   The process analysis apparatus according to the one aspect includes a third acquisition unit that acquires mechanism data regarding at least one of a relative positional relationship of apparatuses included in each of the plurality of mechanisms and an order in which the apparatuses are involved in the process; A third analysis unit that analyzes the acquired mechanism data and identifies the process model indicating the order relationship of the plurality of mechanisms by modeling the process performed in the manufacturing line; Good. And the said relationship specific | specification part may specify the causal relationship between these several mechanisms in the process implemented in the said manufacturing line based on the said connection state, the said order relationship, and the said process model which were each identified. . According to the said structure, the causal relationship between the some mechanism which comprises a manufacturing line can be modeled more correctly by further utilizing the knowledge of the specified process model.

なお、上記各形態に係る工程解析装置の別の形態として、以上の各構成を実現する情報処理方法であってもよいし、プログラムであってもよいし、このようなプログラムを記録したコンピュータその他装置、機械等が読み取り可能な記憶媒体であってもよい。ここで、コンピュータ等が読み取り可能な記録媒体とは、プログラム等の情報を、電気的、磁気的、光学的、機械的、又は化学的作用によって蓄積する媒体である。   In addition, as another form of the process analysis apparatus according to each of the above embodiments, an information processing method that realizes each of the above configurations, a program, a computer in which such a program is recorded, or the like It may be a storage medium that can be read by an apparatus, a machine, or the like. Here, the computer-readable recording medium is a medium that stores information such as programs by electrical, magnetic, optical, mechanical, or chemical action.

例えば、本発明の一側面に係る工程解析方法は、コンピュータが、製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得するステップと、前記製造ラインの動作を制御するための制御プログラムを取得するステップと、取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定するステップと、取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定するステップと、それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定するステップと、を実行する情報処理方法である。   For example, in the process analysis method according to one aspect of the present invention, a computer acquires a plurality of state data relating to states of a plurality of mechanisms constituting the production line, and a control for controlling the operation of the production line. A step of acquiring a program; a step of identifying a connection state between the plurality of mechanisms by analyzing the acquired plurality of state data; and a plurality of mechanisms by analyzing the acquired control program And a step of identifying a causal relationship between the plurality of mechanisms in a process performed on the production line based on the identified connection state and the ordered relationship, respectively. It is a processing method.

また、例えば、本発明の一側面に係る工程解析プログラムは、コンピュータに、製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得するステップと、前記製造ラインの動作を制御するための制御プログラムを取得するステップと、取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定するステップと、取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定するステップと、それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定するステップと、を実行させるためのプログラムである。   In addition, for example, the process analysis program according to one aspect of the present invention is configured to control the operation of the manufacturing line and the step of acquiring a plurality of pieces of state data related to the states of a plurality of mechanisms constituting the manufacturing line in a computer. Acquiring the control program, identifying the connection state between the plurality of mechanisms by analyzing the acquired state data, and analyzing the acquired control program And a step of identifying a causal relationship between the plurality of mechanisms in a process performed on the production line based on the identified connection state and the order relationship, respectively. It is a program to make it.

本発明によれば、製造ラインを構成する複数の機構間の因果関係を正確にモデル化することができる。   According to the present invention, a causal relationship between a plurality of mechanisms constituting a production line can be accurately modeled.

図1は、実施の形態に係る工程解析装置の適用場面の一例を模式的に例示する。FIG. 1 schematically illustrates an example of an application scene of the process analysis apparatus according to the embodiment. 図2は、実施の形態に係る工程解析装置のハードウェア構成の一例を模式的に例示する。FIG. 2 schematically illustrates an example of a hardware configuration of the process analysis apparatus according to the embodiment. 図3は、実施の形態に係る制御装置(PLC)のハードウェア構成の一例を模式的に例示する。FIG. 3 schematically illustrates an example of a hardware configuration of the control device (PLC) according to the embodiment. 図4は、実施の形態に係る工程解析装置のソフトウェア構成の一例を模式的に例示する。FIG. 4 schematically illustrates an example of the software configuration of the process analysis apparatus according to the embodiment. 図5は、実施の形態に係る工程解析装置の処理手順の一例を例示する。FIG. 5 illustrates an example of a processing procedure of the process analysis apparatus according to the embodiment. 図6は、実施の形態に係る工程解析装置の状態データを解析する際の処理手順の一例を例示する。FIG. 6 illustrates an example of a processing procedure when analyzing the state data of the process analysis apparatus according to the embodiment. 図7は、状態データを解析する過程の一例を例示する。FIG. 7 illustrates an example of a process of analyzing state data. 図8は、制御信号とタクト時間との関係を例示する。FIG. 8 illustrates the relationship between the control signal and the tact time. 図9は、実施の形態に係る工程解析装置の制御プログラムを解析する際の処理手順の一例を例示する。FIG. 9 illustrates an example of a processing procedure when analyzing a control program of the process analysis apparatus according to the embodiment. 図10は、制御プログラムから構築される抽象構文木の一例を例示する。FIG. 10 illustrates an example of an abstract syntax tree constructed from a control program. 図11Aは、各変数の順序付けの初期化を行った場面の一例を例示する。FIG. 11A illustrates an example of a scene where the ordering of each variable is initialized. 図11Bは、制御プログラムの解析により特定される複数の機構間の順序関係の一例を例示する。FIG. 11B illustrates an example of an order relationship between a plurality of mechanisms specified by analysis of the control program. 図12は、複数の機構間の相関関係を示す有向グラフ情報の一例を例示する。FIG. 12 illustrates an example of directed graph information indicating a correlation between a plurality of mechanisms. 図13Aは、実施例に係る製造ラインの動作例を示す。FIG. 13A illustrates an operation example of the production line according to the embodiment. 図13Bは、実施例に係る製造ラインの動作例を示す。FIG. 13B shows an operation example of the production line according to the embodiment. 図13Cは、実施例に係る製造ラインの動作例を示す。FIG. 13C illustrates an operation example of the production line according to the embodiment. 図14は、実施例で得られた各特徴量の一部を示す。FIG. 14 shows a part of each feature amount obtained in the embodiment. 図15は、図14の各特徴量から算出された相関係数行列を示す。FIG. 15 shows a correlation coefficient matrix calculated from each feature quantity of FIG. 図16は、図15の相関係数行列から得られた無向グラフ情報を示す。FIG. 16 shows undirected graph information obtained from the correlation coefficient matrix of FIG. 図17は、実施例で利用した制御プログラムの一部を示す。FIG. 17 shows a part of the control program used in the embodiment. 図18Aは、図17の制御プログラムから構築される抽象構文木を示す。FIG. 18A shows an abstract syntax tree constructed from the control program of FIG. 図18Bは、図17の制御プログラムから構築される抽象構文木を示す。FIG. 18B shows an abstract syntax tree constructed from the control program of FIG. 図18Cは、図17の制御プログラムから構築される抽象構文木を示す。FIG. 18C shows an abstract syntax tree constructed from the control program of FIG. 図18Dは、図17の制御プログラムから構築される抽象構文木を示す。FIG. 18D shows an abstract syntax tree constructed from the control program of FIG. 図19は、実施例で得られた各変数の順序関係を示す。FIG. 19 shows the order relationship of each variable obtained in the example. 図20は、実施例で得られた有向グラフ情報を示す。FIG. 20 shows the directed graph information obtained in the example. 図21は、制御プログラムを解析する処理手順の一例を示すフローチャートである。FIG. 21 is a flowchart illustrating an example of a processing procedure for analyzing a control program. 図22は、制御フローグラフの一例を模式的に例示する。FIG. 22 schematically illustrates an example of a control flow graph. 図23は、制御フローグラフに基づいて各変数間の依存関係を特定する処理手順の一例を示すフローチャートである。FIG. 23 is a flowchart illustrating an example of a processing procedure for specifying the dependency relationship between the variables based on the control flow graph. 図24Aは、得られる変数グループの一例を模式的に例示する。FIG. 24A schematically illustrates an example of the obtained variable group. 図24Bは、ペアの変数グループ内の変数間の依存関係を模式的に例示する。FIG. 24B schematically illustrates the dependency relationship between the variables in the paired variable group. 図24Cは、各変数間の依存関係に基づいて特定された複数の機構間の順序関係の一例を模式的に例示する。FIG. 24C schematically illustrates an example of an order relationship between a plurality of mechanisms specified based on a dependency relationship between variables. 図25は、変形例に係る工程解析装置のソフトウェア構成の一例を模式的に例示する。FIG. 25 schematically illustrates an example of the software configuration of the process analysis apparatus according to the modification. 図26は、機構データを解析する過程の一例を例示する。FIG. 26 illustrates an example of a process for analyzing mechanism data.

以下、本発明の一側面に係る実施の形態(以下、「本実施形態」とも表記する)を、図面に基づいて説明する。ただし、以下で説明する本実施形態は、あらゆる点において本発明の例示に過ぎない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。つまり、本発明の実施にあたって、実施形態に応じた具体的構成が適宜採用されてもよい。なお、本実施形態において登場するデータを自然言語により説明しているが、より具体的には、コンピュータが認識可能な疑似言語、コマンド、パラメータ、マシン語等で指定される。   Hereinafter, an embodiment according to an aspect of the present invention (hereinafter, also referred to as “this embodiment”) will be described with reference to the drawings. However, this embodiment described below is only an illustration of the present invention in all respects. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. That is, in implementing the present invention, a specific configuration according to the embodiment may be adopted as appropriate. Although data appearing in this embodiment is described in a natural language, more specifically, it is specified by a pseudo language, a command, a parameter, a machine language, or the like that can be recognized by a computer.

§1 適用例
まず、図1を用いて、本発明が適用される場面の一例について説明する。図1は、本実施形態に係る工程解析装置1の利用場面の一例を模式的に例示する。
§1 Application Example First, an example of a scene to which the present invention is applied will be described with reference to FIG. FIG. 1 schematically illustrates an example of a usage scene of the process analysis apparatus 1 according to the present embodiment.

図1に示されるとおり、本実施形態に係る工程解析装置1は、製造ライン3を構成する複数の機構31の状態に関する複数件の状態データ222を取得する。製造ライン3は、何らかの物を製造可能であればよく、複数の装置で構成されてもよいし、包装機等の1つの装置で構成されてもよい。また、各機構31は、製造工程の何らかの処理を実施可能であればよく、1又は複数の装置で構成されてもよいし、装置の一部で構成されてもよい。1つの機構31が装置の一部で構成される場合、複数の機構31は、1つの装置で構成されてもよい。また、同一の装置が複数の処理を実施する場合には、それぞれを別の機構31とみなしてもよい。例えば、同一の装置が第1の処理と第2の処理とを実施する場合に、第1の処理をする当該装置を第1の機構31とみなし、第2の処理をする当該装置を第2の機構31とみなしてもよい。更に、状態データ222は、製造ライン3を構成する各機構31の状態に関するあらゆる種類のデータを含んでよい。   As shown in FIG. 1, the process analysis apparatus 1 according to the present embodiment acquires a plurality of pieces of state data 222 relating to the states of the plurality of mechanisms 31 that constitute the production line 3. The production line 3 only needs to be able to produce some product, and may be composed of a plurality of devices, or may be composed of one device such as a packaging machine. Moreover, each mechanism 31 should just be able to implement a certain process of a manufacturing process, may be comprised by 1 or several apparatus, and may be comprised by a part of apparatus. When one mechanism 31 is configured by a part of the apparatus, the plurality of mechanisms 31 may be configured by one apparatus. When the same apparatus performs a plurality of processes, each may be regarded as a separate mechanism 31. For example, when the same apparatus performs the first process and the second process, the apparatus that performs the first process is regarded as the first mechanism 31 and the apparatus that performs the second process is the second. The mechanism 31 may be considered. Further, the state data 222 may include any kind of data regarding the state of each mechanism 31 constituting the production line 3.

また、本実施形態に係る工程解析装置1は、製造ライン3の動作を制御するための制御プログラム221を取得する。制御プログラム221は、製造ライン3を構成する各機構31の動作を制御するあらゆる種類のプログラムを含んでよい。制御プログラム221は、1件のプログラムで構成されてもよいし、複数件のプログラムで構成されてもよい。なお、本実施形態では、製造ライン3の動作は、PLC(programmable logic controller)2によって制御される。そのため、工程解析装置1は、複数件の状態データ222及び制御プログラム221をPLC2から取得する。   Further, the process analysis apparatus 1 according to the present embodiment acquires a control program 221 for controlling the operation of the production line 3. The control program 221 may include any type of program that controls the operation of each mechanism 31 configuring the manufacturing line 3. The control program 221 may be composed of one program or a plurality of programs. In the present embodiment, the operation of the production line 3 is controlled by a PLC (programmable logic controller) 2. Therefore, the process analysis apparatus 1 acquires a plurality of state data 222 and a control program 221 from the PLC 2.

次に、本実施形態に係る工程解析装置1は、取得した複数件の状態データ222を統計的に解析することにより、製造ライン3内における複数の機構31間の関係の強さを特定する。関係の強さは、本発明の「接続状態」の一例である。また、本実施形態に係る工程解析装置1は、取得した制御プログラム221を解析することにより、製造ライン3内における複数の機構31の順序関係を特定する。そして、本実施形態に係る工程解析装置1は、それぞれ特定した関係の強さ及び順序関係に基づいて、製造ライン3で実行される工程における複数の機構31間の因果関係を特定する。   Next, the process analysis apparatus 1 according to the present embodiment identifies the strength of the relationship between the plurality of mechanisms 31 in the manufacturing line 3 by statistically analyzing the plurality of acquired state data 222. The strength of the relationship is an example of the “connection state” in the present invention. Further, the process analysis apparatus 1 according to the present embodiment identifies the order relationship of the plurality of mechanisms 31 in the production line 3 by analyzing the acquired control program 221. And the process analysis apparatus 1 which concerns on this embodiment specifies the causal relationship between the some mechanisms 31 in the process performed in the manufacturing line 3 based on the strength and order relationship of the specified relationship, respectively.

以上のとおり、本実施形態では、複数の機構31間の因果関係を解析する過程において、複数の機構31間の順序関係を特定するために、制御プログラム221を利用している。制御プログラム221は各機構31の動作を規定しているため、制御プログラム221を利用することで、各機構31の順序関係をより正確に特定可能である。したがって、本実施形態によれば、製造ライン3を構成する複数の機構31間の因果関係を正確にモデル化することができる。   As described above, in the present embodiment, the control program 221 is used to identify the order relationship between the plurality of mechanisms 31 in the process of analyzing the causal relationship between the plurality of mechanisms 31. Since the control program 221 defines the operation of each mechanism 31, the order relationship of each mechanism 31 can be specified more accurately by using the control program 221. Therefore, according to this embodiment, the causal relationship between the plurality of mechanisms 31 constituting the production line 3 can be accurately modeled.

§2 構成例
[ハードウェア]
<工程解析装置>
次に、図2を用いて、本実施形態に係る工程解析装置1のハードウェア構成の一例について説明する。図2は、本実施形態に係る工程解析装置1のハードウェア構成の一例を模式的に例示する。
§2 Configuration example [Hardware]
<Process analysis equipment>
Next, an example of the hardware configuration of the process analysis apparatus 1 according to the present embodiment will be described with reference to FIG. FIG. 2 schematically illustrates an example of a hardware configuration of the process analysis apparatus 1 according to the present embodiment.

図2に示されるとおり、本実施形態に係る工程解析装置1は、制御部11、記憶部12、通信インタフェース13、入力装置14、出力装置15、及びドライブ16が電気的に接続されたコンピュータである。なお、図2では、通信インタフェースを「通信I/F」と記載している。   As shown in FIG. 2, the process analysis apparatus 1 according to the present embodiment is a computer in which a control unit 11, a storage unit 12, a communication interface 13, an input device 14, an output device 15, and a drive 16 are electrically connected. is there. In FIG. 2, the communication interface is described as “communication I / F”.

制御部11は、ハードウェアプロセッサであるCPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)等を含み、情報処理に応じて各構成要素の制御を行う。記憶部12は、例えば、ハードディスクドライブ、ソリッドステートドライブ等の補助記憶装置であり、制御部11で実行される工程解析プログラム121等を記憶する。   The control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like, which are hardware processors, and controls each component according to information processing. The storage unit 12 is, for example, an auxiliary storage device such as a hard disk drive or a solid state drive, and stores a process analysis program 121 or the like executed by the control unit 11.

工程解析プログラム121は、複数件の状態データ222及び制御プログラム221を利用して、製造ライン3の実施する製造工程における複数の機構31間の因果関係を解析する後述の処理(図5)を工程解析装置1に実行させるためのプログラムである。詳細は後述する。   The process analysis program 121 uses a plurality of state data 222 and the control program 221 to perform a later-described process (FIG. 5) for analyzing the causal relationship between the mechanisms 31 in the manufacturing process performed by the manufacturing line 3. It is a program for causing the analysis apparatus 1 to execute. Details will be described later.

通信インタフェース13は、例えば、有線LAN(Local Area Network)モジュール、無線LANモジュール等であり、ネットワークを介した有線又は無線通信を行うためのインタフェースである。工程解析装置1は、この通信インタフェース13により、PLC2との間でネットワークを介したデータ通信を行うことができる。なお、ネットワークの種類は、例えば、インターネット、無線通信網、移動通信網、電話網、専用網等から適宜選択されてよい。   The communication interface 13 is, for example, a wired LAN (Local Area Network) module, a wireless LAN module, or the like, and is an interface for performing wired or wireless communication via a network. The process analysis apparatus 1 can perform data communication with the PLC 2 via the network by the communication interface 13. Note that the type of network may be appropriately selected from, for example, the Internet, a wireless communication network, a mobile communication network, a telephone network, and a dedicated network.

入力装置14は、例えば、マウス、キーボード等の入力を行うための装置である。また、出力装置15は、例えば、ディスプレイ、スピーカ等の出力を行うための装置である。オペレータは、入力装置14及び出力装置15を介して、工程解析装置1を操作することができる。   The input device 14 is a device for performing input using, for example, a mouse or a keyboard. The output device 15 is a device for outputting, for example, a display or a speaker. An operator can operate the process analysis apparatus 1 via the input device 14 and the output device 15.

ドライブ16は、例えば、CDドライブ、DVDドライブ等であり、記憶媒体91に記憶されたプログラムを読み込むためのドライブ装置である。ドライブ16の種類は、記憶媒体91の種類に応じて適宜選択されてよい。上記工程解析プログラム121は、この記憶媒体91に記憶されていてもよい。   The drive 16 is, for example, a CD drive, a DVD drive, or the like, and is a drive device for reading a program stored in the storage medium 91. The type of the drive 16 may be appropriately selected according to the type of the storage medium 91. The process analysis program 121 may be stored in the storage medium 91.

記憶媒体91は、コンピュータその他装置、機械等が記録されたプログラム等の情報を読み取り可能なように、当該プログラム等の情報を、電気的、磁気的、光学的、機械的又は化学的作用によって蓄積する媒体である。工程解析装置1は、この記憶媒体91から、上記工程解析プログラム121を取得してもよい。   The storage medium 91 stores information such as a program by an electrical, magnetic, optical, mechanical, or chemical action so that the information such as a program recorded by a computer or other device or machine can be read. It is a medium to do. The process analysis apparatus 1 may acquire the process analysis program 121 from the storage medium 91.

ここで、図2では、記憶媒体91の一例として、CD、DVD等のディスク型の記憶媒体を例示している。しかしながら、記憶媒体91の種類は、ディスク型に限定される訳ではなく、ディスク型以外であってもよい。ディスク型以外の記憶媒体として、例えば、フラッシュメモリ等の半導体メモリを挙げることができる。   Here, in FIG. 2, as an example of the storage medium 91, a disk-type storage medium such as a CD or a DVD is illustrated. However, the type of the storage medium 91 is not limited to the disk type and may be other than the disk type. Examples of the storage medium other than the disk type include a semiconductor memory such as a flash memory.

なお、工程解析装置1の具体的なハードウェア構成に関して、実施形態に応じて、適宜、構成要素の省略、置換及び追加が可能である。例えば、制御部11は、複数のプロセッサを含んでもよい。工程解析装置1は、複数台の情報処理装置で構成されてもよい。また、工程解析装置1は、提供されるサービス専用に設計された情報処理装置の他、汎用のサーバ装置、PC(Personal Computer)等であってもよい。   It should be noted that regarding the specific hardware configuration of the process analysis apparatus 1, components can be omitted, replaced, and added as appropriate according to the embodiment. For example, the control unit 11 may include a plurality of processors. The process analysis apparatus 1 may be composed of a plurality of information processing apparatuses. Further, the process analysis device 1 may be a general-purpose server device, a PC (Personal Computer), or the like, in addition to an information processing device designed exclusively for the provided service.

<PLC>
次に、図3を用いて、製造ライン3の動作を制御するPLC2のハードウェア構成の一例を説明する。図3は、本実施形態に係るPLC2のハードウェア構成の一例を模式的に例示する。
<PLC>
Next, an example of the hardware configuration of the PLC 2 that controls the operation of the production line 3 will be described with reference to FIG. FIG. 3 schematically illustrates an example of the hardware configuration of the PLC 2 according to the present embodiment.

図3に示されるとおり、PLC2は、制御部21、記憶部22、入出力インタフェース23、及び通信インタフェース24が電気的に接続されたコンピュータである。これにより、PLC2は、製造ライン3の各機構31の動作を制御するように構成される。なお、図3では、入出力インタフェース及び通信インタフェースをそれぞれ「入出力I/F」及び「通信I/F」と記載している。   As shown in FIG. 3, the PLC 2 is a computer in which a control unit 21, a storage unit 22, an input / output interface 23, and a communication interface 24 are electrically connected. Thereby, PLC2 is comprised so that operation | movement of each mechanism 31 of the manufacturing line 3 may be controlled. In FIG. 3, the input / output interface and the communication interface are described as “input / output I / F” and “communication I / F”, respectively.

制御部21は、CPU、RAM、ROM等を含み、プログラム及びデータに基づいて各種情報処理を実行するように構成される。記憶部22は、例えば、RAM、ROM等で構成され、制御プログラム221、状態データ222、ログデータ223等を記憶する。制御プログラム221は、製造ライン3の動作を制御するためのプログラムである。状態データ222は、各機構31の状態に関するデータである。ログデータ223は、製造ライン3の動作のログを示すデータである。   The control unit 21 includes a CPU, a RAM, a ROM, and the like, and is configured to execute various types of information processing based on programs and data. The storage unit 22 includes, for example, a RAM, a ROM, and the like, and stores a control program 221, status data 222, log data 223, and the like. The control program 221 is a program for controlling the operation of the production line 3. The state data 222 is data relating to the state of each mechanism 31. The log data 223 is data indicating an operation log of the production line 3.

入出力インタフェース23は、外部装置と接続するためのインタフェースであり、接続する外部装置に応じて適宜構成される。本実施形態では、PLC2は、入出力インタフェース23を介して、製造ライン3に接続される。なお、単一の装置について異なる状態データを取得可能な場合、当該対象の単一の装置は、複数の機構31とみなされてもよいし、単一の機構31とみなされてもよい。そのため、入出力インタフェース23の数は、製造ライン3を構成する機構31の数と同じであってもよいし、製造ライン3を構成する機構31の数と相違していてもよい。   The input / output interface 23 is an interface for connecting to an external device, and is appropriately configured according to the external device to be connected. In the present embodiment, the PLC 2 is connected to the production line 3 via the input / output interface 23. When different state data can be acquired for a single device, the target single device may be regarded as a plurality of mechanisms 31 or a single mechanism 31. Therefore, the number of input / output interfaces 23 may be the same as the number of mechanisms 31 constituting the production line 3 or may be different from the number of mechanisms 31 constituting the production line 3.

通信インタフェース24は、例えば、有線LANモジュール、無線LANモジュール等であり、有線又は無線通信を行うためのインタフェースである。PLC2は、通信インタフェース24により、工程解析装置1との間でデータ通信を行うことができる。   The communication interface 24 is, for example, a wired LAN module, a wireless LAN module, or the like, and is an interface for performing wired or wireless communication. The PLC 2 can perform data communication with the process analysis apparatus 1 through the communication interface 24.

なお、PLC2の具体的なハードウェア構成に関して、実施の形態に応じて、適宜、構成要素の省略、置換、及び追加が可能である。例えば、制御部21は、複数のプロセッサを含んでもよい。記憶部22は、制御部21に含まれるRAM及びROMにより構成されてもよい。記憶部22は、ハードディスクドライブ、ソリッドステートドライブ等の補助記憶装置で構成されてもよい。また、PLC2は、提供されるサービス専用に設計された情報処理装置の他、制御する対象に応じて、汎用のデスクトップPC、タブレットPC等に置き換えられてもよい。   Note that regarding the specific hardware configuration of the PLC 2, the components can be omitted, replaced, and added as appropriate according to the embodiment. For example, the control unit 21 may include a plurality of processors. The storage unit 22 may be configured by a RAM and a ROM included in the control unit 21. The storage unit 22 may be configured by an auxiliary storage device such as a hard disk drive or a solid state drive. The PLC 2 may be replaced with a general-purpose desktop PC, tablet PC, or the like in accordance with an object to be controlled, in addition to an information processing apparatus designed exclusively for the provided service.

[ソフトウェア構成]
次に、図4を用いて、本実施形態に係る工程解析装置1のソフトウェア構成の一例を説明する。図4は、本実施形態に係る工程解析装置1のソフトウェア構成の一例を模式的に例示する。
Software configuration
Next, an example of the software configuration of the process analysis apparatus 1 according to the present embodiment will be described with reference to FIG. FIG. 4 schematically illustrates an example of the software configuration of the process analysis apparatus 1 according to the present embodiment.

工程解析装置1の制御部11は、記憶部12に記憶された工程解析プログラム121をRAMに展開する。そして、制御部11は、RAMに展開された工程解析プログラム121をCPUにより解釈及び実行して、各構成要素を制御する。これによって、図4に示されるとおり、本実施形態に係る工程解析装置1は、ソフトウェアモジュールとして、第1取得部111、第2取得部112、第1解析部113、第2解析部114、及び関係特定部115を備えるコンピュータとして構成される。   The control unit 11 of the process analysis apparatus 1 expands the process analysis program 121 stored in the storage unit 12 in the RAM. The control unit 11 interprets and executes the process analysis program 121 expanded in the RAM by the CPU, and controls each component. Accordingly, as illustrated in FIG. 4, the process analysis apparatus 1 according to the present embodiment includes, as software modules, a first acquisition unit 111, a second acquisition unit 112, a first analysis unit 113, a second analysis unit 114, and A computer including the relationship specifying unit 115 is configured.

第1取得部111は、製造ライン3を構成する複数の機構31の状態に関する複数件の状態データ222を取得する。第2取得部112は、製造ライン3の動作を制御するための制御プログラム221を取得する。第1解析部113は、取得した複数件の状態データ222を統計的に解析することにより、複数の機構31間の関係の強さを特定する。第2解析部114は、取得した制御プログラム221を解析することにより、複数の機構31の順序関係を特定する。本実施形態では、第2解析部114は、制御プログラム221を実行して得られるログデータ223を利用して、複数の機構31の順序関係を特定する。そして、関係特定部115は、それぞれ特定した関係の強さ及び順序関係に基づいて、製造ライン3で実施される工程における複数の機構31間の因果関係を特定する。   The first acquisition unit 111 acquires a plurality of pieces of state data 222 relating to the states of the plurality of mechanisms 31 configuring the production line 3. The second acquisition unit 112 acquires a control program 221 for controlling the operation of the production line 3. The first analysis unit 113 identifies the strength of the relationship between the plurality of mechanisms 31 by statistically analyzing the acquired plurality of state data 222. The second analysis unit 114 identifies the order relationship of the plurality of mechanisms 31 by analyzing the acquired control program 221. In the present embodiment, the second analysis unit 114 specifies the order relationship between the mechanisms 31 using the log data 223 obtained by executing the control program 221. And the relationship specific | specification part 115 pinpoints the causal relationship between the some mechanisms 31 in the process implemented by the manufacturing line 3 based on the strength and order relationship of each specified relationship.

工程解析装置1の各ソフトウェアモジュールに関しては後述する動作例で詳細に説明する。なお、本実施形態では、工程解析装置1の各ソフトウェアモジュールがいずれも汎用のCPUにより実現される例について説明している。しかしながら、以上のソフトウェアモジュールの一部又は全部が、1又は複数の専用のハードウェアプロセッサにより実現されてもよい。また、工程解析装置1のソフトウェア構成に関して、実施形態に応じて、適宜、ソフトウェアモジュールの省略、置換及び追加が行われてもよい。   Each software module of the process analysis apparatus 1 will be described in detail in an operation example described later. In the present embodiment, an example is described in which each software module of the process analysis apparatus 1 is realized by a general-purpose CPU. However, some or all of the above software modules may be realized by one or a plurality of dedicated hardware processors. In addition, regarding the software configuration of the process analysis apparatus 1, software modules may be omitted, replaced, and added as appropriate according to the embodiment.

§3 動作例
次に、図5を用いて、工程解析装置1の動作例を説明する。図5は、工程解析装置1の処理手順の一例を例示する。なお、以下で説明する工程解析装置1の処理手順は、本発明の「工程解析方法」に相当する。ただし、以下で説明する処理手順は一例に過ぎず、各処理は可能な限り変更されてもよい。また、以下で説明する処理手順について、実施の形態に応じて、適宜、ステップの省略、置換、及び追加が可能である。
§3 Operation Example Next, an operation example of the process analysis apparatus 1 will be described with reference to FIG. FIG. 5 illustrates an example of a processing procedure of the process analysis apparatus 1. The processing procedure of the process analysis apparatus 1 described below corresponds to the “process analysis method” of the present invention. However, the processing procedure described below is only an example, and each processing may be changed as much as possible. Further, in the processing procedure described below, steps can be omitted, replaced, and added as appropriate according to the embodiment.

[ステップS101]
まず、ステップS101では、制御部11は、第1取得部111として動作し、各機構31の状態に関する複数件の状態データ222をPLC2から取得する。各機構31は、例えば、コンベア、ロボットアーム、サーボモータ、シリンダ(成形機等)、吸着パッド、カッター装置、シール装置等の装置又はその装置の一部で構成されてよい。また、各機構31は、例えば、印刷機、実装機、リフロー炉、基板検査装置等の複合装置であってもよい。更に、各機構31は、上記のような何らかの物理的な動作を伴う装置の他に、例えば、各種センサにより何らかの情報を検知する装置、各種センサからデータを取得する装置、取得したデータから何らかの情報を検知する装置、取得したデータを情報処理する装置等の内部処理を行う装置を含んでもよい。具体例として、コンベアを流れる対象物に付与されたマークを検知する光学センサを備える製造ラインにおいて、当該光学センサ及び光学センサにより検知した情報を利用する装置が各機構31として取り扱われてよい。また、各件の状態データ222は、例えば、トルク、速度、加速度、温度、電流、電圧、空圧、圧力、流量、位置、寸法(高さ、長さ、幅)及び面積の少なくともいずれかを示すデータであってよい。このような状態データ222は、公知のセンサ、カメラ等の計測装置によって得ることができる。例えば、流量は、フロートセンサにより得ることができる。また、位置、寸法、及び面積は、画像センサにより得ることができる。
[Step S101]
First, in step S <b> 101, the control unit 11 operates as the first acquisition unit 111 and acquires a plurality of state data 222 regarding the state of each mechanism 31 from the PLC 2. Each mechanism 31 may be configured by a device such as a conveyor, a robot arm, a servo motor, a cylinder (such as a molding machine), a suction pad, a cutter device, a seal device, or a part of the device. Further, each mechanism 31 may be, for example, a composite apparatus such as a printing machine, a mounting machine, a reflow furnace, and a board inspection apparatus. Furthermore, each mechanism 31 is not only a device with some physical operation as described above, for example, a device that detects some information by various sensors, a device that acquires data from various sensors, and some information from the acquired data. A device that performs internal processing, such as a device that detects data and a device that processes acquired data, may be included. As a specific example, in a production line including an optical sensor that detects a mark given to an object flowing on a conveyor, the optical sensor and a device that uses information detected by the optical sensor may be handled as each mechanism 31. Further, the status data 222 of each case includes, for example, at least one of torque, speed, acceleration, temperature, current, voltage, air pressure, pressure, flow rate, position, dimension (height, length, width) and area. It may be the data shown. Such state data 222 can be obtained by a known measuring device such as a sensor or a camera. For example, the flow rate can be obtained by a float sensor. Further, the position, size, and area can be obtained by an image sensor.

なお、状態データ222は、1又は複数の計測装置から得られるデータで構成されてもよい。また、状態データ222は、計測装置から得られるデータそのままであってもよいし、画像データから取得される位置データ等のように計測装置から得られたデータに何らかの処理を適用することで取得可能なデータであってもよい。各件の状態データ222は、各機構31に対応して取得される。   The state data 222 may be composed of data obtained from one or a plurality of measuring devices. Further, the state data 222 may be the data obtained from the measuring device as it is, or can be obtained by applying some processing to the data obtained from the measuring device such as position data obtained from the image data. May be correct data. The status data 222 for each case is acquired corresponding to each mechanism 31.

各計測装置は、製造ライン3の各機構31を監視可能に適宜配置される。PLC2は、製造ライン3を稼働させて、各計測装置から各件の状態データ222を収集する。制御部11は、PLC2から、製造ライン3を正常に稼働させたときの各機構31の状態に関する状態データ222を取得する。これにより、制御部11は、複数件の状態データ222を取得することができる。複数件の状態データ222の取得が完了すると、制御部11は、次のステップS102に処理を進める。   Each measuring device is appropriately arranged so that each mechanism 31 of the production line 3 can be monitored. The PLC 2 operates the production line 3 and collects the status data 222 for each case from each measuring device. The control unit 11 acquires state data 222 relating to the state of each mechanism 31 when the production line 3 is normally operated from the PLC 2. Thereby, the control unit 11 can acquire a plurality of pieces of state data 222. When the acquisition of the plurality of state data 222 is completed, the control unit 11 advances the processing to the next step S102.

[ステップS102]
次のステップS102では、制御部11は、第2取得部112として動作し、制御プログラム221をPLC2から取得する。制御プログラム221は、PLC2で実行可能なように、例えば、ラダー・ダイアグラム言語、ファンクション・ブロック・ダイアグラム言語、ストラクチャード・テキスト言語、インストラクション・リスト言語、及びシーケンシャル・ファンクション・チャート言語、C言語の少なくともいずれかを利用して記述されていてもよい。制御プログラム221の取得が完了すると、制御部11は、次のステップS103に処理を進める。なお、本ステップS102は、上記ステップS101と並列に実行されてもよいし、上記ステップS101の前に実行されてもよい。
[Step S102]
In the next step S102, the control unit 11 operates as the second acquisition unit 112, and acquires the control program 221 from the PLC 2. The control program 221 can be executed by the PLC 2, for example, at least one of a ladder diagram language, a function block diagram language, a structured text language, an instruction list language, a sequential function chart language, and a C language. It may be described using this. When the acquisition of the control program 221 is completed, the control unit 11 advances the processing to the next step S103. In addition, this step S102 may be performed in parallel with the said step S101, and may be performed before the said step S101.

[ステップS103]
次のステップS103では、制御部11は、第1解析部113として動作し、ステップS101で取得した複数件の状態データ222を統計的に解析することにより、製造ライン3内における複数の機構31間の関係の強さを特定する。複数件の状態データ222の解析処理が完了すると、制御部11は、次のステップS104に処理を進める。なお、本ステップS103は、上記ステップS101の後であれば、いかなるタイミングに実行されてもよい。例えば、本ステップS103は、上記ステップS102の前に実行されてもよい。
[Step S103]
In the next step S103, the control unit 11 operates as the first analysis unit 113, and statistically analyzes the plurality of state data 222 acquired in step S101, whereby a plurality of mechanisms 31 in the production line 3 are Identify the strength of the relationship. When the analysis processing of the plurality of status data 222 is completed, the control unit 11 advances the processing to the next step S104. Note that this step S103 may be executed at any timing as long as it is after step S101. For example, step S103 may be executed before step S102.

<状態データの解析処理>
ここで、図6及び図7を更に用いて、複数件の状態データ222を統計的に解析する処理について詳細に説明する。図6は、状態データ222を解析する処理の手順の一例を例示する。図7は、図6により示される手順により状態データ222を解析する過程の一例を模式的に例示する。以下の説明では、説明の便宜のため、製造ライン3は、複数の機構31として、4つの機構(例えば、4つのサーボモータ)F1〜F4を備えており、上記ステップS101では、制御部11は、各機構F1〜F4の状態データ222を取得したものと仮定する。
<State data analysis processing>
Here, the processing for statistically analyzing a plurality of state data 222 will be described in detail with further reference to FIGS. 6 and 7. FIG. 6 illustrates an example of a processing procedure for analyzing the state data 222. FIG. 7 schematically illustrates an example of a process of analyzing the state data 222 according to the procedure shown in FIG. In the following description, for convenience of explanation, the production line 3 includes four mechanisms (for example, four servo motors) F1 to F4 as the plurality of mechanisms 31, and in step S101, the control unit 11 It is assumed that the state data 222 of each mechanism F1 to F4 has been acquired.

(ステップS1301)
まず、ステップS1301では、制御部11は、ステップS101で取得した各件の状態データ222から特徴量2221を算出する。特徴量2221の種類は、特に限定されなくてもよく、実施の形態に応じて適宜選択されてもよい。また、特徴量2221を算出する方法は、実施の形態に応じて適宜決定可能である。
(Step S1301)
First, in step S1301, the control unit 11 calculates a feature amount 2221 from the state data 222 of each case acquired in step S101. The type of the feature amount 2221 is not particularly limited, and may be appropriately selected according to the embodiment. In addition, a method for calculating the feature amount 2221 can be appropriately determined according to the embodiment.

具体例として、本実施形態では、制御部11は、次のような方法で、状態データ222から特徴量2221を算出する。まず、制御部11は、特徴量2221を算出する処理範囲を規定するため、取得した各件の状態データ222をフレーム毎に分割する。各フレームの長さは、実施の形態に応じて適宜設定されてよい。   As a specific example, in the present embodiment, the control unit 11 calculates the feature value 2221 from the state data 222 by the following method. First, the control unit 11 divides the acquired status data 222 for each frame in order to define a processing range for calculating the feature value 2221. The length of each frame may be appropriately set according to the embodiment.

制御部11は、例えば、各件の状態データ222を一定時間長のフレーム毎に分割してもよい。ただし、製造ライン3は必ずしも一定時間間隔で動作しているとは限らない。そのため、各件の状態データ222を一定時間長のフレーム毎に分割すると、各フレームに反映される各機構31の動作がずれてしまう可能性がある。   For example, the control unit 11 may divide the status data 222 of each case into frames each having a certain length of time. However, the production line 3 does not necessarily operate at regular time intervals. Therefore, if the status data 222 for each case is divided into frames of a certain time length, the operation of each mechanism 31 reflected in each frame may be shifted.

そこで、制御部11は、状態データ222をタクト時間毎にフレーム分割してもよい。タクト時間は、製造ライン3が製品を所定個数分生産するのにかかる時間である。このタクト時間は、製造ライン3を制御する信号、例えば、PLC2が製造ライン3の各機構31の動作を制御する制御信号に基づいて特定することができる。   Therefore, the control unit 11 may divide the state data 222 into frames for each tact time. The tact time is the time required for the production line 3 to produce a predetermined number of products. This tact time can be specified based on a signal for controlling the production line 3, for example, a control signal for controlling the operation of each mechanism 31 of the production line 3 by the PLC 2.

図8を用いて、制御信号とタクト時間との関係について説明する。図8は、制御信号とタクト時間との関係を模式的に例示する。図8に示されるとおり、製品の生産を繰り返す製造ライン3に対する制御信号は、所定個数分の製品の生産に応じて「on」と「off」とが周期的に表れるパルス信号になっている。   The relationship between the control signal and the tact time will be described with reference to FIG. FIG. 8 schematically illustrates the relationship between the control signal and the tact time. As shown in FIG. 8, the control signal for the production line 3 that repeats production of products is a pulse signal in which “on” and “off” appear periodically according to the production of a predetermined number of products.

そのため、制御部11は、この制御信号をPLC2から取得し、取得した制御信号の立ち上がり(「on」)から次の立ち上がり(「on」)までの時間をタクト時間とすることができる。そして、制御部11は、図8に例示されるように、タクト時間毎に状態データ222をフレームに分割することができる。   For this reason, the control unit 11 can acquire this control signal from the PLC 2 and set the time from the rising edge (“on”) of the acquired control signal to the next rising edge (“on”) as the tact time. And the control part 11 can divide | segment the status data 222 into a flame | frame for every tact time so that it may be illustrated by FIG.

次に、制御部11は、状態データ222の各フレームから特徴量2221の値を算出する。状態データ222が計測データ等のような連続値データである場合には、制御部11は、例えば、フレーム内の振幅、最大値、最小値、平均値、分散値、標準偏差、瞬時値(1点サンプル)等を特徴量2221として算出してもよい。また、状態データ222が検出データ等のような離散値データである場合には、制御部11は、例えば、各フレーム内の「on」時間、「off」時間、Duty比、「on」回数、「off」回数等を特徴量2221として算出してもよい。これにより、各特徴量2221の算出が完了すると、制御部11は、次のステップS1302に処理を進める。   Next, the control unit 11 calculates the value of the feature amount 2221 from each frame of the state data 222. When the state data 222 is continuous value data such as measurement data, the control unit 11 may, for example, determine the amplitude, maximum value, minimum value, average value, variance value, standard deviation, instantaneous value (1) within the frame. Point sample) may be calculated as the feature amount 2221. Further, when the state data 222 is discrete value data such as detection data, the control unit 11, for example, “on” time, “off” time, duty ratio, “on” number of times in each frame, The “off” number of times may be calculated as the feature amount 2221. Thus, when the calculation of each feature amount 2221 is completed, the control unit 11 advances the processing to the next step S1302.

(ステップS1302)
図6及び図7に戻り、次のステップS1302では、制御部11は、各特徴量2221間の相関係数又は偏相関係数を算出する。相関係数は、以下の数1の計算式により算出することができる。また、偏相関係数は、以下の数2の計算式により算出することができる。
(Step S1302)
Returning to FIGS. 6 and 7, in the next step S <b> 1302, the control unit 11 calculates a correlation coefficient or a partial correlation coefficient between the feature amounts 2221. The correlation coefficient can be calculated by the following equation (1). The partial correlation coefficient can be calculated by the following equation (2).

なお、rijは、行列2222のi行目j列目の要素を示す。xi及びxjは、各件の状態データ222から算出された特徴量2221を示すデータに対応する。Xi及びXjはそれぞれ、xi及びxjの標本平均を示す。nは、相関の計算に利用する各特徴量2221の数を示す。 Note that r ij represents an element in the i-th row and j-th column of the matrix 2222. x i and x j correspond to data indicating the feature value 2221 calculated from the state data 222 of each case. X i and X j denote sample averages of x i and x j , respectively. n indicates the number of feature quantities 2221 used for correlation calculation.

なお、行列R(rij)の逆行列をR-1(rij)と表現し、rijは行列2222の逆行列のi行目j列目の要素を示す。 Incidentally, the inverse matrix of the matrix R (r ij) is expressed as R -1 (r ij), r ij denotes the i-th row j-th column element of the inverse matrix of the matrix 2222.

これにより、制御部11は、相関係数又は偏相関係数を各要素とする行列2222を得ることができる。各特徴量2221間の相関係数及び偏相関係数は、対応する機構31間の関係の強さを示す。すなわち、行列2222の各要素により、対応する機構31間の関係の強さが特定される。各特徴量2221間の相関係数又は偏相関係数の算出が完了すると、制御部11は、次のステップS1303に処理を進める。   Thereby, the control part 11 can obtain the matrix 2222 which has a correlation coefficient or a partial correlation coefficient as each element. The correlation coefficient and partial correlation coefficient between the feature quantities 2221 indicate the strength of the relationship between the corresponding mechanisms 31. That is, the strength of the relationship between the corresponding mechanisms 31 is specified by each element of the matrix 2222. When the calculation of the correlation coefficient or the partial correlation coefficient between the feature amounts 2221 is completed, the control unit 11 advances the processing to the next step S1303.

(ステップS1303)
次のステップS1303では、制御部11は、各特徴量2221間の相関係数又は偏相関係数に基づいて、対応する機構31間の関係の強さを示す無向グラフ情報2223を構築する。
(Step S1303)
In the next step S1303, the control unit 11 constructs undirected graph information 2223 indicating the strength of the relationship between the corresponding mechanisms 31 based on the correlation coefficient or partial correlation coefficient between the feature amounts 2221.

例えば、制御部11は、各機構31に対応するノードを作成する。そして、2つの機構31間に対して算出した相関係数又は偏相関係数の値が閾値以上である場合に、制御部11は、対応する両ノード間をエッジで連結する。一方、2つの機構31間に対して算出した相関係数又は偏相関係数の値が閾値未満である場合には、制御部11は、対応する両ノード間をエッジで連結しない。なお、閾値は、工程解析プログラム121内で規定された固定値であってもよいし、オペレータ等により変更可能な設定値であってもよい。また、エッジの太さは、対応する相関係数又は偏相関係数の値の大きさに対応して決定されてもよい。   For example, the control unit 11 creates a node corresponding to each mechanism 31. And when the value of the correlation coefficient or partial correlation coefficient calculated with respect to between the two mechanisms 31 is more than a threshold value, the control part 11 connects between both corresponding nodes with an edge. On the other hand, when the value of the correlation coefficient or partial correlation coefficient calculated for the two mechanisms 31 is less than the threshold value, the control unit 11 does not connect the corresponding nodes with an edge. The threshold value may be a fixed value defined in the process analysis program 121 or may be a setting value that can be changed by an operator or the like. Further, the thickness of the edge may be determined corresponding to the magnitude of the value of the corresponding correlation coefficient or partial correlation coefficient.

これにより、図7で例示するような無向グラフ情報2223を作成することができる。図7の例では、4つの機構F1〜F4に対応する4つのノードが作成されている。そして、機構F1及びF2のノード間、機構F1及びF3のノード間、機構F2及びF3のノード間、並びに機構F3及びF4のノード間にそれぞれエッジが形成されている。また、機構F1及びF3の間並びに機構F3及びF4の間の相関が他の機構間の相関よりも大きいことに対応して、機構F1及びF3のノード間並びに機構F3及びF4のノード間のエッジが他のエッジに比べて太く形成されている。以上により、複数の機構31間の関係の強さを示す無向グラフ情報2223の構築が完了すると、本実施形態に係る状態データ222の解析処理は完了し、制御部11は、次のステップS104に処理を進める。   Thereby, the undirected graph information 2223 illustrated in FIG. 7 can be created. In the example of FIG. 7, four nodes corresponding to the four mechanisms F1 to F4 are created. Edges are formed between the nodes of the mechanisms F1 and F2, between the nodes of the mechanisms F1 and F3, between the nodes of the mechanisms F2 and F3, and between the nodes of the mechanisms F3 and F4. Also, edges between mechanisms F1 and F3 and between nodes of mechanisms F3 and F4 correspond to the fact that the correlation between mechanisms F1 and F3 and between mechanisms F3 and F4 is greater than the correlation between other mechanisms. Is formed thicker than other edges. As described above, when the construction of the undirected graph information 2223 indicating the strength of the relationship between the plurality of mechanisms 31 is completed, the analysis processing of the state data 222 according to the present embodiment is completed, and the control unit 11 performs the next step S104. Proceed with the process.

なお、図7の例では、無向グラフ情報2223は、形成された無向グラフを画像により表現している。しかしながら、無向グラフ情報2223の出力形式は、画像に限定されなくてもよく、テキスト等により表現されてもよい。また、上記の例では、相関係数又は偏相関係数と閾値との比較により、関係の弱いノード(機構31)間にエッジを形成しないようにしている。しかしながら、関係の弱いノード間のエッジを除去する方法は、このような例に限られなくてもよい。例えば、全てのノードをエッジで連結したグラフを形成した後、制御部11は、逸脱度を表わす適合度指標(GFI、SRMR等)が閾値を超えないように、相関係数又は偏相関係数の小さいエッジから順に、形成したグラフのエッジを削除してもよい。   In the example of FIG. 7, the undirected graph information 2223 represents the formed undirected graph with an image. However, the output format of the undirected graph information 2223 is not limited to an image, and may be expressed by text or the like. In the above example, an edge is not formed between nodes (mechanism 31) having a weak relationship by comparing the correlation coefficient or the partial correlation coefficient with a threshold value. However, the method for removing edges between weakly related nodes is not limited to such an example. For example, after forming a graph in which all the nodes are connected by edges, the control unit 11 causes the correlation coefficient or partial correlation coefficient so that the fitness index (GFI, SRMR, etc.) indicating the deviation does not exceed the threshold value. The edges of the formed graph may be deleted in order from the smallest edge.

[ステップS104]
図5に戻り、次のステップS104では、制御部11は、第2解析部114として動作し、ステップS102で取得した制御プログラム221を解析することにより、製造ライン3内における複数の機構31の順序関係を特定する。本実施形態では、制御部11は、制御プログラム221を利用して製造ライン3を稼働させることで得られるログデータ223に基づいて、複数の機構31の順序関係を特定する。制御プログラム221の解析処理が完了すると、制御部11は、次のステップS105に処理を進める。なお、本ステップS104は、上記ステップS102の後であれば、いかなるタイミングに実行されてもよい。例えば、上記ステップS102が上記ステップS101よりも先に実行される場合には、本ステップS104は、上記ステップS101の前に実行されてもよい。
[Step S104]
Returning to FIG. 5, in the next step S <b> 104, the control unit 11 operates as the second analysis unit 114, and analyzes the control program 221 acquired in step S <b> 102, whereby the order of the mechanisms 31 in the production line 3. Identify relationships. In the present embodiment, the control unit 11 specifies the order relationship of the plurality of mechanisms 31 based on the log data 223 obtained by operating the production line 3 using the control program 221. When the analysis process of the control program 221 is completed, the control unit 11 advances the process to the next step S105. Note that this step S104 may be executed at any timing as long as it is after step S102. For example, when step S102 is executed before step S101, step S104 may be executed before step S101.

<制御プログラムの解析処理>
ここで、図9を更に用いて、制御プログラム221を解析する処理について詳細に説明する。図9は、制御プログラム221を解析する処理の手順の一例を例示する。以下の説明では、説明の便宜のため、上記と同様に、製造ライン3は、複数の機構31として、4つの機構F1〜F4を備えており、上記ステップS102では、制御部11は、4つの機構F1〜F4に対応する変数v1〜v4が使用された制御プログラム221を取得したものと仮定する。
<Control program analysis processing>
Here, the process of analyzing the control program 221 will be described in detail with further reference to FIG. FIG. 9 illustrates an example of a processing procedure for analyzing the control program 221. In the following description, for convenience of explanation, the manufacturing line 3 includes four mechanisms F1 to F4 as the plurality of mechanisms 31 as described above. In step S102, the control unit 11 includes four mechanisms F1 to F4. It is assumed that the control program 221 using the variables v1 to v4 corresponding to the mechanisms F1 to F4 is acquired.

(ステップS1401)
まず、ステップS1401では、制御部11は、取得した制御プログラム221の構文解析を行い、当該制御プログラム221から抽象構文木を構築する。抽象構文木の構築には、トップダウン構文解析又はボトムアップ構文解析による公知の構文解析方法が用いられてもよい。例えば、抽象構文木の構築には、特定の形式文法に従った文字列を扱う構文解析器が用いられてもよい。抽象構文木の構築が完了すると、制御部11は、次のステップS1402に処理を進める。
(Step S1401)
First, in step S1401, the control unit 11 performs syntax analysis of the acquired control program 221 and constructs an abstract syntax tree from the control program 221. For the construction of the abstract syntax tree, a known parsing method by top-down parsing or bottom-up parsing may be used. For example, a syntax analyzer that handles a character string according to a specific formal grammar may be used to construct an abstract syntax tree. When the construction of the abstract syntax tree is completed, the control unit 11 advances the processing to the next step S1402.

図10は、制御プログラム221内の「if(a>0)[v1=a;]else[v2=-a;]」という構文から得られる抽象構文木2211を例示する。図10に例示するとおり、抽象構文木は、プログラムの意味を解釈するために、当該プログラムの構造を木構造で表現したデータ構造である。   FIG. 10 illustrates an abstract syntax tree 2211 obtained from the syntax “if (a> 0) [v1 = a;] else [v2 = −a;]” in the control program 221. As illustrated in FIG. 10, the abstract syntax tree is a data structure in which the structure of the program is expressed by a tree structure in order to interpret the meaning of the program.

具体的には、制御部11は、プログラムに使用されているトークン(字句)のうち、当該プログラムの意味の解釈に不要な括弧等のトークンを省略し、当該プログラムの意味の解釈に関係あるトークンを抽出する。そして、制御部11は、条件分岐等の演算子を節点に対応付けて、変数等のオペランドを葉に対応付ける。制御部11は、このように制御プログラム221の構文解析を行うことにより、図10に例示する抽象構文木を構築することができる。なお、このように構成される抽象構文木は、変数、演算子、及びノード間の関係(演算と被演算との関係等)を表わす。この抽象構文木の構成について、その示す内容が変わらない範囲で適宜表記の修正、変更、省略等がなされてよい。   Specifically, the control unit 11 omits tokens such as parentheses that are not necessary for interpretation of the meaning of the program among tokens (lexical terms) used in the program, and relates to the interpretation of the meaning of the program. To extract. Then, the control unit 11 associates an operator such as a conditional branch with a node and associates an operand such as a variable with a leaf. The control unit 11 can construct an abstract syntax tree illustrated in FIG. 10 by performing syntax analysis of the control program 221 in this way. Note that the abstract syntax tree configured in this way represents the relationship between variables, operators, and nodes (such as the relationship between operations and operands). Regarding the configuration of the abstract syntax tree, the notation may be modified, changed, omitted, or the like as appropriate as long as the content shown does not change.

(ステップS1402)
次のステップS1402では、制御部11は、ステップS1401により構築した抽象構文木から各機構31に関する変数(v1〜v4)と条件分岐及び代入演算を含む演算子とを抽出する。例えば、図10に示す抽象構文木2211が得られた場合、制御部11は、当該抽象構文木2211から(「if」、「v1」、「=」、「a」、「v2」、「=」、及び「-a」)を抽出する。当該抽出が完了すると、制御部11は、次のステップS1403に処理を進める。
(Step S1402)
In the next step S1402, the control unit 11 extracts variables (v1 to v4) related to each mechanism 31 and operators including conditional branches and assignment operations from the abstract syntax tree constructed in step S1401. For example, when the abstract syntax tree 2211 shown in FIG. 10 is obtained, the control unit 11 (“if”, “v1”, “=”, “a”, “v2”, “=” from the abstract syntax tree 2211 concerned. And “-a”). When the extraction is completed, the control unit 11 advances the processing to the next step S1403.

(ステップS1403及びステップS1404)
次のステップS1403では、制御部11は、ステップS1402で抽出した変数及び演算子を順番に並べて、因果関係を特定する対象となる各機構31に対応する変数(v1〜v4)に関連する部分に実行順序を監視する対象を限定する。上記の例では、制御部11は、(「if」、「v1」、「=」、「a」、「v2」、「=」、及び「-a」)から(「if」、「v1」、及び「v2」)を更に抽出する。
(Step S1403 and Step S1404)
In the next step S1403, the control unit 11 arranges the variables and operators extracted in step S1402 in order, and sets the parts related to the variables (v1 to v4) corresponding to the mechanisms 31 that are the targets for specifying the causal relationship. Limit the targets for monitoring the execution order. In the above example, the control unit 11 (“if”, “v1”, “=”, “a”, “v2”, “=”, and “−a”) to (“if”, “v1”) , And “v2”).

そして、次のステップS1404では、条件分岐をランダムに選択して、制御プログラム221の実行を試行することで、限定した各変数の順序付けの初期化を行う。具体的には、制御部11は、当該制御プログラム221の実行の試行において、限定した各変数の利用される順序を監視することで、当該各変数の順序付けの初期化を行うことができる。   In the next step S1404, conditional branching is randomly selected and the control program 221 is tried to execute, thereby initializing the ordering of the limited variables. Specifically, the control unit 11 can initialize the ordering of each variable by monitoring the order in which each limited variable is used in an attempt to execute the control program 221.

図11Aは、当該初期化の一例を例示する。図11Aのグラフ2212は、初期化の結果として、以下の(1)〜(5)の順序関係を示す。
(1)変数「v1」〜「v4」のうち、変数「v1」が最初に利用される。
(2)変数「v1」の次には、0.5の確率で変数「v2」が利用され、0.5の確率で変数「v3」が利用される。
(3)変数「v2」の次には、1の確率で変数「v3」が利用される。
(4)変数「v3」の次には、1の確率で変数「v4」が利用される。
(5)変数「v1」〜「v4」のうち、変数「v4」が最後に利用される。
このような初期化が完了すると、制御部11は、次のステップS1405に処理を進める。
FIG. 11A illustrates an example of the initialization. A graph 2212 in FIG. 11A shows the following order relationships (1) to (5) as a result of initialization.
(1) Among the variables “v1” to “v4”, the variable “v1” is used first.
(2) Next to the variable “v1”, the variable “v2” is used with a probability of 0.5, and the variable “v3” is used with a probability of 0.5.
(3) Next to the variable “v2”, the variable “v3” is used with a probability of 1.
(4) After the variable “v3”, the variable “v4” is used with a probability of 1.
(5) Among the variables “v1” to “v4”, the variable “v4” is used last.
When such initialization is completed, the control unit 11 advances the processing to the next step S1405.

(ステップS1405)
次のステップS1405では、制御部11は、制御プログラム221を利用して製造ライン3を正常に稼働させたときの実行結果を示すログデータ223をPLC2から取得する。PLC2は、例えば、上記状態データ222を収集する際に、併せて制御プログラム221の実行結果を示すログデータ223を作成してもよい。この場合、ログデータ223には、タイムスタンプ、利用された変数の値等が記録される。また、例えば、制御プログラム221には、各コード行が実行される頻度、実行されたコード行、コードの各セクションが消費する計算時間等の情報を収集するためのデバッグモードが設けられてもよい。この場合、PLC2は、制御プログラム221をデバッグモードで実行することで、各情報を記録したログデータ223を作成することができる。制御部11は、このように作成されたログデータ223をPLC2から取得してもよい。ログデータ223の取得が完了すると、制御部11は、次のステップS1406に処理を進める。
(Step S1405)
In the next step S 1405, the control unit 11 acquires log data 223 indicating the execution result when the production line 3 is normally operated using the control program 221 from the PLC 2. For example, when collecting the state data 222, the PLC 2 may also create log data 223 indicating the execution result of the control program 221. In this case, the log data 223 records a time stamp, a value of a used variable, and the like. Further, for example, the control program 221 may be provided with a debug mode for collecting information such as the frequency with which each code line is executed, the executed code line, and the calculation time consumed by each section of code. . In this case, the PLC 2 can create log data 223 in which each information is recorded by executing the control program 221 in the debug mode. The control unit 11 may acquire the log data 223 created in this way from the PLC 2. When the acquisition of the log data 223 is completed, the control unit 11 advances the processing to the next step S1406.

(ステップS1406)
次のステップS1406では、制御部11は、ステップS1405で取得したログデータ223を参照して、条件分岐の実行結果に基づいた、上記各変数(v1〜v4)の順番付けを行うことで、製造ライン3内における各機構31の順序関係を特定する。
(Step S1406)
In the next step S1406, the control unit 11 refers to the log data 223 acquired in step S1405, and performs ordering of the variables (v1 to v4) based on the execution result of the conditional branch. The order relation of the mechanisms 31 in the line 3 is specified.

図11Bは、当該順序付けの結果の一例を例示する。図11Bのグラフ2213は、ログデータ223を利用して順番付けを行った結果として、以下の(A)〜(E)の順序関係を示す。
(A)変数「v1」〜「v4」のうち、変数「v1」が最初に利用される。
(B)変数「v1」の次には、0.01の確率で変数「v2」が利用され、0.99の確率で変数「v3」が利用される。
(C)変数「v2」の次には、1の確率で変数「v3」が利用される。
(D)変数「v3」の次には、1の確率で変数「v4」が利用される。
(E)変数「v1」〜「v4」のうち、変数「v4」が最後に利用される。
以上により、複数の機構31の順序関係の特定が完了すると、本実施形態に係る制御プログラム221の解析処理は完了し、制御部11は、次のステップS105に処理を進める。
FIG. 11B illustrates an example of the ordering result. A graph 2213 in FIG. 11B shows the following order relationships (A) to (E) as a result of ordering using the log data 223.
(A) Of the variables “v1” to “v4”, the variable “v1” is used first.
(B) Next to the variable “v1”, the variable “v2” is used with a probability of 0.01, and the variable “v3” is used with a probability of 0.99.
(C) Next to the variable “v2”, the variable “v3” is used with a probability of 1.
(D) After the variable “v3”, the variable “v4” is used with a probability of 1.
(E) Among the variables “v1” to “v4”, the variable “v4” is used last.
As described above, when the identification of the order relation of the plurality of mechanisms 31 is completed, the analysis process of the control program 221 according to the present embodiment is completed, and the control unit 11 advances the process to the next step S105.

[ステップS105]
図5に戻り、次のステップS105では、制御部11は、関係特定部115として動作する。すなわち、制御部11は、ステップS103及びS104それぞれにより特定した製造ライン3内における複数の機構31間の関係の強さ及び順序関係に基づいて、当該製造ライン3で実施される工程における複数の機構31間の因果関係を特定する。
[Step S105]
Returning to FIG. 5, in the next step S <b> 105, the control unit 11 operates as the relationship specifying unit 115. That is, the control unit 11 determines the plurality of mechanisms in the process performed in the manufacturing line 3 based on the strength and order relationship of the relationships between the plurality of mechanisms 31 in the manufacturing line 3 specified in steps S103 and S104. The causal relationship between 31 is specified.

本実施形態では、制御部11は、上記ステップS1303で構築した無向グラフ情報2223に上記ステップS1406で特定した各機構31の順序関係を適用することにより、各機構31間の因果関係を示す有向グラフ情報を作成する。このとき、制御部11は、各機構31の順序関係において発生する確率が閾値よりも低い順序(遷移)を特定し、無向グラフ情報2223を構成するエッジから特定した順序に対応するエッジを削除してもよい。なお、閾値は、工程解析プログラム121内で規定された固定値であってもよいし、オペレータ等により変更可能な設定値であってもよい。   In the present embodiment, the control unit 11 applies the order relationship of the mechanisms 31 identified in step S1406 to the undirected graph information 2223 constructed in step S1303, thereby indicating a directed graph indicating the causal relationship between the mechanisms 31. Create information. At this time, the control unit 11 identifies an order (transition) in which the probability of occurrence in the order relationship of each mechanism 31 is lower than the threshold, and deletes an edge corresponding to the identified order from the edges constituting the undirected graph information 2223 May be. The threshold value may be a fixed value defined in the process analysis program 121 or may be a setting value that can be changed by an operator or the like.

図12は、作成される有向グラフ情報の一例を例示する。図12の有向グラフ122は、以下の(a)〜(d)の因果関係を示す。
(a)機構「F1」〜「F4」のうち、機構「F1」又は「F2」が最初に利用される。
(b)機構「F1」及び「F2」の次には、機構「F3」が利用される。
(c)機構「F3」の次には、機構「F4」が利用される。
(d)機構「F1」〜「F4」のうち、機構「F4」が最後に利用される。
なお、図12の例では、変数「v1」から「v2」への順序の発生確率が低いことに対応して、無向グラフ情報2223では存在した機構「F1」及び「F2」間のエッジが削除されている。また、有向グラフ122の各エッジの太さは、無向グラフ情報2223の各エッジの太さに対応して設定されている。以上により、有向グラフ情報の作成が完了すると、制御部11は、次のステップS106に処理を進める。
FIG. 12 illustrates an example of the generated directed graph information. A directed graph 122 in FIG. 12 shows the following causal relationships (a) to (d).
(A) Of the mechanisms “F1” to “F4”, the mechanism “F1” or “F2” is used first.
(B) The mechanism “F3” is used next to the mechanisms “F1” and “F2”.
(C) The mechanism “F4” is used next to the mechanism “F3”.
(D) Among the mechanisms “F1” to “F4”, the mechanism “F4” is used last.
In the example of FIG. 12, the edge between the mechanisms “F1” and “F2” that existed in the undirected graph information 2223 corresponds to the low occurrence probability of the order from the variable “v1” to “v2”. It has been deleted. Further, the thickness of each edge of the directed graph 122 is set corresponding to the thickness of each edge of the undirected graph information 2223. As described above, when the creation of the directed graph information is completed, the control unit 11 advances the processing to the next step S106.

なお、図12の例では、有向グラフ情報は、有向グラフ(有向グラフ122)を画像により表現している。しかしながら、有向グラフ情報の出力形式は、画像に限定されなくてもよく、テキスト等により表現されてもよい。また、上記の例では、ノード(機構31)間の関係の強さをエッジの太さで表現している。しかしながら、ノード間の関係の強さを表現する方法は、このような例に限定されなくてもよい。各エッジの近傍に数字を付すことにより、各ノード間の関係の強さを表現してもよい。   In the example of FIG. 12, the directed graph information represents a directed graph (directed graph 122) with an image. However, the output format of the directed graph information need not be limited to images, and may be expressed by text or the like. In the above example, the strength of the relationship between the nodes (mechanisms 31) is expressed by the thickness of the edge. However, the method of expressing the strength of the relationship between the nodes may not be limited to such an example. You may express the strength of the relationship between each node by attaching | subjecting a number to the vicinity of each edge.

[ステップS106]
次のステップS106では、制御部11は、ステップS105で作成した有向グラフ情報を出力する。例えば、制御部11は、ディスプレイ等の出力装置15に作成した有向グラフを画像形式で出力する。以上により、制御部11は、本動作例に係る処理を終了する。
[Step S106]
In the next step S106, the control unit 11 outputs the directed graph information created in step S105. For example, the control unit 11 outputs the directed graph created in the output device 15 such as a display in an image format. As described above, the control unit 11 ends the process according to this operation example.

[特徴]
以上のように、本実施形態では、上記ステップS104により、制御プログラム221を解析することで、製造ライン3内における複数の機構31間の順序関係を特定する。そして、上記ステップS103により状態データ222から導出した関係の強さを示す無向グラフ情報に、制御プログラム221から特定した順序関係を適用することで、製造ライン3で実施される工程における複数の機構31間の因果関係を示す有向グラフ情報を作成する。ここで、制御プログラム221は、各機構31の動作を規定する。そのため、複数の機構31間の因果関係を解析する過程で、制御プログラム221を利用することで、当該複数の機構31間の順序関係を適切に特定することができる。したがって、本実施形態によれば、製造ライン3を構成する複数の機構31間の因果関係を正確にモデル化することができる。
[Feature]
As described above, in this embodiment, the order relationship between the plurality of mechanisms 31 in the production line 3 is specified by analyzing the control program 221 in step S104. Then, by applying the order relation specified from the control program 221 to the undirected graph information indicating the strength of the relation derived from the state data 222 in the above step S103, a plurality of mechanisms in the process performed in the production line 3 is performed. Directed graph information indicating the causal relationship between 31 is created. Here, the control program 221 defines the operation of each mechanism 31. Therefore, in the process of analyzing the causal relationship between the plurality of mechanisms 31, the order relationship between the plurality of mechanisms 31 can be appropriately specified by using the control program 221. Therefore, according to this embodiment, the causal relationship between the plurality of mechanisms 31 constituting the production line 3 can be accurately modeled.

また、本実施形態では、ステップS106により、製造ラインを構成する複数の機構間の因果関係を解析した結果として、図12(及び後述する図20)に例示される有向グラフ情報を出力する。この出力される有向グラフ情報は、各機構間の因果関係を端的に示す。そのため、本実施形態によれば、出力される有向グラフ情報によって、非熟練の保全員でも、製造ラインを構成する複数の機構間の因果関係を容易に把握することができるようになる。   In this embodiment, the directed graph information illustrated in FIG. 12 (and FIG. 20 described later) is output as a result of analyzing the causal relationship between a plurality of mechanisms constituting the production line in step S106. The output directed graph information simply indicates the causal relationship between the mechanisms. Therefore, according to this embodiment, even the unskilled maintenance staff can easily understand the causal relationship between a plurality of mechanisms constituting the production line by the output directed graph information.

[実施例]
次に、上記ステップS101〜S106の処理により、各機構31間の因果関係を示す有向グラフ情報を作成する過程の実施例を説明する。ただし、本発明は、以下の実施例に限定される訳ではない。
[Example]
Next, an embodiment of a process of creating directed graph information indicating the causal relationship between the mechanisms 31 by the processing of steps S101 to S106 will be described. However, the present invention is not limited to the following examples.

実施例として、以下の条件を有する製造ラインの各機構間の因果関係を示す有向グラフ情報を作成した。
<各種条件>
・製造ライン:基板上の実装位置に2つの部品を固定する製造装置
・機構(6つ):
− 基板(マーカ)のX軸の位置を調整する第1機構
− 基板(マーカ)のY軸の位置を調整する第2機構
− 第1部品のA軸の位置を調整する第3機構
− 第1部品のB軸の位置を調整する第4機構
− 第2部品のC軸の位置を調整する第5機構
− 第2部品のD軸の位置を調整する第6機構
・制御プログラムのプログラム言語:ST言語
・計測装置:カメラ
・状態データ:各機構によって調整された各軸の位置
・特徴量:瞬時値
・工程解析装置:汎用PC
なお、説明の便宜のため、第1〜第6機構をそれぞれ、「マーカ位置X軸」、「マーカ位置Y軸」、「第1部品位置A軸」、「第1部品位置B軸」、「第2部品位置C軸」、及び「第2部品位置D軸」とも記載する。「X軸」、「A軸」、及び「C軸」はカメラにより得られる画像の縦軸に対応し、「Y軸」、「B軸」、及び「D軸」は当該画像の横軸に対応する。
As an example, directed graph information indicating a causal relationship between each mechanism of a production line having the following conditions was created.
<Various conditions>
・ Production line: Manufacturing equipment / mechanisms (six) that fix two parts on the mounting position on the board:
-A first mechanism for adjusting the X-axis position of the substrate (marker)-A second mechanism for adjusting the Y-axis position of the substrate (marker)-A third mechanism for adjusting the A-axis position of the first component-First Fourth mechanism for adjusting the position of the B-axis of the part-Fifth mechanism for adjusting the position of the C-axis of the second part-Program language of the sixth mechanism / control program for adjusting the position of the D-axis of the second part: ST Language / Measurement device: Camera / Status data: Position / feature of each axis adjusted by each mechanism: Instantaneous value / Process analysis device: General-purpose PC
For convenience of explanation, the first to sixth mechanisms are respectively referred to as “marker position X axis”, “marker position Y axis”, “first part position A axis”, “first part position B axis”, “ Also referred to as “second component position C-axis” and “second component position D-axis”. “X axis”, “A axis”, and “C axis” correspond to the vertical axis of the image obtained by the camera, and “Y axis”, “B axis”, and “D axis” correspond to the horizontal axis of the image. Correspond.

ここで、図13A〜図13Cを用いて、実施例に係る製造ラインを構成する製造装置について説明する。図13A〜図13Cは、当該製造装置の構成を模式的に例示する。図13A〜図13Cに示されるとおり、実施例に係る製造装置は、基板52を運搬するコンベア51と、第1部品53を運搬する第1ロボットアーム531と、第2部品54を運搬する第2ロボットアーム541と、作業場所を撮影するカメラ55と、を備えている。第1機構及び第2機構によってコンベア51上の基板52の位置が調節され、第3機構及び第4機構によって第1ロボットアーム531の把持する第1部品53の位置が調節され、第5機構及び第6機構によって第2ロボットアーム541の把持する第2部品54の位置が調節される。   Here, the manufacturing apparatus which comprises the manufacturing line based on an Example is demonstrated using FIG. 13A-FIG. 13C. 13A to 13C schematically illustrate the configuration of the manufacturing apparatus. As illustrated in FIGS. 13A to 13C, the manufacturing apparatus according to the embodiment includes a conveyor 51 that transports the substrate 52, a first robot arm 531 that transports the first component 53, and a second that transports the second component 54. A robot arm 541 and a camera 55 for photographing a work place are provided. The position of the substrate 52 on the conveyor 51 is adjusted by the first mechanism and the second mechanism, the position of the first component 53 held by the first robot arm 531 is adjusted by the third mechanism and the fourth mechanism, and the fifth mechanism and The position of the second component 54 held by the second robot arm 541 is adjusted by the sixth mechanism.

製造装置は、コンベア51によって基板52を所定の位置に運搬する(図13A)。基板52の面にはマーカ521が設けられており、このマーカ521により位置決めがなされる。次に、製造装置は、第1ロボットアーム531によって、基板52の面に設けられた第1実装位置522に第1部品53を固定する(図13B)。そして、製造装置は、第2ロボットアーム541によって、基板52の面に設けられた第2実装位置523に第2部品54を固定する(図13C)。これによって、基板52の上面に2つの部品(53、54)を実装した製品を製造することができる。   The manufacturing apparatus conveys the substrate 52 to a predetermined position by the conveyor 51 (FIG. 13A). A marker 521 is provided on the surface of the substrate 52, and positioning is performed by the marker 521. Next, the manufacturing apparatus fixes the first component 53 to the first mounting position 522 provided on the surface of the substrate 52 by the first robot arm 531 (FIG. 13B). Then, the manufacturing apparatus fixes the second component 54 to the second mounting position 523 provided on the surface of the substrate 52 by the second robot arm 541 (FIG. 13C). Thus, a product in which two components (53, 54) are mounted on the upper surface of the substrate 52 can be manufactured.

本実施例では、状態データの解析処理を実施するため、1000個の製品を断続的に製造し、その過程をカメラ55で撮影した。なお、製品1個あたりにかかった製造時間は1分程度であった。そして、得られた画像データ551内において、基板52(マーカ521)のX軸及びY軸、第1部品53のA軸及びB軸、並びに第2部品のC軸及びにD軸の位置(座標)を特定することで、各機構に対応する特徴量を得た。図14は、上記により得られた各特徴量の一部を示す。   In this example, in order to perform the state data analysis process, 1000 products were manufactured intermittently, and the process was photographed by the camera 55. The manufacturing time per product was about 1 minute. In the obtained image data 551, the X-axis and Y-axis of the substrate 52 (marker 521), the A-axis and B-axis of the first component 53, the C-axis of the second component, and the D-axis position (coordinates). ) Was specified, and feature quantities corresponding to each mechanism were obtained. FIG. 14 shows a part of each feature amount obtained as described above.

続いて、上記数1に示す数式に図14に示される各特徴量を適用することで、各特徴量間の相関を示す相関係数行列を算出した。図15は、算出された相関係数行列を示す。この相関係数行列の各要素のうち相関係数の値が閾値0.2以上の要素を抽出することで、各機構間の関係の強さを示す無向グラフ情報を得た。図16は、これにより得られた無向グラフ情報を示す。   Subsequently, by applying each feature quantity shown in FIG. 14 to the mathematical formula shown in Equation 1, a correlation coefficient matrix indicating a correlation between each feature quantity was calculated. FIG. 15 shows the calculated correlation coefficient matrix. Undirected graph information indicating the strength of the relationship between the mechanisms was obtained by extracting elements having a correlation coefficient value of 0.2 or more from each element of the correlation coefficient matrix. FIG. 16 shows the undirected graph information obtained as a result.

また、制御プログラムの解析処理を実施するため、上記製造装置の利用する制御プログラムを得た。図17は、これにより得られた制御プログラムの一部を示す。次に、公知のソフトウェア(名称:Sysmac(登録商標) Studio)を利用して、この制御プログラムの構文解析を実施することで、抽象構文木の構築を行った。図18A〜図18Dは、これにより構築された抽象構文木の一部を示す。図18A〜図18Dに示される各抽象構文木は、図17の符号561〜564の各構文に対応する。この抽象構文木に上記ステップS1402〜S1404の処理を適用し、各機構に対応する各変数の順序付けの初期化を行った。更に、上記の製造工程で得られたログデータを利用することで、正常に稼働した際の各機構の順序関係を特定した。図19は、これにより特定した各機構の順序関係を示す。なお、図19のエッジに付された数字はノード間の遷移が発生する確率を示し、矢印の向きは、発生する遷移の向きを示す。   In addition, a control program used by the manufacturing apparatus was obtained in order to perform control program analysis processing. FIG. 17 shows a part of the control program thus obtained. Next, an abstract syntax tree was constructed by performing syntax analysis of the control program using known software (name: Sysmac (registered trademark) Studio). 18A to 18D show a part of the abstract syntax tree thus constructed. Each abstract syntax tree shown in FIGS. 18A to 18D corresponds to each syntax of reference numerals 561 to 564 in FIG. The processing of steps S1402 to S1404 was applied to this abstract syntax tree to initialize the ordering of each variable corresponding to each mechanism. Furthermore, the order relation of each mechanism when operating normally was specified by using the log data obtained in the above manufacturing process. FIG. 19 shows the order relationship of the mechanisms specified by this. In addition, the number attached | subjected to the edge of FIG. 19 shows the probability that the transition between nodes will generate | occur | produce, and the direction of the arrow shows the direction of the transition which generate | occur | produces.

そして、状態データの解析で得られた無向グラフ情報(図16)に、制御プログラムの解析で特定した順序関係(図19)を適用することで、各機構の因果関係を示す有向グラフ情報を得た。有向グラフ情報を形成する際には、図19の示す順序関係において発生する確率が閾値0.1よりも低い遷移に対応するエッジを削除した。図20は、これにより得られた有向グラフ情報を示す。図20の有向グラフ情報は、各軸において「基板(マーカ)の移動」、「第1部品の実装」、及び「第2部品の実装」の順で製造装置が動作するという因果関係を示している。この因果関係は、製造装置の実際の動作と一致している。そのため、上記実施形態に係る方法によれば、製造ラインを構成する複数の機構間の因果関係を正確にモデル化できることが分かった。   Then, by applying the order relationship (FIG. 19) specified by the control program analysis to the undirected graph information (FIG. 16) obtained by the state data analysis, the directed graph information indicating the causal relationship of each mechanism is obtained. It was. When forming the directed graph information, an edge corresponding to a transition having a probability of occurring in the order relation shown in FIG. FIG. 20 shows the directed graph information obtained as a result. The directed graph information in FIG. 20 indicates a causal relationship that the manufacturing apparatus operates in the order of “movement of the substrate (marker)”, “mounting of the first component”, and “mounting of the second component” in each axis. . This causal relationship is consistent with the actual operation of the manufacturing apparatus. Therefore, according to the method according to the above embodiment, it has been found that the causal relationship between a plurality of mechanisms constituting the production line can be accurately modeled.

§4 変形例
以上、本発明の実施の形態を詳細に説明してきたが、前述までの説明はあらゆる点において本発明の例示に過ぎない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。例えば、以下のような変更が可能である。なお、以下では、上記実施形態と同様の構成要素に関しては同様の符号を用い、上記実施形態と同様の点については、適宜説明を省略した。以下の変形例は適宜組み合わせ可能である。
§4 Modifications Embodiments of the present invention have been described in detail above, but the above description is merely an illustration of the present invention in all respects. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. For example, the following changes are possible. In the following, the same reference numerals are used for the same components as in the above embodiment, and the description of the same points as in the above embodiment is omitted as appropriate. The following modifications can be combined as appropriate.

<4.1>
上記実施形態では、工程解析装置1は、製造ライン3を制御する制御装置であるPLC2から制御プログラム221を取得している。しかしながら、解析対象となる制御プログラムの取得先は、その制御プログラムを利用する制御装置に限られなくてもよく、実施の形態に応じて適宜選択されてよい。例えば、NAS(Network Attached Storage)等の外部の記憶装置に制御プログラムが保存されている場合、工程解析装置1は、当該外部の記憶装置から制御プログラムを取得してもよい。また、例えば、CD、半導体メモリ等の記憶媒体に制御プログラムが保存されている場合、工程解析装置1は、当該記憶媒体から制御プログラムを取得してもよい。特に、上記実施形態では、抽象構文木を構築することで、制御プログラムの解析を行っている。この抽象構文木は、プログラム言語で記述されたプログラムをコンパイルする過程で作成可能である。そのため、工程解析装置1は、コンパイル前のプログラムを制御プログラム221として取得するのが好ましい。コンパイル前のプログラムを制御装置が保持していない場合には、工程解析装置1は、制御装置で実行される制御プログラムに対応するコンパイル前のプログラムを、制御装置以外の外部装置、記憶媒体等から取得してもよい。
<4.1>
In the above-described embodiment, the process analysis device 1 acquires the control program 221 from the PLC 2 that is a control device that controls the production line 3. However, the acquisition destination of the control program to be analyzed does not have to be limited to the control device using the control program, and may be appropriately selected according to the embodiment. For example, when the control program is stored in an external storage device such as NAS (Network Attached Storage), the process analysis apparatus 1 may acquire the control program from the external storage device. For example, when the control program is stored in a storage medium such as a CD or a semiconductor memory, the process analysis apparatus 1 may acquire the control program from the storage medium. In particular, in the above embodiment, the control program is analyzed by constructing an abstract syntax tree. This abstract syntax tree can be created in the process of compiling a program written in a programming language. Therefore, it is preferable that the process analysis apparatus 1 acquires the pre-compiled program as the control program 221. When the control device does not hold the pre-compiled program, the process analysis device 1 can download the pre-compile program corresponding to the control program executed by the control device from an external device other than the control device, a storage medium, or the like. You may get it.

<4.2>
上記実施形態では、制御プログラム221は、PLC2で実行可能なように、例えば、ラダー・ダイアグラム言語、ファンクション・ブロック・ダイアグラム言語、ストラクチャード・テキスト言語、インストラクション・リスト言語、及びシーケンシャル・ファンクション・チャート言語、C言語の少なくともいずれかを利用して記述される。しかしながら、解析対象となる制御プログラムの種類は、このような例に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。例えば、解析対象となる制御プログラムは、Java(登録商標)、Python、C++、Ruby、Lua等が利用されて記述されてよい。
<4.2>
In the above embodiment, the control program 221 can be executed by the PLC 2, for example, a ladder diagram language, a function block diagram language, a structured text language, an instruction list language, and a sequential function chart language. It is described using at least one of C languages. However, the type of control program to be analyzed does not have to be limited to such an example, and may be appropriately selected according to the embodiment. For example, the control program to be analyzed may be described using Java (registered trademark), Python, C ++, Ruby, Lua, or the like.

<4.3>
上記実施形態では、工程解析装置1は、製造ライン3を制御するPLC2から状態データ222を取得している。しかしながら、解析対象となる状態データの取得先は、製造ラインを制御する制御装置に限られなくてもよく、実施の形態に応じて適宜選択されてよい。例えば、NAS等の外部の記憶装置に状態データが保存されている場合、工程解析装置1は、当該外部の記憶装置から状態データを取得してもよい。また、例えば、CD、半導体メモリ等の記憶媒体に状態データが保存されている場合、工程解析装置1は、当該記憶媒体から状態データを取得してもよい。更に、例えば、工程解析装置1は、状態データを各計測装置から直接取得してもよい。
<4.3>
In the above embodiment, the process analysis apparatus 1 acquires the state data 222 from the PLC 2 that controls the production line 3. However, the acquisition source of the state data to be analyzed does not have to be limited to the control device that controls the production line, and may be appropriately selected according to the embodiment. For example, when the state data is stored in an external storage device such as NAS, the process analysis device 1 may acquire the state data from the external storage device. For example, when the state data is stored in a storage medium such as a CD or a semiconductor memory, the process analysis apparatus 1 may acquire the state data from the storage medium. Further, for example, the process analysis device 1 may directly acquire the state data from each measurement device.

<4.4>
上記実施形態では、工程解析装置1は、複数の機構31間の因果関係を解析した結果を有向グラフ情報として出力している。しかしながら、解析結果の出力形式は、このような例に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。因果関係の解析結果は、例えば、遷移確率行列、テキスト等で表現されてもよい。
<4.4>
In the above embodiment, the process analysis apparatus 1 outputs the result of analyzing the causal relationship between the plurality of mechanisms 31 as directed graph information. However, the output format of the analysis result may not be limited to such an example, and may be appropriately selected according to the embodiment. The analysis result of the causal relationship may be expressed by, for example, a transition probability matrix, text, or the like.

また、上記実施形態では、ステップS1303で構築した無向グラフ情報を利用して、有向グラフ情報を作成している。しかしながら、有向グラフ情報を作成する方法は、このような例に限定されなくてもよい。例えば、工程解析装置1は、上記ステップS1303を省略して、相関係数又は偏相関係数の行列を利用して、有向グラフ情報を作成してもよい。   In the above embodiment, the directed graph information is created using the undirected graph information constructed in step S1303. However, the method of creating the directed graph information may not be limited to such an example. For example, the process analysis apparatus 1 may omit the step S1303 and create directed graph information using a matrix of correlation coefficients or partial correlation coefficients.

<4.5>
上記実施形態では、工程解析装置1とPLC2とは別々のコンピュータにより構成されている。しかしながら、工程解析装置1とPLC2とは1台のコンピュータにより構成されてもよい。すなわち、1台のコンピュータが、工程解析装置及び製造ラインの制御装置の両方の機能を備えてもよい。
<4.5>
In the above embodiment, the process analysis apparatus 1 and the PLC 2 are configured by separate computers. However, the process analysis apparatus 1 and the PLC 2 may be configured by a single computer. That is, one computer may have the functions of both the process analysis device and the production line control device.

<4.6>
上記実施形態では、工程解析装置1は、状態データ222を解析する過程において、相関係数又は偏相関係数を算出する前に、各件の状態データ222から特徴量を算出している。しかしながら、状態データ222を統計的に解析する方法は、このような例に限定されなくてもよい。例えば、工程解析装置1は、各件の状態データ222をそのまま利用して相関係数又は偏相関係数を算出してもよい。
<4.6>
In the above-described embodiment, the process analysis apparatus 1 calculates the feature amount from the state data 222 of each case before calculating the correlation coefficient or the partial correlation coefficient in the process of analyzing the state data 222. However, the method of statistically analyzing the state data 222 may not be limited to such an example. For example, the process analysis apparatus 1 may calculate the correlation coefficient or the partial correlation coefficient using the state data 222 of each case as it is.

また、上記実施形態では、各機構31間の関係の強さを示すために、相関係数又は偏相関係数を用いている。しかしながら、各機構間の関係の強さを示す指標は、相関係数又は偏相関係数に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。例えば、各機構間の関係の強さを示す指標として、MIC(Maximum Information Coefficient)、HSIC(Hilbert-Schmidt Independence Criteria)、相互情報量等が用いられてもよい。   Moreover, in the said embodiment, in order to show the strength of the relationship between each mechanism 31, a correlation coefficient or a partial correlation coefficient is used. However, the index indicating the strength of the relationship between the mechanisms does not have to be limited to the correlation coefficient or the partial correlation coefficient, and may be appropriately selected according to the embodiment. For example, MIC (Maximum Information Coefficient), HSIC (Hilbert-Schmidt Independence Criteria), mutual information, or the like may be used as an index indicating the strength of the relationship between the mechanisms.

<4.7>
上記実施形態では、工程解析装置1は、抽象構文木を利用して、制御プログラム221の解析を行っている。しかしながら、制御プログラムを解析する方法は、このような例に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。例えば、工程解析装置1は、コンパイルの過程で形成される中間言語のコードを利用して、制御プログラムを解析してもよい。
<4.7>
In the above embodiment, the process analysis apparatus 1 analyzes the control program 221 using an abstract syntax tree. However, the method of analyzing the control program is not limited to such an example, and may be appropriately selected according to the embodiment. For example, the process analysis apparatus 1 may analyze the control program using an intermediate language code formed in the compilation process.

また、上記実施形態では、抽象構文木から変数と条件分岐とを抽出した後に、制御プログラム221を利用して製造ライン3を稼働させることで得られるログデータ223を参照して、条件分岐の実行結果に基づいた各変数の順番付けを行うことで、複数の機構31の順序関係を特定している。しかしながら、ログデータ223に基づいて、複数の機構31の順序関係を特定する方法は、このような例に限定されなくてもよい。上記工程解析装置1は、ログデータ223を適宜解析することで、複数の機構31の順序関係を特定してもよい。   Further, in the above embodiment, execution of conditional branching is performed by referring to log data 223 obtained by operating the production line 3 using the control program 221 after extracting variables and conditional branches from the abstract syntax tree. By ordering each variable based on the result, the order relation of the plurality of mechanisms 31 is specified. However, the method for specifying the order relationship of the plurality of mechanisms 31 based on the log data 223 may not be limited to such an example. The process analysis apparatus 1 may specify the order relationship of the plurality of mechanisms 31 by appropriately analyzing the log data 223.

<4.8>
上記実施形態では、工程解析装置1は、ステップS103において、複数の機構31間の接続状態として、複数の機構31間の関係の強さを特定している。しかしながら、接続状態の表現方法は、このような例に限定されなくてもよく、実施の形態に応じて適宜決定されてよい。例えば、複数の機構31間の接続状態は、関係の有無、関係の変化等によって表現されてよい。関係の変化は、例えば、関係の強さ又は有無で表現された関係性の時系列での差分(変化量)で示されてよい。
<4.8>
In the above embodiment, the process analysis apparatus 1 specifies the strength of the relationship between the plurality of mechanisms 31 as the connection state between the plurality of mechanisms 31 in step S103. However, the representation method of the connection state may not be limited to such an example, and may be appropriately determined according to the embodiment. For example, the connection state between the plurality of mechanisms 31 may be expressed by the presence or absence of a relationship, a change in the relationship, or the like. The change in the relationship may be indicated by, for example, a difference (change amount) in the time series of the relationship expressed by the strength or presence of the relationship.

<4.9>
上記実施形態では、工程解析装置1は、ステップS103において、相関係数又は偏相関係数を算出することをもって、複数件の状態データ222を統計的に解析している。しかしながら、複数件の状態データ222を統計的に解析する方法は、このような例に限定されなくてもよく、実施の形態に応じて適宜決定されてよい。制御部11は、上記ステップS103において、例えば、GLASSO(Graphical LASSO)、共分散選択法等により、複数件の状態データ222を統計的に解析してもよい。これにより、制御部11は、複数の機構31間の接続状態を示す無向グラフを得ることができる。また、制御部11は、上記ステップS103において、例えば、SGS(Spirtes,Glymour,and Scheines)、PC(Peter & Clark)、FCI(Fast Causal Inference)、LiNGAM(Liner Non-Gaussian Acyclic Model)、ベイジアンネットワーク等により、複数件の状態データ222を統計的に解析してもよい。これにより、制御部11は、複数の機構31間の接続状態を示す有向グラフを得ることができる。
<4.9>
In the above embodiment, the process analysis apparatus 1 statistically analyzes the plurality of state data 222 by calculating the correlation coefficient or the partial correlation coefficient in step S103. However, the method of statistically analyzing a plurality of state data 222 may not be limited to such an example, and may be appropriately determined according to the embodiment. In step S103, the control unit 11 may statistically analyze a plurality of pieces of state data 222 by, for example, GLASSO (Graphical LASSO), a covariance selection method, or the like. Thereby, the control part 11 can obtain the undirected graph which shows the connection state between the some mechanisms 31. FIG. Further, in step S103, the control unit 11, for example, includes SGS (Spirtes, Glymour, and Scheines), PC (Peter & Clark), FCI (Fast Causal Inference), LiNGAM (Liner Non-Gaussian Acyclic Model), Bayesian network. For example, a plurality of status data 222 may be statistically analyzed. Thereby, the control part 11 can obtain the directed graph which shows the connection state between the some mechanisms 31. FIG.

<4.10>
上記実施形態では、工程解析装置1は、ステップS103において、複数件の状態データ222を統計的に解析している。しかしながら、複数件の状態データ222を解析する方法は、このような統計的手法に限られなくてもよく、制御部11は、ステップS103において、統計的手法以外の方法により、複数件の状態データ222を解析してもよい。
<4.10>
In the above embodiment, the process analysis apparatus 1 statistically analyzes a plurality of state data 222 in step S103. However, the method of analyzing the plurality of state data 222 may not be limited to such a statistical method, and the control unit 11 uses a method other than the statistical method in step S103 to determine the plurality of state data. 222 may be analyzed.

例えば、制御部11は、各機構31より得られた各件の状態データ222から特徴量を算出し、算出した各特徴量の変化に基づいて、複数の機構31間の接続状態を特定してもよい。算出する特徴量の種類は、上記ステップS1301と同様であってよい。各特徴量の変化に基づいて接続状態を特定する方法の一例として、関係の有する機構31間で故障等の異常が生じると、その関係の有する各機構31から得られる特徴量は大きく変化する。そこで、制御部11は、算出した各特徴量の変化量を所定の閾値と比較して、閾値以上の変化の生じている特徴量を抽出してもよい。そして、制御部11は、抽出した特徴量に対応する機構31間は関係を有しているとして、接続状態を特定してもよい。   For example, the control unit 11 calculates a feature amount from each case state data 222 obtained from each mechanism 31, and specifies a connection state between the plurality of mechanisms 31 based on the calculated change in each feature amount. Also good. The type of feature amount to be calculated may be the same as that in step S1301. As an example of a method for specifying a connection state based on a change in each feature amount, when an abnormality such as a failure occurs between related mechanisms 31, the feature amount obtained from each related mechanism 31 greatly changes. Therefore, the control unit 11 may extract the feature amount that has changed more than the threshold value by comparing the calculated change amount of each feature amount with a predetermined threshold value. Then, the control unit 11 may specify the connection state on the assumption that there is a relationship between the mechanisms 31 corresponding to the extracted feature amount.

また、例えば、制御部11は、決定木、ロジスティクス回帰、ベイジアンネットワーク、ニューラルネットワーク等の機械学習により得られる学習モデルを利用して、複数件の状態データ222の解析を行ってもよい。学習モデルを利用する手法の一例として、制御部11は、状態データに基づいて異常が生じているか否かを判定する能力を習得するための機械学習を行った学習済みの学習モデルを取得してもよい。そして、制御部11は、各件の状態データ222を取得した学習モデルに入力し、対応する機構31に異常が生じているか否かを示す出力を学習済みの学習モデルから取得してもよい。これにより、制御部11は、異常の生じていると判定された機構31同士は関係を有しているとみなすことで、複数の機構31間の接続状態を特定することができる。   Further, for example, the control unit 11 may analyze a plurality of pieces of state data 222 using a learning model obtained by machine learning such as a decision tree, logistics regression, Bayesian network, or neural network. As an example of a method using a learning model, the control unit 11 acquires a learned learning model that has been subjected to machine learning to acquire the ability to determine whether or not an abnormality has occurred based on state data. Also good. Then, the control unit 11 may input the state data 222 of each case into the acquired learning model, and acquire an output indicating whether or not an abnormality has occurred in the corresponding mechanism 31 from the learned learning model. Thereby, the control part 11 can pinpoint the connection state between the some mechanisms 31 by considering that the mechanisms 31 determined that abnormality has arisen.

<4.11>
上記実施形態では、工程解析装置1は、上記ステップS104において、ログデータ223を利用して、複数の機構31間の順序関係を特定している。しかしながら、複数の機構31間の順序関係を特定する方法は、このようなログデータ223を利用した方法に限られなくてもよい。工程解析装置1は、ログデータ223を利用せずに、複数の機構31間の順序関係を特定してもよい。
<4.11>
In the said embodiment, the process analysis apparatus 1 specifies the order relationship between the some mechanisms 31 using the log data 223 in the said step S104. However, the method for specifying the order relationship between the plurality of mechanisms 31 is not limited to the method using the log data 223. The process analysis apparatus 1 may specify the order relationship between the mechanisms 31 without using the log data 223.

図21は、本変形例における制御プログラム221を解析する処理手順の一例を示すフローチャートである。例えば、制御部11は、第2解析部114として動作し、上記ステップS104に代えて、図21により示される処理手順により、複数の機構31間の順序関係を特定してもよい。   FIG. 21 is a flowchart illustrating an example of a processing procedure for analyzing the control program 221 in the present modification. For example, the control unit 11 may operate as the second analysis unit 114 and specify the order relationship between the plurality of mechanisms 31 according to the processing procedure illustrated in FIG. 21 instead of step S104.

(ステップS1411)
ステップS1411では、制御部11は、取得した制御プログラム221の構文解析を行うことで、制御プログラム221から抽象構文木を構築する。抽象構文木の構築は、上記ステップS1401と同様に行われてよい。抽象構文木の構築が完了すると、制御部11は、次のステップS1412に処理を進める。
(Step S1411)
In step S1411, the control unit 11 constructs an abstract syntax tree from the control program 221 by performing syntax analysis of the acquired control program 221. The construction of the abstract syntax tree may be performed in the same manner as in step S1401. When the construction of the abstract syntax tree is completed, the control unit 11 advances the processing to the next step S1412.

(ステップS1412)
ステップS1412では、制御部11は、ステップS1411により構築した抽象構文木から各機構31に関する変数を抽出する。変数の抽出は、上記ステップS1402と同様に行われてよい。各機構31に関する変数の抽出が完了すると、制御部11は、次のステップS1413に処理を進める。
(Step S1412)
In step S1412, the control unit 11 extracts a variable related to each mechanism 31 from the abstract syntax tree constructed in step S1411. The variable extraction may be performed in the same manner as in step S1402. When the extraction of the variables related to each mechanism 31 is completed, the control unit 11 advances the processing to the next step S1413.

(ステップS1413)
ステップS1413では、制御部11は、ステップS1411により構築した抽象構文木から制御フローグラフを生成する。制御フローグラフは、プログラムを実行したときに通過する可能性のある全ての経路をグラフにより示すものである。
(Step S1413)
In step S1413, the control unit 11 generates a control flow graph from the abstract syntax tree constructed in step S1411. The control flow graph is a graph showing all paths that may be taken when the program is executed.

ここで、図22を更に用いて、制御フローグラフについて説明する。図22は、プログラムの一例(プログラム501)とそのプログラムの一例から導出される制御フローグラフの一例(制御フローグラフ502)を模式的に例示する。図22の例では、プログラム501は、処理L1〜L6を含んでいる。このプログラム501から構築される抽象構文木を利用して、プログラム501の依存性解析を行うことで、図22に示される制御フローグラフ502を得ることができる。   Here, the control flow graph will be described with reference to FIG. FIG. 22 schematically illustrates an example of a program (program 501) and an example of a control flow graph derived from the example of the program (control flow graph 502). In the example of FIG. 22, the program 501 includes processes L1 to L6. A control flow graph 502 shown in FIG. 22 can be obtained by performing dependency analysis of the program 501 using an abstract syntax tree constructed from the program 501.

制御フローグラフ502は、プログラム501の処理の流れ(実線の矢印)、データの依存性(点線の矢印)、及び制御の依存性(一点鎖線の矢印)を示している。処理の流れは、プログラム内の処理が実行される順序を示す。例えば、プログラム501では、処理L1の後に、処理L2が実行される。そのため、制御フローグラフ502において、処理L1と処理L2とは、処理の流れを示す矢印で連結されている。また、処理L4は分岐構文であり、処理L4の実行結果に基づいて、次に実行する処理が処理L5又は処理L6のいずれかに決定される。そのため、処理L4は、処理L5及び処理L6と処理の流れを示す矢印で連結されている。   The control flow graph 502 shows the flow of processing of the program 501 (solid line arrow), data dependency (dotted line arrow), and control dependency (dotted line arrow). The process flow indicates the order in which the processes in the program are executed. For example, in the program 501, the process L2 is executed after the process L1. Therefore, in the control flow graph 502, the process L1 and the process L2 are connected by an arrow indicating the flow of the process. Further, the process L4 has a branch syntax, and based on the execution result of the process L4, the process to be executed next is determined as either the process L5 or the process L6. Therefore, the process L4 is connected to the process L5 and the process L6 by an arrow indicating a process flow.

データの依存性は、影響を与える処理の関係を示す。例えば、プログラム501では、処理L2が、処理L4及び処理L5の結果に影響を与える。そのため、制御フローグラフ502において、処理L2は、処理L4及び処理L5とデータの依存性を示す矢印で連結されている。また、制御の依存性は、条件分岐等により実行の可否を決定する処理の関係を示す。例えば、プログラム501では、処理L4の実行結果に基づいて、処理L5の実行の可否が決定される。そのため、制御フローグラフ502において、処理L4は、処理L5と制御の依存性を示す矢印で連結されている。   The dependency of data indicates the relationship of processing that affects the data. For example, in the program 501, the process L2 affects the results of the process L4 and the process L5. Therefore, in the control flow graph 502, the process L2 is connected to the process L4 and the process L5 by arrows indicating data dependency. Further, the control dependency indicates the relationship of processing for determining whether or not execution is possible by conditional branching or the like. For example, in the program 501, whether or not the process L5 can be executed is determined based on the execution result of the process L4. Therefore, in the control flow graph 502, the process L4 is connected to the process L5 by an arrow indicating control dependency.

このように制御フローグラフによれば、制御プログラム221における変数の演算を含む処理同士の依存関係を特定することができる。制御部11は、抽象構文木を利用して、制御プログラム221の依存性解析を行うことで、制御フローグラフを生成する。そして、制御フローグラフの生成が完了すると、制御部11は、次のステップS1414に処理を進める。なお、本ステップS1413は、上記ステップS1412の前に実行されてもよいし、上記ステップS1412と並列に実行されてもよい。   Thus, according to the control flow graph, it is possible to specify the dependency relationship between the processes including the calculation of the variables in the control program 221. The control unit 11 generates a control flow graph by performing dependency analysis of the control program 221 using an abstract syntax tree. Then, when the generation of the control flow graph is completed, the control unit 11 advances the processing to the next step S1414. This step S1413 may be executed before step S1412 or may be executed in parallel with step S1412.

(ステップS1414及びS1415)
ステップS1414では、制御部11は、生成した制御フローグラフに基づいて、抽出した変数の依存関係を特定する。本変形例では、上記ステップS1413及び本ステップS1414により、制御部11は、ステップS1411で構築した抽象構文木に基づいて、制御プログラム221の処理における変数の依存関係を特定する。そして、次のステップS1415では、制御部11は、特定した変数の依存関係に基づいて、複数の機構31の順序関係を特定する。複数の機構31の順序関係の特定が完了すると、本変形例に係る制御プログラム221の解析処理は終了する。
(Steps S1414 and S1415)
In step S1414, the control unit 11 specifies the dependency relationship of the extracted variable based on the generated control flow graph. In this modification, the control unit 11 identifies the dependency relationship of variables in the processing of the control program 221 based on the abstract syntax tree constructed in step S1411 through the above step S1413 and step S1414. In the next step S1415, the control unit 11 specifies the order relationship of the plurality of mechanisms 31 based on the dependency relationship of the specified variable. When the identification of the order relationship of the plurality of mechanisms 31 is completed, the analysis process of the control program 221 according to the present modification ends.

ここで、図23を更に用いて、ステップS1414及びS1415の処理について説明する。図23は、制御フローグラフに基づいて各変数間の依存関係を特定し、特定した変数間の依存関係に基づいて複数の機構31の順序関係を特定する処理手順の一例を示すフローチャートである。   Here, the processing in steps S1414 and S1415 will be described with reference to FIG. FIG. 23 is a flowchart illustrating an example of a processing procedure for specifying the dependency relationship between the variables based on the control flow graph and specifying the order relationship of the plurality of mechanisms 31 based on the dependency relationship between the specified variables.

(ステップS401)
ステップS401では、制御部11は、ステップS1412により抽出した変数のグルーピングを行うことで、各機構31に対応する変数グループを生成する。
(Step S401)
In step S401, the control unit 11 generates a variable group corresponding to each mechanism 31 by grouping the variables extracted in step S1412.

図24Aは、変数グループを生成する場面の一例を模式的に例示する。制御プログラム221が複数件のプログラムに分割されている場合、同一の機構31に対応する変数に同じ名称が付与されているとは限らない。そこで、制御部11は、ステップS1412により得られた変数から、各機構31に対応する注目変数をピックアップする。続いて、制御部11は、ステップS1412により得られた変数から、各注目変数に依存するグローバル変数を抽出する。そして、制御部11は、各注目変数と各注目変数に依存するグローバル変数とのグループを各機構31に対応する変数グループとして生成する。これにより、制御部11は、各機構31に対応する変数のグルーピングを行うことができる。変数のグルーピングが完了すると、制御部11は、次のステップS402に処理を進める。   FIG. 24A schematically illustrates an example of a scene for generating a variable group. When the control program 221 is divided into a plurality of programs, the same name is not necessarily given to variables corresponding to the same mechanism 31. Therefore, the control unit 11 picks up the attention variable corresponding to each mechanism 31 from the variables obtained in step S1412. Subsequently, the control unit 11 extracts global variables depending on each target variable from the variables obtained in step S1412. Then, the control unit 11 generates a group of each attention variable and a global variable depending on each attention variable as a variable group corresponding to each mechanism 31. Thereby, the control unit 11 can perform grouping of variables corresponding to the respective mechanisms 31. When the variable grouping is completed, the control unit 11 advances the processing to the next step S402.

(ステップS402)
ステップS402では、制御部11は、ステップS401で生成した変数グループから2つの変数グループを総当たりで選択する。これにより、制御部11は、変数グループのペア(組合せ)を生成し、生成した変数グループのペアをリストアップする。例えば、D(A)、D(B)、及びD(C)という3つの変数グループが生成されたとする。この場合、制御部11は、本ステップS402の処理により、(D(A)、D(B))、(D(A)、D(C))、(D(B)、D(C))という3つの変数グループのペアをリストアップすることができる。変数グループのペアのリストアップが完了すると、制御部11は、次のステップS403に処理を進める。
(Step S402)
In step S402, the control unit 11 selects two variable groups from the variable groups generated in step S401. Thereby, the control unit 11 generates a pair (combination) of variable groups and lists the generated pairs of variable groups. For example, assume that three variable groups D (A), D (B), and D (C) are generated. In this case, the control unit 11 performs (D (A), D (B)), (D (A), D (C)), (D (B), D (C)) by the process of step S402. You can list three variable group pairs. When the list of variable group pairs is completed, the control unit 11 advances the processing to the next step S403.

(ステップS403)
ステップS403では、制御部11は、ステップS402でリストアップした変数グループのペアから1つの変数グループのペアを取り出し、取り出したペアの各変数グループから1つずつ変数を総当たりで取り出す。これにより、制御部11は、各変数グループに含まれる変数のペア(組合せ)を生成し、生成した変数のペアをリストアップする。例えば、(D(A)、D(B))のペアを取り出し、変数グループD(A)には、AA1、AA2という2つの変数が含まれており、変数グループD(B)には、BB1、BB2という2つの変数が含まれているとする。この場合、制御部11は、本ステップS403の処理により、(AA1、BB1)、(AA1、BB2)、(AA2、BB1)、(AA2、BB2)という4つの変数のペアをリストアップすることができる。変数のペアのリストアップが完了すると、制御部11は、次のステップS404に処理を進める。
(Step S403)
In step S403, the control unit 11 extracts one variable group pair from the variable group pairs listed in step S402, and extracts one variable from each variable group of the extracted pair. As a result, the control unit 11 generates variable pairs included in each variable group, and lists the generated variable pairs. For example, a pair of (D (A), D (B)) is taken out, and the variable group D (A) includes two variables AA1 and AA2, and the variable group D (B) includes BB1. , BB2 are included. In this case, the control unit 11 can list the four variable pairs (AA1, BB1), (AA1, BB2), (AA2, BB1), (AA2, BB2) by the process of step S403. it can. When the list of variable pairs is completed, the control unit 11 advances the processing to the next step S404.

(ステップS404)
ステップS404では、制御部11は、ステップS403でリストアップした変数のペアから1つの変数のペアを取り出し、制御フローグラフに基づいて、取り出したペアの変数間の依存関係を導出する。例えば、(AA1、BB1)のペアを取り出したとする。制御フローグラフにより、AA1を含む処理の後にBB1を含む処理が実行されるという依存関係が示されている場合には、制御部11は、本ステップS404により、AA1が先でBB1が後であるという順序の依存関係があることを導出することができる。同様に、制御フローグラフにより、BB1を含む処理の後にAA1を含む処理が実行されるという依存関係が示されている場合には、制御部11は、本ステップS404により、AA1が後でBB1が前であるという順序の依存関係があることを導出することができる。一方、制御フローグラフにおいて、AA1を含む処理とBB1を含む処理とが直接的にも間接的にも連結されていない場合には、制御部11は、本ステップS404により、AA1とBB1との間には依存関係がないと特定することができる。このような依存関係の導出が完了すると、制御部11は、次のステップS405に処理を進める。
(Step S404)
In step S404, the control unit 11 extracts one variable pair from the variable pairs listed in step S403, and derives a dependency relationship between the extracted pair variables based on the control flow graph. For example, assume that a pair (AA1, BB1) is taken out. When the control flow graph shows a dependency relationship that the process including BB1 is executed after the process including AA1, the control unit 11 determines that AA1 is first and BB1 is later in this step S404. It can be derived that there is an order dependency. Similarly, when the control flow graph shows a dependency relationship that a process including AA1 is executed after a process including BB1, the control unit 11 determines that AA1 is later changed to BB1 by this step S404. It can be derived that there is an order dependency that it is before. On the other hand, in the control flow graph, when the process including AA1 and the process including BB1 are not directly or indirectly linked, the control unit 11 determines whether the process between AA1 and BB1 is performed in step S404. Can be identified as having no dependencies. When the derivation of the dependency relationship is completed, the control unit 11 advances the processing to the next step S405.

(ステップS405)
ステップS405では、制御部11は、全ての変数のペアに対してステップS404の処理が完了したか否かを判定する。全ての変数のペアに対してステップS404の処理が完了していないと判定した場合には、制御部11は、ステップS404に処理を戻し、他の変数のペアに対して依存関係を導出する処理を実行する。これにより、制御部11は、ステップS403によりリストアップした全ての変数のペアに対して、ステップS404による依存関係の導出処理を実行する。全ての変数のペアに対して依存関係の導出処理が完了すると、制御部11は、全ての変数のペアに対してステップS404の処理が完了したと判定し、次のステップS406に処理を進める。
(Step S405)
In step S405, the control unit 11 determines whether or not the processing in step S404 has been completed for all variable pairs. If it is determined that the processing in step S404 has not been completed for all variable pairs, the control unit 11 returns the processing to step S404 and derives a dependency relationship for other variable pairs. Execute. As a result, the control unit 11 executes the dependency derivation process in step S404 for all pairs of variables listed in step S403. When the dependency derivation process is completed for all variable pairs, the control unit 11 determines that the process of step S404 has been completed for all variable pairs, and proceeds to the next step S406.

(ステップS406)
ステップS406では、制御部11は、ステップS404の処理を繰り返すことで得られた各変数間の依存関係を、ステップS403で取り出したペアの変数グループ間の依存関係に集約する。これにより、制御部11は、取り出したペアの変数グループ間の依存関係、すなわち、取り出したペアの変数グループに対応する2つの機構31間の順序関係を特定する。
(Step S406)
In step S406, the control unit 11 aggregates the dependency relationships between the variables obtained by repeating the process in step S404 into the dependency relationships between the paired variable groups extracted in step S403. Thus, the control unit 11 specifies the dependency relationship between the extracted pair variable groups, that is, the order relationship between the two mechanisms 31 corresponding to the extracted pair variable groups.

図24Bは、各変数間で得られた依存関係を模式的に例示する。ペアP1では、変数グループD(Axis001)内の変数が先で変数グループD(Axis002)が後であるという順序の依存関係が得られている。この場合、制御部11は、本ステップS406により、変数グループD(Axis001)に対応する機構31が先で変数グループD(Axis002)に対応する機構31が後であるという順序関係があることを特定することができる。つまり、順序の依存関係が一方向に偏っている場合には、制御部11は、2つの機構31間にはその方向の順序関係があると特定することができる。   FIG. 24B schematically illustrates the dependency relationship obtained between the variables. In the pair P1, an order dependency is obtained in which the variables in the variable group D (Axis001) are first and the variable group D (Axis002) is later. In this case, the control unit 11 specifies in step S406 that the mechanism 31 corresponding to the variable group D (Axis001) has an order relationship that the mechanism 31 corresponding to the variable group D (Axis002) is later. can do. That is, if the order dependency is biased in one direction, the control unit 11 can specify that there is an order relation in that direction between the two mechanisms 31.

一方、ペアP2では、変数グループD(Axis001)内の変数が後で変数グループD(Sensor001)が先であるという順序の依存関係を有する変数のペアと、変数グループD(Axis001)内の変数が先で変数グループD(Sensor001)が後であるという順序の依存関係を有する変数のペアとが存在する。この場合、制御部11は、取り出したペアの変数グループに対応する2つの機構31間には双方向の順序関係があると特定してもよい。又は、制御部11は、所定の方法に基づいて、取り出したペアの変数グループに対応する2つの機構31間の双方向の順序関係のうちいずれかの順序関係を採用することで、2つの機構31間の順序関係を特定してもよい。   On the other hand, in the pair P2, the variable in the variable group D (Axis001) has a variable pair having an order dependency that the variable group D (Sensor001) comes first, and the variable in the variable group D (Axis001) has There exists a pair of variables having an order dependency that the variable group D (Sensor001) is later. In this case, the control unit 11 may specify that there is a bidirectional order relationship between the two mechanisms 31 corresponding to the extracted pair of variable groups. Alternatively, the control unit 11 employs any one of the two-way order relationships between the two mechanisms 31 corresponding to the extracted pair variable group based on a predetermined method, so that the two mechanisms The order relationship between 31 may be specified.

例えば、制御部11は、2つの機構31間の双方向の順序関係のうち採用する順序関係の選択をユーザから受け付けてもよい。この場合、制御部11は、ユーザの指定した順序関係を、2つの機構31間の順序関係として採用することができる。   For example, the control unit 11 may accept a selection of an order relationship to be adopted among the bidirectional order relationships between the two mechanisms 31 from the user. In this case, the control unit 11 can adopt the order relationship specified by the user as the order relationship between the two mechanisms 31.

なお、いずれの変数のペアにも依存関係が存在しない場合には、制御部11は、取り出したペアの変数グループに対応する2つの機構31間には順序関係がないと特定することができる。これにより、2つの機構31間の順序関係の特定が完了すると、制御部11は、次のステップS407に処理を進める。   When there is no dependency relationship between any pair of variables, the control unit 11 can specify that there is no order relationship between the two mechanisms 31 corresponding to the extracted pair variable group. Thus, when the identification of the order relationship between the two mechanisms 31 is completed, the control unit 11 advances the processing to the next step S407.

(ステップS407)
ステップS407では、制御部11は、全ての変数グループのペアに対してステップS403〜S406の一連の処理が完了したか否かを判定する。全ての変数グループのペアに対してステップS403〜S406の一連の処理が完了していないと判定した場合には、制御部11は、ステップS403に処理を戻し、他の変数グループのペアに対して、ステップS403〜S406の一連の処理を実行する。これにより、制御部11は、ステップS402によりリストアップした全ての変数グループのペアに対して、ステップS403〜S406による機構31間の順序関係を特定する処理を実行する。
(Step S407)
In step S407, the control unit 11 determines whether or not a series of processing in steps S403 to S406 has been completed for all variable group pairs. When it is determined that the series of processing in steps S403 to S406 has not been completed for all the variable group pairs, the control unit 11 returns the processing to step S403 and performs the processing for other variable group pairs. , A series of processes in steps S403 to S406 is executed. As a result, the control unit 11 executes the process of identifying the order relationship between the mechanisms 31 in steps S403 to S406 for all the pairs of variable groups listed in step S402.

図24Cは、各変数間の順序の依存関係に基づいて特定された複数の機構31の順序関係の一例を模式的に例示する。全ての変数グループのペアに対してステップS403〜S406の一連の処理を実行した結果、制御部11は、図24Cで例示されるような全ての機構31間の順序関係を特定することができる。このように全ての機構31間の順序関係を特定する処理が完了すると、制御部11は、全ての変数グループのペアに対してステップS403〜S406の処理が完了したと判定し、制御フローグラフを利用して複数の機構31の順序関係を特定する処理を終了する。   FIG. 24C schematically illustrates an example of the order relationship of the mechanisms 31 specified based on the order dependency between the variables. As a result of executing the series of processing in steps S403 to S406 for all pairs of variable groups, the control unit 11 can specify the order relationship between all the mechanisms 31 as illustrated in FIG. 24C. When the processing for specifying the order relationship between all the mechanisms 31 is completed in this way, the control unit 11 determines that the processing in steps S403 to S406 has been completed for all pairs of variable groups, and displays the control flow graph. The process for specifying the order relationship of the plurality of mechanisms 31 is terminated.

以上のように、本変形例に係る処理手順によれば、ログデータ223を利用せずに、制御プログラム221を解析して、複数の機構31の順序関係を特定することができる。なお、本変形例では、構築した抽象構文木に基づいて、制御プログラム221の処理における変数の依存関係を特定するステップは、構築した抽象構文木から制御フローグラフを生成するステップ(ステップS1413)、及び生成した制御フローグラフに基づいて、抽出した変数の依存関係を特定するステップ(ステップS1414)を含んでいる。しかしながら、構築した抽象構文木に基づいて、制御プログラム221の処理における変数の依存関係を特定するステップは、このような例に限定されなくてもよい。制御部11は、制御フローグラフを利用することなく、抽象構文木に基づいて、制御プログラム221の処理における変数の依存関係を特定してもよい。   As described above, according to the processing procedure according to this modification, it is possible to analyze the control program 221 without using the log data 223 and specify the order relationship of the plurality of mechanisms 31. In the present modification, the step of identifying the dependency of variables in the processing of the control program 221 based on the constructed abstract syntax tree is a step of generating a control flow graph from the constructed abstract syntax tree (step S1413), And a step of identifying the dependency relationship of the extracted variables based on the generated control flow graph (step S1414). However, the step of identifying the dependency relationship of variables in the processing of the control program 221 based on the constructed abstract syntax tree may not be limited to such an example. The control unit 11 may specify the variable dependency in the processing of the control program 221 based on the abstract syntax tree without using the control flow graph.

<4.12>
上記実施形態では、複数の機構31間の因果関係を特定するために、状態データ222から特定される複数の機構31間の関係の強さ(接続状態)及び制御プログラム221から特定される複数の機構31の順序関係を利用している。しかしながら、因果関係の特定に利用する情報は、これらの情報のみに限定されなくてもよい。上記工程解析装置1は、関係の強さ(接続状態)及び順序関係以外の情報を更に利用して、複数の機構31間の因果関係を特定してもよい。
<4.12>
In the above embodiment, in order to identify the causal relationship between the plurality of mechanisms 31, the strength of the relationship between the plurality of mechanisms 31 (connection state) identified from the state data 222 and the plurality of identified from the control program 221. The order relation of the mechanism 31 is used. However, the information used for specifying the causal relationship need not be limited to only this information. The process analysis apparatus 1 may specify the causal relationship between the plurality of mechanisms 31 by further using information other than the strength of the relationship (connection state) and the order relationship.

図25は、本変形例に係る工程解析装置1Aのソフトウェア構成の一例を模式的に例示する。工程解析装置1Aは、機構データ250を取得する第3取得部116、及び取得した機構データ250を解析し、製造ラインで実施される工程をモデル化することで、複数の機構31の順序関係を示す工程モデルを特定する第3解析部117を更に備える。また、関係特定部115は、それぞれ特定した関係の強さ、順序関係、及び工程モデルに基づいて、製造ライン3で実施される工程における複数の機構31間の因果関係を特定する。これらの点を除き、工程解析装置1Aは、上記工程解析装置1と同様に構成される。また、工程解析装置1Aは、上記工程解析装置1と同様のハードウェア構成を有してよい。   FIG. 25 schematically illustrates an example of the software configuration of the process analysis apparatus 1A according to the present modification. The process analysis apparatus 1A analyzes the acquired mechanism data 250 and the third acquisition unit 116 that acquires the mechanism data 250, and models the processes performed on the production line, thereby determining the order relationship of the plurality of mechanisms 31. A third analysis unit 117 for specifying the process model to be shown is further provided. Further, the relationship identifying unit 115 identifies the causal relationship between the plurality of mechanisms 31 in the process performed on the production line 3 based on the strength of the identified relationship, the order relationship, and the process model. Except for these points, the process analysis apparatus 1 </ b> A is configured in the same manner as the process analysis apparatus 1. Further, the process analysis apparatus 1 </ b> A may have a hardware configuration similar to that of the process analysis apparatus 1.

図26は、機構データ250を解析することで、工程モデル252を特定する過程の一例を模式的に例示する。工程解析装置1Aの制御部11は、上記ステップS105を実行する前までに、第3取得部116として動作し、機構データ250を取得する。機構データ250は、複数の機構31それぞれに含まれる装置の相対的な位置関係、及びその装置が工程に関与する順序の少なくとも一方に関するデータであれば特に限定されなくてもよく、例えば、装置のリスト、装置の動作を監視するセンサのリスト、工程の順序を示す情報、センサの設置位置を示す情報等であってよい。続いて、制御部11は、第3解析部117として動作し、機構データ250を解析することで、工程モデル252を特定する。例えば、制御部11は、機構データ250を参照して、2つの機構31間の順序関係を特定し、2つの機構31間の関係を示す表251の対応するセルに特定した結果を入力する。この表251を完成させることで、制御部11は、工程モデル252を特定することができる。   FIG. 26 schematically illustrates an example of a process for identifying the process model 252 by analyzing the mechanism data 250. The control unit 11 of the process analysis apparatus 1A operates as the third acquisition unit 116 and acquires the mechanism data 250 before executing step S105. The mechanism data 250 is not particularly limited as long as it is data on at least one of the relative positional relationship of the devices included in each of the plurality of mechanisms 31 and the order in which the devices are involved in the process. It may be a list, a list of sensors for monitoring the operation of the apparatus, information indicating the order of processes, information indicating the installation position of sensors, and the like. Subsequently, the control unit 11 operates as the third analysis unit 117 and identifies the process model 252 by analyzing the mechanism data 250. For example, the control unit 11 refers to the mechanism data 250, specifies the order relationship between the two mechanisms 31, and inputs the specified result to the corresponding cell in the table 251 indicating the relationship between the two mechanisms 31. By completing this table 251, the control unit 11 can specify the process model 252.

そして、上記ステップS105では、制御部11は、それぞれ特定した関係の強さ、順序関係、及び工程モデルに基づいて、製造ライン3で実施される工程における複数の機構31間の因果関係を特定する。例えば、制御部11は、それぞれ特定した関係の強さ、順序関係、及び工程モデルの積により、各機構31間の関係の有無を特定してもよい。本変形例によれば、機構データ250から特定された工程モデルの知見を更に利用することで、製造ライン3を構成する複数の機構31間の因果関係をより正確にモデル化することができる。   In step S105, the control unit 11 specifies the causal relationship between the plurality of mechanisms 31 in the process performed on the production line 3, based on the strength of the relationship, the order relationship, and the process model. . For example, the control unit 11 may specify the presence / absence of the relationship between the mechanisms 31 based on the product of the identified relationship strength, the order relationship, and the process model. According to this modification, the causal relationship between the plurality of mechanisms 31 constituting the production line 3 can be modeled more accurately by further using the knowledge of the process model specified from the mechanism data 250.

1…工程解析装置、
11…制御部、12…記憶部、13…通信インタフェース、
14…入力装置、15…出力装置、16…ドライブ、
111…第1取得部、112…第2取得部、
113…第1解析部、114…第2解析部、115…関係特定部、
2…PLC、
21…制御部、22…記憶部、
23…入出力インタフェース、24…通信インタフェース、
221…制御プログラム、222…状態データ、
223…ログデータ、
3…製造ライン、31…機構
1 ... Process analysis device,
11 ... Control unit, 12 ... Storage unit, 13 ... Communication interface,
14 ... input device, 15 ... output device, 16 ... drive,
111 ... 1st acquisition part, 112 ... 2nd acquisition part,
113 ... 1st analysis part, 114 ... 2nd analysis part, 115 ... Relationship specific | specification part,
2 ... PLC,
21 ... Control unit, 22 ... Storage unit,
23 ... Input / output interface, 24 ... Communication interface,
221 ... control program, 222 ... status data,
223 ... log data,
3 ... Production line, 31 ... Mechanism

Claims (15)

製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得する第1取得部と、
前記製造ラインの動作を制御するための制御プログラムを取得する第2取得部と、
取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定する第1解析部と、
取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定する第2解析部と、
それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定する関係特定部と、
を備える、
工程解析装置。
A first acquisition unit for acquiring a plurality of state data relating to states of a plurality of mechanisms constituting the production line;
A second acquisition unit for acquiring a control program for controlling the operation of the production line;
A first analysis unit that identifies a connection state between the plurality of mechanisms by analyzing the acquired state data of the plurality of cases;
Analyzing the acquired control program to identify an order relationship of the plurality of mechanisms;
Based on the connection state and the order relationship identified respectively, a relationship identifying unit that identifies a causal relationship between the plurality of mechanisms in a process performed on the production line;
Comprising
Process analysis device.
前記関係特定部は、特定した前記複数の機構間の因果関係を示す有向グラフ情報を出力する、
請求項1に記載の工程解析装置。
The relationship specifying unit outputs directed graph information indicating a causal relationship between the specified mechanisms.
The process analysis apparatus according to claim 1.
前記第1解析部は、特定した前記複数の機構間の接続状態を示す無向グラフ情報を構築し、
前記関係特定部は、前記無向グラフ情報に前記順序関係を適用することにより、前記有向グラフ情報を作成する、
請求項2に記載の工程解析装置。
The first analysis unit constructs undirected graph information indicating a connection state between the plurality of specified mechanisms,
The relationship specifying unit creates the directed graph information by applying the order relationship to the undirected graph information.
The process analysis apparatus according to claim 2.
前記第1解析部は、(1)前記各件の状態データから特徴量を算出し、(2)当該各特徴量間の相関係数又は偏相関係数を算出する、ことによって、前記複数の機構間の接続状態を特定する、
請求項1から3のいずれか1項に記載の工程解析装置。
The first analysis unit (1) calculates a feature amount from the state data of each case, and (2) calculates a correlation coefficient or a partial correlation coefficient between the feature amounts, thereby Identify the connection status between mechanisms,
The process analysis apparatus according to any one of claims 1 to 3.
前記第2解析部は、前記制御プログラムを利用して前記製造ラインを稼働させることで得られるログデータに基づいて、前記複数の機構の順序関係を特定する、
請求項1から4のいずれか1項に記載の工程解析装置。
The second analysis unit specifies an order relation of the plurality of mechanisms based on log data obtained by operating the manufacturing line using the control program.
The process analysis apparatus of any one of Claim 1 to 4.
前記第2解析部は、(1)前記制御プログラムから抽象構文木を構築し、(2)構築した当該抽象構文木から前記各機構に関する変数と条件分岐とを抽出し、(3)前記制御プログラムを利用して前記製造ラインを正常に稼働させたときのログデータを取得し、(4)取得した前記ログデータを参照して、前記条件分岐の実行結果に基づいた、前記各変数の順番付けを行う、ことによって、前記複数の機構の順序関係を特定する、
請求項5に記載の工程解析装置。
The second analysis unit (1) constructs an abstract syntax tree from the control program, (2) extracts variables and conditional branches related to the mechanisms from the constructed abstract syntax tree, and (3) the control program (4) Refer to the acquired log data, and order the variables based on the execution result of the conditional branch. To identify the order relationship of the plurality of mechanisms,
The process analysis apparatus according to claim 5.
前記第2解析部は、(1)前記制御プログラムから抽象構文木を構築し、(2)構築した当該抽象構文木から前記各機構に関する変数を抽出し、(3)構築した当該抽象構文木に基づいて、前記制御プログラムの処理における前記変数の依存関係を特定し、(4)特定した依存関係に基づいて、前記複数の機構の順序関係を特定する、
請求項1から4のいずれか1項に記載の工程解析装置。
The second analysis unit (1) constructs an abstract syntax tree from the control program, (2) extracts variables related to each mechanism from the constructed abstract syntax tree, and (3) adds the abstract syntax tree to the constructed abstract syntax tree. On the basis of the dependency of the variable in the processing of the control program, (4) on the basis of the identified dependency, to identify the order relationship of the plurality of mechanisms,
The process analysis apparatus of any one of Claim 1 to 4.
前記(3)構築した当該抽象構文木に基づいて、前記制御プログラムの処理における前記変数の依存関係を特定するステップは、構築した当該抽象構文木から制御フローグラフを生成するステップと、生成した当該制御フローグラフに基づいて、抽出した前記変数の依存関係を特定するステップと、を含む、
請求項7に記載の工程解析装置。
(3) Based on the constructed abstract syntax tree, the step of specifying the dependency relationship of the variables in the processing of the control program includes generating a control flow graph from the constructed abstract syntax tree, Identifying a dependence relationship of the extracted variables based on a control flow graph.
The process analysis apparatus according to claim 7.
前記各件の状態データは、トルク、速度、加速度、温度、電流、電圧、空圧、圧力、流量、位置、寸法及び面積の少なくともいずれかを示す、
請求項1から8のいずれか1項に記載の工程解析装置。
The state data of each case indicates at least one of torque, speed, acceleration, temperature, current, voltage, air pressure, pressure, flow rate, position, size, and area.
The process analysis apparatus according to any one of claims 1 to 8.
前記制御プログラムは、ラダー・ダイアグラム言語、ファンクション・ブロック・ダイアグラム言語、ストラクチャード・テキスト言語、インストラクション・リスト言語、及びシーケンシャル・ファンクション・チャート言語、C言語の少なくともいずれかを利用して記述されている、
請求項1から9のいずれか1項に記載の工程解析装置。
The control program is described using at least one of a ladder diagram language, a function block diagram language, a structured text language, an instruction list language, a sequential function chart language, and a C language.
The process analysis apparatus according to any one of claims 1 to 9.
前記第1解析部は、取得した前記複数件の状態データを統計的に解析することにより、前記複数の機構間の接続状態を特定する、
請求項1から10のいずれか1項に記載の工程解析装置。
The first analysis unit identifies a connection state between the plurality of mechanisms by statistically analyzing the acquired state data of the plurality of cases.
The process analysis apparatus according to claim 1.
前記第1解析部は、前記接続状態として、前記複数の機構間の関係の強さを特定する、
請求項1から11のいずれか1項に記載の工程解析装置。
The first analysis unit specifies the strength of the relationship between the plurality of mechanisms as the connection state.
The process analysis apparatus according to claim 1.
前記複数の機構それぞれに含まれる装置の相対的な位置関係及び前記装置が前記工程に関与する順序の少なくとも一方に関する機構データを取得する第3取得部と、
取得した前記機構データを解析し、前記製造ラインで実施される前記工程をモデル化することで、前記複数の機構の順序関係を示す工程モデルを特定する第3解析部と、
を更に備え、
前記関係特定部は、それぞれ特定した前記接続状態、前記順序関係、及び前記工程モデルに基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定する、
請求項1から12のいずれか1項に記載の工程解析装置。
A third acquisition unit that acquires mechanism data related to at least one of a relative positional relationship of devices included in each of the plurality of mechanisms and an order in which the devices are involved in the process;
Analyzing the acquired mechanism data and modeling the process performed in the production line, thereby identifying a process model indicating an order relationship of the plurality of mechanisms;
Further comprising
The relationship identifying unit identifies a causal relationship between the plurality of mechanisms in a process performed on the manufacturing line based on the identified connection state, the order relationship, and the process model.
The process analysis apparatus according to claim 1.
コンピュータが、
製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得するステップと、
前記製造ラインの動作を制御するための制御プログラムを取得するステップと、
取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定するステップと、
取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定するステップと、
それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定するステップと、
を実行する工程解析方法。
Computer
Obtaining a plurality of state data relating to the states of a plurality of mechanisms constituting the production line;
Obtaining a control program for controlling the operation of the production line;
Identifying the connection state between the plurality of mechanisms by analyzing the acquired plurality of state data;
Analyzing the acquired control program to identify the order relationship of the plurality of mechanisms;
Identifying a causal relationship between the plurality of mechanisms in a process performed on the production line based on the identified connection state and the order relationship;
Process analysis method to execute.
コンピュータに、
製造ラインを構成する複数の機構の状態に関する複数件の状態データを取得するステップと、
前記製造ラインの動作を制御するための制御プログラムを取得するステップと、
取得した前記複数件の状態データを解析することにより、前記複数の機構間の接続状態を特定するステップと、
取得した前記制御プログラムを解析することにより、前記複数の機構の順序関係を特定するステップと、
それぞれ特定した前記接続状態及び前記順序関係に基づいて、前記製造ラインで実施される工程における前記複数の機構間の因果関係を特定するステップと、
を実行させるための工程解析プログラム。
On the computer,
Obtaining a plurality of state data relating to the states of a plurality of mechanisms constituting the production line;
Obtaining a control program for controlling the operation of the production line;
Identifying the connection state between the plurality of mechanisms by analyzing the acquired plurality of state data;
Analyzing the acquired control program to identify the order relationship of the plurality of mechanisms;
Identifying a causal relationship between the plurality of mechanisms in a process performed on the production line based on the identified connection state and the order relationship;
Process analysis program to execute.
JP2018046755A 2017-06-02 2018-03-14 Process analysis apparatus, process analysis method, and process analysis program Active JP6551565B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP18171798.4A EP3410245A1 (en) 2017-06-02 2018-05-11 Process analysis apparatus, process analysis method, and process analysis program
CN201810448907.2A CN108983710B (en) 2017-06-02 2018-05-11 Process analysis device, process analysis method, and storage medium
US15/986,103 US20180348728A1 (en) 2017-06-02 2018-05-22 Process analysis apparatus, process analysis method, and process analysis program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017110153 2017-06-02
JP2017110153 2017-06-02

Publications (2)

Publication Number Publication Date
JP2018206362A true JP2018206362A (en) 2018-12-27
JP6551565B2 JP6551565B2 (en) 2019-07-31

Family

ID=64957277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018046755A Active JP6551565B2 (en) 2017-06-02 2018-03-14 Process analysis apparatus, process analysis method, and process analysis program

Country Status (1)

Country Link
JP (1) JP6551565B2 (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020135757A (en) * 2019-02-25 2020-08-31 オムロン株式会社 Control apparatus, control method, and control program
JP2020149300A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
WO2020184121A1 (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
JP2020149299A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
WO2020184087A1 (en) * 2019-03-13 2020-09-17 オムロン株式会社 Analysis device, analysis method, and analysis program
JP2020149303A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Analytical equipment, analysis method, and analysis program
WO2020261487A1 (en) * 2019-06-27 2020-12-30 オムロン株式会社 Analysis device, analysis method, and analysis program
JP6833129B1 (en) * 2020-04-14 2021-02-24 三菱電機株式会社 Debug support program, storage medium, debug support device and debug support method
CN112534373A (en) * 2019-03-13 2021-03-19 欧姆龙株式会社 Display system
WO2022030568A1 (en) * 2020-08-06 2022-02-10 オムロン株式会社 Display system, display method, and display program
WO2022030567A1 (en) * 2020-08-06 2022-02-10 オムロン株式会社 Display system, display method, and display program
WO2022107434A1 (en) * 2020-11-18 2022-05-27 オムロン株式会社 Process analysis device, process analysis method, and process analysis program
WO2022190428A1 (en) * 2021-03-11 2022-09-15 オムロン株式会社 Development assistance device, development assistance method, and development assistance program
CN115903691A (en) * 2022-11-04 2023-04-04 北京镁伽机器人科技有限公司 Test process analysis method, device, electronic equipment and storage medium
EP4254113A1 (en) 2022-04-01 2023-10-04 OMRON Corporation Information processing system, information processing method and information processing program
CN116964536A (en) * 2021-03-09 2023-10-27 欧姆龙株式会社 Information processing device, information processing method, and information processing program
JP2024518749A (en) * 2021-04-20 2024-05-02 ユーディーエムテック GNN-Based Master State Generation Method for Real-Time Anomaly Detection
WO2025022723A1 (en) * 2023-07-27 2025-01-30 株式会社日立製作所 Computer system and retrieval support method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022412A (en) * 1999-07-09 2001-01-26 Toshiba Corp PROGRAMMING DEVICE, PROGRAMMABLE CONTROLLER, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM
JP2009064407A (en) * 2007-08-10 2009-03-26 Omron Corp Process analysis apparatus, process analysis method, and process analysis program
JP2010504572A (en) * 2006-09-20 2010-02-12 ナショナル アイシーティー オーストラリア リミテッド Generation of transition systems used in model checking
JP2013225251A (en) * 2012-04-23 2013-10-31 Mitsubishi Electric Corp Information processor and information processing method and program
US20160253232A1 (en) * 2013-10-11 2016-09-01 Accenture Global Services Limited Contextual graph matching based anomaly detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022412A (en) * 1999-07-09 2001-01-26 Toshiba Corp PROGRAMMING DEVICE, PROGRAMMABLE CONTROLLER, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM
JP2010504572A (en) * 2006-09-20 2010-02-12 ナショナル アイシーティー オーストラリア リミテッド Generation of transition systems used in model checking
JP2009064407A (en) * 2007-08-10 2009-03-26 Omron Corp Process analysis apparatus, process analysis method, and process analysis program
JP2013225251A (en) * 2012-04-23 2013-10-31 Mitsubishi Electric Corp Information processor and information processing method and program
US20160253232A1 (en) * 2013-10-11 2016-09-01 Accenture Global Services Limited Contextual graph matching based anomaly detection

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020135757A (en) * 2019-02-25 2020-08-31 オムロン株式会社 Control apparatus, control method, and control program
WO2020175460A1 (en) * 2019-02-25 2020-09-03 オムロン株式会社 Control device, control method, and control program
JP7151546B2 (en) 2019-02-25 2022-10-12 オムロン株式会社 Control device, control method, and control program
US11762344B2 (en) 2019-02-25 2023-09-19 Omron Corporation Control device, control method, and control program
CN112534362B (en) * 2019-02-25 2022-04-15 欧姆龙株式会社 Control device, control method, and computer-readable storage medium
CN112534362A (en) * 2019-02-25 2021-03-19 欧姆龙株式会社 Control device, control method, and control program
CN112534368A (en) * 2019-03-13 2021-03-19 欧姆龙株式会社 Graph display device, graph display method, and graph display program
CN112543898A (en) * 2019-03-13 2021-03-23 欧姆龙株式会社 Graph display device, graph display method, and graph display program
JP2020149303A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Analytical equipment, analysis method, and analysis program
WO2020184130A1 (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
WO2020184085A1 (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
JP2020149298A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
US11989011B2 (en) 2019-03-13 2024-05-21 Omron Corporation Display system, display method, and non-transitory computer-readable recording medium recording display program for checking cause of abnormality
WO2020184087A1 (en) * 2019-03-13 2020-09-17 オムロン株式会社 Analysis device, analysis method, and analysis program
US11630451B2 (en) 2019-03-13 2023-04-18 Omron Corporation Analysis device, analysis method, and non-transitory computer readable storage medium
CN112534369A (en) * 2019-03-13 2021-03-19 欧姆龙株式会社 Graph display device, graph display method, and graph display program
CN112534373A (en) * 2019-03-13 2021-03-19 欧姆龙株式会社 Display system
JP2020149301A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Analytical equipment, analysis method, and analysis program
CN112534369B (en) * 2019-03-13 2024-04-12 欧姆龙株式会社 Chart display device, chart display method, and recording medium
CN112543898B (en) * 2019-03-13 2024-04-12 欧姆龙株式会社 Chart display device, chart display method, and recording medium
US11803170B2 (en) 2019-03-13 2023-10-31 Omron Corporation Graph display device, graph display method, and recording medium
US11762363B2 (en) 2019-03-13 2023-09-19 Omron Corporation Graph display device, graph display method, and recording medium
JP2020149299A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
JP7070478B2 (en) 2019-03-13 2022-05-18 オムロン株式会社 Analytical equipment, analysis method, and analysis program
WO2020184121A1 (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
JP7287801B2 (en) 2019-03-13 2023-06-06 オムロン株式会社 Analysis device, analysis method, and analysis program
JP2020149300A (en) * 2019-03-13 2020-09-17 オムロン株式会社 Graph display device, graph display method, and graph display program
US11640154B2 (en) 2019-03-13 2023-05-02 Omron Corporation Graph display device, graph display method, and recording medium for associating and ascertaining dependency relations among device variables
JP7183877B2 (en) 2019-03-13 2022-12-06 オムロン株式会社 Graph display device, graph display method, and graph display program
JP7188198B2 (en) 2019-03-13 2022-12-13 オムロン株式会社 Graph display device, graph display method, and graph display program
WO2020261487A1 (en) * 2019-06-27 2020-12-30 オムロン株式会社 Analysis device, analysis method, and analysis program
CN115427901B (en) * 2020-04-14 2023-10-03 三菱电机株式会社 Storage medium, debugging auxiliary device and debugging auxiliary method
CN115427901A (en) * 2020-04-14 2022-12-02 三菱电机株式会社 Debugging assistance program, storage medium, debugging assistance device, and debugging assistance method
JP6833129B1 (en) * 2020-04-14 2021-02-24 三菱電機株式会社 Debug support program, storage medium, debug support device and debug support method
WO2021210071A1 (en) * 2020-04-14 2021-10-21 三菱電機株式会社 Debugging assistance program, storage medium, debugging assistance device, and debugging assistance method
US11797420B2 (en) 2020-04-14 2023-10-24 Mitsubishi Electric Corporation Debug support program storage medium, debug support apparatus, and debug support method
JP2022029983A (en) * 2020-08-06 2022-02-18 オムロン株式会社 Display system, display method, and display program
CN116171253A (en) * 2020-08-06 2023-05-26 欧姆龙株式会社 Display system, display method and display program
CN116171253B (en) * 2020-08-06 2025-08-05 欧姆龙株式会社 Display system, display method, and display program
JP7593005B2 (en) 2020-08-06 2024-12-03 オムロン株式会社 DISPLAY SYSTEM, DISPLAY METHOD, AND DISPLAY PROGRAM
WO2022030568A1 (en) * 2020-08-06 2022-02-10 オムロン株式会社 Display system, display method, and display program
WO2022030567A1 (en) * 2020-08-06 2022-02-10 オムロン株式会社 Display system, display method, and display program
WO2022107434A1 (en) * 2020-11-18 2022-05-27 オムロン株式会社 Process analysis device, process analysis method, and process analysis program
CN116964536A (en) * 2021-03-09 2023-10-27 欧姆龙株式会社 Information processing device, information processing method, and information processing program
WO2022190428A1 (en) * 2021-03-11 2022-09-15 オムロン株式会社 Development assistance device, development assistance method, and development assistance program
JP2024518749A (en) * 2021-04-20 2024-05-02 ユーディーエムテック GNN-Based Master State Generation Method for Real-Time Anomaly Detection
JP7660938B2 (en) 2021-04-20 2025-04-14 ユーディーエムテック GNN-Based Master State Generation Method for Real-Time Anomaly Detection
JP2023151721A (en) * 2022-04-01 2023-10-16 オムロン株式会社 Information processing system, information processing method, and information processing program
EP4254113A1 (en) 2022-04-01 2023-10-04 OMRON Corporation Information processing system, information processing method and information processing program
CN115903691A (en) * 2022-11-04 2023-04-04 北京镁伽机器人科技有限公司 Test process analysis method, device, electronic equipment and storage medium
WO2025022723A1 (en) * 2023-07-27 2025-01-30 株式会社日立製作所 Computer system and retrieval support method

Also Published As

Publication number Publication date
JP6551565B2 (en) 2019-07-31

Similar Documents

Publication Publication Date Title
JP6551565B2 (en) Process analysis apparatus, process analysis method, and process analysis program
CN108983710B (en) Process analysis device, process analysis method, and storage medium
EP3798758B1 (en) System, method and medium for generating system project data
US11481313B2 (en) Testing framework for automation objects
EP3314340B1 (en) Control contextualization and reasoning about control
US11928047B2 (en) Contextual data generation for application testing in mixed reality simulations
CN114968188A (en) System, method and non-transitory computer readable medium for developing industrial applications
CN112558929A (en) Artificial intelligence design analysis and recommendation
US20250085700A1 (en) Generative ai for industrial automation design environment
EP4134815A1 (en) Industrial automation smart object parent/child data collection propagation
JP2022176178A (en) Development of product for using process control plan digital twin
Unterdechler et al. Identifying repeating patterns in IEC 61499 systems using Feature-Based embeddings
US20250077847A1 (en) Generative ai for industrial automation control design environment
CN114841509A (en) Product manufacturing method, computing device and readable storage medium
US20250076836A1 (en) Generative ai for industrial automation design environment troubleshooting
Velesaca et al. Optimizing smart factory operations: A methodological approach to industrial system implementation based on OPC-UA
KR20200069806A (en) Method and apparatus for statistical data visualization through voice recognition
JP7800113B2 (en) Information processing device, information processing method, and information processing program
CN116457798A (en) Process analysis device, process analysis method, and process analysis program
US12474892B2 (en) Generative artificial intelligence industrial design code conversion
US20250085688A1 (en) Industrial automation design environment prompt engineering for generative ai
Moshirpour et al. A technique and a tool to detect emergent behavior of distributed systems using scenario-based specifications
CN118284876A (en) Method and system for generating automation domain objects using knowledge from another automation domain object
Gunasekaran et al. Behavioral analysis of a digital twin using logging and model learning
EP4517536A1 (en) Generating optimal test values of input and output variables of program files

Legal Events

Date Code Title Description
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: 20190604

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190617

R150 Certificate of patent or registration of utility model

Ref document number: 6551565

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250