Information processing device, information processing program, and information processing method

The information processing device simplifies threshold setting by visually displaying feature amounts and scores, enabling users to set thresholds effectively for predictive maintenance, addressing the challenge of low-frequency abnormalities.

JP7571613B2Active Publication Date: 2024-10-23OMRON CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021027259
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-24
Publication Date
2024-10-23
Estimated Expiration
2041-02-24

AI Technical Summary

Technical Problem

Existing methods for setting thresholds in predictive maintenance are difficult due to the low frequency of abnormalities, making it challenging to set appropriate threshold values, even for experts.

Method used

An information processing device and method that facilitates easier threshold setting by using a trained model to calculate and display feature amounts and scores, allowing users to set thresholds visually and interactively, converting feature amount thresholds to score thresholds using a defined function.

Benefits of technology

Enables users, including those with little specialized knowledge, to easily set appropriate thresholds for detecting abnormalities, improving the accuracy of predictive maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571613000001
    Figure 0007571613000001
  • Figure 0007571613000002
    Figure 0007571613000002
  • Figure 0007571613000003
    Figure 0007571613000003
Patent Text Reader

Abstract

To provide a method capable of easily setting a threshold value for determining some event using a trained model.SOLUTION: A control device has a trained model 160 that outputs a score 154 by inputting a feature amount 152 calculated from information collected from an object to be controlled, and a threshold value 156 for determining the score. An information processing device includes: display means for displaying the feature amount related to the trained model and the score calculated from the feature amount; receiving means for accepting a setting of the threshold value for either the feature amount or the score; calculation means for calculating a threshold value for the score from the threshold value set for the feature amount; and output means for outputting the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature amount as the threshold value applied to the trained model.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present technology relates to an information processing device connected to a control device, an information processing program, and an information processing method. [Background technology]

[0002] In various production sites, there is a need to improve the equipment operation rate by predictive maintenance of machines and equipment. Predictive maintenance means a form of maintenance in which some abnormality occurring in machines and equipment is detected and maintenance work such as repair or replacement is performed before the equipment needs to be stopped. In order to realize such predictive maintenance, a mechanism using machine learning has been put into practical use that collects the status values ​​of machines and equipment and determines whether or not some abnormality has occurred in the machines and equipment based on the collected status values.

[0003] For example, Japanese Patent Laid-Open Publication No. 2012-138044 (Patent Document 1) discloses a process state monitoring device that assists in quickly diagnosing an abnormality in a monitored object. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2012-138044 A Summary of the Invention [Problem to be solved by the invention]

[0005] A typical method for detecting an abnormality is to judge a measured value using a predetermined threshold value.

[0006] Normally, the frequency with which anomalies to be detected occur is low, and the initial threshold value must be set based only on data labeled as normal or on data labeled with only a small number of anomalies. Therefore, even for experts with specialized knowledge, it is not easy to set an appropriate threshold value.

[0007] This technology provides a way to more easily set thresholds for determining certain events using a trained model. [Means for solving the problem]

[0008] According to one example of the present technology, an information processing device connected to a control device for controlling a control target is provided. The control device has a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score. The information processing device includes a display means for displaying the feature related to the trained model and the score calculated from the feature, a receiving means for receiving a threshold value setting for either the feature or the score, a calculating means for calculating a threshold value for the score from the threshold value set for the feature, and an output means for outputting the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature as a threshold value to be applied to the trained model.

[0009] According to this configuration, the user can set a threshold value for either the feature or the score while checking the feature or the score. Therefore, it is possible to set a threshold value for the feature or the score that is easy to set, and to start the judgment process using the trained model.

[0010] The display means may display the time waveform of the feature amount and the time waveform of the score side by side. With this configuration, the user can check both the time waveform of the feature amount and the time waveform of the score, which makes it easier to set the threshold value.

[0011] The calculation means may calculate the threshold value for the score from the threshold value set for the feature amount by using a function that defines the trained model. With this configuration, the threshold value for the score can be calculated from the threshold value set for the feature amount in accordance with the definition of the trained model.

[0012] The display means may display the time waveforms of the plurality of feature quantities side by side. With this configuration, the plurality of feature quantities can be confirmed, which makes it easier to set the threshold value.

[0013] The display means may plot and display each of the two feature amounts on two-dimensional coordinates corresponding to the two feature amounts, and may display a threshold value for the score in the form of a contour line. With this configuration, the relationship between the two feature amounts and the score can be visually grasped, making it easier to set the threshold value.

[0014] The display means may plot and display each of the three feature amounts on three-dimensional coordinates corresponding to the three feature amounts, and may also display a group of coordinate points corresponding to the set score. With this configuration, the relationship between the three feature amounts and the score can be visually grasped, making it easier to set the threshold value.

[0015] The output unit may output a plurality of threshold values. With this configuration, a plurality of stages of judgment can be made using the score calculated using the trained model.

[0016] According to another example of the present technology, there is provided an information processing program executed by a computer connected to a control device for controlling a control target. The control device has a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score. The information processing program causes the computer to execute the steps of displaying the feature related to the trained model and the score calculated from the feature, accepting a threshold value setting for either the feature or the score, calculating a threshold value for the score from the threshold value set for the feature, and outputting the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature as a threshold value to be applied to the trained model.

[0017] According to yet another example of the present technology, there is provided an information processing method executed by a computer connected to a control device for controlling a control target. The control device has a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score. The information processing method includes a step of displaying the feature associated with the trained model and the score calculated from the feature, a step of accepting a threshold value setting for either the feature or the score, a step of calculating a threshold value for the score from the threshold value set for the feature, and a step of outputting the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature as a threshold value to be applied to the trained model. Effect of the Invention

[0018] The present technology provides a method for more easily setting a threshold for determining an event using a trained model. [Brief description of the drawings]

