Abnormality diagnosis device, abnormality diagnosis method, and program
The abnormality diagnosis device efficiently selects and utilizes a subset of models using representative points and data structures like kd trees, addressing computational overload and enhancing diagnostic efficiency.
Patent Information
- Application Number
- JP2023209354
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-20
- Filing Date
- 2023-12-12
- Publication Date
- 2024-10-31
AI Technical Summary
Conventional abnormality diagnosis techniques using multiple models result in excessive computational load due to the large number of models involved.
An abnormality diagnosis device that includes an acquisition unit, a selection unit, and a diagnosis unit to efficiently select and utilize a subset of abnormality diagnosis models based on representative points and data structures like kd trees, reducing computational overhead.
This approach significantly reduces the calculation time required for abnormality diagnosis, enabling efficient and timely analysis even with a large number of models.
Smart Images

Figure 2024155704000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an abnormality diagnosis device, an abnormality diagnosis method, and a program. [Background technology]
[0002] Conventionally, there are known abnormality diagnosis techniques that use a plurality of abnormality diagnosis models for various plants (e.g., petrochemical plants, power plants, steel plants, food plants, etc.) and various facilities, equipment, devices, etc. For example, Patent Document 1 describes a technique for a plant having a plurality of operation modes, in which an abnormality diagnosis model is created for each operation mode, and then the results of abnormality diagnosis by each abnormality diagnosis model are integrated. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 7052914 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the conventional technology described in, for example, Patent Document 1, the result of the abnormality diagnosis is obtained by using all of the multiple abnormality diagnosis models. Therefore, when the number of abnormality diagnosis models is large, the amount of calculation for the abnormality diagnosis may become enormous.
[0005] The present disclosure has been made in consideration of the above points, and aims to realize efficient abnormality diagnosis using multiple abnormality diagnosis models. [Means for solving the problem]
[0006] An abnormality diagnosis device according to one aspect of the present disclosure includes an acquisition unit that acquires data representing a state of an object, a selection unit that selects one or more abnormality diagnosis models from a plurality of abnormality diagnosis models that respectively model a plurality of normal states of the object, a calculation unit that calculates a degree of abnormality of the object based on the one or more abnormality diagnosis models selected by the selection unit and the data acquired by the acquisition unit, and a diagnosis unit that diagnoses whether the object is abnormal or not based on the degree of abnormality calculated by the calculation unit. Effect of the Invention
[0007] It is possible to realize efficient abnormality diagnosis by using a plurality of abnormality diagnosis models. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram illustrating an example of a hardware configuration of an abnormality diagnosis device according to a first embodiment. [Diagram 2] 1 is a diagram illustrating an example of a functional configuration of an abnormality diagnosis device according to a first embodiment. [Diagram 3] 11 is a flowchart illustrating an example of a model learning process according to the first embodiment. [Figure 4] 5 is a flowchart illustrating an example of an abnormality diagnosis process according to the first embodiment. [Diagram 5] FIG. 13 is a diagram (part 1) showing an example of a method for selecting an abnormality diagnosis model. [Figure 6] FIG. 2 is a diagram (part 2) showing an example of a method for selecting an abnormality diagnosis model. [Figure 7] FIG. 11 is a diagram illustrating an example of a functional configuration of an abnormality diagnosis device according to a second embodiment. [Figure 8] 13 is a flowchart illustrating an example of a model learning process according to the second embodiment. [Figure 9] FIG. 1 is a diagram illustrating an example of region division using a kd tree. [Figure 10] FIG. 2 is a diagram illustrating an example of a kd tree structure. [Figure 11] 10 is a flowchart showing an example of an abnormality diagnosis process according to a second embodiment. [Figure 12] FIG. 13 is a diagram illustrating an example of a method for selecting a representative point. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, a first and second embodiment will be described as an embodiment of the present invention. In each of the following embodiments, an abnormality diagnosis device 10 capable of efficiently performing abnormality diagnosis using a plurality of abnormality diagnosis models will be described for various plants (for example, petrochemical plants, power plants, steel plants, food plants, etc.) and various facilities, equipment, devices, etc. as targets. In addition, in the following, as an example, a normal model created by a multivariate statistical process control (MSPC) method (Reference 1) is assumed as these multiple abnormality diagnosis models. However, this is only an example, and the abnormality diagnosis model is not limited to a normal model created by the MSPC method, and may be a model created by any abnormality diagnosis method. For example, a machine learning model created by a machine learning method such as Isolation Forest or 1-class SVM can also be used as the abnormality diagnosis model.
[0010] The abnormality diagnosis device 10 according to each of the following embodiments executes a "model learning process" for creating multiple abnormality diagnosis models from driving data of a target in a normal state, and an "abnormality diagnosis process" for diagnosing the presence or absence of an abnormality in the target from the current driving data of the target and the abnormality diagnosis models. Generally, the model learning process is executed offline, and the abnormality diagnosis process is executed online, but this is not limited thereto. For example, the model learning process may be executed in the background of the abnormality diagnosis process while online. In particular, when adding an abnormality diagnosis model, the model learning process may be executed in the background of the abnormality diagnosis process while online.
[0011] Driving data is also called "sample data," but in the following, driving data used to create an abnormality diagnosis model will be called "learning data," and a set of learning data will be called a "learning data set." Furthermore, driving data used to diagnose the presence or absence of an abnormality will be called "diagnosis data."
[0012] Various sensors are installed on the target, and these sensors measure physical quantities that represent the state of the target, and each piece of operating data (each piece of learning data, each piece of diagnostic data) is composed of the measured values of these physical quantities. The physical quantities represented by the measured values that make up the operating data, or the variables in which the measured values of these physical quantities are stored, are also called "process variables" or "state variables." Hereinafter, the physical quantities represented by the measured values that make up the operating data, or the variables in which the measured values of these physical quantities are stored, will be called "state variables." There are various types of state variables, such as temperature, pressure, and flow rate.
[0013] In the following, the number of state variables that make up the operation data is N, and each state variable is x n (1≦n≦N), and express the operation data as a vertical vector x=(x1, ,x N ) Τ In addition, when the time t at which the operational data x was obtained is specified, it is expressed as x(t) = (x1(t), , x N (t) Τ Here, T is the symbol for transposition.
[0014] Also, the i-th training data in the training data set is x (i) Let D = {x (i) Let us express it as |i=1, ,I}, where I is the number of learning data |D| contained in the learning data set D.
[0015] [First embodiment] First, the first embodiment will be described.
[0016] <Example of Hardware Configuration of Abnormality Diagnosis Device 10> An example of a hardware configuration of an abnormality diagnosis device 10 according to the first embodiment is shown in Fig. 1. As shown in Fig. 1, the abnormality diagnosis device 10 according to the first embodiment includes an input device 101, a display device 102, an external I / F 103, a communication I / F 104, a RAM (Random Access Memory) 105, a ROM (Read Only Memory) 106, an auxiliary storage device 107, and a processor 108. Each of these hardware components is connected to each other via a bus 109 so as to be able to communicate with each other.
[0017] The input device 101 is, for example, a keyboard, a mouse, a touch panel, a physical button, etc. The display device 102 is, for example, a display, a display panel, etc. Note that the abnormality diagnosis device 10 does not necessarily have to have at least one of the input device 101 and the display device 102, for example.
[0018] The external I / F 103 is an interface with an external device such as a recording medium 103a. Examples of the recording medium 103a include a CD (Compact Disc), a DVD (Digital Versatile Disk), an SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.
[0019] The communication I / F 104 is an interface for connecting the abnormality diagnosis device 10 to a communication network. The RAM 105 is a volatile semiconductor memory (storage device) that temporarily stores programs and data. The ROM 106 is a non-volatile semiconductor memory (storage device) that can store programs and data even when the power is turned off. The auxiliary storage device 107 is a non-volatile storage device such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory. The processor 108 is various types of arithmetic devices such as a central processing unit (CPU).
[0020] 1 is merely an example, and the hardware configuration of the abnormality diagnosis device 10 is not limited thereto. For example, the abnormality diagnosis device 10 may have multiple auxiliary storage devices 107 and multiple processors 108, may not have some of the hardware shown in the figure, or may have various types of hardware other than the hardware shown in the figure.
[0021] <Example of functional configuration of abnormality diagnosis device 10> FIG. 2 shows an example of a functional configuration of the abnormality diagnosis device 10 according to the first embodiment. As shown in FIG. 2, the abnormality diagnosis device 10 according to the first embodiment has a model learning unit 201 and an abnormality diagnosis unit 202. These units are realized, for example, by a process in which one or more programs installed in the abnormality diagnosis device 10 are executed by the processor 108 or the like. The abnormality diagnosis device 10 according to the first embodiment also has a model storage unit 203. The model storage unit 203 is realized, for example, by a storage area of the auxiliary storage device 107 or the like. However, the model storage unit 203 may also be realized, for example, by a storage area of a database server connected to the abnormality diagnosis device 10 via a communication network.
[0022] The model learning unit 201 executes a model learning process. Here, the model learning unit 201 includes a learning data acquisition unit 211, a classification unit 212, a learning unit 213, and a storage unit 214. The learning data acquisition unit 211 acquires a learning data set D. The classification unit 212 creates a plurality of sub-learning data sets by classifying each learning data included in the learning data set D acquired by the learning data acquisition unit 211 according to a certain predetermined criterion. The learning unit 213 creates an abnormality diagnosis model for each sub-learning data set using the sub-learning data set. In addition, the learning unit 213 calculates a representative point of each abnormality diagnosis model. The storage unit 214 stores each abnormality diagnosis model created by the learning unit 213 and their representative points in the model storage unit 203.
[0023] The abnormality diagnosis unit 202 executes an abnormality diagnosis process. Here, the abnormality diagnosis unit 202 includes a diagnostic data acquisition unit 221, a model selection unit 222, a diagnosis unit 223, and an output unit 224. The diagnostic data acquisition unit 221 acquires diagnostic data. The model selection unit 222 selects one or more abnormality diagnosis models to be used for abnormality diagnosis from a plurality of abnormality diagnosis models stored in the model storage unit 203. The diagnosis unit 223 performs abnormality diagnosis of a target using the one or more abnormality diagnosis models selected by the model selection unit 222. The output unit 224 outputs the result of the abnormality diagnosis by the diagnosis unit 223 to a predetermined output destination.
[0024] The model storage unit 203 stores a plurality of abnormality diagnosis models and representative points of each of the plurality of abnormality diagnosis models. The model storage unit 203 may store not only the abnormality diagnosis models and their representative points, but also various information related to the sub-learning data set used for creating the abnormality diagnosis models (e.g., the number of learning data included in the sub-learning data set, etc.).
[0025] <Processing details> The model learning process and the abnormality diagnosis process executed by the abnormality diagnosis device 10 according to the first embodiment will be described in detail below.
[0026] <Model learning process> The model learning process according to the first embodiment will be described with reference to Fig. 3. In the following, it is assumed that a learning data set D is provided to the fault diagnosis device 10.
[0027] First, the learning data acquisition unit 211 of the model learning unit 201 acquires a given learning data set D (step S101). Note that the learning data acquisition unit 211 may acquire the learning data set D from, for example, a database server or the like in which the target driving data is stored.
[0028] Next, the classification unit 212 of the model learning unit 201 creates a plurality of sub-learning data sets by classifying each piece of learning data included in the learning data set D acquired in the above step S101 according to a certain predetermined criterion (step S102). Here, various criteria can be considered as the criteria used for classifying each piece of learning data, and the classification unit 212 may classify each piece of learning data according to, for example, one or more of the following classification criteria 1 to 3.
[0029] ·Classification criteria 1 When the target is various plants, the training data is classified according to the type of product produced or manufactured in the plant, the type of raw materials used in the production or manufacturing, and the type and ratio of raw materials used in the production or manufacturing. For example, when the target is manufacturing a certain chemical, each training data included in the training data set D is classified into a plurality of sub-training data sets according to the content rate of a certain raw material. For example, the content rate (concentration) of a certain raw material in a chemical can be specified by the value of a certain state variable included in the training data.
[0030] ·Classification criteria 2 The training data is classified according to date, time, season, etc. For example, each training data included in the training data set D is classified into four sub-training data sets according to the season (spring, summer, fall, winter) corresponding to the time t of the training data.
[0031] ·Classification criteria 3 When the target is various plants, the learning data is classified according to the operation mode of the plant, as in Patent Document 1. For example, when there are three operation modes of the plant, operation mode 1 to operation mode 3, the learning data is classified into three sub-learning data sets according to the operation mode when each learning data was obtained. Note that the operation mode in which the learning data was obtained can be specified by auxiliary information for specifying the operation mode of the plant (for example, calendar information that associates the operation mode of the plant with its operating time period, etc.).
[0032] However, the above classification criteria 1 to 3 are all examples, and the criteria used for classifying each learning data are not limited to these, and any criteria can be used as appropriate as long as it is a criterion that allows each learning data included in the learning data set D to be classified into a plurality of sub-learning data. For example, a scale (e.g., cosine similarity, etc.) representing the similarity between learning data may be introduced, and each learning data may be classified according to this similarity. In addition, when classifying each learning data according to the similarity, a known clustering method such as the k-means method may be used.
[0033] Hereinafter, in step S102 above, K sub-training data sets D1, . . . , D K Let the k-th sub-training data set be D (k) ={x (i) |i∈I (k)} where I (k) is the kth sub-training data set D (k) It is a set of numbers (indexes) of the learning data contained in
[0034] Next, the learning unit 213 of the model learning unit 201 learns the sub-learning data set D (k) For each (k=1, ,K), the corresponding sub-training data set D (k) Using the MSPC method, the k-th anomaly diagnosis model M (k) As a result, K abnormality diagnosis models M (1) ,···,M (K) is created.
[0035] Next, the learning unit 213 of the model learning unit 201 learns each abnormality diagnosis model M (k) The sub-training dataset D used to create (k) Using each abnormality diagnosis model M (k) The representative points of the abnormality diagnosis model M are calculated (step S104). (k) The representative point of r (k)In this case, the learning unit 213 determines, for example, any one of the following average value, median value, and mode value as the representative point r (k) This can be done as follows.
[0036] Average value Sub-training data set D (k) ={x (i) |i∈I (k)} is the average value of the training data in the representative point r (k) That is, x (i) =(x1 (i) ,···,x N (i) ) Τ ∈D (k) Using the state variable x n For each (n=1, ,N) x n (i) (i∈I (k) ) average value μ n Find r (k) ←(μ1, ,μ N )
[0037] Median Sub-training data set D (k) ={x (i) |i∈I (k) The median of the training data in} is the representative point r (k) That is, x (i) =(x1 (i) ,···,x N (i) ) Τ ∈D (k) Using the state variable x n For each (n=1, ,N) x n (i) (i∈I (k) ) median m n Find r (k) ←(m1, ,m N )
[0038] Mode Sub-training data set D (k) ={x (i) |i∈I (k) The most frequent value of the training data in} is the representative point r (k)That is, x (i) =(x1 (i) ,···,x N (i) ) Τ ∈D (k) Using the state variable x n For each (n=1, ,N) x n (i) (i∈I (k) ) mode m n ', r (k) ←(m1',...,m N ').
[0039] The storage unit 214 of the model learning unit 201 stores the abnormality diagnosis model M created in step S103. (1) ,···,M (K) and the representative point r calculated in step S104 above. (1) ,···,r (K) At this time, the storage unit 214 stores the abnormality diagnosis model M (k) The sub-training dataset D used to create (k) Various information regarding the abnormality diagnosis model M (k) and representative point r (k) For example, the storage unit 214 may store the sub-learning data set D (k) The number of training data included in |D (k) | Abnormality diagnosis model M (k) and representative point r (k) In addition, for example, the storage unit 214 may store the sub-learning data set D (k) A score S that represents the degree of dispersion of the training data contained in (k) (For example, the product of the diagonal elements of the variance-covariance matrix) is used as the anomaly diagnosis model M (k) and representative point r (k) may be stored in the model storage unit 203 in association with the above.
[0040] <Abnormality diagnosis processing> The abnormality diagnosis process according to the first embodiment will be described with reference to Fig. 4. In the following, it is assumed that diagnostic data x is provided to the abnormality diagnosis device 10. Note that steps S201 to S204 in Fig. 4 are repeatedly executed, for example, every time the diagnostic data x is provided to the abnormality diagnosis device 10.
[0041] First, the diagnostic data acquisition unit 221 of the abnormality diagnosis unit 202 acquires the given diagnostic data x (step S201). Note that the diagnostic data acquisition unit 221 may acquire the diagnostic data x from, for example, a database server or the like in which the target driving data is stored.
[0042] Next, the model selection unit 222 of the abnormality diagnosis unit 202 selects one or more abnormality diagnosis models to be used for abnormality diagnosis from among the multiple abnormality diagnosis models stored in the model storage unit 203 (step S202). Here, various methods can be considered for selecting one or more abnormality diagnosis models to be used for abnormality diagnosis, and the model selection unit 222 may select one or more abnormality diagnosis models by, for example, any of the following selection methods 1 to 5.
[0043] Selection method 1 Diagnostic data x and each representative point r (k) Distance d(x,r (k) ) and calculate the distance d(x,r (k) ) is the smallest representative point r (k) The corresponding abnormality diagnosis model M (k) This selects the diagnostic data x and the representative point r (k) The one abnormality diagnosis model M that is closest to (k) is selected.
[0044] Selection method 2 Diagnostic data x and each representative point r (k) Distance d(x,r (k) ) and calculate the distance d(x,r (k) ) is the value of the representative point r within a predetermined distance R (k) The corresponding abnormality diagnosis model M (k)This selects the diagnostic data x and the representative point r (k) One or more abnormality diagnosis models M within a predetermined distance R from (k) The distance R is selected based on at least one abnormality diagnosis model M (k) is set to an appropriate value so that it is selected.
[0045] Here, as an example, N=3, and the abnormality diagnosis model M (1) ~M (20) FIG. 5 shows a case where an anomaly diagnosis model is selected by selection method 2 when d(x,r (5) ) ≦ R, d(x,r (6) ) ≦ R, d(x,r (10) ) ≦ R, d(x,r (13) )≦R, and there are four abnormality diagnosis models M (5) , M (6) , M (10) , M (13) is selected.
[0046] Selection method 3 Diagnostic data x and each representative point r (k) Distance d(x,r (k) ) and calculate the distance d(x,r (k) ) are sorted into L representative points r (k) and define these L representative points r (k) L anomaly diagnosis models M (k) This selects the diagnostic data x and the representative point r (k) The L number of anomaly diagnosis models M (k) is selected, where L is a predetermined integer of 1 or more.
[0047] Here, as an example, N=3, and the abnormality diagnosis model M (1) ~M (20) FIG. 6 shows a case where an anomaly diagnosis model is selected by selection method 3 when there are five anomaly diagnosis models M (13) , M (10) , M (5) , M (6) , M(16) is selected.
[0048] Selection method 4 The number of learning data stored in the model storage unit 203 |D (k) Using |, d(x,r (k) ) / |D (k) | is calculated for each of the above selection methods 1 to 3, and d(x,r (k) ) instead of d(x,r (k) ) / |D (k) One or more anomaly diagnosis models M (k) This makes it possible to select one or more anomaly diagnosis models while also taking into consideration the number of learning data sets. Note that since the number of learning data sets used to create an anomaly diagnosis model is considered to affect the reliability of the anomaly diagnosis model, selection method 4 can also be said to be a selection method that takes into consideration the reliability of the anomaly diagnosis model.
[0049] Selection method 5 The score S stored in the model storage unit 203 (k) (That is, the sub-training data set D (k) (a score that represents the degree of dispersion of the training data contained in (k) ×d(x,r (k) ) / |D (k) | is calculated for each of the above selection methods 1 to 3, and d(x,r (k) ) instead of S (k) ×d(x,r (k) ) / |D (k) One or more anomaly diagnosis models M (k) Note that it is considered that the degree of dispersion of the learning data used to create the anomaly diagnosis model affects the reliability of the anomaly diagnosis model (more specifically, the higher the density of the learning data used to create the anomaly diagnosis model, the higher the reliability of the anomaly diagnosis model), so selection method 5 can also be said to be a selection method that takes into consideration the reliability of the anomaly diagnosis model, similar to selection method 4.
[0050] The distance d used in the above selection methods 1 to 5 is not limited to a specific distance, and any distance can be used. For example, Euclidean distance, Manhattan distance, Mahalanobis distance, etc. can be used. This makes it possible to select one or more anomaly diagnosis models while taking into consideration the number of learning data and the degree of distribution thereof.
[0051] Hereinafter, the abnormality diagnosis model selected in step S202 above will be referred to as M (k) (k∈W), where W is a set of numbers (indexes) of the anomaly diagnosis models selected in step S202 above.
[0052] Next, the diagnosis unit 223 of the abnormality diagnosis unit 202 compares the diagnostic data x with one or more abnormality diagnosis models M selected in the above step S202. (k) (k∈W) is used to perform an abnormality diagnosis of the target (step S203). Here, the diagnosis unit 223 may perform an abnormality diagnosis as follows depending on whether |W|=1, for example.
[0053] If |W|=1 Diagnostic data x and anomaly diagnosis model M (k) and the degree of anomaly a (e.g., Q statistic or T 2 If the degree of abnormality a exceeds a predetermined threshold, it is diagnosed as abnormal, and if not, it is diagnosed as not abnormal.
[0054] If |W| ≥ 2 The diagnostic data x and each abnormality diagnostic model M (k) (k∈W) and the abnormality degree a (k) (For example, Q statistics and T 2 Statistical values, etc.) are calculated, and each abnormality degree a (k) The average value of (k∈W) is calculated. If this average value exceeds a predetermined threshold, it is diagnosed as abnormal, otherwise it is diagnosed as not abnormal. For example, (k)If the median of (k∈W) (however, if |W| is an even number, for example, the average value of |W| / the second-largest anomaly level and (|W|+1) / the second-largest anomaly level) exceeds a predetermined threshold, it may be diagnosed as abnormal, and if not, as not abnormal.
[0055] In addition, in step S203, the abnormality degree a (k) As the Q statistic or T 2 It is assumed that one of the statistics is required, but the Q statistic and the T 2 In this case, when |W|=1, the Q statistic and the T statistic can be used as the degree of anomaly. 2 If both statistics exceed the threshold, it is diagnosed as abnormal, otherwise it is diagnosed as non-abnormal. Similarly, when |W| ≥ 2, the average value of Q statistics and T 2 If the average values of the statistics exceed the threshold, it is determined that there is an abnormality; otherwise, it is determined that there is no abnormality.
[0056] In this way, the |W| anomaly diagnosis models M selected in step S202 above (k) (k∈W) is used to diagnose abnormalities in the target. For example, all K abnormality diagnosis models M (k) In comparison with the case where an abnormality diagnosis of a target is performed by the above, an abnormality diagnosis can be performed efficiently (that is, in a relatively short time).
[0057] Then, the output unit 224 of the abnormality diagnosis unit 202 outputs the result of the abnormality diagnosis in the above step S203 to a predetermined output destination (step S204). The predetermined output destination is not limited to a specific output destination, and may be, for example, a display of a terminal device connected to the abnormality diagnosis device 10 via a communication network, the display device 102, or the auxiliary storage device 107. In addition, the result of the abnormality diagnosis may be output to, for example, a control device that controls the object. By outputting the result of the abnormality diagnosis to the control device that controls the object, for example, it becomes possible for this control device to control the object based on the result of the abnormality diagnosis.
[0058] <Summary of the First Embodiment> As described above, the abnormality diagnosis device 10 according to the first embodiment can diagnose an abnormality of a target from diagnostic data by using some of the abnormality diagnosis models among a plurality of abnormality diagnosis models. This reduces the calculation time required for abnormality diagnosis compared to the case where all of the abnormality diagnosis models are used, and enables efficient abnormality diagnosis.
[0059] [Second embodiment] Next, a second embodiment will be described. In the first embodiment, when selecting one or more abnormality diagnosis models to be used for abnormality diagnosis from among a plurality of abnormality diagnosis models, it is necessary to obtain the distance between the diagnostic data and each representative point. Therefore, there is a problem that the calculation cost is large when selecting one or more abnormality diagnosis models to be used for abnormality diagnosis, especially when the total number K of abnormality diagnosis models is large.
[0060] In the second embodiment, therefore, a case will be described in which a data structure called a kd tree is used to efficiently select one or more abnormality diagnosis models to be used for abnormality diagnosis.
[0061] In the second embodiment, differences from the first embodiment will be mainly described, and descriptions of components similar to those in the first embodiment will be omitted.
[0062] <Example of functional configuration of abnormality diagnosis device 10> FIG. 7 shows a functional configuration example of the abnormality diagnosis device 10 according to the second embodiment. As shown in FIG. 7, the model learning unit 201 of the abnormality diagnosis device 10 according to the second embodiment includes a storage unit 214A instead of the storage unit 214 described in the first embodiment, and further includes a tree structure creation unit 215. The abnormality diagnosis unit 202 of the abnormality diagnosis device 10 according to the second embodiment includes a model selection unit 222A instead of the model selection unit 222 described in the first embodiment. Furthermore, the abnormality diagnosis device 10 according to the second embodiment has a model storage unit 203A instead of the model storage unit 203 described in the first embodiment. The model storage unit 203A is realized, for example, by a storage area of the auxiliary storage device 107. However, the model storage unit 203A may be realized, for example, by a storage area of a database server connected to the abnormality diagnosis device 10 via a communication network.
[0063] The tree structure creation unit 215 creates a kd tree with each representative point as a node by using the representative points of each abnormality diagnosis model. The saving unit 214A saves each abnormality diagnosis model created by the learning unit 213, their representative points, and the kd tree created by the tree structure creation unit 215 in the model storage unit 203A.
[0064] The model selection unit 222A selects one or more abnormality diagnosis models to be used for abnormality diagnosis from among the multiple abnormality diagnosis models stored in the model storage unit 203A. At this time, the model selection unit 222A selects one or more abnormality diagnosis models to be used for abnormality diagnosis by using the kd tree stored in the model storage unit 203A.
[0065] The model storage unit 203A stores a plurality of abnormality diagnosis models and their respective representative points and kd trees. The model storage unit 203A may store not only the abnormality diagnosis models, their representative points, and the kd trees, but also various information related to the sub-learning data set used to create the abnormality diagnosis models (e.g., the number of learning data included in the sub-learning data set, etc.).
[0066] <Processing details> The model learning process and the abnormality diagnosis process executed by the abnormality diagnosis device 10 according to the second embodiment will be described in detail below.
[0067] <Model learning process> The model learning process according to the second embodiment will be described with reference to Fig. 8. In the following, it is assumed that a learning data set D is provided to the abnormality diagnosis device 10. Note that steps S301 to S304 in Fig. 8 are similar to steps S101 to S104 in Fig. 3, respectively, and therefore description thereof will be omitted.
[0068] Following step S304, the tree structure creation unit 215 of the model learning unit 201 calculates the representative point r (1) ,···,r (K) Using each representative point r (k) The tree structure creating unit 215 creates a kd tree with two state variables x i ,x j After selecting these two state variables x i ,x j and the representative point r (1) ,···,r (K) Using the known kd-tree creation algorithm, each representative point r (k) In the kd-tree construction algorithm, we can create a kd-tree with the state variable x i and the state variable x j A kd-tree is created by alternately selecting a representative point that is the median in the region and dividing the region by the representative point. i ,x j may be predetermined.
[0069] As an example, K=7, r (k) =(r1 (k) ,···,r N (k) ) is shown in FIG. 9. In the example shown in FIG. 9, first, the state variable x i The representative point r that is the median (4) is selected and x i≦r i (4) and the region where x i >r i (4) Then, the region is divided into the region where x i ≦r i (4) In the region where j The representative point r that is the median (3) is selected and x i ≦r i (4) And x j ≦r j (3) and the region where x i ≦r i (4) And x j >r j (3) Similarly, the region x i >r i (4) The state variable x j The representative point r that is the median i (6) is selected and x i >r i (4) And x j ≦r j (6) and the region where x i >r i (4) And x j >r j (6) Then, the region is divided into the region where x i ≦r i (4) And x j ≦r j (3) In the region where i The representative point r that is the median (2) is selected and x i ≦r i (4) And x j ≦r j (3) And x i ≦r i (2) and the region where xi ≦r i (4) And x j ≦r j (3) And x i >r i (2) Similarly, the region x i ≦r i (4) And x j >r j (3) In the region where i The representative point r that is the median (1) is selected and x i ≦r i (4) And x j >r j (3) And x i ≦r i (1) and the region where x i ≦r i (4) And x j >r j (3) And x i >r i (1) Similarly, the region x i >r i (4) And x j ≦r j (6) In the region where i The representative point r that is the median (5) is selected and x i >r i (4) And x j ≦r j (6) And x i ≦r i (5) and the region where x i >r i (4) And x j ≦r j (6) And x i >r i (5)Similarly, the region x i >r i (4) And x j >r j (6) In the region where i The representative point r that is the median (7) is selected and x i >r i (4) And x j >r j (6) And x i ≦r i (7) and the region where x i >r i (4) And x j >r j (6) And x i >r i (7) The region is divided into two regions,
[0070] This will result in x i ≦r i (4) And x j >r j (3) And x i ≦r i (1) A region V1 that satisfies x i ≦r i (4) And x j ≦r j (3) And x i ≦r i (2) A region V2 that satisfies x i ≦r i (4) And x j >r j (3) And x i >r i (1) A region V3 that satisfies x i ≦r i (4) And x j ≦r j (3) And xi >r i (2) A region V4 that satisfies x i >r i (4) And x j >r j (6) And x i ≦r i (7) A region V5 that satisfies x i >r i (4) And x j ≦r j (6) And x i ≦r i (5) A region V6 that satisfies x i >r i (4) And x j >r j (6) And x i >r i (7) A region V7 that satisfies x i >r i (4) And x j ≦r j (6) And x i >r i (5) The region V is divided into a region V and a region V satisfying the above.
[0071] When dividing a region for a certain state variable, if the number s of representative points included in the region is an even number, the representative point having the s / 2-th largest value for the state variable may be taken as the median representative point, or the representative point having the s / 2+1-th largest value may be taken as the median representative point.
[0072] By the region division shown in Fig. 9, a kd tree with the structure shown in Fig. 10 is obtained. By using this kd tree, the diagnosis target data x = (x1, , x N), it is possible to determine the area to which the diagnostic object data x belongs. Therefore, for example, it is possible to select one or more abnormality diagnosis models corresponding to one or more representative points existing on the boundary of the area to which the diagnostic object data x belongs. In addition, for example, it is also possible to select the representative point that is closest to the diagnostic object data x from among one or more representative points existing on the boundary of the area to which the diagnostic object data x belongs, and then select the abnormality diagnosis model corresponding to that representative point.
[0073] Following step S305, the storage unit 214A of the model learning unit 201 stores the abnormality diagnosis model M created in step S303. (1) ,···,M (K) and the representative point r calculated in step S304. (1) ,···,r (K) and the kd-tree created in step S305 are stored in model storage unit 203A (step S306). At this time, storage unit 214 may store information indicating each region divided by the kd-tree in association with information indicating one or more representative points existing on the boundaries of the region in model storage unit 203A.
[0074] <Abnormality diagnosis processing> The abnormality diagnosis process according to the second embodiment will be described with reference to Fig. 11. In the following, it is assumed that diagnostic data x is provided to the abnormality diagnosis device 10. Note that step S401 and step S403 to step S404 in Fig. 11 are similar to step S201 and step S203 to step S204 in Fig. 4, respectively, and therefore description thereof will be omitted.
[0075] Following step S401, the model selection unit 222A of the abnormality diagnosis unit 202 selects one or more abnormality diagnosis models to be used for abnormality diagnosis from among the multiple abnormality diagnosis models stored in the model storage unit 203A by using the kd tree stored in the model storage unit 203A (step S402). Here, the model selection unit 222A may select one or more abnormality diagnosis models by, for example, the following selection method 6 or selection method 7.
[0076] Selection method 6 The region to which the diagnostic data x belongs is found using a kd tree, and one or more anomaly diagnosis models corresponding to one or more representative points existing on the boundary of that region are selected.
[0077] For example, assume that the region division shown in FIG. 9 has been performed using a kd-tree. In this case, if the diagnostic data x is found to belong to region V5 using the kd-tree, then the representative point on the boundary of region V5 is r (4) , r (6) , r (7) Therefore, the abnormality diagnosis model M (4) , M (6) , M (7) is selected.
[0078] Selection method 7 The region to which the diagnostic data x belongs is found using a kd tree, and the representative point that is closest to the diagnostic target data x is selected from one or more representative points on the boundary of that region, and then the anomaly diagnosis model corresponding to that representative point is selected.
[0079] For example, as shown in FIG. 12, the diagnostic data x is found to belong to the region V5 by the kd tree, and the representative point on the boundary of the region V5 is r (4) , r (6) , r (7) If so, the distance d(x,r (4) ), d(x,r (6) ), d(x,r (7) ) and select the abnormality diagnosis model corresponding to the representative point with the smallest value. In the example shown in FIG. 12, the distance d(x,r (6) ) is the smallest, so the abnormality diagnosis model M (6) is selected.
[0080] <Summary of the second embodiment> As described above, the abnormality diagnosis device 10 according to the second embodiment creates a kd tree with the representative points of each abnormality diagnosis model as nodes, and then selects one or more abnormality diagnosis models to be used for abnormality diagnosis using this kd tree. This significantly reduces the calculation cost compared to the first embodiment, so that even if the total number K of abnormality diagnosis models is large, it becomes possible to select one or more abnormality diagnosis models to be used for abnormality diagnosis in a relatively short calculation time.
[0081] The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications, changes, combinations with known technologies, etc. are possible without departing from the scope of the claims.
[0082] [References] Reference 1: Manabu Kano, "Multivariate Statistical Process Control", Internet<URL:http: / / manabukano.brilliant-future.net / research / report / Report2005_MSPC.pdf> [Explanation of symbols]
[0083] 10. Abnormality diagnosis device 101 Input Device 102 Display device 103 External I / F 103a Recording media 104 Communication I / F 105 RAM 106 ROM 107 Auxiliary storage 108 processors 109 Bus 201 Model Learning Department 202 Abnormality Diagnosis Unit 203 Model Memory Unit 203A Model Memory Section 211 Learning Data Acquisition Unit 212 Classification Department 213 Learning Department 214 Preservation Department 214A Storage Department 215 Tree Structure Creation Department 221 Diagnostic data acquisition unit 222 Model Selection Section 222A Model Selection Section 223 Diagnostic Department 224 Output section
Claims
1. An acquisition unit that acquires data representing a state of an object; A selection unit that selects one or more abnormality diagnosis models from a plurality of abnormality diagnosis models that respectively model a plurality of normal states of the target; a calculation unit that calculates an abnormality degree of the target based on one or more abnormality diagnosis models selected by the selection unit and the data acquired by the acquisition unit; A diagnosis unit that diagnoses whether or not the target is abnormal based on the degree of abnormality calculated by the calculation unit; An abnormality diagnosis device having the above configuration.
2. The selection unit is 2. The abnormality diagnosis device according to claim 1, further comprising: a distance between the representative point of each of the plurality of abnormality diagnosis models and the data is calculated; and one abnormality diagnosis model with the smallest distance is selected.
3. The selection unit is 2. The abnormality diagnosis device according to claim 1, further comprising: a distance between each representative point of the plurality of abnormality diagnosis models and the data is calculated; and one or more abnormality diagnosis models for which the distance is within a predetermined distance are selected.
4. The selection unit is 2. The abnormality diagnosis device according to claim 1, further comprising: a distance between each representative point of the plurality of abnormality diagnosis models and the data is calculated; and a predetermined number of one or more abnormality diagnosis models are selected in ascending order of the distance.
5. The selection unit is The plurality of abnormality diagnosis models are M (k) (where K is the total number of abnormality diagnosis models, k = 1, ..., K), and the abnormality diagnosis model M (k) The representative point of (k) , the data is x, and for k = 1, ..., K, the representative point r (k) and the distance d(x, r (k) ) are calculated, The abnormality diagnosis model M (k)The number of learning data used to create |D (k) |, the distance d(x, r (k) ) and the number of data |D (k) The abnormality diagnosis device according to claim 1 , wherein the one or more abnormality diagnosis models are selected based on a product of | and an inverse of |.
6. The selection unit is The distance d(x, r (k) ) and the number of data |D (k) | and the abnormality diagnosis model M (k) The abnormality diagnosis device according to claim 5 , wherein the one or more abnormality diagnosis models are selected based on a product of the model and a score representing a degree of dispersion of the learning data used in creating the abnormality diagnosis model.
7. The selection unit is 7. The abnormality diagnosis device according to claim 5, further comprising: selecting one abnormality diagnosis model having the smallest product, or one or more abnormality diagnosis models having the product within a predetermined threshold, or one or more predetermined number of abnormality diagnosis models in ascending order of the product.
8. The selection unit is 2. The abnormality diagnosis device according to claim 1, further comprising: a kd tree having a representative point of each of the plurality of abnormality diagnosis models as a node; and selecting, from among a plurality of regions divided by the kd tree, one or more abnormality diagnosis models each corresponding to one or more representative points on a boundary of a region to which the data belongs.
9. The selection unit is 9. The abnormality diagnosis device according to claim 8, further comprising: selecting an abnormality diagnosis model corresponding to a representative point that is the smallest distance from said data, out of one or more representative points on a boundary of an area to which said data belongs.
10. an acquisition step for acquiring data representative of a state of the subject; A selection step of selecting one or more abnormality diagnosis models from a plurality of abnormality diagnosis models each of which models a plurality of normal states of the target; a calculation step of calculating an abnormality degree of the target based on one or more abnormality diagnosis models selected by the selection step and the data acquired by the acquisition step; a diagnosis step of diagnosing whether the target is abnormal or not based on the degree of abnormality calculated by the calculation step; The computer performs an abnormality diagnosis method.
11. an acquisition step for acquiring data representative of a state of the subject; A selection step of selecting one or more abnormality diagnosis models from a plurality of abnormality diagnosis models each of which models a plurality of normal states of the target; a calculation step of calculating an abnormality degree of the target based on one or more abnormality diagnosis models selected by the selection step and the data acquired by the acquisition step; a diagnosis step of diagnosing whether the target is abnormal or not based on the degree of abnormality calculated by the calculation step; A program that causes a computer to execute the following.
Citation Information
Patent Citations
Abnormality diagnosis system, abnormality diagnosis device, abnormality diagnosis method, and program
JP7052914B1
