Anomaly detection processing device, anomaly detection processing method, and anomaly detection processing program
By converting time-series data into frequency bands and applying matrix decomposition, the method improves anomaly detection accuracy in machine tools by extracting key features, addressing the issue of obscured small features in frequency-domain data.
Patent Information
- Application Number
- JP2023025280
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-09-02
- Estimated Expiration
- 2043-02-21
AI Technical Summary
Existing anomaly detection methods in machine tools fail to accurately detect abnormalities due to relatively small features being obscured by large features in frequency-domain data, leading to inadequate classification processing.
The method involves converting time-series data to the frequency domain, dividing it into multiple frequency bands, generating feature quantities using matrix decomposition, and performing learning and classification processing on these features to extract characteristic locations without obscuring them.
This approach enhances classification accuracy by extracting relevant frequency bands with high signal component strength, improving the detection of anomalies in machine tools.
Smart Images

Figure 2024118788000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an abnormality detection processing device, an abnormality detection processing method, and an abnormality detection processing program, and is suitable for use, for example, in determining the time to replace consumable parts in a machine tool based on an acoustic signal obtained from the machine tool. [Background technology]
[0002] Conventionally, a technique is known in which time-series data generated continuously, such as an acoustic signal obtained from a machine tool, is used to classify the data into a plurality of classes by performing learning and classification processes. Specifically, for example, a classification model can be generated by performing learning processes using a portion of the time-series data as teacher data, and the remaining time-series data can be used as evaluation data to perform classification processes using the classification model.
[0003] Also, for example, in learning processing or classification processing, a method has been proposed in which time-series data is converted from the time domain to the frequency domain, and features are extracted using dimensionality reduction and matrix calculation processing, etc., thereby appropriately reducing the amount of calculation while appropriately performing processing such as anomaly detection, which is a form of classification processing (for example, see Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2021-135892 A (Fig. 8, etc.) Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the above-mentioned learning process and classification process, in the data converted into the frequency domain, there are cases where a relatively large feature appears at a certain frequency and a relatively small feature indicating an abnormality appears at another frequency. In such a case, in the learning process and classification process, as the number of dimensions is reduced, the relatively large feature can be extracted as a feature amount, but the relatively small feature is buried, so there is a problem that appropriate classification process cannot be performed and an abnormality cannot be detected.
[0006] The present invention has been made in consideration of the above points, and aims to propose an anomaly detection processing device, an anomaly detection processing method, and an anomaly detection processing program that are capable of detecting anomalies with high accuracy based on data. [Means for solving the problem]
[0007] In order to solve this problem, the anomaly detection processing device of the present invention includes a data acquisition unit that acquires multiple data from a measurement target, a conversion unit that converts the data from the time domain to the frequency domain, a frequency division unit that divides the data converted to the frequency domain into multiple frequency bands, a feature generation unit that generates multiple feature quantities represented by matrices based on each of the data divided into the multiple frequency bands, a feature linking unit that links the multiple feature quantities together, a parameter generation unit that performs a learning process based on the linked feature quantities and generates classification model parameters, and a classification unit that performs classification processing based on the linked feature quantities generated based on the data and the classification model parameters.
[0008] Furthermore, the anomaly detection processing method of the present invention includes a data acquisition step of acquiring multiple data from a measurement object, a conversion step of converting the data from the time domain to the frequency domain, a frequency division step of dividing the data converted to the frequency domain into multiple frequency bands, a feature generation step of generating multiple feature values represented by a matrix based on each of the data divided into the multiple frequency bands, a feature linking step of linking the multiple feature values to each other, a parameter generation step of performing a learning process based on the linked feature values and generating classification model parameters, and a classification step of performing classification processing based on the linked feature values generated based on the data and the classification model parameters.
[0009] Furthermore, in the anomaly detection processing program of the present invention, the information processing device is caused to execute a data acquisition step of acquiring multiple data from a measurement target, a conversion step of converting the data from the time domain to the frequency domain, a frequency division step of dividing the data converted to the frequency domain into multiple frequency bands, a feature generation step of generating multiple feature values represented by a matrix based on each of the data divided into the multiple frequency bands, a feature linking step of linking the multiple feature values to each other, a parameter generation step of performing a learning process based on the linked feature values and generating classification model parameters, and a classification step of performing classification processing based on the linked feature values generated based on the data and the classification model parameters.
[0010] In the present invention, data converted into the frequency domain is divided into a plurality of frequency bands, and then feature quantities are generated based on each divided data, which are then linked and subjected to learning and classification processes. Therefore, in the present invention, characteristic portions with relatively high signal component strength in each frequency band can be extracted without being buried, and as a result, the accuracy of classification can be improved. Effect of the Invention
[0011] According to the present invention, it is possible to realize an anomaly detection processing device, an anomaly detection processing method, and an anomaly detection processing program that can accurately detect anomalies based on data. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a schematic block diagram showing a basic configuration of a learning and classification device. [Diagram 2] 1 is a schematic block diagram showing a functional configuration of a learning and classification device according to a first embodiment. [Diagram 3] 11 is a schematic diagram illustrating identification of a target section by a section identification unit; [Figure 4] FIG. 2 is a schematic diagram showing division of frequency bands. [Diagram 5] FIG. 1 is a schematic diagram showing matrix decomposition by NMF. [Figure 6] 11 is a schematic diagram showing a reduction in the amount of processing by reducing dimensions; [Figure 7] FIG. 2 is a schematic diagram showing division of domains with respect to frequency and time. [Figure 8] 1 is a flowchart showing a learning classification processing procedure according to the first exemplary embodiment. [Figure 9] 4 is a flowchart showing a learning process procedure according to the first embodiment. [Figure 10] 1 is a flowchart showing a classification processing procedure according to the first embodiment. [Figure 11] FIG. 11 is a schematic block diagram showing a functional configuration of a learning and classification device according to a second embodiment. [Figure 12] 13 is a flowchart showing a learning process procedure according to the second embodiment. [Figure 13] 13 is a flowchart showing a classification processing procedure according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, modes for carrying out the invention (hereinafter referred to as embodiments) will be described with reference to the drawings.
[0014] 1. First embodiment [1-1. Basic configuration of anomaly detection processing device] As shown in FIG. 1, the anomaly detection processing device 1 according to the first embodiment is an information processing device similar to a general computer device, and is configured such that a control unit 2, a memory unit 3, a communication unit 4, a display unit 5 and an operation unit 6 are interconnected via a bus 8.
[0015] The control unit 2 has a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), etc. (not shown). The control unit 2 can perform various processes by using the CPU to execute programs read from the ROM, the storage unit 3, etc. while using the RAM as a work area. The storage unit 3 is a non-volatile storage medium such as a solid state drive (SSD) or a hard disk drive (HDD), and stores various programs and various information.
[0016] The communication unit 4 is an interface for a wired LAN (Local Area Network) conforming to standards such as IEEE (Institute of Electrical and Electronics Engineers) 802.3u / ab / an / ae, or a wireless LAN conforming to standards such as IEEE 802.11a / b / g / n / ac / ax, etc. This communication unit 4 can transmit and receive various information to and from a server device (not shown) and the like.
[0017] The display unit 5 has a display device such as a liquid crystal or an organic EL (Electro Luminescence) display device, and displays a display screen that appropriately combines characters and figures that represent various information. The operation unit 6 is, for example, a keyboard, a mouse, or a touch panel, and receives operation instructions from a user.
[0018] This anomaly detection processing device 1 is intended to be used, for example, to detect the occurrence of an anomaly in a machine tool by sequentially acquiring time-series data that is generated continuously, such as an acoustic signal obtained from the machine tool, and performing the learning process and classification process described below.
[0019] [1-2. Functional configuration of the learning classification device] The control unit 2 forms various functional blocks as shown in FIG. 2 by, for example, reading out various programs from the storage unit 3 and executing them.
[0020] The data acquiring unit 11 acquires time-series data and supplies it to the section identifying unit 12. For example, the data acquiring unit 11 measures a cutting tool attached to a machine tool, collects sounds generated when the cutting tool is in use using a microphone or the like, and acquires the digitalized acoustic signals as time-series data. Hereinafter, the data acquired at this time will be referred to as time-series data.
[0021] The interval specification unit 12 specifies, as a target interval, a time interval to be processed in the generation process of classification model parameters and classification process described later, from the time series data, and supplies this to the preprocessing unit 13 together with the time series data.
[0022] 3A and 3B, the section determination unit 12 uses a predetermined reference signal D2 prepared in advance in addition to time-series data D1 whose amplitude changes over time. The reference signal D2 is a signal whose amplitude changes in a rectangular shape, and has an amplitude value P in a section T that is relatively larger than in other sections. Based on the time-series data D1 and the reference signal D2, the section determination unit 12 determines, as a target section, a section of the time-series data D1 corresponding to the section T in which the amplitude of the reference signal D2 becomes the amplitude value P.
[0023] The pre-processing unit 13 (FIG. 2) performs a calculation process called pre-processing on the part of the time series data supplied from the interval identification unit 12 that corresponds to the target interval, and generates frequency data consisting of a non-negative observation vector converted into the frequency domain, or an observation matrix in which multiple such observation vectors are arranged (this will be described in detail later).
[0024] Moreover, the pre-processing unit 13 generates a plurality of divided data by dividing the frequency data into a plurality of frequency bands. Fig. 4(A) shows the frequency data as a spectrogram, in which the vertical axis represents frequency and the horizontal axis represents time, and the intensity of the signal component is represented by color. Here, the entire frequency range is assumed to be 0 to 2000 [Hz]. Also, in Fig. 4(A), the portion where the intensity of the signal component is relatively weak is represented by a light color (light color) close to white, and the portion where the intensity of the signal component is relatively strong is represented by a dark color (dark color) close to black.
[0025] In Fig. 4(A), the intensity of the signal component is locally high at various frequencies. Also, even at frequencies where the intensity of the signal component is locally high relative to the surroundings, the intensity of the signal component (i.e., the brightness of the color in Fig. 4(A)) is not uniform, but varies.
[0026] FIG. 4B is a schematic diagram showing the range of each frequency band when dividing frequency data. As shown in FIG. 4B, in the preprocessing unit 13, eight frequency bands WB (WB1 to WB8) are provided from the low frequency side to the high frequency side. Each frequency band WB has a bandwidth of about 320 [Hz], and is set so that some frequencies overlap each other among the multiple frequency bands WB. For example, the frequency band WB1 has a band of 0 to 320 [Hz], and the frequency band WB2 has a band of 240 to 560 [Hz]. Therefore, the frequency band WB1 and the frequency band WB2 overlap in the 240 to 320 [Hz] portion.
[0027] 4(A) and (B), for example, frequency band WB1 contains many frequencies with extremely high signal component strength, whereas frequency band WB6 does not contain any frequencies with sufficiently high signal component strength, and only contains a few frequencies with signal component strengths that are relatively slightly high.
[0028] Then, the pre-processing unit 13 supplies the plurality of divided data thus divided for each frequency band WB to the teacher data processing unit 21 as teacher data, or to the feature extraction unit 26 as evaluation data.
[0029] The teacher data is the time-series data used in a later learning process, in which classification model parameters are generated based on the teacher data, and the evaluation data is the time-series data used in a later classification process (also called a judgment process), in which the evaluation data is classified into one of a plurality of classes using the classification model parameters.
[0030] Meanwhile, the condition setting unit 15 sets a learning completion condition, which is a condition for completing the learning process in the anomaly detection processing device 1 and transitioning to the classification process, in the learning completion determination unit 16. In this first embodiment, the learning completion condition is set in the learning completion determination unit 16 as "100 pieces of time series data have been acquired", that is, "100 pieces of time series data have been preprocessed and supplied to the teacher data processing unit 21 as teacher data".
[0031] The learning completion determination unit 16 determines whether or not to complete the learning process and move to the classification process, and controls the pre-processing unit 13 based on the determination result. Specifically, the learning completion determination unit 16 determines whether or not a learning completion condition is satisfied based on the observation matrix generated by the pre-processing unit 13. Then, the learning completion determination unit 16 controls the processing content in the pre-processing unit 13 and the supply destination of the observation matrix so as to continue the learning process if the learning completion condition is not satisfied, and to transition to the classification process if the learning completion condition is satisfied.
[0032] The teacher data processing unit 21 generates a teacher basis matrix and a teacher coefficient matrix by performing non-negative matrix factorization (hereinafter referred to as NMF) on teacher data (hereinafter referred to as teacher observation matrix), which is an observation matrix supplied from the pre-processing unit 13. The teacher data processing unit 21 also generates a teacher basis matrix and a teacher coefficient matrix by performing non-negative matrix factorization (hereinafter referred to as NMF) on teacher data (hereinafter referred to as teacher observation matrix), which is an observation matrix supplied from the pre-processing unit 13. Since there are a plurality of divided data corresponding to a plurality of frequency bands WB, the NMF process is performed on each of the divided data.
[0033] Here, we will explain NMF performed on one piece of divided data. NMF is an algorithm that decomposes one non-negative matrix Y into the product (e.g., WH) of two non-negative matrices W and H. Since it is generally difficult to analytically determine the two non-negative matrices W and H, a method is known in which an initial value is given and an approximate solution is iteratively determined so that the error between Y and WH becomes a local optimum. Note that the local optimum solution changes depending on the initial value.
[0034] Fig. 5 is a schematic diagram showing an example of the NMF process according to the present embodiment. As shown in Fig. 5, by NMF, for example, a non-negative observation matrix Y (teacher observation matrix or evaluation observation matrix) is decomposed into the product of a non-negative coefficient matrix W and a non-negative basis matrix H.
[0035] For example, the observation matrix Y is an n-row, m-column matrix in which the m-dimensional observation vector y becomes a row vector and the number of rows is equal to n, the number of target intervals in the time series data. On the other hand, the basis matrix H is, for example, a k-row, m-column matrix in which the m-dimensional basis vector h decomposed by applying NMF to the observation matrix Y becomes a row vector and the number of rows is equal to k, the number of basis vectors.
[0036] The coefficient matrix W is an n-by-k matrix, with k-dimensional coefficient vector w as a row vector, and n as many rows as the number of observation vectors. Here, the coefficient vector w is a row vector indicating the weighting value of how many components of each basis vector included in the basis matrix H are included in a certain observation vector.
[0037] As shown in FIG. 5, the following relationships exist between the above matrices:
[0038]
number
[0039] In the following, the teacher observation matrix Y L The basis matrix and coefficient matrix obtained by decomposing are called teacher basis matrix H L and teacher coefficient matrix W L It is called.
[0040] The teacher data processing unit 21 calculates the teacher observation matrix Y L Apply NMF to obtain the teacher basis matrix H L and teacher coefficient matrix W L Specifically, the teacher data processing unit 21 first obtains the teacher observation matrix Y L Next, the teacher data processing unit 21 calculates a teacher basis matrix H by using a vector or matrix H obtained by decomposing the data set. L Generate.
[0041] Teacher basis matrix H L Based on the teacher observation matrix Y L The coefficient matrix generated from the teacher coefficient matrix W L Then, from equation (1), the teacher observation matrix Y L , teacher coefficient matrix W L , and the teacher basis matrix H L The relationship is expressed as the following equation (2).
[0042]
number
[0043] According to the above formula (2), the teacher coefficient matrix W L To obtain this, we use the teacher basis matrix H L However, it is necessary to use the inverse matrix of the teacher basis matrix H LSince it is not generally a regular matrix, it may not have an inverse matrix. Therefore, the teacher data processing unit 21 generates, for example, the teacher coefficient matrix W based on the pseudo-inverse matrix (Moore-Penrose pseudo-inverse matrix) of the teacher basis matrix. L may be generated. The pseudo-inverse matrix H of the teacher basis matrix H L is a k×m matrix, and generally k < m. For this reason, the pseudo-inverse matrix H L + is obtained by the following equation (3). L + Using the pseudo-inverse matrix H
[0044]
Equation
[0045] obtained in the above equation (3), the teacher coefficient matrix W L + is expressed as the following equation (4). L
Equation
[0046]
Equation
[0047] The teacher data processing unit 21 performs such arithmetic processing on the teacher data of each frequency band WB, and generates the teacher basis matrix H L of each frequency band WB respectively. Then, the teacher data processing unit 21 stores the generated teacher basis matrix H L of each frequency band WB in the teacher data storage unit 22 shown in FIG. 2, and supplies the teacher coefficient matrix W L to the feature concatenation unit 23. The feature concatenation unit 23 generates one teacher coefficient matrix W L by concatenating the teacher coefficient matrices W L of each frequency band in sequence, and supplies this to the parameter generation unit 24.
[0048] The parameter generation unit 24 uses the teacher coefficient matrix W LBased on this, the classification model parameters for classifying the time-series data are generated. The classification model parameters generated by the parameter generation unit 24 can be parameters according to a classification model in the classification unit 27 described later. For example, when the classification unit 27 performs threshold discrimination, the classification model parameters may be thresholds. When the classification unit 27 performs linear discrimination, the classification model parameters may be coefficients of a linear discriminant function that determines class boundaries. When the classification unit 27 performs quadratic discrimination, the classification model parameters may be coefficients of a quadratic discriminant function that determines class boundaries.
[0049] The parameter generating unit 24 stores the classification model parameters thus generated in the parameter storage unit 25.
[0050] The feature extraction unit 26 extracts the teacher basis matrix H L Based on this, an evaluation coefficient matrix is generated from the evaluation data (hereinafter, referred to as an evaluation observation matrix) supplied from the preprocessing unit 13. A specific example of generation of the evaluation coefficient matrix by the feature extraction unit 26 will be described below.
[0051] Teacher basis matrix H L Based on the evaluation observation matrix Y T The coefficient matrix generated from is the evaluation coefficient matrix W T Then, from the above equation (1), the evaluation observation matrix Y T , evaluation coefficient matrix W T and the teacher basis matrix H L The relationship is expressed as the following equation (5).
[0052]
number
[0053] In addition, the pseudo-inverse matrix H obtained in the same manner as in (3) above L + Using the above, the evaluation coefficient matrix W T is expressed as the following equation (6).
[0054]
number
[0055] The feature extraction unit 26 extracts such an evaluation coefficient matrix W T and supplies these to the feature amount connection unit 23. The feature amount connection unit 23 generates the evaluation coefficient matrix W T By sequentially arranging and concatenating them, a single evaluation coefficient matrix W T and supplies this to the classification unit 27.
[0056] The classification unit 27 calculates the evaluation coefficient matrix W T The classification unit 27 classifies the evaluation coefficient matrix W T The coefficient vector included in is used as a feature vector, and for example, a threshold discrimination is used as a classification model, and classification is performed based on a classification model parameter corresponding to the classification model. The classification result by the classification unit 27 is expressed as an evaluation coefficient matrix W T It is also a classification result of the target section in the time series data corresponding to each coefficient vector. In other words, this classification result represents the classification result of the state of the object to be measured at the time when the time series data was obtained according to the degree of difference from the normal state (i.e., the degree of abnormality).
[0057] In the anomaly detection processing device 1, by using the coefficient vector indicating the weight for the basis matrix as a feature vector as described above for classification, it is possible to improve classification accuracy compared to, for example, classification based on the magnitude of the power of a specific frequency.
[0058] In addition, in the anomaly detection processing device 1, compared to a case where classification processing is performed using the evaluation data itself, the evaluation coefficient matrix W TBy performing classification processing using the above formula, the dimension of the feature vector in the classification processing can be reduced, so that the amount of processing in the classification processing can be reduced.
[0059] FIG. 6 is a schematic diagram for explaining the reduction of dimensions. As shown in FIG. 6, the evaluation data D10, which is a power spectrum, is expressed as the sum of the product of the basis vector D11 and the coefficient w1 and the product of the basis vector D12 and the coefficient w2 by the processing of the NMF or the feature extraction unit 26. In the example of FIG. 6, when the evaluation data D10 is classified as a feature vector, the processing in the dimension according to the frequency resolution of the evaluation data D10 is required. On the other hand, in the example of FIG. 6, the dimension of the coefficient vector is 2. As described above, since the number of dimensions of the coefficient vector is smaller than the dimension of the evaluation data D10, the dimension of the feature vector in the classification processing is reduced by performing the classification processing using the evaluation coefficient matrix WT, and the processing amount of the classification processing can be suppressed.
[0060] The output unit 28 (FIG. 2) outputs the classification result by the classification unit 27. The output unit 28 creates a predetermined display screen showing the classification result, such as information by characters or figures relating to the occurrence of an abnormality in the measurement object, and displays it on the display unit 5 (FIG. 1) to notify the user.
[0061] Next, a description will be given of the configuration of the preprocessing unit 13. The preprocessing unit 13 has a plurality of internal functional blocks, such as a conversion unit 31, a data division unit 32, a degree of separation evaluation unit 33, and a frequency division unit .
[0062] The conversion unit 31 converts the portion of the time series data included in the target section from a time representation to a frequency representation. For example, the conversion unit 31 performs conversion processing such as Fourier transform processing, fast Fourier transform processing, and wavelet transform processing on the portion of the acquired data included in the target section to generate a non-negative observation vector. The conversion unit 31 also generates a non-negative observation matrix by arranging a plurality of these non-negative observation vectors.
[0063] In the following, data that represents the relationship between time, frequency, and amplitude, such as power spectra and spectrograms obtained from time-series data by Fourier transform, and scalograms obtained by wavelet transform, are collectively referred to as time-frequency-amplitude data. Time-frequency-amplitude data may be expressed as data that indicates amplitude values in the frequency domain and the time domain, for example.
[0064] The data division unit 32 divides the time-frequency-amplitude data (i.e., non-negative observation vectors or non-negative observation matrices) converted by the conversion unit 31 in the frequency domain and the time domain, respectively. The separability evaluation unit 33 evaluates each domain by applying non-negative matrix factorization (NMF) to each of the divided data, and selects data of the domain with a good evaluation result. That is, if the learning process is being executed, the separability evaluation unit 33 selects the data of the domain to use as teacher data, and if the separation process is being executed, the separability evaluation unit 33 selects the data of the domain to use as evaluation data.
[0065] Here, the division of time-frequency-amplitude data by the data division unit 32 and the selection (identification) of regions by the separability evaluation unit 33 will be described with reference to Fig. 7. In Fig. 7, the horizontal axis represents time and the vertical axis represents frequency, and a region A0 representing the whole is divided into two regions in terms of time and frequency, thereby being divided into four regions A1, A2, A3, and A4. The separability evaluation unit 33 applies NMF to each of the divided data, and obtains basis matrices and coefficient matrices at a certain number of ranks. Note that the time-frequency-amplitude data may be converted into a one-dimensional column vector in order to apply NMF.
[0066] In the following, it is assumed that a preliminary experiment has been conducted in advance and two classes, class C1 and class C2, have been set by so-called supervised learning. First, the data division unit 32 divides the basis matrix H C1,A1 , H C1,A2 , H C1,A3 , H C1,A4 and the coefficient matrix W C1,A1 , WC1,A2 , W C1,A3 , W C1,A4 Next, the data division unit 32 similarly generates a basis matrix H C2,A1 , H C2,A2 , H C2,A3 , H C2,A4 and the coefficient matrix W C2,A1 , W C2,A2 , W C2,A3 , W C2,A4 where rank, which indicates the number of bases to be decomposed, ranges from 1 to the number of dimensions of the original data.
[0067] Next, the separation evaluation unit 33 specifies the separation (also called evaluation value) indicating the classification ability in each divided time domain and frequency domain. As an index indicating the separation, for example, the accuracy rate of class classification (discrimination) may be used.
[0068] In the following, an example will be described in which the classification accuracy rate of class C1 or class C2 is used as an index indicating the degree of separation of class C1 or class C2 in area A0. First, the separation degree evaluation unit 33 evaluates the basis matrices H C1,A1 , H C2,A1 The common basis matrix H C1-C2,A1 ={H C1,A1 ,H C2,A1} is obtained. The data Y of the original class C1 C1,A0 , Class C2 Data Y C2,A0 H C1-C2,A1 The pseudoinverse matrix H C1-C2,A1 + By multiplying by C1,A0 , W C2,A0 is obtained as shown in the following equations (7) and (8).
[0069]
number
[0070]
number
[0071] The separation evaluation unit 33 evaluates the coefficient matrix W C1,A0 , W C2,A0 are classified as feature vectors of class C1 and class C2, respectively, and the classification accuracy rate is calculated. The classification method performed by the separation degree evaluation unit 33 may be the same as the classification method of the classification unit 27 described with reference to FIG.
[0072] As another index of the degree of separation, the ratio of within-class variance to between-class variance may be used. w 2 and between-class variance σ B 2 is expressed as the following equations (9) and (10).
[0073]
number
[0074]
number
[0075] In the above formulas (9) and (10), n is the total number of data, i is the number of data in class i, x is the feature vector, m i is the mean of the feature vectors of class i, and m is the mean of all feature vectors. The above intra-class variance σ w 2 and between-class variance σ B 2 Using this, the within-class to between-class variance ratio J is expressed as follows (11).
[0076]
number
[0077] It is considered that the larger the within-class / between-class variance ratio J is, the greater the degree of separation is, and the better the feature is. Note that the index indicating the degree of separation is not limited to the above, and for example, the Mahalanobis distance may be used.
[0078] As described above, the separation evaluation unit 33 obtains the degree of separation in each of the four regions A1, A2, A3, and A4, and if the value of the separation is equal to or greater than a preset threshold L, it similarly obtains the degree of separation using the time domain / frequency domain data combining these regions. For example, if the separation in regions A1 and A3 is equal to or greater than the threshold L, the separation evaluation unit 33 obtains the degree of separation using the feature quantities obtained in the time domain / frequency domain of regions A1 and A3, respectively. As described above, by using data obtained from multiple regions with high separation, it is possible to obtain feature quantities with higher separation.
[0079] In the learning process, the separation degree evaluation unit 33 identifies the time domain / frequency domain data with the highest separation degree as teacher data (teacher observation matrix). The separation degree evaluation unit 33 also sets the time domain / frequency domain data identified as the teacher data as evaluation data (evaluation observation matrix). Hereinafter, the region identified at this time will be referred to as a specific region.
[0080] The frequency division unit 34 divides the teacher data or evaluation data identified by the separation degree evaluation unit 33 for each frequency band WB shown as frequency bands WB1 to WB8 in Fig. 4 to generate a plurality of divided data. Then, the frequency division unit 34 supplies each of the generated divided data to the teacher data processing unit 21 as teacher data, or supplies it to the feature extraction unit 26 as evaluation data.
[0081] [1-3. Processing Procedure] Next, a learning and classification process will be described in which the anomaly detection processing device 1 (FIGS. 1 and 2) performs learning processing using time-series data and then performs classification processing. Note that it is assumed that the anomaly detection processing device 1 has been experimented before operation to set appropriate classes, identify appropriate specific regions, and select appropriate division numbers and division positions (time and frequency) in the time domain and frequency domain, respectively.
[0082] [1-3-1. Learning and classification process] Prior to the start of the learning and classification process, when a predetermined operation is performed by the user via the operation unit 6, the control unit 2 of the anomaly detection processing device 1 stores a learning completion condition in the storage unit 3. This learning completion condition is a condition set in advance by the user for completing the learning process, and here, for example, it is assumed that "100 pieces of time-series data have been acquired" is set.
[0083] Thereafter, when the user instructs the control unit 2 to start the learning classification process, the control unit 2 reads out a learning classification program from the memory unit 3 and executes it to form each functional block shown in FIG. 2, and also starts the learning classification process procedure RT1 shown in FIG. 8, proceeding to the first step SP1.
[0084] In step SP1, the control unit 2 causes the condition setting unit 15 to read out the learning completion condition "100 pieces of time-series data have been acquired" from the storage unit 3, and sets this in the learning completion determination unit 16, and then proceeds to the next step SP2.
[0085] In step SP2, the control unit 2 performs a learning process as a subroutine as described below, and proceeds to the next step SP3. At this time, the control unit 2 repeatedly performs a process of acquiring time-series data in this learning process until a learning completion condition is satisfied. Then, the control unit 2 obtains a teacher basis matrix H L and teacher coefficient matrix W L and generate the teacher basis matrix H L is stored as teacher data in the teacher data storage unit 22 (FIG. 2), and the teacher coefficient matrix W L The classification model parameters are generated based on the above and stored in the parameter storage unit 25.
[0086] In step SP3, the control unit 2 performs classification processing as a subroutine as described below, and proceeds to the next step SP4. At this time, the control unit 2 obtains one item of time series data in one classification processing, obtains and outputs a classification result for evaluation data obtained by performing preprocessing on this time series data.
[0087] In step SP4, the control unit 2 judges whether or not the classification process has been completed for all the time series data that was not used in the learning process. If a negative result is obtained here, this indicates that there is still time series data to be classified. In this case, the control unit 2 returns to step SP3 again to perform classification process for the remaining time series data. On the other hand, if a positive result is obtained in step SP4, the control unit 2 proceeds to the next step SP5 and ends the learning classification process procedure RT1.
[0088] [1-3-2. Learning process] Next, the learning process will be described. In step SP2 of the learning classification process procedure RT1 (FIG. 8), the control unit 2 of the anomaly detection processing device 1 executes a learning process procedure RT2 shown in FIG. 9 as a subroutine, and proceeds to the first step SP11.
[0089] In step SP11, the control unit 2 acquires one piece of time series data using the data acquisition unit 11 (FIG. 2), and proceeds to the next step SP12. In step SP12, the control unit 2 identifies a part of the time series data as a target section using the section identification unit 12 (FIG. 2), and proceeds to the next step SP13.
[0090] In step SP13, the control unit 2 determines, by the learning completion determination unit 16, whether or not the learning completion condition set in the condition setting unit 15 is satisfied, i.e., whether or not 100 pieces of time-series data have been acquired. If a negative result is obtained here, the control unit 2 returns to step SP11 again, and repeats the acquisition of time-series data and the identification of the target section.
[0091] On the other hand, if a positive result is obtained in step SP13, this indicates that a sufficient amount of training data has already been acquired, and training data and classification model parameters should be generated based on this. In this case, the control unit 2 proceeds to the next step SP14.
[0092] In step SP14, the control unit 2 generates a non-negative observation matrix by performing Fourier transform processing on the time series data using the conversion unit 31 (FIG. 2) of the pre-processing unit 13, and proceeds to the next step SP15. In step SP15, the control unit 2 divides the data converted by the conversion unit 31 into the time domain and the frequency domain using the data division unit 32 (FIG. 2) of the pre-processing unit 13, and proceeds to the next step SP16.
[0093] In step SP16, the control unit 2 uses the separation evaluation unit 33 of the pre-processing unit 13 to identify the data in the region with the highest separation degree as teacher data, and proceeds to the next step SP17. In step SP17, the control unit 2 uses the frequency division unit 34 of the pre-processing unit 13 to divide the teacher data into each of the frequency bands WB1 to WB8 (FIG. 4), supplies each of the divided teacher data to the teacher data processing unit 21, and proceeds to the next step SP18.
[0094] In step SP18, the control unit 2 applies NMF to each of the divided teacher data by the teacher data processing unit 21 (FIG. 2) to obtain each teacher basis matrix H L (i.e., feature quantities) are generated and stored in the teacher data storage unit 22, and a teacher coefficient matrix W for each frequency band WB is generated. L and supplies it to the feature amount linking unit 23, and then the process proceeds to the next step SP19.
[0095] In step SP19, the control unit 2 uses the feature amount linking unit 23 (FIG. 2) to link the teacher coefficient matrix W L These are concatenated to generate a feature quantity, which is then supplied to the parameter generating unit 24, and the process proceeds to the next step SP20.
[0096] In step SP20, the control unit 2 generates the feature quantity (i.e., the linked teacher coefficient matrix W L ), the control unit 2 generates classification model parameters for classifying the time-series data, stores the generated parameters in the parameter storage unit 25, and proceeds to the next step SP21. In step SP21, the control unit 2 ends the learning procedure RT2, and returns to step SP2 of the original learning classification procedure RT1 (FIG. 8).
[0097] [1-3-3. Classification process] Next, the classification process will be described. In step SP3 of the learning classification process procedure RT1 (FIG. 8), the control unit 2 of the anomaly detection processing device 1 executes a classification process procedure RT3 shown in FIG. 10 as a subroutine, and proceeds to the first step SP31.
[0098] In steps SP31, SP32, SP33, and SP34, the control unit 2 performs the same processes as steps SP21, SP22, SP24, and SP25 of the learning procedure RT2 (FIG. 9) on the time series data. That is, the control unit 2 acquires the time series data, identifies the target section, performs Fourier transform processing, divides it into the time domain and the frequency domain, and proceeds to the next step SP35.
[0099] In step SP35, the control unit 2 supplies the data of the specific region as evaluation data to the frequency division unit 34 by the separation evaluation unit 33 of the pre-processing unit 13, and proceeds to the next step SP36. In step SP36, the control unit 2 divides the evaluation data into each of the frequency bands WB1 to WB8 (FIG. 4) by the frequency division unit 34 (FIG. 2) of the pre-processing unit 13, supplies each of the divided evaluation data to the feature extraction unit 26, and proceeds to the next step SP37.
[0100] In step SP37, the control unit 2 extracts the teacher basis matrix H L Based on the evaluation coefficient matrix W TIn step SP38, the control unit 2 generates an evaluation coefficient matrix W for each frequency band WB corresponding to one piece of time-series data by using the feature amount linking unit 23 (FIG. 2). T are concatenated to obtain a feature quantity, which is then supplied to the classification unit 27, and the process proceeds to the next step SP39.
[0101] In step SP39, the control unit 2 uses the classification unit 27 (FIG. 2) to generate a linked evaluation coefficient matrix W T A classification process is performed using the coefficient vector included in the above as a feature vector to obtain a classification result based on the degree of abnormality, and the process proceeds to the next step SP40.
[0102] In step SP40, the control unit 2 generates a display screen showing information about anomalies according to the classification result by the output unit 28 (FIG. 2), outputs this by displaying it on the display unit 5 (FIG. 1), and then proceeds to the next step SP41. In step SP41, the control unit 2 ends the classification processing procedure RT3, and returns to step SP3 of the original learning classification processing procedure RT1 (FIG. 8).
[0103] [1-4. Effects, etc.] In the above configuration, the anomaly detection processing device 1 according to the first embodiment converts time-series data into a non-negative observation matrix in the learning process, divides teacher data generated based on this into a plurality of frequency bands WB, applies NMF to each of the divided teacher data, and generates and stores classification model parameters based on features obtained by concatenating the obtained coefficient matrices ( FIG. 9 ).
[0104] In addition, in the classification process, the anomaly detection processing device 1 converts the time-series data into a non-negative observation matrix, divides the evaluation data generated based on this into multiple frequency bands WB, applies NMF to each of the divided evaluation data, and obtains a classification result based on the feature values and classification model parameters obtained by concatenating the obtained coefficient matrix ( FIG. 10 ).
[0105] Therefore, the anomaly detection processing device 1 can effectively extract frequencies from the teacher data and the evaluation data in which the strength of the signal components is not necessarily high within the entire frequency range, but is relatively high within each divided frequency band WB. Specifically, the anomaly detection processing device 1 can extract frequencies in which the strength of the signal components is slightly higher (i.e., slightly darker) than the surroundings, such as the frequency band WB6 in the spectrogram shown in Fig. 4. This allows the anomaly detection processing device 1 to improve the accuracy of the classification model parameters generated in the learning process and to improve the accuracy of the feature quantities generated in the classification process, ultimately obtaining good classification results.
[0106] Furthermore, the anomaly detection processing device 1 sets the ranges of each frequency band WB so that some frequencies overlap with each other (Fig. 4). Therefore, even if characteristic signal components are included near the boundaries of each frequency band WB, the anomaly detection processing device 1 can reliably extract them without missing any.
[0107] Furthermore, in the early learning process, the anomaly detection processing device 1 sequentially processes the time series data, and when the learning completion condition is satisfied, generates classification model parameters and terminates the learning process, and in the later classification process, performs classification processing on the remaining time series data using the classification parameters.
[0108] Therefore, by appropriately setting the learning completion conditions, the anomaly detection processing device 1 can terminate the previous learning process at an appropriate stage when a necessary and sufficient number of time-series data has been acquired, that is, at a stage when an appropriate number of teacher data can be generated, and generate classification model parameters suitable for classification processing.
[0109] Therefore, if the anomaly detection processing device 1 can sequentially acquire time-series data, it can automatically switch from the learning process to the separation process. This eliminates the need for a user to be present during the learning process, for example, and to perform cumbersome tasks such as checking the teacher data and classification model parameters while judging the timing to complete the learning process.
[0110] For example, when the anomaly detection processing device 1 is installed near a machine tool, it sequentially acquires sounds generated from the machine tool as time series data, and generates classification model parameters using time series data based on sounds generated during normal operation as teacher data until a learning completion condition set appropriately is met in the previous learning process. After that, the anomaly detection processing device 1 performs classification processing using the time series data based on the generated sounds as evaluation data, and if the evaluation data is in the same class as the teacher data, it determines that the machine tool is operating normally, and if the evaluation data is in a different class, it determines that an abnormality in the machine tool, such as wear or deterioration of consumable parts, has occurred. As a result, the anomaly detection processing device 1 can appropriately determine the replacement time of consumable parts in the machine tool without requiring human labor, and notify the user. Furthermore, for example, when the life of a consumable part can be predicted to some extent, erroneous classification can be reliably prevented by setting the number of time series data corresponding to a time sufficiently shorter than this life as the learning completion condition.
[0111] In addition, in the anomaly detection processing device 1, the data is divided into a plurality of regions in frequency and time by the data division unit 32 and the separation evaluation unit 33 (FIG. 2) of the preprocessing unit 13 (FIG. 7), and data in a specific region where a high degree of separation is obtained is used as teacher data or evaluation data. Therefore, the anomaly detection processing device 1 can perform highly accurate separation processing, with the characteristics of the data being well expressed, compared to a case where all regions are used as teacher data or evaluation data without division. In addition, in the anomaly detection processing device 1, the amount of calculation can be reduced as the number of regions is reduced, and the processing load can also be reduced.
[0112] Furthermore, in the anomaly detection processing device 1, the teacher data processing unit 21 calculates the teacher observation matrix Y L By applying NMF to L and teacher coefficient matrix W L Of these, the teacher basis matrix H L is stored as training data, and the training coefficient matrix W LThe classification model parameters are generated based on the above. This allows the anomaly detection processing device 1 to improve classification accuracy compared to a case where classification is based on the power of a specific frequency, for example.
[0113] According to the above configuration, the anomaly detection processing device 1 according to the first embodiment divides the teacher data and evaluation data into a plurality of frequency bands WB in each of the learning process and the classification process, applies NMF to each divided teacher data and each evaluation data, and concatenates the obtained plurality of coefficient matrices before carrying out the subsequent process. As a result, the anomaly detection processing device 1 can reliably extract relatively high frequencies in each divided frequency band WB from the teacher data and the evaluation data, thereby improving the accuracy of the classification model parameters generated in the learning process and improving the accuracy of the feature quantities generated in the classification process, ultimately obtaining good classification results.
[0114] 2. Second embodiment [2-1. Configuration of the learning classification processing device] An anomaly detection processing device 201 (FIG. 1) according to the second embodiment differs from the anomaly detection processing device 1 according to the first embodiment in that it has a control unit 202 and a memory unit 203 instead of the control unit 2 and the memory unit 3, but is otherwise configured in the same way.
[0115] The control unit 202, like the control unit 2 according to the first embodiment, has a CPU, ROM, RAM, etc. (not shown) and executes various programs to perform various processes. The storage unit 203, like the storage unit 3 according to the first embodiment, is a non-volatile storage medium and stores various programs and various information, but the contents are partially different from those in the first embodiment.
[0116] The control unit 202 reads out various programs from the storage unit 203 and executes them to form various functional blocks as shown in Fig. 11, which corresponds to Fig. 2. The second embodiment differs from the first embodiment in that a feature compression unit 241 is provided between the feature connection unit 23 and the parameter generation unit 24 and classification unit 27, but is otherwise configured in the same way.
[0117] In the learning process, the feature compression unit 241 compresses the features supplied from the feature connection unit 23, specifically, the teacher coefficient matrix W L The feature compression unit 241 reduces the amount of data by performing a predetermined compression process on the feature data, and supplies the reduced feature data to the parameter generation unit 24. In the classification process, the feature compression unit 241 compresses the feature data supplied from the feature connection unit 23, specifically, the evaluation coefficient matrix W T The data volume is reduced by performing a predetermined compression process on the image data, and the reduced feature quantity is supplied to the classification unit 27.
[0118] In the feature compression unit 241, as a compression process, calculation processing based on a method such as principal component analysis (PCA), latent semantic analysis (LSA), linear discriminant analysis (LDA), or independent component analysis (ICA), etc. As a result, the feature compression unit 241 can reduce the amount of data by mainly reducing the number of dimensions related to the features.
[0119] [2-2. Learning and classification process] As in the first embodiment, the control unit 202 of the anomaly detection processing device 201 executes the learning and classification processing procedure RT1 (FIG. 8) after a predetermined learning completion condition is set in advance by a user. In this case, however, the control unit 202 executes a learning process procedure RT22 shown in FIG. 12 corresponding to FIG. 9 in step SP2, and executes a classification process procedure RT23 shown in FIG. 13 corresponding to FIG. 10 in step SP3.
[0120] [2-2-1. Learning process] First, the learning process will be described. In step SP2 of the learning classification process procedure RT1 (FIG. 8), the control unit 202 of the anomaly detection processing device 201 executes a learning process procedure RT22 (FIG. 12) as a subroutine, and proceeds to the first step SP211.
[0121] In steps SP211 to SP219, the control section 202 performs the processes of steps SP11 to SP19 of the learning processing procedure RT2 (FIG. 9), respectively, and then proceeds to the next step SP220.
[0122] As a result, the control unit 202 acquires one time series data, identifies a target section, performs Fourier transform processing, divides it into the time domain and the frequency domain, and then adopts the data of the specific domain identified in the previous experiment as teacher data. Furthermore, the control unit 202 divides this teacher data into multiple frequency bands WB (FIG. 4), applies NMF to each divided teacher data, and calculates a teacher coefficient matrix W for each frequency band WB. L These are then concatenated to create a single teacher coefficient matrix W L is generated and used as a feature.
[0123] In step SP220, the control unit 202 compresses the teacher coefficient matrix W L The amount of data is reduced by applying a predetermined compression process to the feature vector after compression (i.e., the teacher coefficient matrix W L ) to the parameter generating unit 24, and then the process moves to the next step SP221.
[0124] Thereafter, in step SP221, the control unit 202 generates classification model parameters in the same manner as in step SP20 of the learning procedure RT2 (FIG. 9), stores them in the parameter storage unit 25, and proceeds to the next step SP222. In step SP222, the control unit 202 ends the learning procedure RT22, and returns to step SP2 of the original learning classification procedure RT1 (FIG. 8).
[0125] [2-2-2. Classification process] Next, the classification process will be described. In step SP3 of the learning classification process procedure RT1 (FIG. 8), the control unit 202 of the anomaly detection processing device 201 executes a classification process procedure RT23 (FIG. 13) as a subroutine, and proceeds to the first step SP231.
[0126] In steps SP231 to SP238, the control section 202 performs the processes of steps SP31 to SP38 of the classification processing procedure RT3 (FIG. 10), and then proceeds to the next step SP239.
[0127] In this way, the control unit 202 acquires one time series data, specifies a target section, performs Fourier transform processing, divides the data into the time domain and the frequency domain, and then adopts the data in the specified domain as evaluation data. Furthermore, the control unit 202 divides the evaluation data into multiple frequency bands WB (FIG. 4), applies NMF to each of the divided evaluation data, and calculates an evaluation coefficient matrix W for each frequency band WB. T These are then concatenated to create a single evaluation coefficient matrix W T is generated and used as a feature.
[0128] In step SP239, the control unit 202 compresses the feature quantity, ie, the evaluation coefficient matrix W T The amount of data is reduced by performing a predetermined compression process on the feature vector after compression (i.e., the evaluation coefficient matrix W T ) to the classification unit 27, and then the process moves to the next step SP240.
[0129] Thereafter, in steps SP240 and SP241, the control unit 202 calculates the degree of abnormality based on the feature amount, performs classification processing based on this degree of abnormality, and causes the display unit 5 (FIG. 1) to display a display screen showing information related to the abnormality according to the classification result, and proceeds to the next step SP242. In step SP242, the control unit 202 ends the classification processing procedure RT23, and returns to step SP3 of the original learning classification processing procedure RT1 (FIG. 8).
[0130] [2-3. Effects, etc.] In the above configuration, the anomaly detection processing device 201 according to the second embodiment converts time-series data into a non-negative observation matrix in the learning process, divides teacher data generated based on this into a plurality of frequency bands WB, applies NMF to each of the divided teacher data, compresses features obtained by concatenating the obtained coefficient matrix, and generates classification model parameters based on this.
[0131] In addition, in the classification process, the anomaly detection processing device 201 converts the time-series data into a non-negative observation matrix, divides the evaluation data generated based on this into multiple frequency bands WB, applies NMF to each of the divided evaluation data, compresses the features obtained by concatenating the obtained coefficient matrix, and obtains a classification result based on this and the classification model parameters.
[0132] Therefore, similarly to the first embodiment, the anomaly detection processing device 201 can improve the accuracy of the classification model parameters generated in the learning process and can also improve the accuracy of the features generated in the classification process, thereby ultimately obtaining good classification results.
[0133] In particular, the anomaly detection processing device 201 performs compression processing on the generated feature quantities, and then performs processing to generate classification parameters and calculate the degree of anomaly, etc. Therefore, the anomaly detection processing device 201 can reduce the amount of calculation compared to the first embodiment, and can reduce the processing load and required storage capacity in the control unit 202, thereby enabling faster processing and a simpler configuration.
[0134] In other respects as well, the anomaly detection processing device 201 according to the second embodiment can achieve the same effects as the anomaly detection processing device 1 according to the first embodiment.
[0135] 3. Other embodiments In the above-mentioned first embodiment, with regard to the multiple frequency bands WB divided in the frequency division unit 34 (FIG. 2), a form has been described in which some frequencies overlap among the multiple frequency bands WB (FIG. 4). However, the present invention is not limited to this, and for example, the multiple frequency bands WB may be set so that their frequencies do not overlap. Also, for example, when there is a frequency that is known in advance to have no abnormality in the signal component, each frequency band WB may be set so as to exclude that frequency. The same applies to the second embodiment.
[0136] In the above-mentioned first embodiment, with regard to the multiple frequency bands WB divided in the frequency division unit 34 (FIG. 2), eight frequency bands WB are provided, and the bandwidth of each frequency band WB is unified to 320 [Hz] (FIG. 4). However, the present invention is not limited to this, and for example, seven or less or nine or more frequency bands WB may be provided, and the bandwidth of each frequency band WB may be different from each other. The same applies to the second embodiment.
[0137] Furthermore, in the above-mentioned first embodiment, with respect to the multiple frequency bands WB divided in the frequency division unit 34 (FIG. 2), a form has been described in which each frequency band WB is fixed within a preset range. However, the present invention is not limited to this, and for example, with respect to a combination of multiple frequency bands WB (hereinafter referred to as a frequency band division pattern), multiple frequency band division patterns in which the upper and lower limit values of each frequency band WB and the number of frequency bands WB are different from each other may be prepared in advance and switched between them. In this case, the frequency band division pattern may be switched based on, for example, a user's operation, or may be automatically switched according to the characteristics of the time series data. The same applies to the second embodiment.
[0138] Furthermore, in the second embodiment described above, the feature compression unit 241 (FIG. 11) compresses the feature supplied from the feature connection unit 23 (the teacher coefficient matrix W L Or the evaluation coefficient matrix W T ) is unconditionally compressed. However, the present invention is not limited to this. For example, the compression process may be performed only when a certain condition is satisfied, such as when the number of dimensions included in the feature exceeds a certain threshold.
[0139] Furthermore, in the above-described first embodiment, the classification process is performed after the completion of the learning process. However, the present invention is not limited to this. For example, after the completion of the learning process, the classification process is not performed, and the generated teacher basis matrix H L (teacher data) and teacher coefficient matrix W L , or the teacher coefficient matrix W L The classification model parameters generated based on the training data may be stored in the storage unit 3 or transmitted to a predetermined server for storage. The training data may be stored in a predetermined separation device, for example, and separation processing may be performed based on the training data. The same applies to the second embodiment.
[0140] Furthermore, in the above-mentioned first embodiment, the learning completion condition is described as "taking in 100 pieces of time series data". However, the present invention is not limited to this, and any number of pieces of time series data may be taken in, or time series data over a predetermined time range (for example, one minute) may be taken in. Furthermore, the learning completion condition may be, for example, "the variance of the teacher data is equal to or less than a predetermined threshold", using a statistical value (such as an average value or a standard deviation) or a value related to distribution. Alternatively, for example, the time series data may be divided into teacher data and evaluation data in advance, and after performing a learning process using the teacher data to generate classification model parameters, a classification process may be performed using the evaluation data. In this case, it is not necessary to set the learning completion condition, and the condition setting unit 15 and the learning completion determination unit 16 (FIG. 2) can be omitted. The same applies to the second embodiment.
[0141] Furthermore, in the above-mentioned first embodiment, the section identification unit 12 (FIG. 2) has been described as determining the section of the time series data D1 corresponding to the section T in which the amplitude in the reference signal D2 (FIG. 3) is the amplitude value P as the target section. However, the present invention is not limited to this, and the section identification unit 12 may determine the target section based on the magnitude of the amplitude in the time series data D1, for example. Specifically, the section in the time series data D1 in which the magnitude of the amplitude exceeds a predetermined threshold may be determined as the target section, or the section from a predetermined time before the time when the magnitude of the amplitude exceeds the predetermined threshold to a predetermined time after the time may be determined as the target section. The same applies to the second and third embodiments.
[0142] Furthermore, in the above-mentioned first embodiment, the data division unit 32 of the pre-processing unit 13 divides the time-frequency-amplitude data converted by the conversion unit 31 into two in each of the frequency domain and the time domain (FIG. 7). However, the present invention is not limited to this, and at least one of the frequency domain and the time domain may be divided into an arbitrary number of domains. In this case, the number of divisions in the frequency domain and the time domain may be different from each other, or may be the same. Furthermore, the division points in the frequency domain and the time domain can be set appropriately. The same applies to the second embodiment.
[0143] Further, in the above-mentioned first embodiment, the data division unit 32 of the preprocessing unit 13 performs the process of dividing the time-frequency-amplitude data into two in each of the frequency domain and the time domain only once (FIG. 7). However, the present invention is not limited to this, and for example, as shown in FIG. 7, data may be further divided recursively in each of the four domains A1, A2, A3, and A4. Specifically, for example, the domain A1 may be further divided into four domains A11, A12, A13, and A14. In this case, the separation evaluation unit 33 may obtain the separation degree for each of the divided data and data obtained by combining the divided data. Such recursive division may be repeated until the time domain and the frequency domain are divided into the smallest unit, or until the size of the divided data reaches a predetermined value. The same applies to the second embodiment.
[0144] Furthermore, in the above-mentioned first embodiment, the separation degree evaluation unit 33 of the preprocessing unit 13 calculates the separation degree using the class classification (discrimination) accuracy rate as an index for data of each region divided in terms of time and frequency, and a region where the separation degree is equal to or greater than a predetermined threshold value L is set as a specific region. However, the present invention is not limited to this, and the separation degree may be evaluated by various other methods. Also, the separation degree may be evaluated not only for all regions divided in terms of time and frequency, but only for some regions. Furthermore, the separation degree evaluation unit 33 may calculate the basis matrix and the coefficient matrix by various other methods without using NMF. The same applies to the second embodiment.
[0145] Furthermore, in the above-mentioned first embodiment, a form has been described in which in the pre-processing unit 13, the data dividing unit 32 divides regions in terms of time and frequency, and the separation degree evaluation unit 33 evaluates the separation degree for each region to select a specific region. However, the present invention is not limited to this, and for example, the data dividing unit 32 and the separation degree evaluation unit 33 may be omitted from the pre-processing unit 13. The same applies to the second embodiment.
[0146] Furthermore, in the first embodiment described above, the teacher data processing unit 21 (FIG. 2) calculates the teacher observation matrix Y L In the above, NMF is applied to each class of the correct label associated with the teacher observation matrix Y L The same applies to the second embodiment.
[0147] Furthermore, in the above-mentioned first embodiment, a description has been given of a mode in which the teacher data processing unit 21 generates a teacher basis matrix and a teacher coefficient matrix by NMF based on the observation vector or observation matrix in the frequency domain converted from the time series data. However, the present invention is not limited to this, and the teacher basis matrix and the teacher coefficient matrix may be generated by performing various other arithmetic processing on the observation vector or observation matrix in the frequency domain. The same applies to the second embodiment.
[0148] Furthermore, in the above-mentioned first embodiment, a form has been described in which threshold discrimination is used as a classification model in the classification unit 27. However, the present invention is not limited to this, and classification may be performed using various classification models, such as a classification model based on linear discrimination, quadratic discrimination, or SVM (Support Vector Machine). The same applies to the second embodiment.
[0149] Furthermore, in the above-described embodiment, a specific display screen is constructed based on the classification results by the output unit 28 (FIG. 2) and displayed on the display unit 5 (FIG. 1). However, the present invention is not limited to this, and the classification results may be output by various methods, such as outputting the classification results by voice from a speaker (not shown), or transmitting data representing the classification results from the communication unit 4 (FIG. 1) to a specific terminal device (not shown), etc. Alternatively, the classification results may be stored in the storage unit 3. The same applies to the second embodiment.
[0150] Furthermore, in the above-mentioned first embodiment, a form has been described in which various programs are executed in the control unit 2 (FIG. 1) of the anomaly detection processing device 1 to configure each block such as the data acquisition unit 11 shown in FIG. 2 as a software functional block. However, the present invention is not limited to this, and the data acquisition unit 11 may be configured as hardware, or may be realized by a combination of hardware and software. The same applies to the second embodiment.
[0151] Furthermore, in the above-mentioned first embodiment, the anomaly detection processing device 1 (FIG. 1) reads and executes various programs pre-stored in the storage unit 3. However, the present invention is not limited to this, and the anomaly detection processing device 1 may acquire and execute various programs, for example, by acquiring them from a predetermined server device (not shown) connected to a network, or by reading them from a removable storage medium such as a USB (Universal Serial Bus) memory. The same applies to the second embodiment.
[0152] Furthermore, the present invention is not limited to the above-mentioned embodiments and other embodiments. That is, the scope of application of the present invention extends to embodiments in which the above-mentioned embodiments and the other embodiments are combined in part or in whole in any manner. The scope of application of the present invention also extends to embodiments in which a part of the configuration described in any of the above-mentioned embodiments and other embodiments is extracted and replaced or diverted with a part of the configuration of any of the above-mentioned embodiments and other embodiments, or an embodiment in which a part of the extracted configuration is added to any of the embodiments.
[0153] Furthermore, in the above-described first embodiment, a form has been described in which the anomaly detection processing device 1 is configured as an anomaly detection processing device by the data acquisition unit 11 as a data acquisition unit, the conversion unit 31 as a conversion unit, the frequency division unit 34 as a frequency division unit, the teacher data processing unit 21 and the feature extraction unit 26 as feature generation units, the feature linking unit 23 as a feature linking unit, the parameter generation unit 24 as a parameter generation unit, and the classification unit 27 as a classification unit. However, the present invention is not limited to this, and the anomaly detection processing device may be configured by a data acquisition unit, a conversion unit, a frequency division unit, a feature generation unit, a feature linking unit, a parameter generation unit, and a classification unit having various other configurations. [Industrial Applicability]
[0154] The present invention can be used, for example, in cases where time-series data is acquired, a learning process is performed, and then a classification process is performed. [Explanation of symbols]
[0155] 1, 201...learning classification device, 2, 202...control unit, 3, 203...storage unit, 11...data acquisition unit, 12...interval identification unit, 13...preprocessing unit, 15...condition setting unit, 16...learning completion determination unit, 21...teacher data processing unit, 22...teacher data storage unit, 23...feature linking unit, 24...parameter generation unit, 25...parameter storage unit, 26...feature extraction unit, 27...classification unit, 28...output unit, 31...conversion unit, 32...data division unit, 33...separability evaluation unit, 34...frequency division unit, 241...feature compression unit, H...basis matrix, H L …teacher basis matrix, W…coefficient matrix, W L … Teacher coefficient matrix, W T …Evaluation coefficient matrix, Y …Observation matrix, Y L …Teacher observation matrix, Y T …Evaluation observation matrix, σ B 2 …Inter-class variance, σ w 2 ...within-class variance, J...between-class variance ratio, WB...frequency band.
Claims
1. A data acquisition unit that acquires a plurality of data from a measurement object; A transform unit for transforming the data from the time domain to the frequency domain; a frequency division unit that divides the data converted into a frequency domain into a plurality of frequency bands; a feature generating unit configured to generate a plurality of feature quantities represented by a matrix based on each of the data divided into the plurality of frequency bands; a feature amount linking unit that links the plurality of feature amounts to each other; a parameter generating unit that performs a learning process based on the linked feature amounts and generates classification model parameters; a classification unit that performs classification processing based on the feature amount generated and linked based on the data and the classification model parameters; An anomaly detection processing device comprising:
2. The frequency division unit causes at least some of the frequencies in the plurality of frequency bands to overlap with each other. The anomaly detection processing device according to claim 1 .
3. a feature compression unit that performs compression processing on the feature amounts linked by the feature linking unit; Further comprising: the parameter generation unit generates the classification model parameters based on the feature amount that has been subjected to the compression processing; The classification unit performs the classification process based on the feature amount generated based on the data and subjected to the compression process and the classification model parameters. The anomaly detection processing device according to claim 1 .
4. The compression process is a process for reducing the number of dimensions of the feature amount.
4. The anomaly detection processing device according to claim 3.
5. The conversion unit divides at least one of time and frequency into a plurality of regions, and extracts the data of a specific region selected based on an evaluation value for each of the regions. The anomaly detection processing device according to claim 1 .
6. The feature generator generates non-negative observation matrices for each of the data divided into the plurality of frequency bands by arranging a plurality of non-negative observation vectors transformed into a frequency domain, and further decomposes each of the observation matrices into a basis matrix and a coefficient matrix by non-negative matrix factorization. The anomaly detection processing device according to claim 1 .
7. A condition setting unit that sets a learning completion condition; a learning completion determination unit that determines whether the learning completion condition is satisfied; Further comprising: the parameter generation unit generates the classification model parameters based on the feature amounts when the learning completion condition is satisfied; After the learning completion condition is satisfied and the classification model parameters are generated, the classification unit performs the classification process using the feature amounts generated and linked based on the remaining data and the classification model parameters. The anomaly detection processing device according to claim 1 .
8. A data acquisition step of acquiring a plurality of data from a measurement object; a transforming step of transforming said data from the time domain to the frequency domain; a frequency division step of dividing the data transformed into the frequency domain into a plurality of frequency bands; a feature generating step of generating a plurality of feature values represented by a matrix based on each of the data divided into the plurality of frequency bands; a feature amount linking step of linking the plurality of feature amounts to each other; a parameter generation step of performing a learning process based on the linked feature amounts to generate classification model parameters; a classification step of performing a classification process based on the feature amount generated and linked based on the data and the classification model parameters; An anomaly detection processing method comprising:
9. For the information processing device, A data acquisition step of acquiring a plurality of data from a measurement object; a transforming step of transforming said data from the time domain to the frequency domain; a frequency division step of dividing the data transformed into the frequency domain into a plurality of frequency bands; a feature generating step of generating a plurality of feature values represented by a matrix based on each of the data divided into the plurality of frequency bands; a feature amount linking step of linking the plurality of feature amounts to each other; a parameter generation step of performing a learning process based on the linked feature amounts to generate classification model parameters; a classification step of performing a classification process based on the feature amount generated and linked based on the data and the classification model parameters; An anomaly detection processing program for executing the above.
Citation Information
Patent Citations
Data exception identification method and device, server and storage medium
CN112114986A
Abnormality detecting method and device
JP2001108518A
Learning processor, learning processing method, learning processing program, classification processor, classification processing method and classification processing program
JP2021135892A
Abnormal signal extraction device
JP2022104666A
Site-specific anomaly detection
US20200265119A1