[0019] [Figure 1] 1 is a schematic diagram showing an example of the overall configuration of a control system according to an embodiment of the present invention; [Diagram 2] 1 is a diagram for explaining an example of a main configuration and an operation form of a control system according to an embodiment of the present invention. [Diagram 3] 2 is a block diagram showing an example of a hardware configuration of a control device constituting the control system according to the present embodiment. FIG. [Figure 4] 2 is a block diagram showing an example of a hardware configuration of a support device constituting the control system according to the present embodiment. FIG. [Diagram 5] FIG. 2 is a schematic diagram showing an overview of an abnormality detection process in the control system according to the present embodiment. [Figure 6] 1 is a diagram for explaining an overview of a threshold setting process provided by a support device constituting a control system according to the present embodiment. FIG. [Figure 7]It is a schematic diagram showing an example of a user interface screen related to the threshold setting process provided by a support device constituting a control system according to the present embodiment. [Figure 8] It is a schematic diagram showing another example of a user interface screen related to the threshold setting process provided by a support device constituting a control system according to the present embodiment. [Figure 9] It is a schematic diagram showing still another example of a user interface screen related to the threshold setting process provided by a support device constituting a control system according to the present embodiment. [Figure 10] It is a flowchart showing an example of a processing procedure related to the threshold setting process according to the present embodiment. [Figure 11] It is a block diagram showing an example of a functional configuration for realizing the threshold setting process according to the present embodiment.

Embodiments for Carrying Out the Invention

[0020] Embodiments of the present invention will be described in detail with reference to the drawings. For the same or corresponding parts in the drawings, the same reference numerals are given and the description thereof will not be repeated.

[0021] <A. Application Example> First, an example of a scene to which the present invention is applied will be described. Hereinafter, as an application example of machine learning, an example of determining whether or not any abnormality has occurred in equipment or the like will be described. However, the present invention is not limited to anomaly detection and is applicable to any machine learning.

[0022] In this specification, any device related to a control device is also referred to as a "control target". The term "control target" is not limited to any device directly controlled by the control device or a device from which the control device acquires information, but may include any device or facility including those devices, as well as units constituting the control device.

[0023] In this specification, as an example of an entity that performs processing such as judgment, an anomaly detection engine loads a trained model generated by machine learning. One or more predetermined feature quantities are input to the anomaly detection engine, and an output is calculated based on the input feature quantities. The value calculated by the anomaly detection engine using the loaded trained model is also referred to as a "score."

[0024] In this specification, a specific occurrence that can be determined by applying a trained model generated by machine learning is also referred to as an “event.” In terms of a trained model related to anomaly detection, an event typically means the occurrence of a specific anomaly that can occur in a controlled object.

[0025] Fig. 1 is a schematic diagram showing an example of the overall configuration of a control system 1 according to the present embodiment. Referring to Fig. 1, the control system 1 according to the present embodiment includes, as main components, a control device 100 for controlling a control target, and a support device 200 which is an example of an information processing device connected to the control device 100.

[0026] The control device 100 may be embodied as a type of computer, such as a programmable controller (PLC). The control device 100 is connected to the field device group 10 via a field bus 2. The field bus 2 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).

[0027] The field devices 10 include devices that collect input data from controlled objects or manufacturing devices and production lines related to the control (hereinafter collectively referred to as "fields"). Assumed devices for collecting such input data include input relays and various sensors. The field devices 10 further include devices that perform some kind of action on the field based on commands (hereinafter also referred to as "output data") generated by the control device 100. Assumed devices for performing some kind of action on such fields include output relays, contactors, servo drivers and servo motors, and any other actuators. These field devices 10 exchange data including input data and output data with the control device 100 via the field bus 2.

[0028] In the configuration example shown in FIG. 1, the field device group 10 includes a remote I / O (Input / Output) device 12, a relay group 14, a servo driver 18, and a servo motor 20.

[0029] The remote I / O device 12 includes a communication unit that communicates via the field bus 2, and an input / output unit (hereinafter also referred to as an "I / O unit") for collecting input data and outputting output data. Input data and output data are exchanged between the control device 100 and the field via such an I / O unit. Fig. 1 shows an example in which digital signals are exchanged as input data and output data via a relay group 14.

[0030] The I / O unit may be directly connected to the field bus 2. FIG.

[0031] The servo driver 18 drives the servo motor 20 in accordance with output data (eg, a position command) from the control device 100.

[0032] As described above, input data and output data are exchanged between the control device 100 and the field device group 10 via the field bus 2, and the exchanged data is updated at very short intervals of the order of several hundred μsec to several tens of msec. Such an update process of the exchanged data is sometimes called an "I / O refresh process."

[0033] The control device 100 has a PLC engine (PLC engine 130 shown in FIG. 2) that executes control calculations for controlling control targets such as equipment and machines. The PLC engine corresponds to a control calculation unit, and determines output data by executing control calculations based on input data. The control device 100 has a time series database (hereinafter also referred to as "TSDB (Time Series Data Base)") 140 that sequentially stores input data from the field device group 10, output data to the field device group 10, internal data managed within the control device 100, and the like. Hereinafter, the data stored in TSDB 140 will also be referred to as "time series data."

[0034] The control device 100 has an anomaly detection engine 150 that reads a trained model (hereinafter also simply referred to as a "model 160") and parameters 162 prepared in advance, and detects anomalies in the controlled object.

[0035] A feature amount calculated from information collected from the control target is input to the model 160, and a score is output. Basically, a model 160 is prepared for each event. However, logic for judging each of a plurality of events can be integrated into one model.

[0036] Parameters 162 may include thresholds for determining the score output from model 160 .

[0037] Typically, the information collected from the control target is time-series data (or features calculated from the time-series data) stored in the TSDB 140. That is, the anomaly detection engine 150 determines the occurrence or possibility of an anomaly in the control target based on the time-series data stored in the TSDB 140.

