Analysis device, information processing method and information processing program
The analysis device uses a causal relationship graph and evaluation indices to assess the effectiveness of countermeasures in manufacturing equipment, addressing the challenge of evaluating the impact of adjustments in existing technologies.
Patent Information
- Application Number
- JP2023028655
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-02-27
AI Technical Summary
Existing methods struggle to effectively evaluate the effectiveness of countermeasures taken against identified abnormalities in manufacturing equipment, particularly when using machine learning, as the model needs updating and device adjustments are required.
An analysis device generates a causal relationship graph based on time-series data, allowing for the selection of nodes for countermeasures, updates the graph to reflect the effects of these measures, and calculates evaluation indices to objectively assess the effectiveness of these countermeasures.
Enables accurate estimation of the impact of countermeasures on manufacturing equipment by objectively judging their effectiveness through evaluation indices, facilitating informed decision-making.
Smart Images

Figure 2024121510000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an analysis device, an information processing method, and an information processing program. [Background technology]
[0002] Conventionally, there have been known techniques that statistically estimate the causal relationship between one or more factors present in a manufacturing facility and an event that is evaluated as an anomaly in the manufacturing facility, based on incomplete information such as experimental data and observational data. By applying such techniques to industrial automation, it is possible to easily identify the causes of anomalies that occur in manufacturing sites.
[0003] As an example, by referring to a causal graph generated based on information collected from field devices such as sensors, it becomes easier to identify the causes of abnormalities such as quality defects and equipment stoppages.
[0004] For example, Japanese Patent Laid-Open Publication No. 2009-104523 (Patent Document 1) discloses a defect cause extraction method for extracting defect causes in a manufacturing process based on inspection results in an inspection process. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2009-104523 A Summary of the Invention [Problem to be solved by the invention]
[0006] After identifying the cause of an anomaly using the above-mentioned technology, it is difficult to confirm the effectiveness of countermeasures that can be taken against the identified cause. For example, when using machine learning for data analysis to identify the cause of an anomaly, the effectiveness of the countermeasures cannot be evaluated unless the model is updated. In addition, when taking countermeasures for an actual device, adjustments to the device are required.
[0007] An object of the present invention is to provide a technique that makes it easier to estimate the effectiveness of measures against events that may occur in manufacturing equipment. [Means for solving the problem]
[0008] An analysis device according to an embodiment of the present invention includes a generation unit that generates a causal relationship graph showing causal relationships between one or more factors present in the manufacturing facility and events evaluated as abnormal in the manufacturing facility based on first time series data related to the manufacturing facility, an update unit that generates second time series data by updating a value of a target section of the first time series data to a value reflecting an effect of a countermeasure against the factor corresponding to the first node in accordance with selection of a first node corresponding to one factor included in the causal relationship graph and setting of a target section for the first time series data, and a calculation unit that calculates a first evaluation index based on the first time series data and a second evaluation index based on the second time series data. Each of the first evaluation index and the second evaluation index indicates the proximity of the manufacturing facility to an ideal state.
[0009] According to this configuration, it is possible to objectively judge the effect of taking measures for any node included in the causal graph based on the evaluation index, and it is possible to easily estimate which of the nodes included in the causal graph would be effectively addressed by taking measures.
[0010] In addition to the first node, the update unit may update the value of the target section for a second node corresponding to another factor existing on the path from the first node to the node indicating the event in the causal graph. With this configuration, when a measure is taken for the first node, the effect of the measure can be more accurately estimated by also updating the values of other nodes affected by the first node.
[0011] The update unit may use a regression model in which the variables corresponding to the first node are used as a response variable and an explanatory variable to interpolate the value corresponding to the first node in the target section. With this configuration, the value of the target section can be interpolated according to the tendency of the variables corresponding to the first node.
[0012] The update unit may interpolate a value corresponding to the second node in the target section using a regression model in which a variable corresponding to the second node is set as a target variable and a variable corresponding to a node that is a factor of the second node in the causal graph is set as an explanatory variable. With this configuration, the value of the target section can be interpolated according to the tendency of variables corresponding to other nodes that affect the variable corresponding to the second node.
[0013] If the regression model does not have a predetermined accuracy, the update unit may calculate the value of the target section by using a mean value substitution method instead of the regression model. With this configuration, even if the accuracy of the generated regression model is low, the value of the target section can be appropriately interpolated.
[0014] The calculation unit may calculate the first evaluation index using an evaluation model generated based on the first time-series data, and calculate the second evaluation index using the second time-series data and the evaluation model. With this configuration, the first evaluation index and the second evaluation index are calculated using the same evaluation model, so that the effect of the countermeasure can be more appropriately evaluated.
[0015] The analysis device may further include a display output unit that displays and outputs a time waveform of a variable corresponding to the first node and a value reflecting the effect of a countermeasure on the first node. With this configuration, the target section can be set more appropriately by referring to the time waveform and the value reflecting the effect of the countermeasure.
[0016] The display output unit may display the node for which countermeasures against the event are expected to be most effective in a different manner from other nodes. With this configuration, it is possible to determine the node for which countermeasures should be taken with less effort.
[0017] An information processing method executed by a computer according to another example of the present invention includes calculating a first evaluation index indicating closeness of the manufacturing equipment to an ideal state based on first time series data related to the manufacturing equipment; generating a causal relationship graph indicating a causal relationship between one or more factors present in the manufacturing equipment and an event evaluated as an abnormality in the manufacturing equipment based on the first time series data; accepting a selection of a first node corresponding to one factor included in the causal relationship graph; accepting setting of a target section for the first time series data; generating second time series data in which values of the target section of the first time series data are updated to values reflecting effects of countermeasures against the factors corresponding to the first node; and calculating a second evaluation index indicating closeness of the manufacturing equipment to an ideal state based on the second time series data.
[0018] An information processing program according to yet another example of the present invention causes a computer to execute the following operations: calculate a first evaluation index indicating how close the manufacturing equipment is to an ideal state, based on first time series data related to the manufacturing equipment; generate a causal relationship graph indicating a causal relationship between one or more factors present in the manufacturing equipment and an event evaluated as an abnormality in the manufacturing equipment, based on the first time series data; accept a selection of a first node corresponding to one of the factors included in the causal relationship graph; accept setting of a target section for the first time series data; generate second time series data in which values of the target section of the first time series data are updated to values reflecting effects of countermeasures against the factors corresponding to the first node; and calculate a second evaluation index indicating how close the manufacturing equipment is to an ideal state, based on the second time series data. Effect of the Invention
[0019] According to the present invention, the effects of measures against events that may occur in a manufacturing facility can be more easily estimated. [Brief description of the drawings]
[0020] [Figure 1]FIG. 2 is a schematic diagram showing an example of a display screen provided by an analysis device of the information processing system according to the present embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing an example of a display screen provided by an analysis device of the information processing system according to the present embodiment. [Diagram 3] FIG. 2 is a schematic diagram showing an example of a display screen provided by an analysis device of the information processing system according to the present embodiment. [Figure 4] 2 is a block diagram showing an example of a hardware configuration of a control device of the information processing system according to the present embodiment. FIG. [Diagram 5] 1 is a block diagram showing an example of a hardware configuration of an analysis device in an information processing system according to an embodiment of the present invention. [Figure 6] FIG. 2 is a schematic diagram showing a functional configuration of an information processing system according to the present embodiment. [Figure 7] 1 is a schematic diagram showing an example of time-series data processed by an information processing system according to the present embodiment. FIG. [Figure 8] 10 is a flowchart showing a processing procedure of an analysis process executed by the analysis device according to the present embodiment. [Figure 9] 11 is a flowchart showing a processing procedure related to a generation process of an anomaly detection model and a calculation process of an evaluation index. [Figure 10] 13 is a flowchart showing a processing procedure related to a generation process of a regression model and a calculation process of an evaluation index. [Figure 11] 13 is a flowchart showing a processing procedure for generating a causal relationship graph. [Figure 12] FIG. 13 is a diagram for explaining a method of estimating a value in a variable update process. [Figure 13] 13 is a flowchart showing a processing procedure related to a variable update process. [Figure 14] FIG. 2 is a schematic diagram for explaining the contents of an analysis process in the analysis device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Embodiments of the present invention will be described in detail with reference to the drawings. In the figures, the same or corresponding parts are denoted by the same reference numerals and their description will not be repeated.
[0022] In this specification, the term "or" includes the meaning of "and" in addition to "or".
[0023] <A. Application Example> An example of a scenario to which the present invention is applied will be described. Hereinafter, an example of generating a causal graph based on information collected from manufacturing equipment will be described.
[0024] In this specification, "manufacturing equipment" may include any one or more devices for performing an incidental process such as inspection of a product or semi-finished product in addition to any one or more devices for manufacturing a product or semi-finished product.
[0025] In this specification, the "causal graph" shows the causal relationship between one or more factors existing in the manufacturing equipment and an event evaluated as abnormal in the manufacturing equipment.
[0026] The information processing system 1 according to the present embodiment includes, as an example, one or more control devices 100 that control manufacturing equipment, and an analysis device 200 that provides information as shown in FIGS. 1 to 3 based on data acquired via the control device 100 or the like.
[0027] The control device 100 cyclically executes control calculations necessary for operating the manufacturing equipment according to a user program prepared in advance.
[0028] The analysis device 200 analyzes the time series data 50 from the control device 100. The time series data 50 corresponds to first time series data related to the manufacturing equipment to be analyzed. The time series data 50 includes, for example, process data handled by the control device 100. The process data may include input data including sensing data from a sensor, output data including command values calculated by control calculation, and internal data including variable values held inside the control device 100.
[0029] The time series data 50 may be a collection of time series data collected from a plurality of control devices 100 respectively.
[0030] The control device 100 visually presents the causes of a target event to a user using a causal relationship graph showing the causal relationships between one or more factors existing in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility. The control device 100 presents to the user the effect that will be obtained when some measure is taken against the cause of the identified event.
[0031] 1 to 3 are schematic diagrams showing examples of display screens provided by analysis device 200 of information processing system 1 according to the present embodiment.
[0032] 1, a display screen 300 includes a causal relationship graph 310. The causal relationship graph 310 shown in Fig. 1 includes a node 316 indicating an event, and nodes 311, 312, 313, 314, and 315 related to the node 316 indicating the event. Each of the nodes 311, 312, 313, 314, and 315 indicates a factor related to the event.
[0033] The causal graph 310 is generated dynamically or statically for each event. In the example shown in Figure 1, the causal graph 310 for event 1 is shown, but when another event is selected, the graph structure of the causal graph 310 is updated.
[0034] In this embodiment, events that are typically evaluated as "abnormal" are assumed. For example, the events include a failure of any device that constitutes the manufacturing facility, an unnecessary operation of any device that constitutes the manufacturing facility, and poor quality of products manufactured by the manufacturing facility.
[0035] Causal relationship graph 310 includes a countermeasure effect display area 320 that displays the results of calculating the effect of a countermeasure by selecting a node (hereinafter also referred to as a "target node") for which a countermeasure is to be taken that corresponds to one of the factors included in causal relationship graph 310, and a history display area 330 that sequentially stores the calculated effects of the countermeasure.
[0036] With reference to FIG. 2, analysis device 200 accepts a user instruction to select a node corresponding to one factor included in causal relationship graph 310 as a target node.
[0037] In addition, in the causal relationship graph 310, a node (cause) for which a countermeasure against a target event is expected to be most effective may be selected in advance. The node for which a countermeasure is expected to be most effective may be selected based on the contribution of the corresponding feature (see FIG. 11, etc.). In this way, the analysis device 200 (GUI module 280, described later) may display and output the node for which a countermeasure against an event is expected to be most effective in a manner different from other nodes.
[0038] When a target node is selected, a time waveform 340 (time series data) of the variable indicated by the selected target node is displayed. Also, in the display variable label 342, the name of the variable corresponding to the displayed time waveform 340 is displayed.
[0039] Each value included in the time waveform 340 is given a label of "normal" or "abnormal". The process of assigning the "normal" or "abnormal" label may be performed by a user or by the analysis device 200. In the time waveform 340, an OK label 10 is added to "normal" data, and an NG label 12 is added to "abnormal" data. Note that outliers among the values included in the time waveform 340 may be given a label of "removed" as invalid data.
[0040] The user refers to the causal relationship graph 310 on the display screen 300 to check the tendency indicated by the variable values of the target node. The analysis device 200 accepts the setting of an arbitrary section (hereinafter also referred to as "target section 344") of the causal relationship graph 310 from the user, and also accepts the pressing of a countermeasure button 348. The analysis device 200 updates the value of the target section 344 to a value that reflects the effect of the countermeasure. An updated waveform 346 consisting of the updated value is displayed in the target section 344 of the causal relationship graph 310. In the example shown in FIG. 2, the value has been updated to a range in which a normal label is assigned.
[0041] Analysis device 200 updates not only the variables of the target node, but also the variables of all nodes (hereinafter also referred to as "related nodes") that exist on the path from the target node to the node indicating the event and correspond to other factors, to values that reflect the effects of the countermeasures. The detailed process will be described later.
[0042] Furthermore, analysis device 200 calculates the degree of effectiveness of the countermeasures by using a time waveform in which target section 344 of original time waveform 340 is changed to updated waveform 346. As the degree of effectiveness of the countermeasures, an evaluation index calculated using an evaluation model is used.
[0043] In this specification, the "evaluation index" is an index indicating the proximity to the ideal state of the manufacturing equipment (or the ideal value in design). When the "good product rate" of the product or semi-finished product and the "operation rate" of the manufacturing equipment are adopted as the "evaluation index", if the value becomes higher due to countermeasures, it can be judged that the effect is achieved. On the other hand, when the "defect rate" of the product or semi-finished product and the "downtime" of the manufacturing equipment are adopted as the "evaluation index", if the value becomes lower due to countermeasures, it can be judged that the effect is achieved.
[0044] The countermeasure effect display area 320 shows an example in which the "good product rate" is adopted as the evaluation index. In the example shown in FIG. 2, in the countermeasure effect display area 320, the evaluation index (good product rate) based on the original time waveform 340 is "97.3%", and it shows that the evaluation index (good product rate) is "99.8%" when the target section 344 is changed to the updated waveform 346.
[0045] Referring to FIG. 3, when the analysis device 200 receives the pressing of the countermeasure reset button 350, it cancels the setting of the target node and the target section 344.
[0046] The results of the process executed when the countermeasure button 348 is pressed are sequentially stored in the history display area 330. In the history display area 330, in addition to the calculated effect of the countermeasure (evaluation index), the selected target node and the corresponding related node are also displayed together.
[0047] The user can refer to the display content of the history display area 330 to find out which node the countermeasure is most effective for.
[0048] Hereinafter, the configuration and processing for providing the functions shown in FIGS. 1 to 3 will be described. <B. Hardware Configuration Example> First, a hardware configuration example of the information processing system 1 according to the present embodiment will be described.
[0049] (b1: Control Device 100) Fig. 4 is a block diagram showing an example of a hardware configuration of control device 100 of information processing system 1 according to the present embodiment. Referring to Fig. 4, control device 100 may be embodied as a type of computer, such as a PLC (Programmable Logic Controller).
[0050] As an example, the control device 100 includes a processor 102, a chipset 104, a main memory device 106, a secondary memory device 108, a field bus controller 110, a Universal Serial Bus (USB) controller 112, and a memory card interface 114.
[0051] The processor 102 reads out various programs stored in the secondary storage device 108, deploys them in the main storage device 106, and executes them to realize processing for controlling the controlled object. The chipset 104 controls data transmission between the processor 102 and each component.
[0052] The secondary storage device 108 stores a system program 131 for providing a PLC engine 150 for executing control operations, as well as a user program 132 that defines processes relating to the control operations.
[0053] The fieldbus controller 110 exchanges data with the field device 40 via the fieldbus. The fieldbus preferably employs an industrial communication protocol. Known examples of such communication protocols include EtherCAT (registered trademark), EtherNet / IP (registered trademark), DeviceNet (registered trademark), and CompoNet (registered trademark).
[0054] USB controller 112 transmits data to and receives data from analysis device 200 via a USB connection.
[0055] The memory card interface 114 is configured to allow a memory card 116 to be attached and detached, and allows data to be written to the memory card 116 and various data (such as the user program 132 and trace data) to be read from the memory card 116.
[0056] FIG. 4 shows an example of a configuration in which the processor 102 executes a program to provide the necessary functions, but some or all of these provided functions may be implemented using a dedicated hardware circuit (e.g., an Application Specific Integrated Circuit (ASIC) or a Field-Programmable Gate Array (FPGA)). Alternatively, the main part of the control device 100 may be realized using hardware that conforms to a general-purpose architecture (e.g., an industrial PC based on a general-purpose PC). In this case, virtualization technology may be used to run multiple operating systems (OSs) with different uses in parallel, and necessary applications may be executed on each OS.
[0057] (b2:Analysis device 200) Analysis device 200 according to this embodiment is realized, for example, by executing a program using hardware (for example, a general-purpose personal computer) that complies with a general-purpose architecture.
[0058] Fig. 5 is a block diagram showing an example of a hardware configuration of analysis device 200 of information processing system 1 according to the present embodiment. With reference to Fig. 5, analysis device 200 includes a processor 202, an optical drive 204, a main storage device 206, a secondary storage device 208, a USB controller 212, a network controller 214, an input unit 216, and a display unit 218. These components are connected via a bus 220.
[0059] The processor 202 reads out a program stored in the secondary storage device 208, deploys it in the main storage device 206, and executes it to realize various processes as described below.
[0060] The secondary storage device 208 is configured, for example, with a hard disk drive (HDD) or a solid state drive (SSD). For example, the secondary storage device 208 stores an OS 222, a PLC interface program 224 for exchanging necessary data with the control device 100, an analysis program 226 for generating a causal relationship graph 310, and a GUI program 228 for executing processing related to a GUI (Graphical User Interface). A part or all of these programs correspond to an information processing program. The secondary storage device 208 may store necessary programs other than the programs shown in FIG. 5.
[0061] The analysis device 200 has an optical drive 204, and a program stored in a computer-readable medium 205 (e.g., an optical recording medium such as a DVD (Digital Versatile Disc)) that non-temporarily stores a computer-readable program is read and installed in a secondary storage device 208, etc.
[0062] The programs executed by analysis device 200 may be installed via computer-readable medium 205, or may be installed by downloading them from a server device on a network. In addition, the functions provided by analysis device 200 according to the present embodiment may be realized by utilizing some of the modules provided by OS 222.
[0063] A USB controller 212 controls data exchange with the control device 100 via a USB connection. A network controller 214 controls data exchange with other devices via any network.
[0064] The input unit 216 is composed of a keyboard, a mouse, etc., and receives user operations. The display unit 218 is composed of a display, various indicators, a printer, etc., and outputs processing results from the processor 202, etc.
[0065] FIG. 5 shows a configuration example in which functions necessary for the processor 202 to execute a program are provided. However, some or all of these provided functions may be implemented using dedicated hardware circuits (for example, ASICs and FPGAs, etc.).
[0066] <C. Functional Configuration Example> Next, a functional configuration example of the information processing system 1 according to the present embodiment will be described.
[0067] FIG. 6 is a schematic diagram showing the functional configuration of the information processing system 1 according to the present embodiment. Referring to FIG. 6, the information processing system 1 includes one or more control devices 100 and an analysis device 200.
[0068] Referring to FIG. 6, the control device 100 includes, as functional components, a PLC engine 150, a variable manager 152, an interface 154, and a TSDB (Time Series Data Base) 156.
[0069] The control device 100 is connected to a field device 40 including a sensor 42 and an actuator 44. The control device 100 collects sensing data (input data) from the field device 40 (sensor 42), and outputs a command value (output data) to the field device 40 (actuator 44) according to the result of the control calculation by the PLC engine 150.
[0070] The PLC engine 150 executes a control calculation for controlling devices constituting the manufacturing facility according to the user program 132. The control calculation includes sequence control or motion control.
[0071] The variable manager 152 manages variables (values indicated by variables) that can be referenced when the PLC engine 150 executes the user program 132. The variable manager 152 writes the values of preregistered variables to the TSDB 156 periodically or in response to an event.
[0072] The interface 154 periodically exchanges data (input data and output data) with the field device 40. Such periodic data exchange is sometimes referred to as an "I / O refresh process."
[0073] The TSDB 156 stores the values of preregistered variables in time series, so that the TSDB 156 stores time series data 50.
[0074] 7 is a schematic diagram showing an example of time series data 50 processed by the information processing system 1 according to the present embodiment. With reference to FIG. 7, each record of the time series data 50 includes a time stamp 51, one or more process data 52, and a frame variable 53.
[0075] The time stamp 51 is time information provided by a timer managed by the control device 100 or the analysis device 200. The process data 52 includes input data, output data, internal data, etc. The frame variable 53 is information for defining a frame, which is a processing unit in the analysis process.
[0076] 6 again, analysis device 200 acquires time series data 50 stored in TSDB 156 of control device 100 by any method. For example, control device 100 and analysis device 200 may be electrically connected to transmit time series data 50 from control device 100 to analysis device 200. Alternatively, control device 100 may write time series data 50 to memory card 116, and analysis device 200 may read time series data 50 from memory card 116.
[0077] Analysis device 200 includes, as its functional configuration, a causal relationship graph generation module 250, a variable update module 260, an evaluation module 270, and a GUI module 280. Each module of analysis device 200 is realized, for example, by processor 202 of analysis device 200 executing an information processing program (such as PLC interface program 224, analysis program 226, and GUI program 228 shown in FIG. 5).
[0078] The causal relationship graph generating module 250 corresponds to a generating unit, and generates a causal relationship graph 310 indicating a causal relationship between one or more factors existing in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility, based on time-series data 50 which is first time-series data related to the manufacturing facility. As an example, the causal relationship graph generating module 250 includes a node generating module 252 and a causal relationship searching module 254.
[0079] The node generating module 252 calculates feature amounts (values indicated by each node) from the acquired time-series data 50. In addition, the causal relationship graph generating module 250 calculates the contribution of each feature amount and the partial correlation of the feature amounts.
[0080] The causal relationship search module 254 searches for nodes related to the target event (anomaly) based on the contribution of each feature and the partial correlation between the feature. The causal relationship search module 254 may statistically estimate the causal relationship leading to the target event, or may deductively determine it.
[0081] The causal graph generation module 250 may generate the causal graph 310 each time an event (anomaly) of interest is selected or updated.
[0082] The variable updating module 260 corresponds to an updating unit, and generates time series data 55 (second time series data) in which the value of the target section 344 of the time series data 50 is updated to a value reflecting the effect of a measure against the target node in accordance with the selection of a target node (first node) corresponding to one factor included in the causal relationship graph 310 and the setting of a target section 344 for the time series data 50. As an example, the variable updating module 260 includes a regression model generating module 262 and a data interpolation module 264.
[0083] The regression model generation module 262 generates an autoregressive model for interpolating the target nodes and a regression model for interpolating the relationship nodes.
[0084] The data interpolation module 264 interpolates values in the interval of interest 344 based on an autoregressive or regression model.
[0085] The evaluation module 270 corresponds to a calculation unit, and calculates a current evaluation index 276 (first evaluation index) based on the time-series data 50 and a post-measure evaluation index 278 (second evaluation index) based on the time-series data 55. As an example, the evaluation module 270 includes a model generation module 272 and an evaluation index calculation module 274.
[0086] The model generation module 272 generates an evaluation model for calculating the evaluation index 276 .
[0087] The evaluation index calculation module 274 calculates a current evaluation index 276 and a post-measure evaluation index 278 based on the generated evaluation model.
[0088] The GUI module 280 corresponds to a display output unit, and displays and outputs a display screen including the time series data 50, the causal graph 310 generated by the causal graph generation module 250, the time series data 55 generated by the variable update module 260, and the current evaluation index 276 and the evaluation index after countermeasures 278 calculated by the evaluation module 270.
[0089] For example, the GUI module 280 outputs for display the time waveform of the variable corresponding to the target node (the time waveform 340 shown in FIG. 2) and the value reflecting the effect of the countermeasure on the target node (the updated waveform 346 shown in FIG. 2).
[0090] Here, "output for display" means outputting data or signals for displaying a display screen to the display unit 218 included in the analysis device 200 or a display unit existing outside the analysis device 200.
[0091] FIG. 6 illustrates the control device 100 and the analysis device 200 as separate devices, but the control device 100 and the analysis device 200 may be configured as an integrated device. Further, a part of the functions included in the analysis device 200 (the causal relationship graph generation module 250, the variable update module 260, the evaluation module 270, and the GUI module 280) may be executed by resources on the cloud. That is, the analysis device 200 according to the present embodiment may be implemented as a single device or may be implemented using a plurality of devices.
[0092] <D. Analysis Process> Next, an analysis process, which is an example of the information process executed by the analysis device 200 according to the present embodiment, will be described.
[0093] (d1: Overall Process) FIG. 8 is a flowchart showing the processing procedure of the analysis process executed by the analysis device 200 according to the present embodiment. Each step shown in FIG. 8 is realized, for example, when the processor 202 of the analysis device 200 executes an information processing program (the PLC interface program 224, the analysis program 226, the GUI program 228, etc. shown in FIG. 5).
[0094] Referring to FIG. 8, the analysis device 200 acquires time-series data 50 related to the analysis target (step S1). The analysis device 200 may directly acquire the time-series data 50 from the control device 100 or may acquire the time-series data 50 via the memory card 116.
[0095] Analysis device 200 generates an evaluation model based on time-series data 50, and calculates an evaluation index based on the generated evaluation model (step S2). In this manner, analysis device 200 (evaluation module 270) calculates a current evaluation index 276 (first evaluation index) using the evaluation model generated based on time-series data 50 related to the manufacturing facility.
[0096] The generated evaluation model is used to calculate evaluation indices for evaluating the effectiveness of countermeasures. For example, an anomaly detection model for detecting anomalies and a regression model for estimating future values can be used as the evaluation model. Examples of evaluation indices when an anomaly detection model is used include the non-defective product rate and equipment utilization efficiency. Examples of evaluation indices when a regression model is used include prediction accuracy.
[0097] The analysis device 200 generates a causal relationship graph 310 from the time-series data 50 (step S3), and displays the generated causal relationship graph 310 (step S4).
[0098] Analysis device 200 determines whether or not a target node has been selected from displayed causal relationship graph 310 (step S5). That is, analysis device 200 accepts the selection of a target node (first node) included in causal relationship graph 310.
[0099] When a target node is selected (YES in step S5), analysis device 200 displays a time waveform corresponding to the target node (step S6). The displayed time waveform is time-series data of the variable corresponding to the target node.
[0100] Analysis device 200 determines whether or not any target section 344 has been set for the displayed time waveform (step S7). That is, analysis device 200 accepts the setting of target section 344 for time-series data 50.
[0101] When any one of the target sections 344 is set (YES in step S7), analysis device 200 identifies the start time and end time corresponding to the set target section 344 (step S8).
[0102] Analysis device 200 determines whether countermeasure button 348 has been pressed (step S9). When countermeasure button 348 has been pressed (YES in step S9), analysis device 200 executes a process of updating the values of set target section 344 to values that reflect the effects of the countermeasures (step S10). The process of updating to values that reflect the effects of the countermeasures (hereinafter also referred to as "variable update process") estimates values that will change as a result of some countermeasure being taken. In this way, analysis device 200 generates time series data 55 in which the values of target section 344 in time series data 50 have been updated to values that reflect the effects of the countermeasures on the target node.
[0103] Analysis device 200 inputs updated time-series data 55 into the generated evaluation model, calculates a post-measure evaluation index (step S11), and displays the calculated post-measure evaluation index (step S12). In this way, analysis device 200 calculates post-measure evaluation index 278 (second evaluation index) based on updated time-series data 55. More specifically, analysis device 200 (evaluation module 270) calculates post-measure evaluation index 278 (second evaluation index) using updated time-series data 55 and the evaluation model.
[0104] (d2: Evaluation model generation) Next, a description will be given of the process of generating an evaluation model and the process of calculating an evaluation index (step S2) shown in Fig. 8. The generated evaluation model may be an anomaly detection model or a regression model.
[0105] 9 is a flowchart showing a process for generating an anomaly detection model and a process for calculating an evaluation index. It is assumed that a normal label or an abnormal label is assigned to each frame included in the time-series data 50.
[0106] 9, analysis device 200 generates a provisional anomaly detection model from data with a normal label included in time-series data 50 (step S21). Next, analysis device 200 optimizes hyperparameters that define the anomaly detection model based on a set in which data with an abnormal label is added to data with a normal label, so as to maximize the accuracy rate of the anomaly detection model (step S22). Analysis device 200 outputs the anomaly detection model with optimized hyperparameters (step S23).
[0107] Analysis device 200 calculates evaluation indexes such as equipment utilization efficiency and non-defective product rate based on the accuracy rate of the output anomaly detection model (step S24).
[0108] 10 is a flowchart showing a process for generating a regression model and a process for calculating an evaluation index. The time series data 50 includes time series data of a plurality of variables. The regression model calculates the value of one variable (objective variable) for one or more input variables (explanatory variables) included in the time series data 50.
[0109] 10, analysis device 200 selects the same variable as the dependent variable as the explanatory variable to generate a provisional regression model (step S25). The generated provisional regression model is an autoregressive model for the dependent variable. Then, analysis device 200 adds time series data of one or more other variables included in time series data 50 as the dependent variable so as to minimize RMSE (Root Mean Squared Error) of the regression model, and regenerates the regression model (step S26).
[0110] When one or more variables optimal as explanatory variables are determined in step S26, a regression model using the determined explanatory variables is output (step S27).
[0111] Analysis device 200 calculates an evaluation index such as prediction accuracy based on the RMSE of the output regression model (step S28), and then the process returns.
[0112] (d3: Causal graph generation) Next, the causal graph generation process (step S3) shown in FIG. 8 will be described.
[0113] Fig. 11 is a flowchart showing a processing procedure related to the causal graph generation processing. Referring to Fig. 11, the analysis device 200 divides the time series data 50 into frames (step S31), and calculates the feature amount of each variable for each frame (step S32). The feature amount is an arbitrary value that represents each frame, such as the average value, minimum value, and maximum value for each variable in each frame. Each of the feature amounts becomes a node that constitutes the causal graph.
[0114] The analysis device 200 focuses on a frame in which some abnormality has occurred (a frame to which an abnormality label has been added), and calculates the contribution of each feature (step S33) and calculates partial correlations between the features (step S34). The contribution of each feature can be a SHAP (SHapley Additive exPlanations) value that indicates how each feature (variable) affected the frame of interest.
[0115] Analysis device 200 generates a causal relationship graph based on the contribution of each feature amount and the partial correlation between the feature amounts (step S35). In this way, analysis device 200 generates a causal relationship graph based on the contribution of each feature amount and the partial correlation between the feature amounts calculated from acquired time-series data 50. Then, the process returns.
[0116] In this manner, analysis device 200 determines connection relationships (edges) between feature amounts (nodes). The determined connection relationships (edges) may be either undirected or directed.
[0117] (d4: Variable update process) Next, the variable update process (step S10) shown in FIG. 8 will be described.
[0118] FIG. 12 is a diagram for explaining a method of estimating a value in the variable update process. 12, a causal relationship graph 310 shows causal relationships leading to a node 316 indicating an event evaluated as an abnormality in a manufacturing facility. As an example, the causal relationship graph 310 includes nodes 311, 312, 313, 314, and 315 indicating one or more factors present in the manufacturing facility.
[0119] For example, assume that node 313 is selected as the target node. When some measure is taken against node 313, the values of the variables indicated by node 313 are updated, and the values of the variables indicated by nodes 314 and 315 that exist in the direction from the target node (node 313) to node 316 indicating the event (hereinafter also referred to as the "target direction") are also updated.
[0120] Analysis device 200 (variable update module 260) uses a regression model (i.e., an autoregressive model) in which the variables corresponding to the target node (first node; node 313) are used as the objective variable and explanatory variable to interpolate a value corresponding to the target node in target section 344. Therefore, the value of the variable indicated by node 313 is updated by interpolation using the autoregressive model.
[0121] On the other hand, the analysis device 200 (variable update module 260) interpolates values corresponding to the related nodes in the target section 344 using a regression model in which the variables corresponding to the related nodes (second nodes; nodes 314, 315) are used as objective variables, and the variables corresponding to the nodes in the causal graph 310 that are factors of the related nodes are used as explanatory variables.
[0122] For example, the value of the variable indicated by node 314 is updated by interpolation using a regression model (D=f1(C)) in which the value indicated by node 313, which is a factor of node 314, is the explanatory variable. Also, the value of the variable indicated by node 315 is updated by interpolation using a regression model (E=f2(B,C)) in which the values indicated by nodes 313 and 312, which are factors of node 314, are the explanatory variables.
[0123] For ease of explanation, the causal relationship graph 310 shown in FIG. 11 shows an example in which only two nodes 314, 315 exist between the target node and the node 316 indicating the event, but the variable update process is performed for all relationship nodes corresponding to other factors that exist on the path from the target node to the node 316 indicating the event.
[0124] In this way, the variable update module 260 updates the values of the target section 344 for the relationship node (second node) that exists on the path from the target node to the node 316 indicating the event in the causal graph 310, in addition to the target node (first node).
[0125] Fig. 13 is a flowchart showing a processing procedure for the variable update processing. Referring to Fig. 13, analysis device 200 generates an autoregressive model of a variable corresponding to a target node, and evaluates the generated autoregressive model (steps S1001 to S1005). Then, analysis device 200 updates the value of target section 344 (steps S1006 and S1007).
[0126] As an example, analysis device 200 excludes time series data of target section 344 from time series data of variables corresponding to a target node (step S1001), and separates the excluded time series data into learning data and evaluation data (step S1002). For example, analysis device 200 sets two non-overlapping sections from the excluded time series data, and determines the time series data of one section as learning data and the time series data of the other section as evaluation data.
[0127] Analysis device 200 generates an autoregressive model based on the learning data (step S1003). Then, analysis device 200 calculates an accuracy index of the generated autoregressive model using the evaluation data (step S1004).
[0128] For example, when an ARIMA (Auto Regressive Integrated Moving Average) model is used as the autoregressive model, the MAE (Mean Absolute Error) calculated using the evaluation data may be used as the accuracy index.
[0129] Analysis device 200 determines whether the calculated accuracy index exceeds a predetermined threshold value (step S1005).
[0130] If the accuracy index exceeds a predetermined threshold, analysis device 200 uses the generated autoregressive model to calculate values (time-series data) in target section 344 (step S1006). That is, analysis device 200 performs interpolation using the autoregressive model when it is determined that the generated autoregressive model has a predetermined estimation accuracy.
[0131] On the other hand, if the accuracy index does not exceed the predetermined threshold, analysis device 200 uses mean value substitution to calculate values (time-series data) of target section 344 (step S1007). In this way, if the autoregressive model does not have a predetermined accuracy, analysis device 200 (variable update module 260) uses mean value substitution instead of the autoregressive model to calculate values of target section 344.
[0132] Next, analysis device 200 updates the values of the relation nodes (steps S1008 to S1015).
[0133] The analysis device 200 selects one relation node existing in the target direction of the target node (step S1008), determines a variable corresponding to the selected relation node as the objective variable, and determines variables corresponding to one or more nodes that have a dependent relationship with the selected relation node as the explanatory variables (step S1009).
[0134] Time series data in the target section 344 is excluded from the time series data of the response variable and one or more explanatory variables (step S1010), and the time series data after the exclusion is separated into learning data and evaluation data (step S1011).
[0135] For example, analysis device 200 sets two non-overlapping intervals from the time series data after the exclusion, determines the time series data of one interval as learning data, and determines the time series data of the other interval as evaluation data. Both the learning data and the evaluation data include time series data of the objective variable and one or more explanatory variables.
[0136] Analysis device 200 generates a regression model based on the learning data (step S1012). The generated regression model has one or more explanatory variables as input and a response variable as output. Analysis device 200 then calculates an accuracy index of the generated regression model using the evaluation data (step S1013).
[0137] For example, when generating a regression model using XGBoost (eXtreme Gradient Boosting: gradient boosting regression tree), the root mean square error (RMSE) calculated using evaluation data may be used as the accuracy index.
[0138] Analysis device 200 determines whether the calculated accuracy index exceeds a predetermined threshold value (step S1014).
[0139] If the accuracy index exceeds a predetermined threshold, analysis device 200 uses the generated regression model to calculate values (time-series data) of target section 344 of the objective variable (step S1015). That is, when it is determined that the generated regression model has a predetermined estimation accuracy, analysis device 200 performs interpolation using the regression model.
[0140] On the other hand, if the accuracy index does not exceed the predetermined threshold, analysis device 200 uses mean value substitution to calculate the value (time series data) of target section 344 of the objective variable (step S1016). In this way, if the autoregressive model does not have the predetermined accuracy, analysis device 200 (variable update module 260) uses mean value substitution instead of the autoregressive model to calculate the value of target section 344.
[0141] Analysis device 200 determines whether all related nodes existing in the target direction of the target node have been selected (step S1017). If all related nodes existing in the target direction of the target node have not been selected (NO in step S1017), the processing from step S1008 onwards is repeated.
[0142] If all related nodes existing in the target direction of the target node have been selected (YES in step S1017), the process returns.
[0143] (d5: Functional configuration of the analysis device) The analysis process executed by the above-mentioned analysis device 200 will be described in association with the functional configuration of the analysis device 200 shown in FIG.
[0144] 14 is a schematic diagram for explaining the contents of the analysis process in analysis device 200 according to the present embodiment. With reference to FIG. 14, causal relationship graph generation module 250 generates causal relationship graph 310 from time-series data 50.
[0145] The variable update module 260 updates the value of the target section 344 of the time series data 50 to a value that reflects the effect of the countermeasure according to the selection of the target node and the setting of the target section. Then, the variable update module 260 outputs the time series data 55 with the value of the target section 344 updated.
[0146] When updating the value of the target section 344, the variable update module 260 generates an autoregressive model 266 for interpolating the value of the target node and generates a regression model 268 for interpolating the related node.
[0147] The evaluation module 270 calculates the current evaluation index 276 based on the time series data 50, and calculates the evaluation index 278 after the countermeasure based on the time series data 55 with the value of the target section 344 updated.
[0148] When calculating the evaluation index 276 and the evaluation index 278, the evaluation module 270 generates an evaluation model 290 (abnormality detection model or regression model) based on the time series data 50.
[0149] <E. Supplementary Note> The present embodiment as described above includes the following technical ideas.
[0150] [Configuration 1] A generation unit (250) that generates a causal relationship graph (310) showing the causal relationship between one or more factors existing in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility based on first time series data (50) related to the manufacturing facility; An update unit (260) that generates second time series data in which the value of the target section in the first time series data (55) is updated to a value that reflects the effect of a countermeasure against the factor corresponding to the first node according to the selection of the first node corresponding to one factor included in the causal relationship graph and the setting of the target section (344) for the first time series data; an analysis device comprising: a calculation unit (270) that calculates a first evaluation index (276) based on the first time series data and a second evaluation index (278) based on the second time series data, wherein each of the first evaluation index and the second evaluation index indicates a proximity of the manufacturing equipment to an ideal state.
[0151] [Configuration 2] The analysis device according to configuration 1, wherein the update unit updates, in addition to the first node, values of the target section for a second node in the causal graph that corresponds to another factor existing on a path from the first node to a node indicating the event.
[0152] [Configuration 3] The analysis device according to configuration 1 or 2, wherein the update unit interpolates a value corresponding to the first node in the target interval using a regression model (266) in which a variable corresponding to the first node is a response variable and an explanatory variable.
[0153] [Configuration 4] The analysis device according to any one of configurations 1 to 3, wherein the update unit interpolates a value corresponding to the second node in the target section using a regression model (268) in which a variable corresponding to the second node is a target variable and a variable corresponding to a node that is a factor of the second node in the causal relationship graph is an explanatory variable.
[0154] [Configuration 5] 5. The analysis device according to configuration 3 or 4, wherein if the regression model does not have a predetermined accuracy, the update unit calculates the value of the target interval by using a mean substitution method instead of the regression model.
[0155] [Configuration 6] The calculation unit is Calculating the first evaluation index using an evaluation model (290) generated based on the first time-series data; 6. The analysis device according to any one of configurations 1 to 5, wherein the second evaluation index is calculated by using the second time-series data and the evaluation model.
[0156] [Configuration 7] The analysis device according to any one of configurations 1 to 6, further comprising a display output unit (280) that displays and outputs a time waveform (340) of a variable corresponding to the first node and a value (346) reflecting an effect of a countermeasure for the first node.
[0157] [Configuration 8] 8. The analysis device according to configuration 7, wherein the display output unit displays and outputs a node for which a countermeasure against the event is expected to be most effective in a manner different from that of other nodes.
[0158] [Configuration 9] An information processing method executed by a computer (100), comprising: Calculating (S2) a first evaluation index (276) indicating a proximity of the manufacturing equipment to an ideal state based on first time-series data (50) related to the manufacturing equipment; generating a causal relationship graph showing a causal relationship between one or more factors present in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility based on the first time-series data (S3); Accepting a selection of a first node corresponding to one factor included in the causal graph (S5); Accepting (S7) a setting of a target section (344) for the first time series data; generating second time series data (55) by updating a value of the target section of the first time series data to a value reflecting an effect of a countermeasure against the factor corresponding to the first node (S10); and calculating (S11) a second evaluation index (278) indicating a proximity of the manufacturing equipment to an ideal state based on the second time-series data.
[0159] [Configuration 10] An information processing program (224, 226, 228) for executing, in a computer (200), Calculating a first evaluation index (276) indicating the proximity of the manufacturing equipment to an ideal state based on first time-series data (50) of the manufacturing equipment (S2); Generating a causal relationship graph showing the causal relationship between one or more factors existing in the manufacturing equipment and an event evaluated as abnormal in the manufacturing equipment based on the first time-series data (S3); Receiving a selection of a first node corresponding to one factor included in the causal relationship graph (S5); Receiving a setting of a target interval (344) for the first time-series data (S7); Generating second time-series data (55) in which the values of the target interval in the first time-series data are updated to values reflecting the effect of a countermeasure against the factor corresponding to the first node (S10); Calculating a second evaluation index (278) indicating the proximity of the manufacturing equipment to an ideal state based on the second time-series data (S11), an information processing program.
[0160] The invention according to the present embodiment can also be realized as a non-temporary computer-readable medium storing the above information processing program.
[0161] <F. Advantages> According to the present embodiment, the effect when a countermeasure is taken against an arbitrary node included in the causal relationship graph can be objectively determined. As a result, it is possible to estimate which node among the nodes included in the causal relationship graph is effective for the countermeasure, and also the degree of the effect by the countermeasure.
[0162] The embodiments disclosed this time should be considered as illustrative in all respects and not restrictive. The scope of the present invention is shown not by the above description but by the claims, and it is intended that all modifications within the meaning and scope equivalent to the claims are included.
Explanation of Signs
[0163] 1 Information processing system, 40 Field device, 42 Sensor, 44 Actuator, 50, 55 Time series data, 51 Time stamp, 52 Process data, 53 Frame variable, 100 Control device, 102, 202 Processor, 104 Chip set, 106, 206 Main memory device, 108, 208 Secondary memory device, 110 Field bus controller, 112, 212 USB controller, 114 Memory card interface, 116 Memory card, 131 System program, 132 User program, 150 PLC engine, 152 Variable manager, 154 Interface, 156 TSDB, 200 Analysis device, 204 Optical drive, 205 Computer readable medium, 214 Network controller, 216 Input unit, 218 Display unit, 220 Bus, 222 OS, 224 Interface program, 226 Analysis program, 228 GUI program, 250 Causal relationship graph generation module, 252 node generation module, 254 causal relationship exploration module, 260 variable update module, 262 regression model generation module, 264 data interpolation module, 266 autoregressive model, 268 regression model, 270 evaluation module, 272 model generation module, 274 evaluation index calculation module, 276, 278 evaluation index, 280 module, 290 evaluation model, 300 display screen, 310 causal relationship graph, 311, 312, 313, 314, 315, 316 nodes, 320 countermeasure effect display area, 330 history display area, 340 time waveform, 342 display variable label, 344 target section, 346 updated waveform, 348 countermeasure button, 350 countermeasure reset button.
Claims
1. a generation unit that generates a causal relationship graph showing a causal relationship between one or more factors present in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility based on first time-series data related to the manufacturing facility; an update unit that generates second time-series data by updating a value of the target section of the first time-series data to a value that reflects an effect of a countermeasure against the factor corresponding to the first node, in accordance with selection of a first node corresponding to one of the factors included in the causal relationship graph and setting of a target section for the first time-series data; an analysis device comprising: a calculation unit that calculates a first evaluation index based on the first time series data and a second evaluation index based on the second time series data, wherein each of the first evaluation index and the second evaluation index indicates a closeness of the manufacturing equipment to an ideal state.
2. The analysis device according to claim 1 , wherein the update unit updates, in addition to the first node, values of the target section for a second node in the causal graph that corresponds to another factor on a path from the first node to a node indicating the event.
3. The analysis device according to claim 2 , wherein the update unit interpolates a value corresponding to the first node in the target interval using a regression model in which the variables corresponding to the first node are a response variable and an explanatory variable.
4. 3. The analysis device according to claim 2, wherein the update unit interpolates a value corresponding to the second node in the target section using a regression model in which a variable corresponding to the second node is a target variable and a variable corresponding to a node in the causal graph that is a factor of the second node is an explanatory variable.
5. 5. The analysis device according to claim 3, wherein the update unit calculates the value of the target interval by using a mean value substitution method instead of the regression model if the regression model does not have a predetermined accuracy.
6. The calculation unit is Calculating the first evaluation index using an evaluation model generated based on the first time-series data; 5. The analysis device according to claim 1, wherein the second evaluation index is calculated using the second time-series data and the evaluation model.
7. 5. The analysis device according to claim 1, further comprising a display output unit that displays and outputs a time waveform of a variable corresponding to the first node and a value reflecting an effect of a countermeasure for the first node.
8. The analysis device according to claim 7 , wherein the display output unit displays and outputs the node for which a countermeasure against the event is expected to be most effective in a manner different from that for other nodes.
9. 1. A computer-implemented information processing method, comprising: Calculating a first evaluation index indicating a proximity of the manufacturing equipment to an ideal state based on first time-series data related to the manufacturing equipment; generating a causal relationship graph showing a causal relationship between one or more factors present in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility based on the first time-series data; accepting a selection of a first node corresponding to a factor included in the causal graph; Accepting a setting of a target section for the first time series data; generating second time series data by updating a value of the target section in the first time series data to a value that reflects an effect of a countermeasure against the factor corresponding to the first node; and calculating a second evaluation index indicating a proximity of the manufacturing equipment to an ideal state based on the second time-series data.
10. An information processing program, comprising: Calculating a first evaluation index indicating a proximity of the manufacturing equipment to an ideal state based on first time-series data related to the manufacturing equipment; generating a causal relationship graph showing a causal relationship between one or more factors present in the manufacturing facility and an event evaluated as an abnormality in the manufacturing facility based on the first time-series data; accepting a selection of a first node corresponding to a factor included in the causal graph; Accepting a setting of a target section for the first time series data; generating second time series data by updating a value of the target section in the first time series data to a value that reflects an effect of a countermeasure against the factor corresponding to the first node; and calculating a second evaluation index indicating a proximity of the manufacturing equipment to an ideal state based on the second time-series data.
Citation Information
Patent Citations
Method and system for diagnosing abnormality of apparatus
JP2010122847A
Analysis method, analysis program, and information processing device
JP2022115643A
Method and device for extracting poor factor, process stabilization support system, program, and computer readable storage medium
JP2009104523A
