The present invention relates to an abnormality detection system and an abnormality detection method.
A company suffers from loss when a machine in a factory has an abnormality and is stopped for a long time. Therefore, at the time of cyclic inspection, a skilled person detects an initial abnormality of the machine on the basis of his/her five senses. However, in recent years, since there are not enough skilled persons, mechanization and labor saving are desired. In order to detect an abnormality of a target machine at an early stage, it is necessary to collect and analyze data by attaching various types of sensors to the target machine. However, it is difficult to attach all of the necessary sensors to the target machine due to a physical restriction or a cost of the target machine. Therefore, a technique for estimating, from certain sensor data, other sensor data by using a regression model is proposed (JP-A-2017-207904 (PTL 1)).
In the method described in Patent Literature 1, all variations in the sensor data input in the regression model are described as variations to be estimated. Therefore, in PTL 1, in a case where a variation unrelated to the sensor data to be estimated is added to the input sensor data, the unrelated variation is reflected on a value of the sensor data to be estimated.
Therefore, an object of the present disclosure is to provide an abnormality detection system and an abnormality detection method capable of performing more stable abnormality detection.
In order to solve the above problems, an abnormality detection system according to one aspect of the invention is an abnormality detection system that detects an abnormality of a target machine by a computer. The computer includes a communication unit configured to acquire first data from a first sensor attached to the target machine and second data from a second sensor attached to the target machine, an arithmetic unit, and a memory unit. The arithmetic unit includes an encoding unit trained to generate latent expressions including a predetermined latent expression that estimates the second data on the basis of the first data, a decoding unit trained to restore the first data from the latent expressions, and an abnormality detection unit configured to detect the abnormality of the target machine on the basis of a restoration error between the first data and the first data restored by the decoding unit.
According to the invention, since the second data output from the second sensor is estimated using the predetermined latent expression which is a part of the latent expression, when the first data varies due to factors other than the second sensor, it is possible to describe the variation using another latent expression other than the predetermined latent expression and more robustly estimate the second data than in the related art.
Hereinafter, an embodiment of the invention will be described with reference to the drawings. In this disclosure, a state of a machine to be subjected to abnormality detection (target machine) is determined by a minimum number of sensors. A target machine 2 includes various industrial machines such as a press machine, an injection molding machine, a heating furnace, an NC machine tool, a 3D printer, an electric discharge machine, a welding device, a machining center, a polishing device, an industrial sewing machine, and an industrial robot. The target machine 2 is not limited to the industrial machines, and may also include, for example, electric machines such as an air conditioner, a freezer, and a blower.
One target machine 2 may be configured with a plurality of machines such as a fan, a pump, a slider, a valve, and a motor. For example, physical quantities such as temperature, pressure, speed, voltage, current, load weight, load torque, vibration, and operation sound are measured by sensors. An abnormality detection system 1 determines a state and presence/absence of an abnormality of the target machine 2 on the basis of data output by the sensors.
The abnormality detection system 1 according to this disclosure estimates, on the basis of first data D0 output from a first sensor 11, second data D1 output from a second sensor 12, which is different from the first sensor 11.
The first sensor 11 is attached to the target machine 2 whose abnormality is to be detected, and outputs the first data D0 at the time of training a machine learning model and at the time of operating a machine learning model. The second sensor 12 may be used only at the time of training the machine learning model to output the second data D1, and may be used also at the time of operating the machine learning model to output the second data D1.
In one embodiment, when the sensors attachable to the target machine 2 are limited, a first sensor 11 capable of estimating all sensors required for monitoring the state of the target machine 2 is selected. The first sensor 11 may be one or more. In the following description, a case where one first sensor 11 is used will be mainly described.
The abnormality detection system 1 according to the embodiment described above estimates the second data D1 output from the second sensor 12, which is necessary for monitoring the state of the target machine 2 but is not installed in the target machine 2, on the basis of the first data D0 output from the first sensor 11. The abnormality detection system 1 monitors the state of the target machine 2, detects an abnormality, and identifies a cause of the abnormality on the basis of the first data D0 and the estimated second data D1. The second sensor 12 whose output is estimated with the first data D0 measured by the first sensor 11 may be one or more.
According to this disclosure, since the machine learning model capable of estimating the second data D1 of the second sensor 12 which is not installed from the first data D0 of the first sensor 11 which is installed is generated at the time of training, it is possible to monitor the state and detect the abnormality even when the target machine 2 cannot have a plurality of sensors installed in at the time of operation.
In another embodiment of this disclosure, when physical quantities in accordance with the state of the target machine 2 are measured by the sensors, a set of hyper parameters to be used when calculating a difference between an observation value and a restoration value is selected according to a relation between the physical quantities and a type of the target machine. The set of the hyper parameters can be prepared in advance, for example, in accordance with physical properties and a required robustness of the target machine 2. Accordingly, the abnormality of the target machine 2 can be detected as appropriate in accordance with the physical properties and the required robustness of the target machine 2.
A first embodiment will be described with reference to
The abnormality detection system 1 includes, for example, the first sensor 11, the second sensor 12, an encoding unit 13, a decoding unit 14, a training unit 15, an abnormality detection unit 16, a state grasping unit 17, a training data database DB1, and a training model database DB2.
The abnormality detection system 1 estimates the second data D1 output from the second sensor 12 which is not installed at the time of operating the target machine 2 (at the time of operating the machine learning model) from the first data D0 output from the first sensor 11 which can be installed at the time of operation. Therefore, the encoding unit 13 acquires latent expressions for estimating the second data D1 from the first data D0 at the time of training the machine learning model.
The decoding unit 14 restores the first data D0 output from the first sensor 11 using all the latent expressions obtained by the encoding unit 13.
At the time of training the machine learning model (sometimes referred to as a model training time or a training mode), the training is performed by acquiring the first data D0 and the second data D1 from the machine 2 attached with all of the first and second sensors 11 and 12 necessary for grasping the state of the target machine 2. At the time of training, the encoding unit 13 is trained so as to obtain, from the first data D0 of the first sensor 11 that can be installed at the time of operation, a latent expression that represents the second data D1 of the second sensor 12 which is not installed at the time of operation.
At the time of operation, the first data D0 from the first sensor 11 which is installed in the target machine 2 is used. The abnormality detection system 1 estimates the second data D1 of the second sensor 12 which is not installed in the target machine 2 by using the encoding unit 13.
The state grasping unit 17 of the abnormality detection system 1 grasps the state of the target machine 2 from the first data D0 of the first sensor which is installed in the target machine 2 and the second data (estimation value) of the second sensor 12 which is not installed in the target machine 2.
The state grasping unit 17 outputs an observation value or an estimation value of the first sensor 11 or the second sensor 12 as data D5. At the time of training, the state grasping unit 17 outputs the observation value of the first sensor 11 and the observation value of the second sensor 12. As will be described in embodiments to be described later, the state grasping unit 17 can also output the estimation value of the second sensor 12 at the time of training. The state grasping unit 17 outputs the observation value of the first sensor 11 and the estimation value of the second sensor 12 as data D5 at the time of operation.
Here, the observation value of the first sensor 11 is the first data D0 actually measured by the first sensor 11. The estimation value of the second sensor 12 is the second data D1 estimated from the first data.
The abnormality detection unit 16 of the abnormality detection system 1 calculates and outputs an abnormality degree D6 indicating whether an abnormality occurs in the target machine 2 on the basis of a difference between the first data D0 observed by the first sensor 11 and first data D0 restored by the encoding unit 13 and the decoding unit 14 constituting the machine learning model. The abnormality degree D6 can be used in other systems such as a production management system (not shown).
The training unit 15 learns parameters used in the encoding unit 13 and parameters used in the decoding unit 14 on the basis of training data stored in the training data database DB1, the first data D0 of the first sensor 11, and the second data D1 of the second sensor 12. Further, the training unit 15 updates the parameters used in the encoding unit 13 and the parameters used in the decoding unit 14 and stores the updated parameters in the training model database DB2 such that a predetermined loss function is minimized.
The abnormality detection apparatus 100 is implemented by a computer. The computer can be used as the abnormality detection apparatus 100 by causing the computer to execute a predetermined computer program.
The abnormality detection apparatus 100 is connected to the first and second sensors 11 and 12 via a communication network CN. Examples of the first and second sensors 11 and 12 include a microphone, a vibration sensor, a temperature sensor, a current sensor, a voltage sensor, a weight sensor, and a torque sensor. Here, a case in which the first sensor 11 is a microphone (sound sensor) and the second sensor 12 is a sensor that measures a physical quantity other than a sound will be described as an example.
The abnormality detection apparatus 100 includes, for example, an arithmetic unit 101, a main memory device 102, an auxiliary memory device 103, an input unit 104, an output unit 105, and a communication unit 106.
The arithmetic unit 101 includes one or a plurality of microprocessors, and implements a predetermined function as the abnormality detection apparatus 100 by reading the predetermined computer program stored in the auxiliary memory device 103 into the main memory device 102. The predetermined function is, for example, the encoding unit 13, the decoding unit 14, the training unit 15, the abnormality detection unit 16, and the state grasping unit 17.
The input unit 104 can include, for example, a keyboard, a touch panel, or a pointing device, and receives input from a user using the abnormality detection apparatus 100. The output unit 105 can include, for example, a monitor display, a speaker, or a printer, and provides information to the user.
The communication unit 106 communicates with the first and second sensors 11 and 12 via the communication network CN. The communication unit 106 can also communicate with another computer (not shown).
A memory medium MM is, for example, a flash memory or a hard disk, and transfers a computer program or data to the abnormality detection apparatus 100 for memory, and reads and stores the computer program or data from the abnormality detection apparatus 100. The memory medium MM may be directly connected to the abnormality detection apparatus 100, or may be connected to the abnormality detection apparatus 100 via the communication network CN.
Configurations of the first and second sensors 11 and 12 will be described. The first sensor 11 will be described as an example. The second sensor 12 can be implemented in the same manner. The first sensor 11 includes, for example, a sensor unit 111, a control unit 112, a memory unit 113, and a communication unit 114.
The sensor unit 111 is a microphone that detects a sound of the target machine 2. Therefore, in the following, the sensor unit 111 may be referred to as a microphone 111. Data of the sound detected by the sensor unit 111 is stored in the memory unit 113. The control unit 112 controlling the sensor 11 transmits the sound data stored in the memory unit 113 toward the abnormality detection apparatus 100.
Here, four latent expressions are illustrated here for the sake of description, while more latent expressions are actually included. Among the encoded data D2, the predetermined latent expressions LV12(1) to LV12(3) are used to estimate the output of the second sensor 12 (the second data D1). A first predetermined latent expression LV12(1) is used, for example, to estimate output of a second sensor 12(1) such as a temperature sensor. A second predetermined latent expression LV12(2) is used, for example, to estimate output of a second sensor 12(2) such as a voltage sensor. A third predetermined latent expression LV12(3) is used, for example, to estimate output of a second sensor 12(3) such as a load weight sensor. The temperature sensor, the voltage sensor, and the load weight sensor are examples for explanation.
The other latent expression LV0 is not used to estimate the output of the second sensor 12, and is only used to restore the output of the first sensor 11. That is, only predetermined data LV12(1) to LV12(3) as a part of the encoded data D2 output from the encoding unit 13 is used to estimate the output of the second sensor 12, and remaining data LV0 is used to estimate the output of the first sensor 11 together with the predetermined data LV12(1) to LV12(3).
As illustrated in the center of
The training unit 15 compares the data estimated from the predetermined latent expressions LV12(1) to LV12(3) with the observation data RV12(1) to RV12(3) measured by the actual second sensors 12(1) to 12(3), and calculates an estimation error which is a difference therebetween.
Meanwhile, the decoding unit 14 restores the first data D0 of the first sensor 11 from the encoded data D2 output from the encoding unit 13, and outputs restored first data D0A. Here, for the sake of understanding, a description will be given by changing to the code “D0” of the observed first data and the code “D0A” of the restored first data.
The training unit 15 compares the first data D0 output from the first sensor 11 and the first data D0A restored by the decoding unit 14, calculates a restoration error (reconstruction error) which is the difference therebetween, and adjusts the parameters of the encoding unit 13 and the parameters of the decoding unit 14 such that a total loss of the estimation error and the restoration error is minimized.
For example, a case will be described in which the first sensor 11 measures an operation sound of the target machine 2 and an operation speed of the target machine is estimated from the operation sound. An operation sound of another apparatus near to the target machine 2 is not a measurement target of the first sensor 11, and is thus a noise. When the first sensor 11 detects the operation sound of the other apparatus included in the operation sound of the target machine 2, a noise component thereof is reflected in an estimation value of the operation speed.
In contrast, in the method of the present embodiment illustrated in (2) of
The abnormality detection system 1 causes the main memory device 102 to read the first data D0 stored in the auxiliary memory device 103 (S103), and causes the encoding unit 13 to encode the first data D0 (S104). The abnormality detection system 1 estimates the second data D1 of the second sensor 12 from the predetermined latent expression of the latent expressions generated by the encoding unit 13 (S105).
The abnormality detection system 1 causes the decoding unit 14 to restore the first data D0 using all of the latent expressions generated by the encoding unit 13 (S106). The abnormality detection system 1 calculates, as a loss, the restoration error between the first data D0 input into the encoding unit 13 and the first data D0A restored by the decoding unit 14 and the estimation error between the second data observed by the second sensor 12 and the second data estimated from the predetermined latent expression (S107).
The abnormality detection system 1 repeatedly learns parameters of the machine learning model such that a value of the calculated loss is minimized (S109 to S111). These parameters of the machine learning model are stored in the training model database DB2 (S112).
That is, the abnormality detection system 1 determines whether a predetermined convergence condition is satisfied or an iteration count C1 of the present process exceeds an upper limit value ThC (S108). When the convergence condition is not satisfied and the iteration count C1 is equal to or less than the upper limit value ThC, the training unit 15 updates the parameters of the machine learning model (S109), calculates the convergence condition (S110), increments the iteration count C1 by 1, and returns to step S108.
When the predetermined convergence condition is satisfied (S108: YES), the abnormality detection system 1 stores the parameters of the machine learning model to the training model database DB2 (S112).
The abnormality detection system 1 reads the parameters of the machine learning model from the training model database DB2 and sets the read parameters to the encoding unit 13 and the decoding unit 14 (S201). The abnormality detection system 1 acquires the first data D0 from the first sensor 11 (S202) and stores the acquired first data D0 in the auxiliary memory device 103 (S203).
The abnormality detection system 1 causes the main memory device 102 to read the first data D0 stored in the auxiliary memory device 103 (S204), and causes the encoding unit 13 to encode the first data D0 to generate the latent expressions (S205).
The abnormality detection system 1 estimates the second data D1 of the second sensor 12 from the predetermined latent expression of the latent expressions generated by the encoding unit 13 (S206).
Meanwhile, the decoding unit 14 restores the first data D0 (D0A in
In step S208, the abnormality detection system 1 treats the restoration error of the first data D0 as the abnormality degree, and determines whether the target machine 2 is in an abnormal state or a normal state from a magnitude of the abnormality degree. Further, the abnormality detection system 1 grasps the state of the target machine 2 from the first data which is the observation value and the second data D1 which is the estimation value, and estimates a cause of the case where it is determined that the target machine 2 is in the abnormal state.
For example, when it is determined from the operation sound of the target machine 2 that the target machine 2 is in the abnormal state, the abnormality detection system 1 can estimate the cause of the abnormality of the target machine 2 from the estimation value of the second data D1 output from the second sensor 12, such as an operation speed, a temperature, or a voltage. For example, in the case where it is determined from the operation sound that the target machine 2 is abnormal, when a temperature of the target machine 2 is higher than a predetermined temperature, the abnormality detection system 1 can estimate that the abnormality of the target machine 2 is caused by the temperature.
According to the present embodiment constituted in this manner, the second data D1 of the second sensor 12 which is not used at the time of operation can be estimated on the basis of the first data D0 of the first sensor 11 which is used at the time of operation. Therefore, even when the target machine 2 cannot be attached with a plurality of sensors due to limitation of sensor attachment or the like, it is possible to detect the abnormality of the target machine 2 from the first and second data D0 and D1 of the plurality of sensors and to monitor the state thereof.
In the present embodiment, since it is only necessary to attach a part of the first sensors 11 of a sensor group necessary for monitoring the target machine 2 to the target machine 2, it is possible to reduce a purchase cost and an attachment cost of the sensors. As a result, it is possible to reduce a cost of the abnormality detection system 1.
In the present embodiment, since the second data D1 of the second sensor 12 is estimated from the predetermined latent expression which is a part of the latent expressions of the machine learning model, even when a noise unrelated to the second sensor 12 is included in the first data D0 of the first sensor 11, an influence of the noise on the estimation of the second data D1 can be reduced, and reliability is improved.
A second embodiment will be described with reference to
The first sensor selection unit 18 receives a sensor list L0 defining sensors necessary for grasping the state of the target machine 2, and then selects the first sensor 11 from the sensor group listed in the sensor list L0 with reference to the physical causal database DB3. A sensor that is not selected as the first sensor 11 in the sensor group listed in the sensor list L0 is the second sensor.
An example will be described. In the sensor list L0, a sensor for detecting a motor rotation number, a temperature sensor, a vibration sensor, a sensor for detecting a motor acceleration, and a sensor for detecting the operation sound are described as types of the sensors necessary for grasping the state of the target machine 2. That is, physical quantities necessary for grasping the state of the target machine 2 are defined in the sensor list L0.
The physical causal database DB3 illustrates causal relations between a plurality of the physical quantities. For example, a motor rotation number of a machine may affect the operation sound but is not affected by the operation sound. It is possible to select the first sensor 11 that can efficiently grasp the state of the target machine 2 using such physical causal relations. The physical causal relations may be manually set in advance by an administrator or the like of the abnormality detection system 1A, or may be semi-automatically or automatically created by simulation software or the like.
The present embodiment constituted in this manner also achieves the same operational effect as that of the first embodiment. Further, in the present embodiment, it is possible to determine a sensor having a minimum configuration on the basis of the sensor list L0 illustrating the sensor group necessary for grasping the state of the target machine 2 (measurement values are necessary physical quantities). This improves convenience of the user using the abnormality detection system 1A.
A modification of the present embodiment will be described with reference to
The abnormality detection system 1A1 calculates a loss at the time of training while changing the first sensor candidate 11A, and selects a first sensor candidate 11A having the minimum loss as the first sensor 11.
The present modification constituted in this manner also achieves the same operational effect as that of the present embodiment. Further, in the present modification, since the physical causal database DB3 is not used, it is not necessary to prepare the physical causal database DB3 in advance. Therefore, the present modification improves convenience of a user using the abnormality detection system 1A1.
A third embodiment will be described with reference to
As illustrated in an upper side of
At the time of operating the machine learning model, the target machine 2 is provided with the first sensor 11 and the second sensor 12. The first sensor 11 outputs the first data D0 as the observation value, and the second sensor 12 outputs the second data D1 as the observation value.
At the time of operating the machine learning model, the abnormality detection system 1B compares the second data D1 observed by the second sensor 12 and the second data D1 estimated from the first data D0 and calculates the estimation error (S302).
The abnormality detection system 1B calculates the restoration error between the first data D0 and the first data D0A restored from the first data D0 (S303), and determines the abnormality degree of the target machine 2 from the estimation error and the restoration error (S304).
The present embodiment constituted in this manner also achieves the same operational effect as that of the first embodiment. Further, in the present embodiment, the abnormality degree is calculated by including the estimation error in addition to the restoration error, and thus it is possible to detect the abnormality of the target machine 2 at higher accuracy than the method of calculating the abnormality degree by using only the restoration error. In the present embodiment, it is possible to detect the abnormality of the target machine 2 from the restoration error of the first data D0. Further, it is possible to estimate the cause of the abnormality from the first data D0 (observation value) and the second data D1 (observation value). Further, in the present embodiment, it is possible to detect the abnormality at high accuracy using the estimation error between the second data D1 (observation value) and the second data D1 (estimation value).
A fourth embodiment will be described with reference to
The pre-trained model M0 will be described with reference to
The machine genre can be classified from information including a machine type, a vendor name, a driving method, and the like, for example, as in “hydraulic type press machine made by A” and “electric type die casting system made by B”. Alternatively, the machine genre may be classified from the machine type and the driving method. Furthermore, for example, in the case of a machine that is highly standardized in the industry, the machine genre may be classified by only the machine type.
In the example of
The machine genre MG1 includes two identification numbers IN1 and IN2. Meanwhile, the other machine genre MG2 includes two identification numbers IN3 and IN4. The target machine 2 is a machine having the identification number IN1 of the machine genre MG1.
The abnormality detection system 1 trains the training model in the training model database DB2 on the basis of the data measured by the first and second sensors 11 and 12 for the target machine 2 (MG1, IN1) (S401) as described above.
Here, in a case where the target machine 2 has just been introduced recently and a data amount measured for the target machine 2 is small, it takes time to generate a machine learning model at high accuracy. Therefore, the abnormality detection system 1 uses, as the pre-trained model M0, a machine learning model generated for a machine of the same type (MG1, IN2) that has an identification number IN different from that of the target machine 2 but belongs to the same machine genre MG1 (S402).
The abnormality detection system 1 acquires the pre-trained model M0 stored in the pre-trained model database DB4 and uses the pre-trained model M0 as an initial value of the machine learning model used to monitor the target machine 2 (S403).
Then, the abnormality detection system 1 finely tunes the machine learning model (=the initial value is the pre-trained model M0) on the basis of the data measured for the target machine 2 by the first sensor 11 and the second sensor (S404).
The present embodiment constituted in this manner also achieves the same operational effect as that of the first embodiment. Further, in the present embodiment, when amounts of the first and second data D0 and D1 measured for the target machine 2 are small, the pre-trained model created for the machine of same type as the target machine 2 is used as the initial value of the machine learning model and is finely tuned by the data measured for the target machine 2, and thus it is possible to create an appropriate machine learning model in a shorter time.
A fifth embodiment will be described with reference to
In this case, it is difficult to measure all the operation sounds corresponding to the continuous change of the target machine 2. Therefore, the abnormality detection system 1D generates expansion data (interpolation data) D0E by using a data expansion method such as mix-up on the basis of first data D0 of an operation sound measured in one state of the target machine 2 (an operation sound at an operation speed v100) and first data D0 of an operation sound measured in another state of the target machine 2 (an operation sound at an operation speed v300).
In this embodiment, unmeasured data such as data of an operation sound at an operation speed v101, data of an operation sound at an operation speed v102, data of an operation sound at an operation speed v103, . . . , and data of an operation sound at an operation speed v299 can be acquired in advance.
The present embodiment constituted in this manner also achieves the same operational effect as that of the first embodiment. Further, in the present embodiment, even when the first data D0 output from the first sensor 11 changes in accordance with a continuous state change of the target machine 2, the first data D0 of the first sensor 11 can be expanded and acquired in advance, and the machine learning model can be created in an early stage.
A sixth embodiment will be described with reference to
Here, a sensor such as a microphone that measures the operation sound of the target machine 2 will be described as an example of the sensor 51. When a vibration is measured instead of the operation sound, a vibration sensor may be used as the sensor 51.
The feature data extraction unit 52 extracts feature data vector (hereinafter, referred to as feature data) D51 from data 50 measured by the sensor 51, and stores the extracted feature data D51 in the training data database DB1E.
The machine learning unit 53 trains the machine learning model stored in the training model database DB2E using the feature data D51 extracted by the feature data extraction unit 52.
The loss calculation unit 54 calculates a loss between an observation value of the sensor 51 and a restoration value restored by the machine learning model. It is possible to determine how abnormal the target machine 2 is on the basis of a magnitude of the loss, and thus the loss calculation unit 54 may be referred to as an abnormality degree calculation unit 54.
The abnormality determination unit 55 determines whether the target machine 2 is abnormal on the basis of data D53 output from the loss calculation unit 54 (loss or abnormality degree).
The waveform determination unit 56 determines a waveform pattern registered in advance to which a waveform pattern of the operation sound corresponds, on the basis of the extracted feature data D51. The hyper parameter setting unit 57 refers to the hyper parameter set database DB5 to select one hyper parameter set on the basis of a determination result of the waveform determination unit 56, and sets the selected hyper parameter set D52 in the loss calculation unit 54.
The computer 50 includes, for example, a control unit 501, a memory unit 502, a storage 503, and an input/output device (I/O device) 504, and is connected to the communication network CN. In addition, the computer 50 can be connected to the memory medium MM, and can transmit and receive a computer program or data between the memory medium MM and the memory 502 or the storage 503.
A predetermined computer program stored in the storage 503 is read into the memory 502 and executed by the control unit (arithmetic unit) 501, thereby implementing the feature data extraction unit 52, the machine learning unit 53, the loss calculation unit 54, and the abnormality determination unit 55. A part or all of the predetermined computer program can be stored in the memory medium MM.
The waveform determination unit 56 selects a waveform pattern and the like corresponding to the machine type on the basis of a table T1 illustrating a combination of the machine type and the waveform pattern and the like. The waveform pattern and the like indicate a tendency of a waveform pattern and a noise for each target machine 2. For example, a fan outputs a stationary operation sound and hardly generates an abrupt sound (noise). A pump outputs a stationary operation sound but may also generate an abrupt sound sometimes. A slider generates different sounds during operation and during stop, and thus a stationary operation sound and a non-stationary operation sound coexist. A valve operates intermittently, and thus has a non-stationary operation sound. The waveform determination unit 56 may determine a machine type to which the target machine 2 corresponds from the feature data D51 of the operation sound of the target machine 2, or by acquiring a signal indicating the type of the target machine 2. For example, when the abnormality detection system 1E is installed at a factory, the type of the target machine 2 may be set manually.
The hyper parameter setting unit 57 refers to the hyper parameter set database DB5 on the basis of the determination result of the waveform determination unit 56 (the corresponding waveform pattern and the like), thereby identifying a hyper parameter set to be set in the loss calculation unit 54.
The hyper parameter set database DB5 manages, for example, a set number, the waveform pattern and the like, the required robustness, the hyper parameter, the number of samples, and a weight of the loss function in association with one another.
The required robustness illustrates the required robustness for determining the abnormality of the target machine 2. The required robustness includes, for example, “high”, “low”, “medium-low”, and “medium-high”. As illustrated in
The hyper parameter setting unit 57 selects a hyper parameter set corresponding to the determined waveform pattern and the like, and sets the hyper parameter and the weight of the loss function included in the selected hyper parameter set in the loss calculation unit 54.
As illustrated in
In contrast, in a case such as a valve that operates irregularly and outputs a non-stationary operation sound, the required robustness increases. This is because that since the operation sound of the valve is not a stable pattern, there is a high possibility that the valve is erroneously determined to be abnormal if the required robustness is lowered. In this case, a hyper parameter is selected such that the range determined as normal by the loss calculation unit 54 is widened (Set-4). A hyper parameter set used in a case where the target machine 2 is a pump or a slider is an intermediate value has a range determined to be normal by the loss calculation unit 54 that is between the case of a fan and the case of a valve.
The abnormality detection system 1E causes the waveform determination unit 56 to determine the waveform pattern and the like of the feature data D51 (S1105), and causes the hyper parameter setting unit 57 to select the hyper parameter set in accordance with the waveform pattern and the like (S1106).
The loss calculation unit 54 uses the hyper parameter set that is set by the hyper parameter setting unit 57 to calculate the loss of the machine learning model (S1108).
The abnormality detection system 1E repeatedly learns the parameters of the machine learning model such that a value of the calculated loss is minimized (S1109 to S1111). These parameters of the machine learning model are stored in the training model database DB2E (S1112).
That is, the abnormality detection system 1E determines whether the predetermined convergence condition is satisfied or the iteration count C1 of the present process exceeds the upper limit value ThC (S1108). When the convergence condition is not satisfied and the iteration count C1 is equal to or less than the upper limit value ThC, the machine learning unit 53 updates the parameters of the machine learning model (S1109), calculates the convergence condition (S1110), increments the iteration count C1 by 1, and returns to step S1108.
When the predetermined convergence condition is satisfied (S1108: YES), the abnormality detection system 1E stores the parameters of the machine learning model to the training model database DB2E (S1112).
The abnormality detection system 1E acquires the data D50 from the sensor 51 (S2102), and stores the acquired data D50 in the storage 503 (S2103).
The abnormality detection system 1E reads the data D50 stored in the storage 503 into the memory 502 (S2104), and causes the feature data extraction unit 52 to extract the feature data D51 (S2105).
The abnormality detection system 1E causes the waveform determination unit 56 to determine the waveform pattern and the like (S2106), and causes the hyper parameter setting unit 57 to set the hyper parameter set in accordance with the determination result in the loss calculation unit (S2107).
The abnormality detection system 1E causes the loss calculation unit 54 to calculate the abnormality degree by a method according to properties of the target machine 2 (S2108). The abnormality detection system 1E causes the abnormality determination unit 55 to determine whether the calculated abnormality degree is larger than a predetermined threshold value (S2109).
When the calculated abnormality degree is larger than the predetermined threshold value (S2109: YES), the abnormality determination unit 54 determines that the target machine 2 is in the abnormal state (S2110). In contrast, when the calculated abnormality degree is equal to or less than the predetermined threshold value (S2109: NO), the abnormality determination unit 54 determines that the target machine 2 is in the normal state (S2111).
According to the present embodiment constituted in this manner, the hyper parameter set selected in accordance with the type of the target machine 2 can be set in the loss calculation unit 54, and thus the abnormality of the target machine 2 can be detected more appropriately.
In the present embodiment, the robustness is determined according to a degree of change in the physical quantities measured for the target machine 2 (whether the physical quantities are stationary or non-stationary, whether noise is mixed, or the like) , and thus it is possible to detect the abnormality according to the properties of the target machine 2.
The present embodiment can be combined with the first to the fifth embodiments. For example, also in the present embodiment, the first sensor and the second sensor may be used as in the first embodiment. A value of the second sensor may be estimated using a part of the latent expressions obtained from the first sensor.
The invention is not limited to the above embodiments, and includes various modifications. For example, the embodiments described above have been described in detail for easy understanding of the invention, and are not necessarily limited to those including all the configurations described above. A part of a configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. In addition, a part of the configuration of each embodiment may be added to, deleted from, or replaced with another configuration.
Each constituent element of the invention can be arbitrarily selected, and inventions having the selected configuration are also included in the invention. Further, configurations described in claims can be combined with combinations other than those explicitly described in the claims.
Number | Date | Country | Kind |
---|---|---|---|
2021-098665 | Jun 2021 | JP | national |