[0038] The control device 100 may be connected to a server 400 via a higher-level network 6, and may be connected to one or more display devices 500 via a field bus 4. The server 400 and the display devices 500 are optional components and are not essential components of the control system 1.

[0039] The server 400 is responsible for processing such as providing any information to the control device 100 or collecting data from the control device 100 .

[0040] The display device 500 receives operations from a user, transmits commands to the control device 100 in response to the user operations, and graphically displays the results of calculations performed by the control device 100, etc.

[0041] The support device 200 is an information processing device (an example of a computer) that supports the preparations required for the control device 100 to control a control target. Specifically, the support device 200 provides a development environment (program creation and editing tools, parsers, compilers, etc.) for user programs executed by the control device 100, a setting environment for setting parameters (configurations) for the control device 100 and various devices connected to the control device 100, a function for transmitting the generated user programs to the control device 100, a function for modifying and changing the user programs executed on the control device 100 online, and the like.

[0042] Furthermore, the support device 200 has a function for supporting the generation and adjustment of the model 160 referenced by the anomaly detection engine 150 implemented in the control device 100.

[0043] Here, the term "things related to the target of anomaly detection" may refer to any information that can be used to generate learning data for learning the detection logic (i.e., model 160) of anomaly detection engine 150. Possible things related to the target of anomaly detection include, for example, a workpiece (finished product or semi-finished product) being produced and the production equipment itself.

[0044] Next, an example of the configuration and operation of the anomaly detection engine 150 of the control device 100 will be described. The support device 200 acquires the time series data stored in the TSDB 140, and selects (cleans) the time series data or feature values ​​used to generate the model 160. Then, the support device 200 visualizes the selected data and labels the selected data. Furthermore, the support device 200 determines the parameters 162 to be used together with the model 160. The determination of the parameters 162 includes setting a threshold value for the score or feature values. The threshold value may be set manually by a user, or may be set automatically based on statistical information.

[0045] Finally, the support device 200 generates a model 160 based on the labeled data, and transfers the generated model 160 and corresponding parameters 162 to the control device 100. The model 160 transferred to the control device 100 is a trained model. The parameters 162, including a threshold value, etc., may be stored in the control device 100 as a file separate from the model 160, or the parameters 162 may be incorporated into the model 160.

[0046] Fig. 2 is a diagram for explaining an example of a main configuration and an operation form of the control system 1 according to the present embodiment. Referring to Fig. 2, the process of anomaly detection in the control system 1 is typically realized in the order of a data collection phase 30, a data analysis phase 32, and an operation phase 34.

[0047] In a data collection phase 30, time-series data related to a target for anomaly detection is collected. In a data analysis phase 32, feature quantities suitable for the target anomaly detection are considered by data mining or the like on the time-series data collected in the data collection phase 30, and a model 160 is generated according to the considered feature quantities. The operation phase 34 is started using the model 160 generated in the data analysis phase 32.

[0048] After the start of the operation phase 34, if an underdetection or erroneous detection occurs, such as an anomaly that should be detected being overlooked or an anomaly that should not be detected being detected, the model 160 may be updated by re-learning. Alternatively, if any change occurs in the target of anomaly detection (e.g., aging or changes in operating conditions), the model 160 may also be updated by re-learning.

[0049] In consideration of such a processing procedure, the support device 200 may include a data mining tool 240 and a model generation tool 250. The data mining tool 240 mainly provides the processing required in the data analysis phase 32. The model generation tool 250 mainly provides the processing required in the operation phase 34.

[0050] The data mining tool 240 typically provides a feature generation process 242 , a feature selection process 244 , a model generation process 246 , and a threshold setting process 248 .

[0051] The model generation tool 250 provides a model update process 252 and a threshold adjustment process 254 .

[0052] On the other hand, the control device 100 includes the PLC engine 130, the TSDB 140, and the anomaly detection engine 150 as described above.

[0053] The PLC engine 130 periodically executes control operations defined by a user program 132 that is arbitrarily created according to a control target. An AI library 134 is available in the user program 132. Alternatively, the AI ​​library 134 may be incorporated into the user program 132. The contents, characteristics, behavior, etc. of the AI ​​library 134 may be determined in the data analysis phase 32 using a data mining tool 240.

[0054] When the PLC engine 130 executes a portion of the AI ​​library 134 included in the user program 132, one or more features 152 are calculated from pre-specified data, and the calculated features 152 are provided to the anomaly detection engine 150.

[0055] The PLC engine 130 has a data management unit 136, and holds input data, output data, and internal data in a form that can be referenced by the user program 132. The values ​​of the data managed by the data management unit 136 are updated at predetermined intervals (I / O refresh intervals) by I / O refresh processing. Furthermore, pre-specified data among the data managed by the data management unit 136 is stored in the TSDB 140 at predetermined intervals. As a result, the TSDB 140 outputs the value change of the specified data at each predetermined interval, i.e., time-series data 142.

[0056] The anomaly detection engine 150 determines the occurrence or possibility of an anomaly by referring to the model 160 based on the feature quantity 152 from the PLC engine 130. The model 160 may be determined using the data mining tool 240 in the data analysis phase 32, or may be determined using the model generation tool 250 in the operation phase 34.

[0057] Typically, the model 160 is a function that outputs a value indicating the degree of abnormality (degree of deviation from normality) when one or more feature quantities 152 are input. The model 160 may include coefficients that define the actual function.

[0058] The control system 1 according to this embodiment can output a report on information related to machine learning. By using such report output, the user can easily determine the validity of the learned model and can also easily grasp the deterioration tendency of facilities and the tendency of production status, etc.

[0059] <B. Hardware configuration example> Next, a hardware configuration example of the main devices constituting the control system 1 according to this embodiment will be described.

