Anomaly detection device, anomaly detection method, and anomaly detection program
The anomaly detection device in power generation plants uses a control signal model to assess the reliability of detected anomalies, addressing data imbalance issues and reducing manual verification needs.
Patent Information
- Application Number
- JP2024543479
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2042-09-02
AI Technical Summary
Existing anomaly detection methods in power generation plants face challenges due to imbalanced data distribution across different modes, leading to incorrect detection of abnormalities and high judgment costs when insufficient training data is available, necessitating manual data analysis to confirm results.
An anomaly detection device that utilizes a control signal model to calculate the degree of abnormality based on time-series data, incorporating a reliability calculation unit to assess the sufficiency of training data and correct anomaly detection results using a control signal model generated from past control signal data.
The device provides reliable anomaly detection by determining whether detected abnormalities are valid in modes with sufficient data or not, reducing the need for manual verification and minimizing judgment costs.
Smart Images

Figure 0007562055000001 
Figure 0007562055000002 
Figure 0007562055000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an anomaly detection device, an anomaly detection method, and an anomaly detection program. [Background technology]
[0002] In facilities such as power plants, downtime due to breakdowns and other factors is extremely costly. For this reason, efforts are being made to realize predictive maintenance by introducing anomaly detection devices. Here, in order to detect anomalies in facilities such as power plants, a technique called outlier detection is used because there is very little data available when an anomaly occurs. In outlier detection, a model consisting of a formula for calculating the degree of anomaly and a threshold value for determining anomaly is generated from training data, which is data that does not contain anomalies or data that contains almost no anomalies.The degree of anomaly is then calculated by applying validation data, which is data whose normality is unknown, to the model, and an anomaly is determined if the degree of anomaly is equal to or exceeds the threshold value.
[0003] Facilities such as power plants have various modes, which, for example, in the case of a power plant, refer to control states such as start-up, shutdown, a constant power generation state, and a transition state in which the power generation amount is switched from 100% to 80%, which are unrelated to normal or abnormal. In equipment with multiple modes, the amount of data for each mode is imbalanced, and the amount of data for some modes may be extremely small. As a result, when the amount of data for a mode is small, the nature of outlier detection may cause the verification data of normal equipment to be mistakenly detected as an anomaly.
[0004] The technology described in Patent Document 1 divides training data and validation data in the chronological order for each mode based on data pairs of events such as start / stop or alert generation output by equipment and the time of their occurrence.The technology described in Patent Document 1 then generates a model using the divided data and adjusts the threshold value depending on the sufficiency of the divided data. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2015-172945 A Summary of the Invention [Problem to be solved by the invention]
[0006] In the following explanation, data related to sensors attached to equipment will be referred to as sensor signals, data related to instruction values for controlling the equipment will be referred to as control signals, and data related to a set of events output by the equipment, such as start / stop or the occurrence of an alert, and the time at which they occur will be referred to as event signals.
[0007] When an abnormality occurs in equipment such as a power plant, the equipment must be shut down in order to be inspected. Shutting down the equipment incurs costs associated with the shutdown and opportunity losses due to the shutdown. For this reason, the results of the abnormality detection device must be examined by humans, and the final decision to shut down the equipment must be made by humans.
[0008] In the method described in Patent Document 1, the sufficiency of the amount of data in the training data for each mode is used only when generating a model. Therefore, when the anomaly detection result of the anomaly detection device is abnormal, it cannot be explained whether the abnormality is judged to be abnormal when there is sufficient training data in the same mode as the mode of the verification data, or when there is an extremely small amount of training data. Therefore, the person who makes the stop decision needs to perform data analysis to make the above judgment, which poses the problem of high judgment costs.
[0009] In the present disclosure, a control signal model for calculating the degree of anomaly of a control signal is generated by applying the same method as that used for outlier detection for detecting anomalies in a sensor signal to time-series data of a control signal indicating a mode. In this way, the present disclosure aims to calculate the reliability of an anomaly detection result determined based on the time-series data of the sensor signal from the degree of anomaly of the control signal. [Means for solving the problem]
[0010] The present disclosure relates to an anomaly detection device that includes a sensor and detects an anomaly in equipment controlled by a control signal, a reliability calculation unit that inputs time series data of a control signal in a specific time range of an anomaly detection result detected by a sensor signal obtained from the sensor as verification data into the control signal model, which is generated based on training data that is a feature amount of the time series data of past control signals and outputs a degree of anomaly for each control signal from the time series data of the control signals, thereby acquiring a degree of anomaly of the control signal in the specific time range, and calculates reliability of the control signal in the specific time range based on the degree of anomaly; The system further includes an abnormality diagnosis unit that outputs, as an abnormality diagnosis result, information obtained by adding the reliability of the control signal in the specific time range to the abnormality detection result in the specific time range. Effect of the Invention
[0011] The anomaly detection device according to the present disclosure uses a control signal model for calculating the degree of anomaly of a control signal for time series data of a control signal indicating a mode. The control signal model is a model that is generated based on training data that is a feature amount of past time series data of control signals, and outputs the degree of anomaly of each control signal from the time series data of the control signal. Therefore, according to the anomaly detection device according to the present disclosure, the reliability of an anomaly detection result determined based on the time series data of a sensor signal can be calculated from the degree of anomaly of the control signal. As a result, according to the anomaly detection device according to the present disclosure, it is possible to immediately determine whether the time series data of the sensor signal diagnosed by the anomaly detection device is determined to be anomaly in a mode with a sufficient amount of data or in a mode with an extremely small amount of data. [Brief description of the drawings]
[0012] [Figure 1] FIG. 2 is a diagram showing an example of a hardware configuration of the anomaly detection device according to the first embodiment. [Diagram 2]FIG. 2 is a diagram showing an example of a functional configuration of the anomaly detection device according to the first embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of the configuration of correspondence relationship information according to the first embodiment. [Figure 4] FIG. 4 is a diagram showing an example of a configuration of anomaly detection method information according to the first embodiment. [Diagram 5] 3 is a diagram showing an example of a configuration of control signal time-series data according to the first embodiment; [Figure 6] FIG. 4 is a diagram showing an example of a configuration of abnormality detection result information according to the first embodiment. [Figure 7] 4 is a flowchart showing the operation of a model generating unit according to the first embodiment. [Figure 8] 5 is a diagram showing a state in which the correspondence relationship information in FIG. 3 and the anomaly detection technique information in FIG. 4 according to the first embodiment are combined. [Figure 9] 4 is a flowchart showing the operation of a reliability calculation unit according to the present embodiment. [Figure 10] 4 is a diagram showing an example of how an abnormality diagnosis result is obtained by the abnormality diagnosing unit according to the first embodiment. FIG. [Figure 11] 4 is a flowchart showing the operation of an abnormality diagnosing unit according to the first embodiment. [Figure 12] FIG. 4 is a flow diagram showing a learning process for generating a control signal model in the abnormality detection process according to the first embodiment. [Figure 13] 4 is a flow diagram showing an estimation process for determining a degree of abnormality from a control signal model, which is part of the abnormality detection process according to the first embodiment. [Figure 14] FIG. 13 is a diagram showing a configuration example of an anomaly detection device according to a second modification of the first embodiment. [Figure 15] FIG. 11 is a diagram showing an example of the configuration of correspondence relationship information according to the second embodiment. [Figure 16] FIG. 11 is a diagram showing an example of the configuration of anomaly detection method information according to the second embodiment. [Figure 17] FIG. 11 is a diagram showing an example of a result of combining correspondence relationship information and anomaly detection technique information according to the second embodiment. [Figure 18] 13 is a diagram showing an example of how an abnormality diagnosis result is obtained by an abnormality diagnosing unit according to the second embodiment. FIG. [Figure 19] 10 is a flowchart showing the operation of an abnormality diagnosing unit according to the second embodiment. [Figure 20] FIG. 11 is a diagram showing an example of a functional configuration of an anomaly detection device according to a third embodiment. [Figure 21] FIG. 13 is a diagram showing an example of a configuration of event signal information according to the third embodiment. [Figure 22] FIG. 22 is a diagram showing an example of mode division when the event signal information according to the third embodiment is that shown in FIG. 21; [Figure 23] 11 is a flowchart showing an operation of a mode dividing section according to the third embodiment. [Figure 24] FIG. 11 is a flowchart showing a learning process for generating a control signal model according to the third embodiment. [Diagram 25] FIG. 11 is a flowchart showing a process for estimating an abnormality degree from a control signal model according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] The present embodiment will be described below with reference to the drawings. In each drawing, the same or corresponding parts are given the same reference numerals. In the description of the embodiment, the description of the same or corresponding parts will be omitted or simplified as appropriate. The arrows in the drawings mainly indicate the flow of data or the flow of processing.
[0014] Embodiment 1 ***Configuration Description*** FIG. 1 is a diagram illustrating an example of a hardware configuration of an anomaly detection device 100 according to the present embodiment. FIG. 2 is a diagram illustrating an example of a functional configuration of the anomaly detection device 100 according to the present embodiment.
[0015] Anomaly detection device 100 detects anomalies in equipment. The equipment is equipped with sensors and is controlled by control signals. Anomaly detection device 100 detects anomalies in the equipment using sensor signals obtained from the sensors, and judges the reliability of the detection results when an anomaly is detected.
[0016] The anomaly detection device 100 is a computer. The anomaly detection device 100 includes a processor 910, as well as other hardware such as a memory 921, an auxiliary storage device 922, an input interface 930, an output interface 940, and a communication device 950. The processor 910 is connected to the other hardware via signal lines and controls the other hardware.
[0017] The anomaly detection device 100 includes, as functional elements, a model generation unit 110, a reliability calculation unit 120, an anomaly diagnosis unit 130, and a storage unit 140. The storage unit 140 stores correspondence information 141, anomaly detection method information 142, control signal time-series data 143, a control signal model 144, anomaly detection result information 145, and anomaly diagnosis result 146. The anomaly detection device 100 is a device that calculates the reliability of an anomaly detection result related to equipment based on data stored in a storage unit 140.
[0018] The functions of the model generating unit 110, the reliability calculating unit 120, and the anomaly diagnosing unit 130 are realized by software. The storage unit 140 is provided in the memory 921. Note that the storage unit 140 may be provided in the auxiliary storage device 922, or may be provided in a distributed manner in the memory 921 and the auxiliary storage device 922.
[0019] The processor 910 is a device that executes an anomaly detection program. The anomaly detection program is a program that realizes the functions of the model generation unit 110, the reliability calculation unit 120, and the anomaly diagnosis unit . The processor 910 is an IC that performs arithmetic processing. Specific examples of the processor 910 are a CPU, a DSP, and a GPU. IC is an abbreviation for Integrated Circuit. CPU is an abbreviation for Central Processing Unit. DSP is an abbreviation for Digital Signal Processor. GPU is an abbreviation for Graphics Processing Unit.
[0020] The memory 921 is a storage device that temporarily stores data. Specific examples of the memory 921 are SRAM and DRAM. SRAM is an abbreviation for Static Random Access Memory. DRAM is an abbreviation for Dynamic Random Access Memory. The auxiliary storage device 922 is a storage device that stores data. A specific example of the auxiliary storage device 922 is a HDD. The auxiliary storage device 922 may also be a portable storage medium such as an SD (registered trademark) memory card, CF, NAND flash, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, or a DVD. Note that HDD is an abbreviation for Hard Disk Drive. SD (registered trademark) is an abbreviation for Secure Digital. CF is an abbreviation for CompactFlash (registered trademark). DVD is an abbreviation for Digital Versatile Disk.
[0021] The input interface 930 is a port connected to an input device such as a mouse, a keyboard, or a touch panel. Specifically, the input interface 930 is a USB terminal. The input interface 930 may be a port connected to a LAN. USB is an abbreviation for Universal Serial Bus. LAN is an abbreviation for Local Area Network.
[0022] The output interface 940 is a port to which a cable of an output device such as a display is connected. Specifically, the output interface 940 is a USB terminal or an HDMI (registered trademark) terminal. Specifically, the display is an LCD. The output interface 940 is also called a display interface. HDMI (registered trademark) is an abbreviation for High Definition Multimedia Interface. LCD is an abbreviation for Liquid Crystal Display.
[0023] The communication device 950 has a receiver and a transmitter. The communication device 950 is connected to a communication network such as a LAN, the Internet, or a telephone line. Specifically, the communication device 950 is a communication chip or a NIC. NIC is an abbreviation for Network Interface Card.
[0024] The anomaly detection program is executed in the anomaly detection device 100. The anomaly detection program is loaded into the processor 910 and executed by the processor 910. In addition to the anomaly detection program, an OS is also stored in the memory 921. The OS is an abbreviation for Operating System. The processor 910 executes the anomaly detection program while executing the OS. The anomaly detection program and the OS may be stored in an auxiliary storage device 922. The anomaly detection program and the OS stored in the auxiliary storage device 922 are loaded into the memory 921 and executed by the processor 910. Note that a part or all of the anomaly detection program may be incorporated into the OS.
[0025] The anomaly detection device 100 may include a plurality of processors that replace the processor 910. These plurality of processors share the task of executing the anomaly detection program. Each of the processors is a device that executes the anomaly detection program, just like the processor 910.
[0026] Data, information, signal values and variable values used, processed or output by the anomaly detection program are stored in memory 921, auxiliary storage device 922, or a register or cache memory within processor 910.
[0027] The "parts" of the model generation unit 110, the reliability calculation unit 120, and the anomaly diagnosis unit 130 may be interpreted as "circuit," "step," "procedure," "process," or "circuitry." The anomaly detection program causes a computer to execute a model generation process, a reliability calculation process, and an anomaly diagnosis process. The "processes" of the model generation process, the reliability calculation process, and the anomaly diagnosis process may be interpreted as a "program," "program product," "a computer-readable storage medium storing a program," or a "computer-readable recording medium recording a program." The anomaly detection method is a method performed by the anomaly detection device 100 executing the anomaly detection program. The anomaly detection program may be provided by being stored in a computer-readable recording medium. Also, the anomaly detection program may be provided as a program product.
[0028] ***Feature Description*** Next, an overview of each functional element of the anomaly detection device 100 according to the present embodiment will be described. A sensor signal is data acquired from a sensor attached to equipment. A control signal is data indicating the instruction value for controlling equipment. An event signal is data indicating a combination of events output by equipment, such as start / stop and the occurrence of an alert, and the time of occurrence.
[0029] Anomaly detection device 100 according to this embodiment judges anomalies in equipment using as input multidimensional time series data of sensor signals acquired from equipment having various modes. Furthermore, anomaly detection device 100 calculates the reliability of the equipment anomaly detection result based on time series data of control signals related to equipment control for realizing the various modes.
[0030] The model generating unit 110 extracts features from the data of the control signal, and generates a control signal model 144 that is a model for calculating the degree of abnormality. The reliability calculation unit 120 calculates the reliability of the anomaly detection result in a specific period from the time-series data of the control signal based on the control signal model 144. The abnormality diagnosis unit 130 generates output contents for a user based on the reliability of an abnormality detection result in response to an abnormality detection result of a sensor signal during a specific period.
[0031] FIG. 3 is a diagram showing an example of the configuration of the correspondence relationship information 141 according to the present embodiment. The correspondence information 141 is data indicating the correspondence between a sensor signal and a control signal. In the correspondence information 141, a sensor signal is associated with a control signal that affects the sensor signal. The correspondence information 141 is used, for example, by the abnormality diagnosis unit 130 to select a control signal corresponding to a sensor signal.
[0032] The correspondence information 141 may be any data as long as it includes a set of one or more sensor signal IDs and one or more control signal IDs. The example of FIG. 3 shows that there is a correspondence between sensor signal S0001, sensor signal S0002, sensor signal S0003, and sensor signal S0004 and control signal C0001, control signal C0002, and control signal C0003.
[0033] FIG. 4 is a diagram showing an example of the configuration of the anomaly detection method information 142 according to the present embodiment. The abnormality detection method information 142 is data indicating a method for detecting an abnormality in a sensor signal. The anomaly detection technique information 142 may be any data that includes one or more sensor signals, anomaly detection techniques, input data, dimensions of the input data, a start time, an end time, and parameters of the anomaly detection techniques. The example in Fig. 4 shows that anomaly detection using isolate-forest is performed on sensor signals S0001, S0002, S0003, and S0004. Time series values at specific times are used as input data to the anomaly detection method. The dimension of the input data is set to the number of IDs of the sensor signals. In the example in Fig. 4, the dimension of the input data is 4. The number of decision trees, which is one of the parameters of isolate-forest, is 100. The start time is the start time of the time series value, and the end time is the end time of the time series value.
[0034] FIG. 5 is a diagram showing an example of the configuration of control signal time-series data 143 according to the present embodiment. The control signal time series data 143 is time series data of a control signal. The control signal time series data 143 includes data for uniquely identifying the control signal, the time when the data was measured from the equipment, and the command value measured at each time. Note that the measurement times must be at equal intervals, excluding missing data due to failures, etc. The example in Figure 5 shows data on the boiler temperature readings recorded in one-minute intervals for a boiler in a power plant. In the example, one time-series data is recorded in which the data for uniquely identifying the control signal is C0001, but multiple control signals may be stored.
[0035] The control signal model 144 is a model for calculating the degree of anomaly of a control signal. The control signal model 144 is generated by the model generation unit 110 by applying to the control signal time-series data 143 the same anomaly detection method as that used for detecting an anomaly in a sensor signal. Control signal model 144 may be any data that includes information that can uniquely identify the model stored for each control signal and the model.
[0036] FIG. 6 is a diagram showing an example of the configuration of the abnormality detection result information 145 according to the present embodiment. Anomaly detection result information 145 stores anomaly detection results of the sensor signal for a specific period. The data stored in anomaly detection result information 145 may be any data as long as it includes data that uniquely identifies the sensor signal, the start time when it was determined to be abnormal, and the end time when it was determined to be abnormal. In the example of Figure 6, sensor signal S0001 indicates that an abnormality occurred between "2021-06-01 00:00:00" and "2021-06-01 00:15:00".
[0037] The abnormality diagnosis result 146 is generated by the abnormality diagnosing unit 130 and presented to the user. The abnormality diagnosis result 146 will be described later.
[0038] ***Explanation of Operation*** Next, an operation of anomaly detection device 100 according to the present embodiment will be described. The operation procedure of anomaly detection device 100 corresponds to an anomaly detection method. Also, a program that realizes the operation of anomaly detection device 100 corresponds to an anomaly detection program.
[0039] <Model generation process> FIG. 7 is a flow diagram showing the operation of model generating section 110 according to this embodiment. The model generating unit 110 extracts features of the control signal time-series data 143, which is time-series data of the control signal, and generates a control signal model 144, which is a model for calculating the degree of abnormality for each control signal, based on the features.
[0040] The model generation process will be outlined below. The model generating unit 110 uses past time series data of the control signal as training data and generates a control signal model 144 that outputs the degree of abnormality of the control signal from the time series data of the control signal based on the training data. The model generation unit 110 determines an anomaly detection method to be applied to the control signal set in the correspondence information 141 based on the correspondence information 141, the anomaly detection method information 142, and the control signal time series data 143. Then, the model generation unit 110 generates training data to be input to the anomaly detection method by replacing the data format of the sensor signal to be input to the anomaly detection method with the data format of the control signal included in the time series data of the past control signal. The model generation unit 110 generates a control signal model 144 by inputting the generated training data to the anomaly detection method. Here, the correspondence information 141 is information that associates a sensor signal with a control signal that affects the sensor signal. The abnormality detection method information 142 is information that sets a sensor signal, an abnormality detection method to be applied to the sensor signal, and a data format of the sensor signal to be input to the abnormality detection method. The control signal time series data 143 is time series data of past control signals. Specifically, the following applies:
[0041] In step S001, model generation unit 110 determines an anomaly detection method to be used for generating control signal model 144 from control signal time-series data 143. To determine the anomaly detection method, data of the sensor signal ID and control signal ID described in correspondence information 141, and data of the sensor signal ID, input data, and dimensions of the input data described in anomaly detection method information 142 are used. Specifically, the model generation unit 110 combines, i.e., links, the data of the correspondence information 141 and the data of the anomaly detection method information 142 by the sensor signal ID. In this way, the model generation unit 110 determines the anomaly detection method linked to the control signal ID of the control signal time-series data 143. The model generating unit 110 determines the anomaly detection method for all pairs of control signals included in the correspondence relationship information 141. A pair of control signals may include one control signal.
[0042] FIG. 8 is a diagram showing a state in which the correspondence relationship information 141 in FIG. 3 and the anomaly detection method information 142 in FIG. 4 according to this embodiment are combined. As shown in FIG. 8, Isolate-forest is applied as an anomaly detection method to the control signals C0001, C0002, and C0003. In the correspondence relationship information 141 in Fig. 3, a set of sensor signals S0001, S0002, S0003, and S0004 correspond to a set of control signals C0001, C0002, and C0003. Also, in the abnormality detection method information 142 in Fig. 4, the same abnormality detection method corresponds to the sensor signals S0001, S0002, S0003, and S0004. In the abnormality detection method information 142 in Fig. 4, the same abnormality detection method corresponds to the sensor signals S0001, S0002, S0003, and S0004, so one abnormality detection method is determined for the set of control signals C0001, C0002, and C0003. On the other hand, for example, when different anomaly detection methods correspond to the sensor signals S0001 and S0002, the following processing is performed.
[0043] For simplicity, the sensor signals will be described only for S0001 and S0002. For example, there are cases where different anomaly detection methods correspond to the sensor signals S0001 and S0002. Specifically, if the anomaly detection method information 142 contains information on "sensor signals S0001, S0002," "sensor signal S0001," and "sensor signal S0002," a different anomaly detection method is set for each of the signals, that is, three anomaly detection methods are set. In such a case, all the methods are applied in accordance with the correspondence information 141. For example, if the correspondence information 141 has three pairs of "sensor signals S0001, S0002 and control signal C0001", "sensor signal S0001 and control signal C0001", and "sensor signal S0002 and control signal C0001", it is as follows. The three anomaly detection methods selected for each pair of sensor signals are applied to the control signal C0001.
[0044] In step S002, the model generation unit 110 generates input data from the control signal time-series data 143 based on the data generated in step S001 in order to generate an input to the anomaly detection method. In the example of FIG. 8, since the time series values at a specific time are input, a three-dimensional vector combining data at each time of the control signal C0001, the control signal C0002, and the control signal C0003 is generated for each time.
[0045] In the example of Figure 8, the dimension of the input data is the number of sensor signal IDs, so the dimension of the input data is interpreted as the number of control signal IDs. Therefore, the input data is a vector set of time series values at the same time in a set of control signals. The number of vectors included in the input data set is defined as follows based on the start time and end time. Number of vectors included in the input data set = (end time - start time) / data acquisition unit for time series values Here, the data acquisition unit for the time series values is specifically one minute, two minutes, or three minutes.
[0046] In the input data of FIG. 8, the control signal i is Ci, the time series value of the control signal i at time t is Ci[t], the start time is start, the end time is end, and the vector is <>, the input data is as follows. <C C0001 [start], C C0002 [start], C C0003 [start]>, <C C0001 [start+1], C C0002 [start+1], C C0003 [start+1]>,..., <C C0001 [end],C C0002 [end],C C0003 [end]>
[0047] In step S003, the model generation unit 110 generates the control signal model 144 by inputting the input data generated in step S002 into the anomaly detection method determined in step S001. For example, when the data generated in step S001 is the information in Fig. 8, the model generation unit 110 uses Isolate-forest as an anomaly detection method. The model generation unit 110 sets the number of decision trees, which is one of the parameters of Isolate-forest, to 100, and generates 100 decision trees and anomaly thresholds. The input data used to generate the decision trees is the data generated in step S002. In this way, a control signal model 144 is generated for each control signal, which is composed of 100 decision trees and anomaly thresholds.
[0048] In step S 004 , the model generating unit 110 stores the control signal model 144 in the storage unit 140 .
[0049] <Reliability calculation process> FIG. 9 is a flow diagram showing the operation of the reliability calculation section 120 according to this embodiment. The reliability calculation unit 120 calculates the reliability indicating whether the training data for each mode was sufficient for obtaining an anomaly detection result output by an anomaly detection method for a specific period.
[0050] The reliability calculation process will be outlined below. The reliability calculation unit 120 inputs time series data of the control signal in a specific time range of the anomaly detection result detected by the sensor signal as verification data to the control signal model 144. By inputting the verification data to the control signal model 144, the reliability calculation unit 120 obtains the degree of anomaly of the control signal in the specific time range, and calculates the reliability of the control signal in the specific time range based on the degree of anomaly. The reliability calculation unit 120 generates verification data from the control signal time series data 143 in a specific time range of the anomaly detection result based on the correspondence information 141, the anomaly detection method information 142, the control signal model 144, and the control signal time series data 143 in a specific time range of the anomaly detection result. Specifically, the following applies:
[0051] In step S101, the reliability calculation unit 120 combines the data of the sensor signal ID and control signal ID described in the correspondence information 141 with the data of the sensor signal ID, input data, and the dimension, start time, and end time of the input data described in the anomaly detection method information 142 using the sensor signal ID.
[0052] In step S102, in order to generate input for the anomaly detection method, the reliability calculation unit 120 generates input data for each control signal based on the data generated in step S101 from the control signal time-series data 143. This procedure is the same as step S002. In the reliability calculation process, the start time and end time are converted from the "abnormal start date and time" to the "abnormal end date and time" in the anomaly detection result information 145 in Fig. 6. In the reliability calculation process, the specific time range is from the "abnormal start date and time" to the "abnormal end date and time." In the example of Fig. 6, the number of vectors included in the set of input data is defined as follows based on the abnormality start date and abnormality end date and time. Number of vectors included in the input data set = (abnormal end time - abnormal start time) / data acquisition unit for time series values
[0053] The input data generated in the model generation process is training data in machine learning. On the other hand, the input data in the reliability calculation process is estimation data, i.e., validation data. The method of creating the data is the same, except that the period of the time series data is different.
[0054] In step S103, the reliability calculation unit 120 calculates the degree of abnormality in a specific time range from the start time to the end time for each control signal by using the control signal model 144 and the input data generated in step S102. Note that each control signal includes the meaning of each control signal set. The control in a specific time range for each control signal is detailed control of each piece of equipment to realize a mode. In other words, the degree of abnormality in a specific time range for each control signal means the degree of abnormality for each mode. For example, when the anomaly detection method is Isolate-forest, the reliability calculation unit 120 inputs the input data generated in step S102 to the decision trees stored in the control signal model 144, and determines the average of the results of all the decision trees as the degree of anomaly for each control signal in a specific time range.
[0055] Here, a specific example of the relationship between the control signal and the mode will be described using a power plant facility. A mode refers to a state of a power plant, such as shutdown, 80% power generation, or 100% power generation. A control signal is time-series data of instruction values that indicate how each part of the plant should behave when shutting down. For example, when shutting down a power plant, various valves are closed to stop the supply of fuel. At this time, an instruction value such as "close" is sent to the valves. In this example, "shut down" is the mode, and the control signal is a numerical value that indicates the action of "close" to the valves. The specific time range in the reliability calculation process is the range in which the sensor signal described in the anomaly detection result information 145 is judged to be abnormal. The anomaly detection device according to this embodiment has a function of using the time series data of the control signal to calculate the reliability of the judgment of "whether or not there is an anomaly" obtained from the time series data of the sensor signal. Therefore, the specific time range is basically the period of training data for the anomaly detection method for the sensor signal and the period in which the verification data is judged to be "abnormal." The specific time range in the reliability calculation process is the period in which the verification data is judged to be "abnormal" by the anomaly detection method for the sensor signal.
[0056] In step S104, the reliability calculation unit 120 calculates the reliability for each specific time range for each control signal based on the degree of abnormality calculated in step S103. As an example of a method for calculating the reliability, the degree of abnormality is amn, the threshold value for determining the degree of abnormality as abnormal is thr, and the reliability is calculated using the following formula. In the following formula, if the degree of abnormality is smaller than the threshold value of abnormality, the reliability is 1 or more, and if the degree of abnormality is larger than the threshold value of abnormality, the reliability is 1 or less. Reliability = 1 / (amn / thr)
[0057] As another example of a method for calculating the reliability accuracy, it may be defined as follows. In this case, if the degree of abnormality is greater than the threshold value of the abnormality, the reliability is 1 or more, and if the degree of abnormality is less than the threshold value of the abnormality, the reliability is 1 or less. Reliability=anm / thr
[0058] <Abnormality diagnosis processing> The abnormality diagnosing unit 130 generates an abnormality diagnosis result from the abnormality detection result of the sensor signal stored in the abnormality detection result information 145 of the sensor signal and the reliability of the abnormality diagnosis calculated by the reliability calculating unit 120, based on the correspondence relationship information 141. The abnormality diagnosis unit 130 outputs information in which the reliability of the control signal in the specific time range is added to the abnormality detection result in the specific time range as the abnormality diagnosis result. Specifically, the following applies:
[0059] FIG. 10 is a diagram showing an example of how the abnormality diagnosing unit 130 according to this embodiment determines the abnormality diagnosis result. FIG. 11 is a flow chart showing the operation of the abnormality diagnosing unit 130 according to this embodiment. In FIG. 10, the anomaly detection results and reliability represent the results for the same period.
[0060] In step S201, the abnormality diagnosis unit 130 acquires the correspondence between the sensor signals and the control signals from the correspondence information 141. In the example of Fig. 10, the correspondence is a set of sensor signals S0001, S0002, S0003, and S0004, and a set of control signals C0001, C0002, and C0003.
[0061] In step S202, the abnormality diagnosis unit 130 acquires an abnormality detection result of the sensor signal from the abnormality detection result information 145 of the sensor signal based on the data acquired in step S201. In addition, the abnormality diagnosis unit 130 acquires the reliability of the control signal from the reliability output by the reliability calculation unit 120. In the example of Fig. 10, the sensor signal is abnormal, and the reliability of the control signal is 0.3.
[0062] In step S203, the reliability of an anomaly detection result of a certain sensor signal is determined based on the correspondence between the sensor signal and the control signal, and the reliability of the anomaly detection result of the sensor signal and the control signal. If the reliability is 1 or less, the phrase "of a control state with extremely little training data" is added to the prefix of the anomaly detection result. In the example of FIG. 10, the reliability is 0.3, so it is determined that the prefix of the anomaly detection result should be "of a control state with extremely little training data."
[0063] In step S204, an anomaly diagnosis result consisting of a set of each sensor signal, anomaly detection result, and reliability is generated and output using the result of step S203. In the example of Fig. 10, the set of sensor signals S0001, S0002, S0003, and S0004 is detected as an anomaly in a mode with extremely little training data, and the reliability of the anomaly detection is 0.3.
[0064] ***Explanation of the Effects of the Present Embodiment*** In the anomaly detection device according to the present embodiment, a model generation unit extracts features of control signal time-series data, which is time-series data of a control signal, and generates a control signal model, which is a model for calculating the degree of anomaly for each control signal, based on the features. A reliability calculation unit inputs the time-series data of the control signal to the control signal model, thereby calculating reliability indicating whether past data was sufficient for a period of a detection result by one anomaly detection method applied to a sensor signal acquired from the sensor. An anomaly diagnosis unit combines the reliability and an anomaly detection result by one anomaly detection method applied to the sensor signal based on anomaly detection result information that stores an anomaly detection result for the sensor signal, and corrects the anomaly detection result of one anomaly detection method applied to the sensor signal by the reliability. Then, the anomaly diagnosis unit adds the reliability to the anomaly detection result and outputs it as an anomaly diagnosis result.
[0065] Furthermore, in the anomaly detection device according to this embodiment, the model generation unit determines, from the correspondence information, anomaly detection method information, and the control signal time series data, a set of control signals to be input in order to calculate reliability for each anomaly detection method.The model generation unit then generates the control signal model for the set of control signals based on the anomaly detection method.The correspondence information is information that associates the control signals with the sensor signals that are affected by the control signals.The anomaly detection method information is information that stores combinations of the anomaly detection method of the equipment and the sensor signals to be input to the anomaly detection method.
[0066] Moreover, in the anomaly detection device according to this embodiment, the reliability calculation unit generates input data to be input to the control signal model based on the correspondence information, the anomaly detection method information, the control signal model, and the control signal time series data, and calculates reliability by inputting the input data to the control signal model.
[0067] In this way, the anomaly detection device according to the present disclosure applies the same method of outlier detection used for detecting an anomaly in a sensor signal to the time series data of the control signal indicating the mode to generate a control signal model for calculating the degree of anomaly in the control signal. Therefore, the anomaly detection device according to the present disclosure can calculate the reliability of the anomaly detection result determined based on the time series data of the sensor signal from the degree of anomaly in the control signal. As a result, the anomaly detection device according to the present disclosure can instantly determine whether the time series data of the sensor signal diagnosed by the anomaly detection device is judged to be anomaly in a mode with a sufficient amount of data or in a mode with an extremely small amount of data.
[0068] In the anomaly detection device according to this embodiment, the reliability calculation unit determines whether a mode is rare based on the degree of anomaly in the control signal, and calculates the reliability of the anomaly detection result of the sensor signal affected by the control. Determining whether a mode is rare means determining whether there is extremely little training data for a "certain mode." In other words, it means determining whether there is extremely little or no training data for a certain mode compared to the entire training data including multiple modes. Furthermore, in the anomaly detection device according to the present embodiment, the anomaly diagnosis unit 130 corrects the anomaly diagnosis result of the sensor signal to be output to a person based on the reliability. This makes it possible to detect whether or not the control has occurred in the past when detecting an anomaly in a device that generates a control, and to reflect this in the anomaly detection result. Therefore, it is possible to immediately determine whether the time-series data of the sensor signal diagnosed by the anomaly detection device was determined to be anomaly in a mode with a sufficient amount of data, or in a mode with an extremely small amount of data.
[0069] ***Other configurations*** <Variation 1> In the first modification of the present embodiment, a modification of the processing flow of the anomaly detection device 100 described with reference to FIGS.
[0070] The processing of anomaly detection device 100 can be expressed as two processing flows: a learning process for generating control signal model 144, and an estimation process for determining the degree of anomaly from control signal model 144. The learning process for generating the control signal model 144 corresponds to the model generation process described above. The estimation of the degree of abnormality from the control signal model 144 corresponds to the reliability calculation process described above.
[0071] FIG. 12 is a flow diagram showing a learning process for generating control signal model 144 in the abnormality detection process according to this embodiment. Fig. 13 is a flow diagram showing an estimation process of determining the degree of abnormality from the control signal model 144 in the abnormality detection process according to this embodiment. Fig. 13 also includes an abnormality diagnosis process. In the learning flow shown in FIG. 12, model generating unit 110, correspondence relationship information 141, anomaly detection method information 142, control signal time-series data 143, and control signal model 144 are used.
[0072] In step S301, the model generating unit 110 acquires the relationship between the pair of sensor signals and the pair of control signals from the correspondence information 141. In step S302, the model generating unit 110 acquires, from the anomaly detection method information 142, the anomaly detection method applied to a specific sensor signal, information about the input, and parameters of the anomaly detection method. In step S303, model generating section 110 acquires time-series data of a control signal from control signal time-series data 143. In step S304, the model generation unit 110 generates a model for each set of control signals based on the data acquired in steps S301, S302, and S303. The flowchart for generation is the same as that in FIG. 7 described for the model generation unit 110. In step S305, model generation unit 110 stores all the models obtained in step S304 in storage unit 140 as control signal models 144.
[0073] The process in FIG. 12 corresponds to the process in FIG.
[0074] The estimation flow shown in FIG. 13 uses a reliability calculation unit 120, correspondence information 141, anomaly detection method information 142, control signal time-series data 143, a control signal model 144, anomaly detection result information 145, and anomaly diagnosis result 146.
[0075] In step S401, the reliability calculation unit 120 acquires the relationship between the set of sensor signals and the set of control signals from the correspondence information 141. In step S402, the reliability calculation section 120 acquires, from the anomaly detection method information 142, the anomaly detection method applied to the specific sensor signal, information about the input, and parameters of the anomaly detection method. In step S 403 , the reliability calculation unit 120 acquires the time series data of the control signal from the control signal time series data 143 . In step S404, the reliability calculation unit 120 acquires a model corresponding to the control signal from the control signal model 144. In step S405, based on the data acquired in steps S401, S402, S403, and S404, the reliability calculation unit 120 calculates the reliability of the abnormality detection result of the pair of sensor signals corresponding to the pair of control signals described in the correspondence information 141. The flowchart for calculating the reliability is the same as that described in the reliability calculation process in FIG.
[0076] In step S406, the abnormality diagnoser 130 acquires the abnormality detection result for each sensor signal from the abnormality detection result information 145 of the sensor signals. In step S407, the abnormality diagnosis unit 130 converts the abnormality detection results of all the sensor signals based on the information acquired in steps S401, S405, and S406, and generates the abnormality diagnosis result 146 consisting of a set of the sensor signal, the abnormality diagnosis result, and the reliability. The flowchart for generating the abnormality diagnosis result is the same as that in FIG. 11 described for the abnormality diagnosis unit 130.
[0077] The process in FIG. 13 corresponds to the process in FIG. 9 and FIG.
[0078] <Variation 2> In this embodiment, the functions of the model generation unit 110, the reliability calculation unit 120, and the abnormality diagnosis unit 130 are realized by software. As a modification, the functions of the model generation unit 110, the reliability calculation unit 120, and the abnormality diagnosis unit 130 may be realized by hardware. Specifically, the anomaly detection device 100 includes an electronic circuit 909 instead of the processor 910 .
[0079] FIG. 14 is a diagram illustrating an example of the configuration of an anomaly detection device 100 according to the second modification of the present embodiment. The electronic circuit 909 is a dedicated electronic circuit that realizes the functions of the model generation unit 110, the reliability calculation unit 120, and the abnormality diagnosis unit 130. Specifically, the electronic circuit 909 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA, an ASIC, or an FPGA. GA is an abbreviation for Gate Array. ASIC is an abbreviation for Application Specific Integrated Circuit. FPGA is an abbreviation for Field-Programmable Gate Array.
[0080] The functions of the model generating unit 110, the reliability calculating unit 120, and the abnormality diagnosing unit 130 may be realized by one electronic circuit, or may be realized by distributing them among a plurality of electronic circuits.
[0081] As another modification, some of the functions of the model generating unit 110, the reliability calculating unit 120, and the abnormality diagnosing unit 130 may be realized by electronic circuits, and the remaining functions may be realized by software. Also, some or all of the functions of the model generating unit 110, the reliability calculating unit 120, and the abnormality diagnosing unit 130 may be realized by firmware.
[0082] Each of the processor and the electronic circuit is also called a processing circuitry. That is, the functions of the model generation unit 110, the reliability calculation unit 120, and the abnormality diagnosis unit 130 are realized by the processing circuitry.
[0083] Embodiment 2 In this embodiment, differences from and additions to the first embodiment will be mainly described. In this embodiment, components having the same functions as those in the first embodiment are given the same reference numerals, and the description thereof will be omitted.
[0084] In this embodiment, a case will be described in which the anomaly detection technique is for a single signal, and one sensor signal is influenced by a plurality of control signals.
[0085] ***Configuration Description*** In this embodiment, the data formats of the correspondence information 141 and the anomaly detection method information 142 are different from those in the first embodiment. The other configurations are similar to those described with reference to FIGS.
[0086] FIG. 15 is a diagram showing an example of the configuration of the correspondence relationship information 141 according to the present embodiment. The data stored in the correspondence information 141 may be any data as long as it includes one sensor signal ID, one or more control signal IDs, and a set of conditions used for reliability calculation. The example in Fig. 15 shows that there is a correspondence between the sensor signal S0001 and the control signal C0001, and between the sensor signal S0002 and the control signals C0001 and C0002. In addition, for the sensor signal S0002 and the control signals C0001 and C0002, the reliability combination method and reliability output content are stored as the reliability judgment of the anomaly detection result. The combination method is logical sum, and the reliability output content is minimum.
[0087] FIG. 16 is a diagram showing an example of the configuration of the anomaly detection method information 142 according to the present embodiment. The data stored in the anomaly detection method information 142 includes one sensor signal, anomaly detection method, input data, dimensions of the input data, and parameters of the anomaly detection method. In the example of Fig. 16, anomaly detection is performed on each of the sensor signal S0001 and the sensor signal S0002 using the k-nearest neighbor method. In addition, the input for anomaly detection is time-series data for the sensor signal S0001, whereas the input for the sensor signal S0002 is high-frequency components. The number of dimensions of the input data for both sensor signals is 10. The number of neighbors, which is a parameter, is 2 for the sensor signal S0001, and 3 for the sensor signal S0002. Note that the start time and end time are omitted in the anomaly detection method information 142 in Fig. 16. However, the anomaly detection method information 142 in Fig. 16 also includes information on the start time and end time, as in the first embodiment.
[0088] ***Explanation of Operation*** Next, an operation of anomaly detection device 100 according to the present embodiment will be described. The operation procedure of anomaly detection device 100 corresponds to an anomaly detection method. Also, a program that realizes the operation of anomaly detection device 100 corresponds to an anomaly detection program.
[0089] In this embodiment, one sensor signal and a pair of control signals are associated with each other in the correspondence relationship information 141, and a combination method of reliability in the pair of control signals is set. The model generating unit 110 generates the control signal model 144 by applying an anomaly detection method corresponding to the sensor signal to each control signal in the pair of control signals. The reliability calculation unit 120 calculates the reliability of the set of control signals using a reliability combination method. Specifically, the following applies:
[0090] <Model generation process> Model generation unit 110 generates control signal model 144 for calculating the degree of abnormality indicating the degree of abnormality from the time-series data of the control signal stored in control signal time-series data 143. The basic processing flow of model generation unit 110 is similar to that of Fig. 7 described in embodiment 1, but differences from embodiment 1 will be described below.
[0091] In step S001, the model generating unit 110 determines an anomaly detection method to be used to generate a model of the control signal. For the determination, the sensor signal ID and control signal ID described in the correspondence information 141, and the sensor signal ID, input data, and data of the dimension of the input data described in the anomaly detection method information 142 are used. Specifically, the model generating unit 110 combines data in each storage area with the sensor signal ID, and determines the anomaly detection method from the control signal ID and the anomaly detection method of the combined data.
[0092] FIG. 17 is a diagram showing an example of a result of combining the correspondence relationship information 141 and the anomaly detection method information 142 according to the present embodiment. 17, the anomaly detection method for the sensor signal S0001 corresponds to the control signal C0001, and the anomaly detection method for the sensor signal S0002 corresponds to the control signals C0001 and C0002. However, because the control signals C0001 and C0002 are subject to anomaly detection for two signals, they are separated to become one control signal. Therefore, for the control signal C0001, anomaly detection is performed using both the anomaly detection method implemented for the sensor signal S0001 and the anomaly detection method implemented for the sensor signal S0002. As described above, the start time and end time are also omitted in FIG.
[0093] In step S002, in order to generate input for the anomaly detection method, model generation unit 110 extracts input data from the data stored in control signal time series data 143 based on information on the data combined in the previous stage. In the example of Fig. 17, model generation unit 110 extracts 10-dimensional partial time series data for control signal C0001, and extracts 10-dimensional high-frequency components for control signal C0001 and control signal C0002.
[0094] In step S003, the model generation unit 110 inputs the data generated in step S002 into the anomaly detection method to generate a model. The parameters of the anomaly detection method use the parameters written in the data generated in step S001. An example of a model generated for a signal with a control signal ID of C0001 when the data generated in step S001 is the information in FIG. 17 will be described. The k-nearest neighbor method is used as the anomaly detection method. In addition, for the signal with a control signal ID of C0001, input data of 10-dimensional time series data and input data of 10-dimensional high-frequency components are used. In the k-nearest neighbor method where the input data is time series data, the number of neighbors, which is one of the parameters, is set to 2, and in the k-nearest neighbor method where the input data is high-frequency components, the number of neighbors, which is one of the parameters, is set to 3. In this way, a model in which the input data is mapped onto a 10-dimensional space and an anomaly threshold value are generated.
[0095] In step S 004 , model generation unit 110 stores the model generated in step S 003 in storage unit 140 as control signal model 144 .
[0096] <Reliability calculation process> The operation flow of the reliability calculation unit 120 is the same as that of the embodiment 1. However, in step S101, similar to step S001 of the model generation unit 110, when there are two or more control signals for one sensor signal, the control signals are separated into one control signal.
[0097] <Abnormality diagnosis processing> The abnormality diagnosing section 130 generates an abnormality diagnosis result from the abnormality detection result information 145 of the sensor signal and the reliability of the abnormality diagnosis calculated by the reliability calculating section 120 based on the correspondence relationship information 141 .
[0098] FIG. 18 is a diagram showing an example of how the abnormality diagnosing unit 130 according to this embodiment determines the abnormality diagnosis result. FIG. 19 is a flow chart showing the operation of the abnormality diagnosing unit 130 according to this embodiment. In FIG. 18, the anomaly detection result and the reliability are assumed to represent the results for the same period.
[0099] In step S201, the abnormality diagnosis unit 130 acquires the correspondence between the sensor signals and the control signals from the data stored in the correspondence information 141. In the example of Fig. 18, the sensor signal S0001 corresponds to the control signal C0001, and the sensor signal S0002 corresponds to the control signals C0001 and C0002. The process of step S201 is similar to step S201 described with reference to FIG.
[0100] In step S202, based on the data acquired in step S201, the abnormality diagnosis unit 130 acquires the abnormality detection result of the sensor signal from the abnormality detection result information 145 of the sensor signal and the reliability of the control signal for each abnormality detection result of the sensor signal from the reliability output by the reliability calculation unit 120. In the example of Figure 18, sensor signal S0001 is normal, sensor signal S0002 is abnormal, the reliability of control signal C0001 using the abnormality detection method for sensor signal S0001 is 1.2, the reliability of control signal C0001 using the abnormality detection method for sensor signal S0002 is 1.4, and the reliability of control signal C0002 using the abnormality detection method for sensor signal S0002 is 0.3. The process of step S202 is similar to step S202 described with reference to FIG.
[0101] In step S203a, the abnormality diagnosis unit 130 converts the reliability of the control signal into a logical value. Here, when the reliability is sufficient and is 1 or more, it is converted into 0, and when the reliability is insufficient and is 1 or less, it is converted into 1. In the example of Fig. 18, the logical value of the control signal C0001 obtained by using the abnormality detection method of the sensor signal S0001 is 0, the logical value of the control signal C0001 obtained by using the abnormality detection method of the sensor signal S0002 is 0, and the logical value of the control signal C0002 obtained by using the abnormality detection method of the sensor signal S0002 is 1.
[0102] In step S203b, the abnormality diagnosis unit 130 judges whether the reliability of the abnormality detection result of a certain sensor signal is sufficient based on the correspondence between the sensor signals and the control signals, the abnormality detection result of the sensor signals, and the result of step S203a. Specifically, if the result of judging the logical value of the reliability of the control signal corresponding to each sensor signal using the combination method described in the correspondence between the signals is 1, the term "of a control state with extremely little training data" is added to the prefix of the abnormality detection result. In the example of FIG. 18, the result of the sufficiency of the training data of the sensor signal S0001 is 0, and the result of the sufficiency of the training data of the sensor signal S0002 is 1. Therefore, it is judged that it is necessary to add "of a control state with extremely little training data" to the prefix of the abnormality detection result of the sensor signal S0002. The processes in steps S203a and S203b correspond to step S203 described with reference to Fig. 11. This embodiment differs from the first embodiment in that the reliability of the control signal is converted into a logical value.
[0103] In step S204, the abnormality diagnosis unit 130 generates and outputs an abnormality diagnosis result consisting of a set of each sensor signal, an abnormality detection result, and reliability using the result of step S204. In the example of Fig. 18, the sensor signal S0001 is judged to be normal in a mode with sufficient training data, and the sensor signal S0002 is judged to be abnormal in a mode with extremely little training data. Regarding reliability, the sensor signal S0001 outputs the reliability of the control signal C0001 as is. The sensor signal S0002 compares the control signal C0001 and the control signal C0002, and outputs the reliability of the control signal C0002, which is the smallest. The process in step S204 is similar to that in step S204 described with reference to FIG.
[0104] The anomaly detection device 100 has two flows: learning for generating a model and estimation for determining the degree of anomaly from the model. The learning and estimation flows are the same as those in the first embodiment.
[0105] ***Explanation of the Effects of the Present Embodiment*** In the anomaly detection device according to the present embodiment, a combination method for control signals and sensor signals is added to existing data in the correspondence relationship information. In addition, in the anomaly detection device according to the present embodiment, when the input constraint of the anomaly detection method is only one signal and the sensor signals and control signals have a one-to-many relationship, a control signal model is generated based on the anomaly detection method for each control signal. Furthermore, in the anomaly detection device according to the present embodiment, the reliability calculation unit generates a reliability corresponding to the anomaly detection result by bundling the reliabilities found from the control signal models based on the combination method. In this manner, in the anomaly detection device according to the present embodiment, even if a control signal corresponding to a specific sensor signal does not satisfy the constraints on the input of an anomaly detection method, it is possible to determine the sufficiency of past data by bundling control signal models of existing anomaly detection methods.
[0106] According to the anomaly detection device of the present embodiment, the anomaly detection method is for a single signal, and even when one sensor signal is affected by multiple control signals, it is possible to obtain the same effect as in embodiment 1.
[0107] Embodiment 3 In this embodiment, differences from the first and second embodiments and additional features to the first and second embodiments will be mainly described. In this embodiment, components having the same functions as those in the first and second embodiments are given the same reference numerals, and the description thereof will be omitted. In this embodiment, a case where an imbalance occurs between modes will be described.
[0108] ***Configuration Description*** The hardware configuration of this embodiment is the same as that shown in FIG.
[0109] FIG. 20 is a diagram illustrating an example of a functional configuration of an anomaly detection device 100 according to the present embodiment. The anomaly detection device 100 according to this embodiment includes, in addition to the functional elements of the first embodiment, a mode dividing unit 150. The mode dividing unit 150 divides data according to the control content. Furthermore, in addition to the configuration of the first embodiment, anomaly detection device 100 according to the present embodiment stores event signal information 147 in storage unit 140. Log data of the event signal is saved in event signal information 147.
[0110] In storage unit 140, control signal model 144 stores the control signal model generated by model generation unit 110. Meanwhile, for correspondence information 141, anomaly detection method information 142, control signal time-series data 143, sensor signal anomaly detection result information 145, and event signal information 147, the corresponding data must be saved before execution of anomaly detection device 100. Also, correspondence information 141, anomaly detection method information 142, control signal time-series data 143, and sensor signal anomaly detection result information 145 are equivalent to those in embodiment 1 or embodiment 2.
[0111] Control signal model 144, which stores the control signal model generated by model generation unit 110, may be any data as long as it contains information and a model that can uniquely identify the stored model by the control signal and mode.
[0112] FIG. 21 is a diagram showing an example of a configuration of the event signal information 147 according to the present embodiment. The data stored in the event signal information 147 may be any data as long as it includes a set of the date and time when the event occurred in addition to event information such as control content and warning. Fig. 21 is an example of stored data for a power generation plant. The example in Fig. 21 shows that the adjustment of the power generation amount started at 1:00 on January 1, 2020, the adjustment of the power generation amount ended at 1:30 on January 1, 2020, a warning was issued for the boiler temperature at 12:00 on January 1, 2020, and the adjustment of the power generation amount started again at 12:00 on January 2, 2020.
[0113] An event signal represents an instruction value in larger units than a control signal. For example, when shutting down a power plant, a log such as "Shut down power plant" would be the appropriate value. Therefore, unlike control signals, event signals are not time-series data that are recorded at regular intervals (for example, one-minute intervals), but log data that is recorded irregularly. In this way, a control signal indicates "fine-grained control of each piece of equipment when the power plant is shut down," while a mode indicates a larger grouping of control, such as "shutting down the power plant."
[0114] ***Explanation of Operation*** Next, an operation of anomaly detection device 100 according to the present embodiment will be described. The operation procedure of anomaly detection device 100 corresponds to an anomaly detection method. Also, a program that realizes the operation of anomaly detection device 100 corresponds to an anomaly detection program.
[0115] In this embodiment, the anomaly detection device includes a mode division unit 150 that divides time-series data of control signals by control state based on event signal information that stores log data of event signals that indicate the control state or alert of the equipment. The model generating unit 110 generates a control signal model 144 from the time series data of the control signal for each mode. Specifically, the following applies:
[0116] The model generation process by the model generation unit 110 is similar to that in the first or second embodiment. The reliability calculation process by the reliability calculation unit 120 is similar to that in the first or second embodiment. The abnormality diagnosis process by the abnormality diagnosis unit 130 is similar to that in the first or second embodiment.
[0117] <Mode division processing> FIG. 22 is a diagram showing an example of mode division when the event signal information 147 according to this embodiment is that shown in FIG. FIG. 23 is a flow diagram showing the operation of the mode dividing section 150 according to the present embodiment.
[0118] The mode dividing unit 150 divides the data for each specific mode based on the data stored in the event signal information 147 .
[0119] In step S501, the mode division unit 150 extracts only the event information for identifying the mode from the data stored in the event signal information 147. In the example of Fig. 21, a warning is excluded because it is different from the information for identifying the mode. As a result, only the log related to the power generation adjustment remains.
[0120] In step S502, the mode division section 150 uses the event information for identifying the mode extracted in step S501 and the time of the event to determine the period during which the specific mode exists. In the example of Figure 22, the periods extracted are from 1:00 on January 1, 2020, when the power generation amount adjustment starts, to 1:30 on January 1, 2020, when it ends, and further from 1:30 on January 1, 2020, when the power generation amount adjustment ends, to 12:00 on January 2, 2020, when the power generation amount adjustment starts.
[0121] In step S503, the mode for each period is identified based on the event information at the start of each period. In Fig. 21, the period from 1:00 on January 1, 2020 to 1:30 on January 1, 2020 corresponds to a transition period in which power generation adjustment is being performed, since the event information at the start date and time indicates the start of power generation adjustment. Similarly, the period from 1:30 on January 1, 2020 to 12:00 on January 2, 2020 corresponds to a period in which power generation adjustment has ended and the system operates at 100% power generation.
[0122] Anomaly detection device 100 has two flows: learning for generating control signal model 144 and estimation for determining the degree of anomaly from control signal model 144. The learning for generating the control signal model 144 corresponds to the model generation process described above. The estimation of the degree of abnormality from the control signal model 144 corresponds to the reliability calculation process described above. The mode division process according to this embodiment is performed before each of the model generation process and the reliability calculation process.
[0123] FIG. 24 is a flow diagram showing a learning process for generating control signal model 144 according to this embodiment. In step S601, the mode dividing section 150 obtains data from the event signal information 147. In step S602, the mode division section 150 performs mode division based on the data acquired in step S601. The mode division process is similar to that in FIG.
[0124] In step S301, the model generating unit 110 acquires the relationship between the pair of sensor signals and the pair of control signals from the correspondence information 141. In step S302, the model generating unit 110 acquires, from the anomaly detection method information 142, the anomaly detection method applied to a specific sensor signal, information about the input, and parameters of the anomaly detection method. In step S303, model generating section 110 acquires time-series data of a control signal from control signal time-series data 143. Steps S301 to S303 are the same as those in FIG.
[0125] Step S304a corresponds to step S304 in FIG. 12, and step S305a corresponds to step S305 in FIG. In step S304a, model generating section 110 generates a model of each control signal for each mode as control signal model 144 based on the data acquired in steps S602, S301, S302, and S303. In step S305a, model generation section 110 stores in storage section 140 control signal model 144 for all control signals for each mode, which control signal model 144 was obtained in step S304a. Steps S304a and S305a are repeatedly performed for all modes (step S603).
[0126] FIG. 25 is a flow diagram showing a process for estimating the degree of abnormality from control signal model 144 according to this embodiment. Steps S601 and S602 are similar to steps S601 and S602 in FIG.
[0127] In step S401, the reliability calculation unit 120 acquires the relationship between the pair of sensor signals and the pair of control signals from the correspondence information 141. In step S402, the reliability calculation section 120 acquires, from the anomaly detection method information 142, the anomaly detection method applied to the specific sensor signal, information about the input, and parameters of the anomaly detection method. In step S 403 , the reliability calculation unit 120 acquires the time series data of the control signal from the control signal time series data 143 . Steps S401 to S403 are similar to those in FIG.
[0128] Step S404a corresponds to step S404 in FIG. 13, and step S405a corresponds to step S405 in FIG. In step S404a, the reliability calculation unit 120 acquires from the control signal model 144 a model for each mode corresponding to the control signal. In step S405a, the reliability calculation unit 120 calculates the reliability for each mode of the abnormality detection results of all the sensor signals based on the data acquired in steps S602, S401, S402, S402, and S404a.
[0129] Steps S406 and S407 are similar to steps S406 and S407 in FIG.
[0130] ***Explanation of the Effects of the Present Embodiment*** The anomaly detection device according to the present embodiment includes a mode dividing unit that divides the control signal time-series data by control state based on event signal information that stores log data of an event signal that indicates a control state or an alert of the equipment. The model generating unit generates a model from the control signal by mode.
[0131] According to the anomaly detection device according to the present embodiment, even if an imbalance occurs between the modes, it is possible to obtain the same effects as those of the first and second embodiments.
[0132] In the above first to third embodiments, each part of the anomaly detection device has been described as an independent functional block. However, the configuration of the anomaly detection device does not have to be as in the above-mentioned embodiments. The functional blocks of the anomaly detection device may have any configuration as long as they can realize the functions described in the above-mentioned embodiments. In addition, the anomaly detection device may not be a single device, but may be a system made up of multiple devices. For example, the anomaly detection device does not have to be equipped with the model generation unit. The model generation unit may be equipped in a server or another device, and the control signal model may be generated in the server or another device. Alternatively, the anomaly detection device may use a control signal model that has been prepared in advance. In addition, it is acceptable to combine two or more parts of the first to third embodiments. Alternatively, it is acceptable to implement only one part of these embodiments. In addition, it is acceptable to combine these embodiments in any way, either as a whole or in part. That is, in the first to third embodiments, the embodiments can be freely combined, any of the components in each embodiment can be modified, or any of the components in each embodiment can be omitted.
[0133] The above-described embodiment is essentially a preferred example, and is not intended to limit the scope of the present disclosure, the scope of application of the present disclosure, and the scope of use of the present disclosure. The above-described embodiment can be modified in various ways as necessary. For example, the procedure described using a flow chart or sequence chart may be modified as appropriate. [Explanation of symbols]
[0134] 100 anomaly detection device, 110 model generation unit, 120 reliability calculation unit, 130 anomaly diagnosis unit, 140 memory unit, 150 mode division unit, 141 correspondence information, 142 anomaly detection method information, 143 control signal time series data, 144 control signal model, 145 anomaly detection result information, 146 anomaly diagnosis result, 147 event signal information, 909 electronic circuit, 910 processor, 921 memory, 922 auxiliary storage device, 930 input interface, 940 output interface, 950 communication device.
Claims
1. An abnormality detection device that includes a sensor and detects an abnormality in equipment controlled by a control signal, a reliability calculation unit that inputs time series data of a control signal in a specific time range of an anomaly detection result detected in a sensor signal obtained from the sensor as verification data into a control signal model that is generated based on training data that is a feature amount of the time series data of past control signals and that outputs an anomaly degree for each control signal from the time series data of the control signals, thereby acquiring an anomaly degree of the control signal in the specific time range and calculating reliability of the control signal in the specific time range; an abnormality diagnosis unit that outputs, as an abnormality diagnosis result, information obtained by adding the reliability of the control signal in the specific time range to the abnormality detection result in the specific time range; An anomaly detection device comprising:
2. The abnormality detection device includes: The anomaly detection device according to claim 1 , further comprising a model generation unit that extracts features of time-series data of the past control signals as the training data, and generates the control signal model based on the training data.
3. The model generation unit 3. The anomaly detection device according to claim 2, further comprising: a step of: determining an anomaly detection method to be applied for each control signal set in the correspondence information based on correspondence information that associates the sensor signal with the control signal that affects the sensor signal; anomaly detection method information in which the sensor signal, an anomaly detection method to be applied to the sensor signal, and a data format of the sensor signal to be input to the anomaly detection method are set; and time-series data of the control signal; generating the training data to be input to the anomaly detection method by replacing the data format of the sensor signal to be input to the anomaly detection method with the data format of the control signal; and generating the control signal model by inputting the training data to the anomaly detection method.
4. The reliability calculation unit 4. The anomaly detection device according to claim 3, further comprising: a control signal model that generates verification data from the time series data of the control signal based on the correspondence information, the anomaly detection method information, the control signal model, the time series data of the control signal, and a specific time range of the anomaly detection result; and a degree of anomaly of the control signal is obtained by inputting the verification data into the control signal model.
5. The model generation unit When one sensor signal and a pair of control signals are associated with each other in the correspondence relationship information and a combination method of the pair of control signals is set, an anomaly detection method corresponding to the sensor signal is applied to each of the pair of control signals to generate the control signal model; The reliability calculation unit 5. The anomaly detection device according to claim 3, further comprising a step of calculating reliability of the set of control signals using a combination method of the set of control signals.
6. The abnormality detection device includes: a mode dividing unit that divides the time-series data of the control signal by control state based on event signal information that stores log data of an event signal that indicates a control state or an alert of the equipment, The anomaly detection device according to claim 2 , wherein the model generation unit generates the control signal model from time-series data of the control signal for each mode.
7. An anomaly detection method for use in an anomaly detection device that includes a sensor and detects an anomaly in equipment controlled by a control signal, comprising: a computer inputs time series data of the control signal in a specific time range of the anomaly detection result detected in the sensor signal obtained from the sensor as verification data into a control signal model which is generated based on training data which is a feature amount of the time series data of the past control signal and outputs the degree of anomaly for each control signal from the time series data of the control signal, thereby obtaining the degree of anomaly of the control signal in the specific time range and calculating the reliability of the control signal in the specific time range; The anomaly detection method, wherein a computer outputs, as an anomaly diagnosis result, information that adds the reliability of the control signal in the specific time range to the anomaly detection result in the specific time range.
8. An anomaly detection program for use in an anomaly detection device that includes a sensor and detects an anomaly in equipment controlled by a control signal, a reliability calculation process in which time series data of a control signal in a specific time range of an anomaly detection result detected in a sensor signal obtained from the sensor is used as verification data, and the verification data is input to a control signal model which is generated based on training data which is a feature amount of the time series data of past control signals and which outputs the degree of anomaly for each control signal from the time series data of the control signals, thereby obtaining the degree of anomaly of the control signal in the specific time range and calculating the reliability of the control signal in the specific time range; an abnormality diagnosis process for outputting information obtained by adding the reliability of the control signal in the specific time range to the abnormality detection result in the specific time range as an abnormality diagnosis result; An anomaly detection program that causes a computer to execute the following.
Citation Information
Patent Citations
Novelty detection
JP2009186463A
Method and device for monitoring state of facility
JP2011070635A
Facility state monitoring method and apparatus for the same
JP2015172945A
Determination device, correction device, display device, determination system, determination method, and computer program
JP2019095930A
Recommended motion parameter determination method and robot system
JP2021135566A