[0060] (b1: Hardware configuration example of the control device 100) FIG. 3 is a block diagram showing a hardware configuration example of the control device 100 constituting the control system 1 according to this embodiment. Referring to FIG. 3, the control device 100 includes a processor 102 such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), a chipset 104, a main storage device 106, a secondary storage device 108, an upper network controller 110, a USB (Universal Serial Bus) controller 112, a memory card interface 114, an internal bus controller 122, field bus controllers 118, 120, and I / O units 124-1, 124-2, ….

[0061] The processor 102 reads out various programs stored in the secondary storage device 108, expands them in the main storage device 106, and executes them to realize the PLC engine 130 and the abnormality detection engine 150. The chipset 104 controls data transmission between the processor 102 and each component.

[0062] In addition to the system program 131 for realizing the PLC engine 130 and the abnormality detection engine 150, a user program 132 executed using the PLC engine 130 is stored in the secondary storage device 108. A part of the area of the secondary storage device 108 may be used as the TSDB 140.

[0063] The upper network controller 110 controls data exchange with other devices via the upper network 6. The USB controller 112 controls data exchange with the support device 200 via a USB connection.

[0064] The memory card interface 114 is configured so that a memory card 116 can be attached and detached, and it is possible to write data to the memory card 116 and read various data (user programs, trace data, etc.) from the memory card 116.

[0065] The internal bus controller 122 is an interface for transmitting and receiving data between the I / O units 124-1, 124-2, . . . mounted on the control device 100.

[0066] A fieldbus controller 118 controls data exchange with other devices via the fieldbus 2. Similarly, a fieldbus controller 120 controls data exchange with other devices via the fieldbus 4.

[0067] FIG. 3 shows an example of a configuration in which the necessary functions are provided by the processor 102 executing a program, 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.

[0068] (b2: Hardware configuration example of the support device 200) The support device 200 according to the present 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.

[0069] Fig. 4 is a block diagram showing an example of a hardware configuration of a support device 200 constituting the control system 1 according to the present embodiment. With reference to Fig. 4, the support device 200 includes a processor 202 such as a CPU or an MPU, 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.

[0070] The processor 202 reads out various programs stored in the secondary storage device 208, deploys them in the main storage device 206, and executes them to realize various processes including a threshold setting process, which will be described later.

[0071] The secondary storage device 208 is composed of, for example, a hard disk drive (HDD) or a flash solid state drive (SSD). The secondary storage device 208 typically stores a PLC interface program 224 for exchanging data related to an anomaly detection function between the OS 222 and the control device 100, a development program 226 for creating a user program executed in the support device 200, debugging the created user program, defining a system configuration, setting various parameters, and the like, and a model generation program 228 for generating the model 160 and implementing related processing. The secondary storage device 208 may store necessary programs other than the programs shown in FIG. 4.

[0072] The support device 200 has an optical drive 204, and a program stored therein is read from a recording medium 205 (for example, an optical recording medium such as a DVD (Digital Versatile Disc)) that non-transitorily stores a computer-readable program and installed in a secondary storage device 208 or the like.

[0073] The various programs executed by the support device 200 may be installed via a computer-readable recording medium 205, or may be installed in a form downloaded from a server device or the like on a network. Further, the functions provided by the support device 200 according to the present embodiment may be realized by using a part of the modules provided by the OS 222.

[0074] The USB controller 212 controls the exchange of data with the control device 100 via a USB connection. The network controller 214 controls the exchange of data with other devices via an arbitrary network.

[0075] 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 the processing results from the processor 202 and the like.

[0076] FIG. 4 shows a configuration example in which functions necessary for the processor 202 to execute a program are provided, but some or all of these provided functions may be implemented using a dedicated hardware circuit (for example, an ASIC or an FPGA).

[0077] <C. Threshold Setting Process> Next, the threshold setting process according to the present embodiment will be described.

[0078] Fig. 5 is a schematic diagram showing an overview of anomaly detection processing in the control system 1 according to the present embodiment. Referring to Fig. 5, the feature amount calculation module 260 calculates the corresponding feature amount 152 for input of time-series data.

[0079] The feature amount 152 is information calculated by an arbitrary method from information from the field (a part of the time series data). Any value, such as a maximum value, a minimum value, a median value, an average value, or a standard deviation, can be used as the feature amount 152. Note that the time series data itself can also be used as the feature amount.

[0080] The calculated feature amount 152 is input to a model 160, which calculates a score 154. Furthermore, the score 154 output from the model 160 is compared with a threshold value 156 in a threshold value determination module 262. Depending on the magnitude relationship between the score 154 and the threshold value 156, a detection result 158 ​​including the presence or absence of an abnormality is output.

[0081] Note that a plurality of features 152 may be input to the model 160, and the number of dimensions of the features 152 may be set arbitrarily. The score 154 output from the model 160 is typically a one-dimensional value, but may be a multi-dimensional value.

[0082] The control system 1 according to the present embodiment provides a mechanism for facilitating the setting of the threshold value 156 used to determine the score 154. Since the correspondence between the feature amount 152 input to the model 160 and the score 154 output from the model 160 is clearly defined, it is also possible to adjust the threshold value set for the feature amount 152 instead of the threshold value 156 set for the score 154.

[0083] The support device 200 displays the feature amounts related to the model 160 and the scores calculated from the feature amounts. Display examples of the feature amounts and scores are shown below.

[0084] Fig. 6 is a diagram for explaining an outline of a threshold setting process provided by the support device 200 constituting the control system 1 according to the present embodiment. With reference to Fig. 6, the support device 200 selectively or simultaneously displays, for a selected model 160 (model 160 corresponding to any one of the events), a feature display screen 270 showing the time waveform of one or more input feature values ​​and a score display screen 280 showing the time waveform of the output score. That is, the support device 200 may display the feature value time waveform and the score time waveform side by side, or may display one of the feature value time waveform and the score time waveform.

[0085] The user can set a threshold value to be used for the judgment on both the feature amount display screen 270 and the score display screen 280.

[0086] More specifically, the feature amount display screen 270 includes a feature amount display area 271 and a histogram display area 272. The feature amount display area 271 displays the time waveform of the feature amount to be input to the selected model 160. The histogram display area 272 displays the distribution of the time waveform of the feature amount displayed in the feature amount display area 271.

[0087] Moreover, the score display screen 280 includes a score display area 281 and a histogram display area 282. The score display area 281 displays a time waveform of the score output from the selected model 160. The histogram display area 282 displays a distribution of the time waveform of the score displayed in the score display area 281.

[0088] The time waveforms of the feature amounts and scores are divided into predetermined time intervals called frames, for example.

[0089] Fig. 6(A) shows an example in which a user sets a threshold value for a time waveform of a score. A slider 285 for setting a threshold value is displayed on a score display screen 280 shown in Fig. 6(A). The user operates the slider 285 to set a first threshold value 283 and a second threshold value 284 for the score. In this manner, the support device 200 accepts the setting of a threshold value for the score.

[0090] The threshold value may be one or more. For example, the first threshold value 283 may be set as a threshold value for determining that an abnormality (damage) has occurred, and the second threshold value 284 may be set as a threshold value for determining that a caution is required, indicating that the abnormality has progressed to a certain extent. In this case, multiple threshold values ​​(the first threshold value 283 and the second threshold value 284) are output as the parameter 162.

[0091] Fig. 6(B) shows an example in which a user sets a threshold value for a time waveform of a feature. A slider 275 for setting a threshold value is displayed on a feature display screen 270 shown in Fig. 6(B). The user operates the slider 275 to set a first threshold value 273 and a second threshold value 274 for the feature. In this manner, the support device 200 accepts the setting of a threshold value for the feature.

[0092] The support device 200 calculates a first threshold value 283 and a second threshold value 284 for the score from the first threshold value 273 and the second threshold value 274 set by the user for the feature amount. The first threshold value 283 and the second threshold value 284 are calculated using a function that defines the corresponding model 160.

[0093] For example, the model 160 in which one or more features calculate a score is a function f(feature 1, feature 2, . . . , feature N) (N ≥ 1). In this case, the score can be expressed as f(feature 1, feature 2, . . . , feature N). By using the function f that defines such a model 160, the threshold value TH set for the feature can be calculated. ch to the threshold value TH for the score sc That is, TH sc =f(TH ch ) In this way, by using the function f that defines the model 160 (that is, the model 160 itself), the threshold value for the score can be uniquely calculated from the threshold value set for the feature amount.

[0094] In this way, the support device 200 calculates the threshold value for the score from the threshold value set for the feature amount. More specifically, the support device 200 calculates the threshold value for the score from the threshold value set for the feature amount by using a function that defines the model 160. ch to the threshold value TH for the score sc Calculate.

[0095] Note that multiple feature amounts may be input to the model 160. In this case, a threshold value may be set for each feature amount. In this case, a user interface screen such as the one below may be provided so that the user can intuitively understand the model 160.

[0096] Fig. 7 is a schematic diagram showing an example of a user interface screen related to a threshold setting process provided by the support device 200 constituting the control system 1 according to the present embodiment. Referring to Fig. 7, a user interface screen 290 expresses the relationship between two arbitrarily selected feature amounts from among the multiple feature amounts input to the model 160 and the score.

[0097] More specifically, the user interface screen 290 includes a score display area 291. The score display area 291 expresses, in the form of contour lines, the relationship between any two feature amounts selected in the feature amount selection area 292 and the score. The contour lines 295 displayed in the score display area 291 connect pairs of feature amounts for which the same score is calculated.

[0098] For each of the contour lines 295 displayed in the score display area 291, a set of features showing the same score is extracted and generated by sequentially calculating the corresponding scores while varying the selected feature amount.

[0099] Furthermore, a feature amount 296 to which a normal label has been assigned and a feature amount 297 to which an abnormal label has been assigned are plotted in the score display area 291. The user sets a first threshold value 283 and a second threshold value 284 for the score by inputting arbitrary values ​​in a threshold setting area 293 and a threshold setting area 294 while referring to a contour line 295 and feature amounts 296 and 297 displayed in the score display area 291. In this way, when the model 160 is configured to output a score from a plurality of feature amounts, the support device 200 calculates a threshold value for the score from the threshold values ​​respectively set for the plurality of feature amounts.

[0100] The set first threshold value 283 and second threshold value 284 are reflected in the form of contour lines in the score display area 291.

[0101] The user sets optimal first threshold value 283 and second threshold value 284 by comparing the range enclosed by the contour lines corresponding to first threshold value 283 and second threshold value 284 displayed in score display area 291 with feature value 296 labeled as normal and feature value 297 labeled as abnormal.

[0102] In this way, the support device 200 plots and displays each of the feature amounts (the feature amount 296 and the feature amount 297) on two-dimensional coordinates associated with the two feature amounts, and also displays the threshold value for the score in the form of a contour line.

[0103] Fig. 8 is a schematic diagram showing another example of a user interface screen related to a threshold setting process provided by the support device 200 constituting the control system 1 according to the present embodiment. Fig. 8 shows an example in which three feature amounts are input to the model 160 and a score is calculated.

[0104] Three-dimensional coordinates to which three feature quantities are associated are displayed in score display area 298 in Fig. 8. Since multiple score contour lines can be displayed in score display area 298 shown in Fig. 8, boundary surfaces corresponding to the threshold values ​​set in threshold setting area 299 are displayed in score display area 298.

[0105] In this way, the support device 200 plots and displays each of the three feature amounts on the three-dimensional coordinates associated with the feature amounts, and also displays a group of coordinate points corresponding to the set score.

[0106] 8 is a boundary surface that corresponds to the threshold value for the score set in the threshold value setting area 299. The user can set the threshold value for the score while checking the curved surface that connects the plots. In this way, the support device 200 accepts the setting of the threshold value for the score.

[0107] By a user operation on the score display area 298 shown in Fig. 8(A), the score display area 298 is displayed as shown in Fig. 8(B). That is, the user can arbitrarily change the viewpoint from which the score display area 298 is displayed. By changing the viewpoint or rotating the display in this way, the user can determine whether the threshold value for the set score is appropriate.

[0108] Moreover, a threshold value for the score may be set by setting a threshold value for any of a plurality of feature amounts.

[0109] FIG. 9 is a schematic diagram showing yet another example of a user interface screen related to a threshold setting process provided by the support device 200 constituting the control system 1 according to the present embodiment.

[0110] 9, it is assumed that three feature amounts are input to model 160. Feature amount display screen 270A, feature amount display screen 270B, and feature amount display screen 270C, in which the time waveforms of the respective feature amounts are displayed, are displayed side by side. The user refers to the time waveforms of the respective feature amounts, selects a feature amount for which it is easy to set a threshold value, and sets a desired threshold value.

[0111] 9, the user selects feature amount display screen 270B and operates slider 275 on feature amount display screen 270B to set first threshold value 273 and second threshold value 274 for the selected feature amount. Then, first threshold value 283 and second threshold value 284 for the score corresponding to first threshold value 273 and second threshold value 274 for the feature amount are calculated. On score display screen 280, the calculated first threshold value 283 and second threshold value 284 are displayed in addition to the time waveform of the corresponding score.

[0112] For feature amounts for which no threshold value is set, a threshold value for the score may be calculated using a provisionally determined threshold value based on statistical data of the feature amount or the like.

[0113] In this way, by displaying the time waveforms of a plurality of feature amounts side by side, selecting a feature amount for which a threshold can be easily set, and setting a desired threshold value, it is possible to set a threshold value for the corresponding score.

[0114] The threshold set for the score or the threshold for the score calculated from the threshold set for the feature amount, which is set by the procedure as described above, is output as the threshold to be applied to the model 160.

[0115] <D. Processing Procedure> Next, an example of the processing procedure for the threshold setting process according to the present embodiment will be described.

[0116] FIG. 10 is a flowchart showing an example of the processing procedure for the threshold setting process according to the present embodiment. Each step shown in FIG. 10 is typically realized by the processor 202 of the support device 200 executing the model generation program 228 (FIG. 4). The model generation program 228 is an example of an information processing program executed by the support device 200 which is a computer.

[0117] It is assumed that the model 160 for calculating scores for one or more feature amounts is created in advance.

[0118] Referring to FIG. 10, the support device 200 receives a selection of a target event from the user (step S100). Then, the support device 200 acquires time series data associated with the selected event (step S102). For example, the support device 200 may access the control device 100 to acquire the time series data stored in the TSDB 140, or may extract the target time series data from the time series data previously acquired by the support device 200.

[0119] Subsequently, the support device 200 generates time series data of feature amounts from the acquired time series data (step S104), and generates time series data of scores by inputting the generated time series data into the model 160 corresponding to the target event (step S106).

[0120] The support device 200 displays the time series data of the feature amount and the time series data of the score in accordance with the user's operation (step S108). That is, the support device 200 displays the feature amount related to the model 160 and the score calculated from the feature amount. The user sets one or more threshold values ​​while referring to the time series data of the feature amount and / or the time series data of the score. The support device 200 accepts the setting of a threshold value for either the feature amount or the score.

[0121] When support device 200 receives a threshold value setting from the user (YES in step S110), it determines whether the set threshold value is for a feature amount (step S112).

[0122] If the set threshold value is for the feature amount (YES in step S112), the support device 200 calculates a threshold value for the score from the threshold value for the feature amount (step S114) using a function that defines the model 160. In this way, the support device 200 calculates a threshold value for the score from the threshold value set for the feature amount.

[0123] If the set threshold is not for the feature amount (that is, if the set threshold is for the score) (NO in step S112), the process of step S114 is skipped.

[0124] The support device 200 reflects the calculated or set threshold value for the score in the time waveform of the score (step S116).

[0125] Then, when the support device 200 receives an instruction for model output from the user (YES in step S118), the support device 200 outputs, as a data set to be provided to the anomaly detection engine 150, the current model 160 and the threshold value for the set score together (step S120). That is, the support device 200 outputs, as a threshold value to be applied to the model 160, the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature amount.

[0126] On the other hand, if the instruction for model output has not been received from the user (NO in step S118), the processes below step S110 are repeated.

[0127] Through the above procedure, the process related to the threshold value setting process is completed. <E. Functional Configuration> Next, a functional configuration example related to the threshold value setting process according to the present embodiment will be described.

[0128] FIG. 11 is a block diagram showing a functional configuration example for realizing the threshold value setting process according to the present embodiment. Each block shown in FIG. 11 is typically realized by the processor 202 of the support device 200 executing a model generation program 228 (FIG. 4).

[0129] Referring to FIG. 11, the support device 200 includes, as a functional configuration related to the threshold value setting process, an acquisition module 230, a feature amount calculation module 231, a score calculation module 232, a display module 233, a setting reception module 234, a threshold value calculation module 235, and an output module 236.

[0130] The acquisition module 230 acquires time-series data associated with the selected event. The acquisition module 230 may access the control device 100 to acquire the time-series data stored in the TSDB 140, or may use the time-series data previously stored in the secondary storage device 208.

[0131] The feature quantity calculation module 231 calculates a feature quantity from the acquired time series data. The feature quantity calculation module 231 may calculate a feature quantity for each frame and generate time series data of the feature quantity.

[0132] The score calculation module 232 calculates a score from the feature quantity or the time series data of the feature quantity. The score calculation module 232 may calculate a score for each frame and generate time series data of the score.

[0133] The display module 233 displays the feature quantity related to the model 160 and the score calculated from the feature quantity on the display unit 218.

[0134] The setting reception module 234 receives the setting of a threshold value for either the feature quantity or the score.

[0135] The threshold value calculation module 235 calculates a threshold value for the score from the threshold value set for the feature quantity.

[0136] The output module 236 outputs, as a threshold value (parameter 162) to be applied to the model 160, the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature quantity.

[0137] <F. Modification Example> In the above description, a configuration example in which the support device 200 mainly executes the threshold value setting process has been described. However, the threshold value setting process may be realized by cooperation with a device different from the support device 200. It may also be realized by a device different from the support device 200 (for example, computing resources on the cloud). That is, the hardware for implementing the threshold value setting process according to the present embodiment may be any.

[0138] <G. Supplementary Note> The present embodiment as described above includes the following technical idea.

[0139] [Configuration 1] An information processing device (200) connected to a control device (100) for controlling a control target, the control device having a trained model (160) that receives a feature amount (152) calculated from information collected from the control target and outputs a score (154), and a threshold value (162) for determining the score, and the information processing device A display means (233, 218) for displaying features related to the trained model and a score calculated from the features; A receiving means (234) for receiving a threshold value setting for either the feature amount or the score; A calculation means (235) for calculating a threshold value (283, 284) for the score from a threshold value (273, 274) set for the feature amount; and an output means (236) that outputs a threshold value set for the score, or a threshold value for the score calculated from a threshold value set for the feature, as a threshold value to be applied to the trained model.

[0140] [Configuration 2] 2. The information processing device according to configuration 1, wherein the display means displays a time waveform (271) of the feature amount and a time waveform (281) of the score side by side.

[0141] [Configuration 3] 3. The information processing device according to configuration 1 or 2, wherein the calculation means calculates a threshold for the score from a threshold set for the feature amount by using a function that defines the trained model.

[0142] [Configuration 4] The trained model is configured to output a score from a plurality of features, 4. The information processing device according to any one of configurations 1 to 3, wherein the calculation means calculates a threshold value for the score from threshold values ​​set for the plurality of feature amounts, respectively.

[0143] [Configuration 5] 5. The information processing apparatus according to configuration 4, wherein the display means displays the time waveforms (271A, 271B) of the plurality of feature quantities side by side.

[0144] [Configuration 6] 5. The information processing device according to configuration 4, wherein the display means plots and displays each of the two feature amounts on two-dimensional coordinates associated with the two feature amounts, and displays a threshold value for the score in the form of a contour line (291).

[0145] [Configuration 7] The information processing device according to configuration 4, wherein the display means plots and displays each of the three feature amounts on three-dimensional coordinates associated with the three feature amounts, and displays a group of coordinate points corresponding to the set score (298).

[0146] [Configuration 8] 8. The information processing device according to any one of configurations 1 to 7, wherein the output means outputs a plurality of the threshold values.

[0147] [Configuration 9] An information processing program (228) executed by a computer (200) connected to a control device (100) for controlling a control target, the control device having a trained model (160) that receives a feature amount (152) calculated from information collected from the control target and outputs a score (154), and a threshold value (162) for determining the score, the information processing program including: A step (S108) of displaying features related to the trained model and a score calculated from the features; A step (S110) of accepting a threshold value setting for either the feature amount or the score; A step (S114) of calculating a threshold value for the score from the threshold value set for the feature quantity An information processing program that causes execution of: a step (S120) of outputting, as a threshold value to be applied to the learned model, the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature quantity

[0148] [Configuration 10] An information processing method executed by a computer (200) connected to a control device (100) for controlling a control target, the control device having: a learned model (160) that inputs a feature quantity (152) calculated from information collected from the control target and outputs a score (154); and a threshold value (162) for determining the score, the information processing method including: A step (S108) of displaying the feature quantity related to the learned model and the score calculated from the feature quantity A step (S110) of receiving setting of a threshold value for either the feature quantity or the score A step (S114) of calculating a threshold value for the score from the threshold value set for the feature quantity An information processing method including: a step (S120) of outputting, as a threshold value to be applied to the learned model, the threshold value set for the score or the threshold value for the score calculated from the threshold value set for the feature quantity

[0149] <H. Advantages> In the support device 200 according to the present embodiment, a threshold value can be set for both the feature quantity and the score. When a threshold value is set for the feature quantity, it is converted into a threshold value for the score. Even when a threshold value is set for either the feature quantity or the score, it is output as a threshold value for the score.

[0150] In this manner, in the support device 200 according to the present embodiment, a threshold value can be set for either the feature amount or the score with respect to an event to be detected, and therefore the model 160 and the parameters 162 for realizing anomaly detection can be easily output.

[0151] Normally, the frequency with which abnormalities in the detection target occur is low, and it is necessary to set the initial threshold value based only on data labeled as normal or on data labeled with a small amount of abnormality. However, according to the support device 200 of this embodiment, it is only necessary to set a threshold value for a feature or score that is easy to determine, so that even a user with little specialized knowledge can set an appropriate threshold value relatively easily.

[0152] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0153] 1 Control system, 152,296,297 Feature quantity, 2,4 Field bus, 6 Upper network, 10 Field devices, 12 Remote I / O devices, 14 Relays, 16,124 I / O unit, 18 Servo driver, 20 Servo motor, 30 Data collection phase, 32 Data analysis phase, 34 Operation phase, 100 Control device, 102,202 Processor, 104 Chip set, 106,206 Main memory device, 108,208 Secondary memory device, 110 Upper network controller, 112,212 USB controller, 114 Memory card interface, 116 Memory card, 118,120 Field bus controller, 122 Internal bus controller, 130 PLC engine, 131 System program, 132 User program, 134 Library, 136 Data management unit, 142 Time series data, 150 Anomaly detection engine, 154 Score, 156, THch, THsc Threshold, 158 Detection result, 160 Model, 162 Parameter, 200 Support device, 204 Optical drive, 205 Recording medium, 214 Network controller, 216 Input unit, 218 Display unit, 220 Bus, 222 OS, 224 Interface program, 226 Development program, 228 Model generation program, 230 Acquisition module, 231, 260 Feature calculation module, 232 Score calculation module, 233 Display module, 234 Setting reception module, 235 Calculation module, 236 Output module, 240 Data mining tool, 242 Feature generation process, 244 Feature selection process, 246 Model generation process, 248 Threshold setting process, 250 Model generation tool, 252 Model update process, 254 Threshold adjustment process, 262 Judgment module, 270, 270A, 270B, 270C feature display screen, 271 feature display area, 272, 282 histogram display area, 273, 283 first threshold, 274, 284 second threshold, 275, 285 slider, 280 score display screen, 281, 291, 298 score display area, 290 user interface screen, 292 feature selection area, 293, 294, 299 setting area, 295 contour line, 400 server, 500 display device.

Claims

1. An information processing device connected to a control device for controlling a control target, the control device having a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score, the information processing device comprising: A display means for displaying a feature associated with the trained model and a score calculated from the feature; a receiving means for receiving a setting of a threshold value for either the feature amount or the score; a calculation means for calculating a threshold value for the score from a threshold value set for the feature amount; and an output means for outputting a threshold value set for the score or a threshold value for the score calculated from a threshold value set for the feature amount as a threshold value to be applied to the trained model; The calculation means calculates a threshold for the score from a threshold set for the feature amount by using a function that defines the trained model.

2. An information processing device connected to a control device for controlling a control target, the control device having a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score, the information processing device comprising: A display means for displaying a feature associated with the trained model and a score calculated from the feature; a receiving means for receiving a setting of a threshold value for either the feature amount or the score; a calculation means for calculating a threshold value for the score from a threshold value set for the feature amount; and an output means for outputting a threshold value set for the score or a threshold value for the score calculated from a threshold value set for the feature amount as a threshold value to be applied to the trained model; The trained model is configured to output a score from a plurality of features, The calculation means calculates a threshold value for the score from threshold values ​​set for each of the plurality of feature amounts.

3. The information processing apparatus according to claim 2 , wherein the display means displays the time waveforms of the plurality of feature quantities side by side.

4. 3. The information processing apparatus according to claim 2, wherein said display means plots and displays each of the two feature amounts on two-dimensional coordinates associated with the two feature amounts, and displays a threshold value for the score in the form of a contour line.

5. The information processing apparatus according to claim 2 , wherein the display means plots and displays each of the three feature amounts on three-dimensional coordinates associated with the three feature amounts, and also displays a group of coordinate points corresponding to a set score.

6. The information processing device according to claim 1 , wherein the display means displays a time waveform of the feature amount and a time waveform of the score side by side.

7. The information processing apparatus according to claim 1, wherein the output means outputs a plurality of the threshold values.

8. An information processing program executed by a computer connected to a control device for controlling a control target, the control device having a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score, the information processing program including: Displaying features related to the trained model and a score calculated from the features; receiving a threshold value for either the feature amount or the score; calculating a threshold value for the score from a threshold value set for the feature amount; outputting a threshold value set for the score or a threshold value for the score calculated from a threshold value set for the feature amount as a threshold value to be applied to the trained model; An information processing program, wherein the calculating step includes a step of calculating a threshold for the score from a threshold set for the feature using a function that defines the trained model.

9. An information processing program executed by a computer connected to a control device for controlling a control target, the control device having a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score, the information processing program including: Displaying features related to the trained model and a score calculated from the features; receiving a threshold value for either the feature amount or the score; calculating a threshold value for the score from a threshold value set for the feature amount; outputting a threshold value set for the score or a threshold value for the score calculated from a threshold value set for the feature amount as a threshold value to be applied to the trained model; The trained model is configured to output a score from a plurality of features, An information processing program, wherein the step of calculating a threshold value includes a step of calculating a threshold value for the score from threshold values ​​set respectively for the plurality of feature amounts.

10. An information processing method executed by a computer connected to a control device for controlling a control target, the control device having a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score, the information processing method comprising: Displaying features related to the trained model and a score calculated from the features; receiving a threshold value for either the feature amount or the score; calculating a threshold value for the score from a threshold value set for the feature amount; outputting a threshold value set for the score or a threshold value for the score calculated from a threshold value set for the feature amount as a threshold value to be applied to the trained model; An information processing method, wherein the calculating step includes a step of calculating a threshold for the score from a threshold set for the feature using a function that defines the trained model.

11. An information processing method executed by a computer connected to a control device for controlling a control target, the control device having a trained model that receives a feature calculated from information collected from the control target and outputs a score, and a threshold value for determining the score, the information processing method comprising: Displaying features related to the trained model and a score calculated from the features; receiving a threshold value for either the feature amount or the score; calculating a threshold value for the score from a threshold value set for the feature amount; outputting a threshold value set for the score or a threshold value for the score calculated from a threshold value set for the feature amount as a threshold value to be applied to the trained model; The trained model is configured to output a score from a plurality of features, An information processing method, wherein the step of calculating a threshold value includes a step of calculating a threshold value for the score from threshold values ​​set respectively for the plurality of feature amounts.

Citation Information

Patent Citations

  • Inspection control device, inspection control method, inspection system, control program and recording medium

    JP2007327848A

  • Processing state monitoring device

    JP2012138044A

  • Control system and control method

    JP2019159697A

  • Abnormality detection system, support device and abnormality detection method

    JP2019179395A

  • Setting support device

    JP2020030555A