Abnormal temperature detection device, abnormal temperature detection method, and abnormal temperature detection program
The abnormal temperature detection device uses machine learning and preprocessing techniques to accurately identify temperature deviations by emphasizing temperature changes, addressing environmental and temporal variations for precise abnormal temperature detection.
Patent Information
- Application Number
- JP2020143271
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-27
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2040-08-27
AI Technical Summary
Existing temperature detection technologies struggle to accurately identify abnormal temperature changes due to environmental influences and temporal variations, leading to false detections and difficulties in setting appropriate threshold values.
An abnormal temperature detection device and method that utilizes machine learning and preprocessing techniques, including noise removal, difference calculation, and dynamic time warping to generate replacement data, which emphasizes temperature increase or decrease, and calculates similarity with reference data to determine normal or abnormal temperatures.
Enables high-accuracy detection of abnormal temperatures by minimizing environmental and temporal influences, ensuring precise identification of temperature deviations.
Smart Images

Figure 0007537182000007 
Figure 0007537182000008 
Figure 0007537182000006
Abstract
Description
[Technical field]
[0001] The present invention relates to an abnormal temperature detection device, an abnormal temperature detection method, and an abnormal temperature detection program. [Background technology]
[0002] Accidents such as fires in residential buildings, fires at coal-fired power plants, and leaks of molten steel at steel plants can result in loss of life and opportunity. For this reason, it is extremely important to detect abnormal temperatures caused by accidents in order to avoid loss of life and opportunity. In addition to a temperature that is significantly higher than normal, abnormal temperature can also mean a temperature that is significantly lower than normal.
[0003] The following Patent Documents 1 to 3 disclose conventional techniques for detecting abnormal conditions (including abnormal temperatures). For example, the technique disclosed in Patent Document 1 divides periodically repeated data into data for each period (periodic data), and creates reference data indicating a normal state by averaging a plurality of pieces of periodic data, etc. Then, an abnormal condition is detected based on the deviation value between the measured periodic data and the reference data. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6076571 [Patent Document 2] JP 2020-071137 A [Patent Document 3] Patent No. 5808605 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the technology disclosed in the above-mentioned Patent Document 1, when the deviation value (correlation coefficient) becomes larger than a predetermined allowable error (threshold value), it is determined that the state is abnormal, and it is not possible to identify the change in temperature over time (the direction of increase or decrease). For this reason, in the technology disclosed in the above-mentioned Patent Document 1, another deviation value (sum of differences) is introduced to compensate for the change in direction (temperature increase or decrease). However, when the detection results are contradictory between multiple deviation values, there is a possibility that erroneous detection may occur depending on the detection algorithm.
[0006] Furthermore, because temperature changes over time vary depending on multiple factors such as diurnal and seasonal variations, the appropriate threshold for determining that an abnormal temperature has occurred also varies depending on the surrounding environment, etc. In the technology disclosed in the above-mentioned Patent Document 1, it is necessary to adjust the threshold by using multiple reference data to refer to depending on the surrounding environment, and it is difficult to set an appropriate threshold according to the surrounding environment, which makes it difficult to detect abnormal temperatures with high accuracy.
[0007] The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide an abnormal temperature detection device, an abnormal temperature detection method, and an abnormal temperature detection program that can detect abnormal temperatures with high accuracy while eliminating the influence of the surrounding environment and taking into account changes in temperature over time. [Means for solving the problem]
[0008] In order to solve the above problems, an abnormal temperature detection device (1-3) according to one embodiment of the present invention includes a temperature acquisition unit (11) that acquires temperature data, a pre-processing unit (12, 17) that performs pre-processing to calculate difference data indicating a difference sequence of the temperature data, generate replacement data by replacing either the positive difference data or the negative difference data with zero, and calculate a similarity between the replacement data and reference data obtained from teacher data that has been identified as normal or abnormal, a learning unit (13, 18) that performs machine learning on the similarity calculated by the pre-processing unit and outputs a discrimination function, and a judgment unit (14, 19) that judges whether the detection temperature data acquired by the temperature acquisition unit and subjected to the pre-processing by the pre-processing unit is normal or abnormal using the discrimination function.
[0009] In addition, in the abnormal temperature detection device according to one embodiment of the present invention, the pre-processing unit includes a data processing unit (12a, 22a, 24, 32a, 34) that calculates the difference data and generates the replacement data, and a similarity calculation unit (12b, 26a, 35a) that calculates the similarity.
[0010] In addition, in the abnormal temperature detection device according to one embodiment of the present invention, the data processing unit calculates first-order difference data indicating a first-order difference sequence of the temperature data and second-order difference data indicating a second-order difference sequence of the temperature data, and generates the replacement data by replacing, for at least the first-order difference data, either the first-order difference data that is a positive number or the first-order difference data that is a negative number, with zero.
[0011] In addition, in the abnormal temperature detection device according to one aspect of the present invention, the similarity calculation section calculates the similarity using a dynamic time warping method.
[0012] Moreover, an abnormal temperature detection device according to one embodiment of the present invention includes a first pre-processing unit (20) which is the pre-processing unit for learning, and a second pre-processing unit (30) which is the pre-processing unit for detection, wherein the first pre-processing unit generates the reference data using the replacement data generated by the first pre-processing unit, and the second pre-processing unit calculates the similarity between the reference data generated by the first pre-processing unit and the replacement data generated by the second pre-processing unit.
[0013] In the abnormal temperature detection device according to one aspect of the present invention, the first pre-processing unit generates the reference data by averaging the substitution data for a predetermined period of time a plurality of times.
[0014] In addition, the abnormal temperature detection device according to one embodiment of the present invention has a plurality of the pre-processing units, the learning units, and the judgment units, and is equipped with an overall judgment unit (40) that judges whether the temperature data is normal or abnormal based on the results of the plurality of judgment units.
[0015] An abnormal temperature detection method according to one embodiment of the present invention includes a first temperature acquisition step (S11) of acquiring temperature data, a first preprocessing step (S13, S15, S17) of performing preprocessing to calculate difference data indicating a difference sequence of the temperature data, generate replacement data by replacing either the positive difference data or the negative difference data with zero, and calculate a similarity between the replacement data and reference data obtained from teacher data that has been identified as normal or abnormal, a learning step (S18) of performing machine learning on the similarity calculated in the first preprocessing step and outputting a discriminant function, a second temperature acquisition step (S21) of acquiring temperature data for detection, a second preprocessing step (S23, S25, S26) of performing the preprocessing on the temperature data for detection, and a determination step (S27) of determining whether the preprocessed temperature data for detection is normal or abnormal using the discriminant function.
[0016] An abnormal temperature detection program according to one embodiment of the present invention causes a computer to function as a temperature acquisition means (11) for acquiring temperature data, a preprocessing means (12, 17) for calculating difference data indicating a difference sequence of the temperature data, generating replacement data by replacing either the positive difference data or the negative difference data with zero, and performing preprocessing to calculate a similarity between the replacement data and reference data obtained from teacher data that has already been identified as normal or abnormal, a learning means (13, 18) for subjecting the similarity calculated by the preprocessing means to machine learning and output a discrimination function, and a judgment means (14, 19) for using the discrimination function to judge whether the detection temperature data acquired by the temperature acquisition means and subjected to the preprocessing by the preprocessing means is normal or abnormal. Effect of the Invention
[0017] According to the present invention, it is possible to detect abnormal temperatures with high accuracy while eliminating the influence of the surrounding environment and taking into account changes in temperature over time. [Brief description of the drawings]
[0018] [Figure 1]1 is a block diagram showing a configuration of a main part of an abnormal temperature detection device according to a first embodiment of the present invention. [Diagram 2] 5 is a flowchart outlining an operation during learning of the abnormal temperature detecting device 1 according to the first embodiment of the present invention. [Diagram 3] 5 is a flowchart showing an outline of operation during detection of the abnormal temperature detecting device 1 according to the first embodiment of the present invention. [Figure 4] FIG. 11 is a block diagram showing a configuration of a main part of an abnormal temperature detection device according to a second embodiment of the present invention. [Diagram 5] FIG. 11 is a diagram for explaining a determination method using a discriminant function in the abnormal temperature detection device according to the second embodiment of the present invention. [Figure 6] FIG. 11 is a block diagram showing a configuration of a main part of an abnormal temperature detection device according to a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] Hereinafter, an abnormal temperature detection device, an abnormal temperature detection method, and an abnormal temperature detection program according to embodiments of the present invention will be described in detail with reference to the drawings. First, an overview of the embodiments of the present invention will be described, and then each embodiment of the present invention will be described in detail.
[0020] 〔overview〕 The embodiment of the present invention makes it possible to detect abnormal temperatures with high accuracy by eliminating the influence of the surrounding environment and taking into account temperature changes over time. Specifically, even if the temperature changes over time differ due to multiple factors such as diurnal and seasonal variations, it makes it possible to detect abnormal temperatures with high accuracy.
[0021] For those who are not familiar with the mechanism of temperature rise, it is extremely difficult to set a threshold value for determining an abnormal temperature. Therefore, in the technology disclosed in the above-mentioned Patent Document 1, in order to detect equipment abnormalities in a plant or the like, an experienced veteran worker needs to change and adjust the reference data to set a threshold value. In addition, the above-mentioned Patent Document 2 discloses a method of predicting an end temperature using a temperature change rate to make it easier to set a threshold value. The above-mentioned Patent Document 3 discloses a method of linking the maintenance history information of a veteran worker with sensor data by associated keywords and detecting a sign of an abnormality by clustering and multivariate analysis.
[0022] However, in the technology disclosed in the above-mentioned Patent Document 1, the direction of temperature change over time cannot be identified by only one deviation value (correlation function), so other deviation values are required to determine the temperature rise in the event of a fire or the like. In that case, if the detection results are contradictory between multiple deviation values, a false detection may occur depending on the detection algorithm. In the first place, the change in temperature over time varies depending on multiple factors such as diurnal fluctuations and seasonal fluctuations. For this reason, it is difficult to perform appropriate threshold adjustment by adjusting the reference data disclosed in the above-mentioned Patent Document 1, and even if the method disclosed in the above-mentioned Patent Document 2 is used, it is difficult to set an appropriate threshold for determining that an abnormal temperature has occurred.
[0023] In the method disclosed in the above-mentioned Patent Document 3, if the maintenance history information of experienced workers is sufficiently accumulated, the abnormal temperature is determined by taking into account the change in temperature over time, so it is considered possible to detect abnormal temperatures with high accuracy. However, if the maintenance history information of experienced workers is insufficient, it is difficult to detect abnormal temperatures with high accuracy.
[0024] In an embodiment of the present invention, first, in a learning stage, difference data indicating a difference sequence of temperature data acquired by a temperature acquisition unit is calculated, and either the difference data that is a positive number or the difference data that is a negative number is replaced with zero to generate replacement data, and a pre-processing is performed to calculate a similarity between the replacement data and reference data obtained from teacher data that has been identified as normal or abnormal. Then, a discriminant function is obtained by machine learning the similarity calculated in the pre-processing. Next, in a detection stage, the discriminant function is used to determine whether the detection temperature data acquired by the temperature acquisition unit and subjected to pre-processing is normal or abnormal. This makes it possible to detect abnormal temperatures with high accuracy while eliminating the influence of the surrounding environment and taking into account the change in temperature over time.
[0025] [First embodiment] <Abnormal temperature detection device> FIG. 1 is a block diagram showing the main components of an abnormal temperature detection device according to a first embodiment of the present invention. As shown in FIG. 1, the abnormal temperature detection device 1 of this embodiment includes a temperature acquisition unit 11 (temperature acquisition means), a preprocessing unit 12 (preprocessing means), a learning unit 13 (learning means), a judgment unit 14 (judgment means), an output unit 15, and an input unit 16, and detects abnormal temperatures. Here, abnormal temperatures refer to temperatures that are significantly higher than normal, or temperatures that are significantly lower than normal. In this embodiment, a case in which a temperature that is significantly higher than normal is detected as an abnormal temperature will be described as an example. Note that the normal temperature and abnormal temperature are not fixed, and can be changed to any temperature depending on the situation in which the abnormal temperature detection device 1 is used.
[0026] The temperature acquiring unit 11 acquires temperature data, which is time-series data showing changes in temperature over time. Specifically, the temperature acquiring unit 11 acquires temperature data output from a temperature sensor, such as a thermocouple, a resistance temperature detector, a thermistor, a quartz crystal oscillator, an infrared radiation thermometer, or an optical fiber temperature sensor. The temperature acquiring unit 11 includes an analog-to-digital converter (ADC), and when an analog signal is output from the temperature sensor, the temperature acquiring unit 11 acquires the digitized data as temperature data. The temperature acquiring unit 11 may acquire the temperature data at each sampling period of the ADC, or may acquire the temperature data at each sampling period of the ADC by thinning out the data at a predetermined time interval.
[0027] The above temperature data can be obtained by dividing the data into predetermined time periods (e.g., about 3 to 5 minutes) and acquiring the data multiple times. For example, data obtained by dividing 30 minutes into 3-minute periods and acquiring 10 3-minute data sets, or data obtained by shifting data divisions every minute within the 30 minutes and acquiring 28 3-minute data sets, can be used. Instead of acquiring temperature data for learning (hereinafter, teacher data) by the temperature acquisition unit 11, temperature data created by a user of the abnormal temperature detection device 1 through a simulation can be input from the input unit 16 to the preprocessing unit 12.
[0028] The preprocessing unit 12 includes a data processing unit 12a and a similarity calculation unit 12b, and performs signal processing (preprocessing) required in advance for machine learning or abnormal temperature detection on the temperature data acquired by the temperature acquisition unit 11. For example, the preprocessing unit 12 performs noise removal processing, difference calculation processing, unit root confirmation processing, standardization processing, sign substitution processing, similarity calculation processing, etc. Among these preprocessing processes, the difference calculation processing and sign substitution processing are performed by the data processing unit 12a, and the similarity calculation processing is performed by the similarity calculation unit 12b. Note that the noise removal processing, unit root confirmation processing, and standardization processing can be omitted if not necessary.
[0029] The noise removal process is a process of removing noise superimposed on the temperature data by performing filtering such as averaging in the time axis direction on the temperature data acquired by the temperature acquisition unit 11. Here, the above filtering process may be a process using a simple moving average filter, a weighted moving average filter such as a Gaussian filter, a low-pass filter, a band-pass filter, a high-pass filter, a median filter effective against impulse noise, a nonlinear filter, or other filters. However, it is preferable to select an appropriate filter for the filtering process that matches the characteristics of the noise superimposed on the temperature data.
[0030] The difference calculation process is a process of calculating the difference sequence (hereinafter referred to as difference data) of temperature data adjacent in time when the temperature data is viewed as a sequence. The purpose of calculating such difference data is to eliminate fluctuation factors such as diurnal and seasonal fluctuations in temperature. The unit root confirmation process is a process of checking whether the temperature data has a unit root using, for example, the Augmented Dickey-Fuller test (ADF test). The standardization process is a process of standardizing the difference data (processing in which the mean is set to 0 and the variance is set to 1). Such standardization is performed in order to reduce the impact of outliers on learning by aligning the scales of multiple different features used in machine learning (Feature Scaling), thereby shortening the learning time and reducing the learning cost.
[0031] The sign substitution process is a process for generating substitution data by substituting either the positive or negative differential data of the above-mentioned differential data with zero. When a temperature that is significantly higher than normal is detected as an abnormal temperature, the negative differential data (data indicating a temperature drop) is replaced with zero. On the other hand, when a temperature that is significantly lower than normal is detected as an abnormal temperature, the positive differential data (data indicating a temperature rise) is replaced with zero. Note that substituting the negative differential data (data indicating a temperature drop) with zero corresponds to the ReLU (Rectified Linear Unit) of the activation function.
[0032] In this way, the reason why either the positive difference data or the negative difference data is replaced with zero among the above difference data is to emphasize the characteristics of either the temperature increase or decrease, and to improve the effectiveness of classification in machine learning performed by the learning unit 13. For example, if a state in which the temperature is almost constant is learned as normal, both temperature increases and decreases are detected as abnormal because they are deviations from the normal state. However, for example, in the application of fire detection, since there is no need to detect a temperature decrease as an abnormality, the temperature decrease is ignored (replaced with zero) to improve the effectiveness of classification in machine learning.
[0033] The similarity calculation process calculates the similarity between the replaced data generated by the code replacement process and the reference data obtained by averaging the replaced data multiple times during learning. As an index showing this similarity, in addition to the distance between vectors (Euclidean distance), the cumulative warp distance in dynamic time warping (DTW) can be used. For example, an identification label indicating whether the teacher data is normal or abnormal is input to the preprocessing unit 12 by a user of the abnormal temperature detection device 1 operating the input unit 16. In the learning stage, normal reference data is calculated from teacher data with a normal identification label, and abnormal reference data is calculated from teacher data with an abnormal identification label. Details of the dynamic time warping (DTW) will be described in the second embodiment.
[0034] Whether to calculate the similarity using only teacher data identified as normal, only teacher data identified as abnormal, or both normal and abnormal teacher data can be selected arbitrarily according to the abnormal temperature to be detected. For example, when detecting a fire, since it is known in advance that only the direction of temperature rise is abnormal, a more accurate judgment can be made by learning both normal and abnormal teacher data.
[0035] The learning unit 13 performs machine learning using a pair of the similarity calculated by the similarity calculation unit 12b of the preprocessing unit 12 and an identification label indicating normality or abnormality of the teacher data. For example, the learning unit 13 desirably uses classification using a support vector machine (SVM) technique. This is because machine learning can be performed with less teacher data than deep learning. The learning unit 13 may use a binary classification method such as logistic regression, random forest, or decision tree as a classification method. The learning unit 13 provides (outputs) a decision function that enables classification to the judgment unit 14.
[0036] The determination unit 14 determines whether the detection temperature data acquired by the temperature acquisition unit 11 and preprocessed by the preprocessing unit 12 is normal or abnormal using the discrimination function output from the learning unit 13. Here, the detection temperature data is temperature data to be determined as to whether it is an abnormal temperature or not, and no discrimination label is input. The determination unit 14 outputs a determination result indicating whether the detection temperature data is normal or abnormal to the output unit 15.
[0037] The output unit 15 outputs the judgment result of the judgment unit 14. The output unit 15 includes a display device such as an LCD (Liquid Crystal Display) and displays the judgment result of the judgment unit 14 in a visibly recognizable manner. In addition to the LCD, the output unit 15 includes a contact terminal to which an alarm such as a red warning light or a buzzer can be connected, and may notify the judgment result of the judgment unit 14 by light or sound. The input unit 16 includes an input device such as a keyboard or a pointing device and outputs an operation signal corresponding to an operation on the input unit 16 to the preprocessing unit 12. The output unit 15 and the input unit 16 may be integrated, for example, as a touch panel type liquid crystal display device having both a display function and an operation function.
[0038] Such an abnormal temperature detection device 1 is realized by, for example, a desktop, notebook, or tablet computer. When the abnormal temperature detection device 1 is realized by a computer, each block (preprocessing unit 12, learning unit 13, determination unit 14, etc.) provided in the abnormal temperature detection device 1 is realized by a program for realizing each function (abnormal temperature detection program) being executed by a CPU (Central Processing Unit) provided in the computer. In other words, each block provided in the abnormal temperature detection device 1 is realized by cooperation between software and hardware resources.
[0039] Here, a program for realizing the functions of each block provided in the abnormal temperature detection device 1 may be distributed in a state recorded on a computer-readable recording medium such as a CD-ROM or a DVD (registered trademark)-ROM, or may be distributed via a network such as the Internet. The abnormal temperature detection device 1 may be realized using hardware such as a Field-Programmable Gate Array (FPGA), a Large Scale Integration (LSI), or an Application Specific Integrated Circuit (ASIC).
[0040] <Abnormal temperature detection method> Next, the operation of the abnormal temperature detection device 1 will be described. The operation of the abnormal temperature detection device 1 is roughly divided into a learning operation in which the machine learning described above is performed to obtain a discriminant function, and a detection operation in which an abnormal temperature is detected. Below, the learning operation of the abnormal temperature detection device 1 and the detection operation of the abnormal temperature detection device 1 will be described in order.
[0041] 《Learning behavior》 Fig. 2 is a flowchart showing an outline of the operation during learning of the abnormal temperature detection device 1 according to the first embodiment of the present invention. Note that the processing of the flowchart shown in Fig. 2 is started, for example, when a user of the abnormal temperature detection device 1 operates the input unit 16 to give an instruction to start machine learning.
[0042] When the process is started, first, a process of acquiring temperature data for learning is performed by the temperature acquiring unit 11 (step S11: first temperature acquiring step). In this process, a plurality of pieces of temperature data corresponding to a predefined time (for example, about 3 to 5 minutes) are acquired once or multiple times. In practice, for example, 100 pieces of temperature data are acquired 200 times. Alternatively, instead of the temperature acquiring unit 11, temperature data created by a user of the abnormal temperature detection device 1 through a simulation may be input from the input unit 16 to the preprocessing unit 12. Note that an identification label indicating whether the acquired temperature data (temperature data for learning) is normal or abnormal is input to the preprocessing unit 12 by, for example, the user of the abnormal temperature detection device 1 operating the input unit 16.
[0043] Next, a process of removing noise from the acquired learning temperature data is performed by the pre-processing unit 12 (step S12). For example, a process of removing noise superimposed on the temperature data is performed by performing a filtering process such as averaging in the time axis direction on the temperature data acquired by the temperature acquisition unit 11. In this filtering process, an appropriate filter that matches the characteristics of the noise superimposed on the temperature data is selected.
[0044] Next, a process of calculating difference data is performed in the data processing unit 12a of the pre-processing unit 12 (step S13: first pre-processing step). Specifically, a process of calculating difference data indicating a difference sequence of temperature data adjacent in time is performed. Note that a unit root confirmation process of confirming whether or not the temperature data for learning has a unit root may be performed in the pre-processing unit 12. Next, a process of standardizing the calculated difference data is performed in the pre-processing unit 12 (step S14). Specifically, a process of setting the average of the calculated difference data to 0 and the variance to 1 is performed. Note that the average value and standard deviation obtained in this process are also used in the standardization process at the time of detection (step S24 in FIG. 3).
[0045] Next, the data processing unit 12a performs a process of generating replacement data by replacing either the positive or negative difference data of the standardized difference data with zero (step S15: first pre-processing step). In this embodiment, since a case where a temperature that is significantly higher than normal is detected as an abnormal temperature is taken as an example, a process of generating replacement data by replacing the negative difference data with zero is performed.
[0046] Next, the preprocessing unit 12 performs a process of averaging the replacement data multiple times (for example, 200 times) to generate reference data (step S16). The similarity calculation unit 12b performs a process of calculating the similarity between the reference data and the replacement data (step S17: first preprocessing step). For example, the process of calculating the similarity is performed by calculating the distance between the reference data and the replacement data by dynamic time warping (DTW). The reference data obtained by this process is also used in the similarity calculation process at the time of detection (step S26 in FIG. 3). Here, as the reference data, for example, replacement data generated from temperature data corresponding to a predetermined time (for example, about 3 to 5 minutes) and averaged multiple times can be used.
[0047] When the above process is completed, the calculated similarity and the discrimination label (the discrimination label input from the input unit 16) are grouped together, and machine learning using this group of similarity and discrimination label is performed by the learning unit 13 (step S18: learning step). After this machine learning is performed, a discrimination function is output from the learning unit 13 to the judgment unit 14 (step S19).
[0048] 2 may be automatically terminated after an amount of learning preset by the user of the abnormal temperature detection device 1 has been performed, for example. Alternatively, it may be terminated after a time preset by the user of the abnormal temperature detection device 1 has elapsed, or it may be terminated by an end instruction from the user of the abnormal temperature detection device 1. Alternatively, it may be terminated when the value of the discrimination function for predetermined time-series data becomes equal to or less than a predetermined value.
[0049] <Action upon detection> Fig. 3 is a flowchart showing an outline of the operation during detection of the abnormal temperature detection device 1 according to the first embodiment of the present invention. The process of the flowchart shown in Fig. 3 is started, for example, when a user of the abnormal temperature detection device 1 operates the input unit 16 to give an instruction to start machine learning. Alternatively, the process of the flowchart shown in Fig. 3 may be automatically started when the process of the flowchart shown in Fig. 2 is completed.
[0050] When the process is started, first, the temperature acquisition unit 11 acquires temperature data for detection (step S21: second temperature acquisition step). In this process, temperature data (e.g., 100 pieces of temperature data) of the same data length as the teacher data corresponding to a predefined time (e.g., about 3 to 5 minutes) is acquired only once. Note that, since it is unknown whether the temperature data for detection is normal or abnormal, no identification label is input.
[0051] Next, a process of removing noise from the acquired temperature data for detection is performed in the pre-processing unit 12 (step S22). For example, the process of removing noise superimposed on the temperature data for detection is performed using a filter similar to the filter used in the process of step S13 shown in FIG.
[0052] Next, a process of calculating difference data is performed in the data processing unit 12a of the pre-processing unit 12 (step S23: second pre-processing step). Specifically, a process of calculating difference data indicating a difference sequence of temperature data adjacent in time is performed. Then, a process of standardizing the calculated difference data is performed in the pre-processing unit 12 (step S24). Specifically, a process of standardizing the calculated difference data is performed using the average value and standard deviation obtained in the process of step S14 shown in FIG. 2.
[0053] Next, the data processing unit 12a performs a process of generating replacement data by replacing either the positive difference data or the negative difference data of the standardized difference data with zero (step S25: second pre-processing step). In this embodiment, since an example is given of a case in which a temperature that is significantly higher than normal is detected as an abnormal temperature, a process of generating replacement data by replacing the negative difference data with zero is performed, similar to the process of step S15 shown in FIG. 2.
[0054] Next, the similarity calculation unit 12b calculates the similarity between the reference data obtained during learning and the replacement data for detection (step S26: second pre-processing step). For example, the similarity calculation is performed by calculating the distance between the reference data and the replacement data by dynamic time warping (DTW). Here, the reference data used is the data obtained during learning in the process of step S16 shown in FIG. 2.
[0055] When the above process is completed, the calculated similarity is input to the discrimination function, and the process of determining whether the temperature data for detection is normal or abnormal is performed by the determination unit 14 (step S27: determination step). When this determination is made, the determination result is output from the determination unit 14 to the output unit 15 (step S28). As a result, information indicating whether the temperature data for detection is normal or abnormal is visually displayed on the display device. Alternatively, if the temperature data for detection is determined to be abnormal, an alarm such as a red warning light or a buzzer notifies the user of the abnormality by light or sound.
[0056] 3 may be automatically terminated when it is determined that the temperature data for detection is abnormal. Alternatively, the process of the flowchart shown in Fig. 3 may be continued by an instruction from the user of the abnormal temperature detection device 1, or may be terminated by an instruction to terminate by the user of the abnormal temperature detection device 1.
[0057] As described above, in this embodiment, first, during learning, the preprocessing unit 12 calculates difference data indicating a difference sequence of the temperature data acquired by the temperature acquisition unit 11 or the temperature data provided by the input unit 16, generates replacement data by replacing either the positive difference data or the negative difference data with zero, averages the replacement data multiple times to obtain reference data, and performs preprocessing to calculate the similarity between the reference data that has been identified as normal or abnormal and the replacement data. Then, the learning unit 13 performs machine learning on the similarity calculated in the preprocessing to obtain a discrimination function. Next, during detection, the judgment unit 14 judges whether the temperature data for detection acquired by the temperature acquisition unit 11 and preprocessed by the preprocessing unit 12 is normal or abnormal using the discrimination function. This makes it possible to detect abnormal temperatures with high accuracy while eliminating the influence of the surrounding environment and taking into account the change in temperature over time.
[0058] Second Embodiment <Abnormal temperature detection device> Fig. 4 is a block diagram showing the main configuration of an abnormal temperature detection device according to a second embodiment of the present invention. In Fig. 4, the same components as those shown in Fig. 1 are denoted by the same reference numerals. As shown in Fig. 4, the abnormal temperature detection device 2 of this embodiment is configured by replacing the pre-processing unit 12, learning unit 13, and judgment unit 14 of the abnormal temperature detection device 1 shown in Fig. 1 with a pre-processing unit 17 (pre-processing means), a learning unit 18 (learning means), and a judgment unit 19 (judgment means). The pre-processing unit 17 generally performs the same processing as the pre-processing unit 12 shown in Fig. 1, but is divided into a learning pre-processing unit 20 (first pre-processing unit) used during learning and a detection pre-processing unit 30 (second pre-processing unit) used during detection.
[0059] The learning pre-processing unit 20 includes a noise removing unit 21, difference calculation units 22a and 22b, standardization units 23a and 23b, a code processing unit 24, averaging units 25a and 25b, and similarity calculation units 26a and 26b. This learning pre-processing unit 20 receives temperature data acquired multiple times by the temperature acquiring unit 11 at intervals of a predetermined time (for example, about 3 to 5 minutes) and an identification label (a label indicating that the acquired temperature data (learning temperature data) is normal or abnormal) input from the input unit 16. Note that, as the learning temperature data, instead of the temperature acquiring unit 11, temperature data created by a user of the abnormal temperature detection device 1 through a simulation may be input from the input unit 16 to the learning pre-processing unit 20.
[0060] The noise removal unit 21 removes noise superimposed on the temperature data by performing filtering such as averaging in the time axis direction on the temperature data acquired by the temperature acquisition unit 11. Here, the above filtering may be processing using a simple moving average filter, a weighted moving average filter such as a Gaussian filter, a low-pass filter, a band-pass filter, a high-pass filter, a median filter effective for impulse-like noise, a nonlinear filter, or other filters, as in the first embodiment. It is desirable to select an appropriate filter that matches the characteristics of the noise superimposed on the temperature data. In the case of temperature measurement, since the change over time is gentler than other physical quantities, high-frequency components may be mainly removed as noise.
[0061] The difference calculation unit 22a calculates first-order difference data indicating the first-order difference sequence of the temperature data from which noise has been removed by the noise removal unit 21. Here, the first-order difference is calculated in order to eliminate fluctuation factors such as diurnal and seasonal fluctuations of temperature, as in the first embodiment. For example, when the ambient air temperature is -10°C, if the temperature data acquired by the temperature acquisition unit 11 indicates 40°C, the temperature rise is 50°C, and therefore it can be determined to be abnormal. However, when the ambient air temperature is 35°C, if the temperature data acquired by the temperature acquisition unit 11 indicates 40°C, the temperature rise is only 5°C, and therefore it can be determined to be normal. In this way, since the result of the determination of normality or abnormality changes depending on the absolute value of the ambient temperature, the first-order difference data is calculated in order to eliminate temperature fluctuation factors.
[0062] Here, the difference calculation unit 22a calculates the first-order difference data, which is effective in eliminating temperature fluctuation factors and eliminating unit roots that are an obstacle in machine learning. Whether the temperature data acquired by the temperature acquisition unit 11 has a unit root can be confirmed, for example, by using an ADF test. Temperature data without a unit root is used as learning data.
[0063] The difference calculation unit 22b calculates second-order difference data indicating a second-order difference sequence of the temperature data from which noise has been removed by the noise removal unit 21. The reason for calculating the second-order difference is to obtain characteristics such as whether the temperature changes over time are steep or gradual. As shown in Fig. 4, the difference calculation unit 22b may calculate the second-order difference data using the temperature data output from the noise removal unit 21, but may also calculate the second-order difference data using the first-order difference data calculated by the difference calculation unit 22a.
[0064] The standardization unit 23a performs a process of standardizing the first-order difference data calculated by the difference calculation unit 22a (processing in which the average is set to 0 and the variance is set to 1). The standardization unit 23b performs a process of standardizing the second-order difference data calculated by the difference calculation unit 22b (processing in which the average is set to 0 and the variance is set to 1). Here, the data before standardization is x k Let x be the datak The average value of μ k Let x be the data k The standard deviation of k Then, the standardized data x k ' (data with a mean of 0 and a variance of 1) is expressed by the following equation (1).
[0065]
number
[0066] The subscript k in the above formula (1) represents the standardization unit 23a when k = 1, and represents the standardization unit 23b when k = 2. The mean value μ1 and standard deviation σ1 of data x1 in the standardization unit 23a are also used in the standardization unit 33a of the detection preprocessing unit 30, and the mean value μ2 and standard deviation σ2 of data x2 in the standardization unit 23b are also used in the standardization unit 33b of the detection preprocessing unit 30.
[0067] The code processing unit 24 performs a process of generating replacement data in which either the positive differential data or the negative differential data of the first-order differential data standardized by the standardization unit 23a is replaced with zero. When the code processing unit 24 detects a temperature that is significantly higher than normal as an abnormal temperature, it generates replacement data in which the negative first-order differential data (data indicating a temperature drop) is replaced with zero. On the other hand, when the code processing unit 24 detects a temperature that is significantly lower than normal as an abnormal temperature, it generates replacement data in which the positive differential data (data indicating a temperature rise) is replaced with zero. By ignoring either the negative or positive numbers, the characteristics of an abnormal rise or fall in temperature can be emphasized, and the effect of classification in machine learning can be improved. For example, when it is desired to detect a temperature rise, erroneous detection can be reduced by masking and ignoring the temperature drop side.
[0068] The averaging unit 25a averages the replaced data generated by the code processing unit 24 a plurality of times to obtain first reference data. The averaging unit 25b averages the second-order difference data standardized by the standardization unit 23b a plurality of times to obtain second reference data. The first reference data obtained by the averaging unit 25a is used by the similarity calculation unit 26a and the similarity calculation unit 35a of the detection preprocessing unit 30. The second reference data obtained by the averaging unit 25b is used by the similarity calculation unit 26b and the similarity calculation unit 35b of the detection preprocessing unit 30. The first and second reference data are identified as normal or abnormal by an identification label input from the input unit 16.
[0069] The similarity calculation unit 26a calculates the similarity between the first reference data obtained by the averaging unit 25a and the replacement data generated by the code processing unit 24. The similarity calculation unit 26a calculates the distance between the first reference data and the replacement data, for example, by dynamic time warping (DTW), in the same manner as the similarity calculation unit 12b shown in FIG. 1, to calculate the similarity. The similarity calculation unit 26b calculates the similarity between the second reference data obtained by the averaging unit 25b and the second-order difference data standardized by the standardization unit 23b. The similarity calculation unit 26b calculates the similarity by calculating the distance between the second reference data and the standardized second-order difference data, for example, by dynamic time warping (DTW), in the same manner as the similarity calculation unit 26a. The similarity calculated by the similarity calculation units 26a and 26b and the identification label input from the input unit 16 are output to the learning unit 18.
[0070] Here, the dynamic time warping method (DTW) will be described in detail. Let us consider a case where the similarity between two time waveforms f(t) and g(t) is calculated using the dynamic time warping method (DTW). The waveform data obtained by sampling these time waveforms f(t) and g(t) is assumed to be time series data consisting of N pieces of data (N is a positive number of 2 or more). The waveform data obtained by sampling the waveform f(t) is f i (i=1,2,…,N), and the waveform data obtained by sampling the waveform g(t) is g j (j=1,2,…,N). Note that the waveform data fi is, for example, the first reference data or the second reference data, and the waveform data g j is, for example, the replacement data generated by the code processing unit 24 or the second-order difference data standardized by the standardization unit 23b.
[0071] In dynamic time warping (DTW), first, the Euclidean distance d(i,j) between the waveforms on the i-axis and j-axis is calculated using the following formula (2). Note that the mathematical symbol consisting of two vertical lines on the right side of the following formula (2) is the norm.
[0072]
number
[0073] Accumulative warp distance D of Dynamic Time Warping (DTW) A (i,j) is given by the following formula (3): Here, the function min{} in the following formula (3) selects the minimum value among the variables separated by commas in the parentheses.
[0074]
number
[0075] Accumulative Warp Distance D A The calculation of (i,j) starts with i=j=1, and then is performed sequentially while changing i and j. Specifically, D A (i,j) is the Euclidean distance d(i,j) at (i,j) and D A (i-1,j), D A (i-1,j-1), D A (i, j-1) and the minimum value of (i, j-2). By performing such calculations sequentially, the final cumulative warp distance D A (N,N) is the cumulative warp distance of DTW. The cumulative warp distance of DTW is calculated by dividing the waveform data f i ,g j The more similar the two are, the smaller the value will be, and the more dissimilar the two are, the larger the value will be.
[0076] The detection preprocessing unit 30 includes a noise removal unit 31, difference calculation units 32a and 32b, standardization units 33a and 33b, a code processing unit 34, and similarity calculation units 35a and 35b. Temperature data (temperature data for detection) corresponding to a predetermined time (e.g., about 3 to 5 minutes) acquired by the temperature acquisition unit 11 is input to this detection preprocessing unit 30 only once. Unlike the learning preprocessing unit 20, no identification label is input to the detection preprocessing unit 30 from the input unit 16.
[0077] The noise removal unit 31 removes noise superimposed on the temperature data by performing filtering such as averaging in the time axis direction on the temperature data acquired by the temperature acquisition unit 11. The filtering performed by the noise removal unit 31 is similar to that performed by the noise removal unit 21 of the learning preprocessing unit 20.
[0078] The difference calculation unit 32a calculates first-order difference data indicating a first-order difference sequence of the temperature data from which noise has been removed by the noise removal unit 31. The difference calculation unit 32b calculates second-order difference data indicating a second-order difference sequence of the temperature data from which noise has been removed by the noise removal unit 31. The method of calculating the difference in the difference calculation units 32a and 32b is similar to the method of calculating the difference in the difference calculation units 22a and 22b provided in the learning preprocessing unit 20.
[0079] The standardization unit 33a performs a process of standardizing the first-order difference data calculated by the difference calculation unit 32a. The standardization unit 33b performs a process of standardizing the second-order difference data calculated by the difference calculation unit 32b. Specifically, the standardization unit 33a performs a process of standardizing the first-order difference data calculated by the difference calculation unit 32a, using the average value μ1 and standard deviation σ1 in the standardization unit 23a of the learning preprocessing unit 20. The standardization unit 33b performs a process of standardizing the second-order difference data calculated by the difference calculation unit 32b, using the average value μ2 and standard deviation σ2 in the standardization unit 23b of the learning preprocessing unit 20.
[0080] Here, the pre-standardized data input to standardization unit 33a is denoted by x3, and the pre-standardized data input to standardization unit 33b is denoted by x4. Standardized data x3' output from standardization unit 33a and standardized data x4' output from standardization unit 33b are expressed by the following formula (4).
[0081]
number
[0082] The sign processing unit 34 performs a process of generating replacement data by replacing either the positive or negative difference data of the first-order difference data standardized by the standardization unit 33a with zero. When the sign processing unit 34 detects a temperature that is significantly higher than normal as an abnormal temperature, it generates replacement data by replacing the negative first-order difference data (data indicating a temperature drop) with zero. On the other hand, when the sign processing unit 34 detects a temperature that is significantly lower than normal as an abnormal temperature, it generates replacement data by replacing the positive difference data (data indicating a temperature rise) with zero. The sign processing unit 34 is similar to the sign processing unit 24 of the learning preprocessing unit 20.
[0083] The similarity calculation unit 35a calculates the similarity between the first reference data obtained by the averaging unit 25a of the learning preprocessing unit 20 and the replacement data generated by the code processing unit 34. The similarity calculation unit 35b calculates the similarity between the second reference data obtained by the averaging unit 25b of the learning preprocessing unit 20 and the second-order difference data standardized by the standardization unit 33b. The method of calculating the similarity in the similarity calculation units 35a and 35b is the same as the method of calculating the similarity in the similarity calculation units 26a and 26b of the learning preprocessing unit 20. The similarities calculated by the similarity calculation units 35a and 35b are output to the determination unit 19.
[0084] The learning unit 18 performs machine learning using a pair of the similarity calculated by the similarity calculation unit 26a and the similarity calculation unit 26b of the learning preprocessing unit 20 and a discrimination label indicating normality or abnormality of the first and second reference data. The learning unit 18 can use a method similar to the class classification method used by the learning unit 13 shown in Fig. 1. The learning unit 18 provides (outputs) a discrimination function that enables class classification to the determination unit 19.
[0085] The determination unit 19 determines whether the temperature data for detection, acquired by the temperature acquisition unit 11 and preprocessed by the preprocessing unit 17, is normal or abnormal, using a discrimination function output from the learning unit 18. For example, if the learning unit 18 uses a support vector machine (SVM) to learn by setting a normal cluster as -1 and an abnormal cluster as 1, the obtained discrimination function will indicate normal on the negative side and abnormality on the positive side with 0 as the boundary. The determination unit 19 determines normality or abnormality, for example, using such a discrimination function. The determination unit 19 outputs a determination result indicating whether the temperature data for detection is normal or abnormal to the output unit 15.
[0086] 5 is a diagram for explaining a determination method using a discriminant function in the abnormal temperature detection device according to the second embodiment of the present invention. The graph shown in FIG. 5 shows the similarity (cumulative warp distance D A1 ) is plotted on the horizontal axis, and the similarity calculated by the similarity calculation unit 35b (accumulated warp distance D A2 ) is plotted on the vertical axis. In the graph shown in Fig. 5, the dashed line indicates the position where the value of the discrimination function is -1, the solid line indicates the position where the value of the discrimination function is 0, and the dashed-dotted line indicates the position where the value of the discrimination function is 1. Points C1 and C2 in Fig. 5 have negative values of the discrimination function and are therefore judged to be normal by the judgment unit 19. In contrast, points C3 and C4 have positive values of the discrimination function and are therefore judged to be abnormal by the judgment unit 19.
[0087] In addition, in a support vector machine (SVM), there are several types of kernels, such as a linear kernel, a polynomial kernel, a Gaussian kernel (RBF kernel (Radial Basis Function Kernel)), etc. The example shown in Figure 5 is a case where a linear kernel is used.
[0088] The abnormal temperature detection device 2 is also realized by, for example, a desktop, notebook, or tablet computer, like the abnormal temperature detection device 1 shown in Fig. 1. When the abnormal temperature detection device 2 is realized by a computer, each block (preprocessing unit 17, learning unit 18, determination unit 19, etc.) provided in the abnormal temperature detection device 2 is realized by a program (abnormal temperature detection program) for realizing each function being executed by a CPU (Central Processing Unit) provided in the computer. In other words, each block provided in the abnormal temperature detection device 2 is realized by software and hardware resources working together. The abnormal temperature detection device 2 may be realized by using hardware such as a Field-Programmable Gate Array (FPGA), a Large Scale Integration (LSI), or an Application Specific Integrated Circuit (ASIC).
[0089] <Abnormal temperature detection method> Next, the operation of the abnormal temperature detection device 2 will be described. As with the abnormal temperature detection device 1, the operation of the abnormal temperature detection device 2 can be broadly divided into a learning operation in which machine learning is performed to obtain a discriminant function, and a detection operation in which abnormal temperatures are detected. The operation of the abnormal temperature detection device 2 is basically the same as that of the abnormal temperature detection device 1. Therefore, hereinafter, the learning operation of the abnormal temperature detection device 2 and the detection operation of the abnormal temperature detection device 2 will be described in order with reference to Figs. 2 and 3.
[0090] 《Learning behavior》 When the process is started, first, a process of acquiring temperature data for learning is performed by the temperature acquiring unit 11 (step S11: first temperature acquiring step). For example, 100 pieces of temperature data corresponding to a predefined time (for example, about 3 to 5 minutes) are acquired 200 times. Alternatively, instead of the temperature acquiring unit 11, temperature data created by a user of the abnormal temperature detection device 2 through a simulation may be input from the input unit 16 to the learning preprocessing unit 20. Note that an identification label indicating whether the acquired temperature data (temperature data for learning) is normal or abnormal is input to the learning preprocessing unit 20 by, for example, the user of the abnormal temperature detection device 2 operating the input unit 16, as in the first embodiment.
[0091] Next, the noise removal unit 21 of the learning preprocessing unit 20 removes noise from the acquired learning temperature data (step S12). In this process, as in the first embodiment, an appropriate filter that matches the characteristics of the noise superimposed on the temperature data is selected. Next, the difference calculation units 22a and 22b of the learning preprocessing unit 20 calculate first-order difference data and second-order difference data, respectively (step S13: first preprocessing step). The learning preprocessing unit 20 may also perform a unit root confirmation process to confirm whether the temperature data has a unit root.
[0092] Next, the standardization units 23a and 23b standardize the calculated first-order differential data and second-order differential data (step S14). Specifically, the standardization units 23a and 23b standardize the calculated first-order differential data and second-order differential data to 0 and 1, respectively. The mean value μ1 and standard deviation σ1 used for standardization in the standardization unit 23a are output to the standardization unit 33a of the detection preprocessing unit 30, and the mean value μ2 and standard deviation σ2 used for standardization in the standardization unit 23b are output to the standardization unit 33b of the detection preprocessing unit 30.
[0093] Next, the code processing unit 24 performs a process of generating replacement data by replacing either the positive first-order difference data or the negative first-order difference data of the standardized first-order difference data with zero (step S15: first pre-processing step). In this embodiment, since an example is given of a case in which a temperature that is significantly higher than normal is detected as an abnormal temperature, a process of generating replacement data by replacing the negative difference data with zero is performed.
[0094] Next, the averaging unit 25a averages the replacement data generated by the code processing unit 24 multiple times to obtain first reference data. The averaging unit 25b averages the second-order differential data standardized by the standardization unit 23b multiple times to obtain second reference data (step S16). The first reference data obtained by the averaging unit 25a is output to the similarity calculation unit 26a and the similarity calculation unit 35a of the detection preprocessing unit 30, and the second reference data obtained by the averaging unit 25b is output to the similarity calculation unit 26b and the similarity calculation unit 35b of the detection preprocessing unit 30.
[0095] Next, a process of calculating the similarity between the first reference data obtained by the averaging unit 25a and the replacement data generated by the code processing unit 24 is performed by the similarity calculation unit 26a. A process of calculating the similarity between the second reference data obtained by the averaging unit 25b and the second-order difference data standardized by the standardization unit 23b is performed by the similarity calculation unit 26b (step S17: first pre-processing step). As the similarity, in addition to the distance between vectors (Euclidean distance), distance calculation by dynamic time warping (DTW) may be used.
[0096] When the above processing is completed, the similarities calculated by the similarity calculation units 26a and 26b and the identification labels indicating normality or abnormality of the first and second reference data are grouped together, and machine learning using this group of similarities and identification labels is performed by the learning unit 18 (step S18: learning step). When this machine learning is performed, a discrimination function is output from the learning unit 18 to the judgment unit 14 (step S19). The operation during learning is ended, for example, in the same manner as in the first embodiment.
[0097] <Action upon detection> When the process is started, first, the temperature acquisition unit 11 acquires temperature data for detection (step S21: second temperature acquisition step). In this process, temperature data (e.g., 100 pieces of temperature data) having the same data length as the first and second reference data and corresponding to a predefined time (e.g., about 3 to 5 minutes) is acquired only once. Note that, since it is unknown whether the temperature data for detection is normal or abnormal, no identification label is input.
[0098] Next, a process of removing noise from the acquired temperature data for detection is performed by the noise removal unit 31 of the detection preprocessing unit 30 (step S22). In this process, an appropriate filter that matches the characteristics of the noise superimposed on the temperature data is selected, similar to step S12 shown in Fig. 2. Next, a process of calculating first-order difference data and second-order difference data is performed by the difference calculation units 32a and 32b of the detection preprocessing unit 30, respectively (step S23: second preprocessing step).
[0099] Next, the standardization units 33a and 33b standardize the calculated first-order difference data and second-order difference data, respectively (step S24). Specifically, the standardization unit 33a standardizes the first-order difference data calculated by the difference calculation unit 32a using the mean value μ1 and standard deviation σ1 in the standardization unit 23a of the learning preprocessing unit 20. The standardization unit 33b standardizes the second-order difference data calculated by the difference calculation unit 32b using the mean value μ2 and standard deviation σ2 in the standardization unit 23b of the learning preprocessing unit 20.
[0100] Next, the code processing unit 34 performs a process of generating replacement data by replacing either the positive difference data or the negative difference data of the standardized first-order difference data with zero (step S25: second pre-processing step). In this embodiment, since an example is given of a case in which a temperature that is significantly higher than normal is detected as an abnormal temperature, a process of generating replacement data by replacing the negative difference data with zero is performed, similar to the process of step S15 shown in FIG. 2.
[0101] Next, a process of calculating the similarity between the first reference data output from the averaging unit 25a and the replacement data generated by the code processing unit 34 is performed by the similarity calculation unit 35a. A process of calculating the similarity between the second reference data obtained by the averaging unit 25b and the second-order difference data standardized by the standardization unit 33b is performed by the similarity calculation unit 35b (step S26: second pre-processing step). As these similarities, in addition to the distance between vectors (Euclidean distance), distance calculation by dynamic time warping (DTW) may be used.
[0102] When the above process is completed, the calculated similarity is input to the discrimination function, and the process of determining whether the temperature data for detection is normal or abnormal is performed by the determination unit 19 (step S27: determination step). When this determination is made, the determination result is output from the determination unit 19 to the output unit 15 (step S28). As a result, information indicating whether the temperature data for detection is normal or abnormal is visually displayed on the display device. Alternatively, if the temperature data for detection is determined to be abnormal, an alarm such as a red warning light or a buzzer notifies the user of the abnormality by light or sound. The operation at the time of detection is ended, for example, in the same manner as in the first embodiment.
[0103] As described above, in this embodiment, first, during learning, the learning preprocessing unit 20 calculates the first-order difference data and the second-order difference data of the temperature data acquired by the temperature acquisition unit 11 or the temperature data provided by the input unit 16, generates replacement data by replacing either the positive first-order difference data or the negative first-order difference data with zero, averages the replacement data and the second-order difference data multiple times, respectively, to obtain the first reference data and the second reference data, and performs preprocessing to calculate the similarity between the first reference data and the replacement data, which have been identified as normal or abnormal, and the similarity between the second reference data and the replacement data. Then, the learning unit 18 performs machine learning on the similarity calculated in the preprocessing to obtain a discriminant function. Next, during detection, the judgment unit 19 judges whether the temperature data for detection acquired by the temperature acquisition unit 11 and preprocessed by the detection preprocessing unit 30 is normal or abnormal using the discriminant function. This makes it possible to detect abnormal temperatures with high accuracy while eliminating the influence of the surrounding environment and taking into account the change in temperature over time.
[0104] Third Embodiment <Abnormal temperature detection device> Fig. 6 is a block diagram showing the main configuration of an abnormal temperature detection device according to a third embodiment of the present invention. In Fig. 6, the same components as those shown in Fig. 4 are given the same reference numerals. As shown in Fig. 6, the abnormal temperature detection device 3 of this embodiment is configured to include a plurality of (three in the example shown in Fig. 6) pre-processing units 17, learning units 18, and judgment units 19 of the abnormal temperature detection device 2 shown in Fig. 4.
[0105] The temperature acquisition unit 11 outputs the acquired temperature data to each of the preprocessing units 17 (preprocessing units 17A to 17C). That is, the same temperature data acquired by the temperature acquisition unit 11 is input to each of the preprocessing units 17 (preprocessing units 17A to 17C). The preprocessing units 17A to 17C are similar to those described in the second embodiment, and include a learning preprocessing unit 20 and a detection preprocessing unit 30. Here, the preprocessing units 17A to 17C may calculate the similarity using different teacher data from each other.
[0106] For example, pre-processing unit 17A calculates the similarity using temperature data that rises sharply and then gradually increases as teacher data. Pre-processing unit 17B calculates the similarity using temperature data that rises linearly with a constant slope as teacher data. Pre-processing unit 17C calculates the similarity using temperature data that starts to rise gradually and then rises exponentially as teacher data, and so on. By calculating the similarity using such different teacher data, learning units 18A to 18C corresponding to pre-processing units 17A to 17C obtain different discriminant functions. Moreover, judgment units 19A to 19C corresponding to learning units 18A to 18C perform judgment using different discriminant functions.
[0107] The overall judgment unit 40 judges whether the temperature data for detection is normal or abnormal based on the judgment results of the judgment units 19A to 19C. The overall judgment unit 40 judges whether the temperature data for detection is normal or abnormal, for example, by the following algorithm (method). · Majority voting (unweighted or weighted) Round Robin Method (Rotary Method) Random selection method Logical OR method (for example, if even one of the judgment results is abnormal, it is judged as abnormal) Logical product method (for example, if even one of the judgment results is normal, it is judged as normal) Machine learning method (equipped with machine learning and judgment functions for judgment results within the comprehensive judgment unit 40) As described in the description of the prior art, when the results of multiple judgment units are contradictory, there is a possibility that a false detection may occur depending on the detection algorithm of the overall judgment unit 40. However, the above is not a false detection of an abnormal temperature rise, but an example for identifying in more detail the shape of the temperature rise waveform to be useful for judgment.
[0108] The output unit 15 outputs the judgment result of the overall judgment unit 40. The output unit 15 visibly displays the judgment result of the overall judgment unit 40 on a display device. The output unit 15 may notify the judgment result of the overall judgment unit 40 by light or sound. Note that the output unit 15 may output the judgment results of the judgment units 19A to 19C in addition to the judgment result of the overall judgment unit 40.
[0109] Incidentally, the abnormal temperature detection device 3 is also realized by, for example, a desktop, notebook, or tablet computer, like the abnormal temperature detection device 2 shown in Fig. 4. When the abnormal temperature detection device 2 is realized by a computer, each block (preprocessing unit 17, learning unit 18, determination unit 19, etc.) provided in the abnormal temperature detection device 3 is realized by a program (abnormal temperature detection program) for realizing each function being executed by a CPU (Central Processing Unit) provided in the computer. In other words, each block provided in the abnormal temperature detection device 2 is realized by software and hardware resources working together. Incidentally, the abnormal temperature detection device 2 may be realized by using hardware such as an FPGA (Field-Programmable Gate Array), an LSI (Large Scale Integration), or an ASIC (Application Specific Integrated Circuit).
[0110] <Abnormal temperature detection method> Next, the operation of the abnormal temperature detection device 3 will be described. The operation of the abnormal temperature detection device 3 is roughly divided into a learning operation for obtaining a discriminant function by performing machine learning, and a detection operation for detecting an abnormal temperature, similar to the abnormal temperature detection device 2. However, in the abnormal temperature detection device 3, the learning operation is performed in parallel in each of the preprocessing unit 17A and the learning unit 18A, the preprocessing unit 17B and the learning unit 18B, and the preprocessing unit 17C and the learning unit 18C. Also, in the abnormal temperature detection device 3, the detection operation is performed in parallel in each of the preprocessing unit 17A and the judgment unit 19A, the preprocessing unit 17B and the judgment unit 19B, and the preprocessing unit 17C and the judgment unit 19C. Then, a process of judging whether the temperature data for detection is normal or abnormal based on the judgment results of the judgment units 19A to 19C is performed in the overall judgment unit 40.
[0111] As described above, in this embodiment, first, during learning, the three preprocessing units 17A to 17C and the three learning units 18A to 18C each perform preprocessing and machine learning to obtain a discriminant function, similar to the second embodiment. Next, during detection, the three preprocessing units 17A to 17C and the three judgment units 19A to 19C each perform preprocessing and judgment using the discriminant function, similar to the second embodiment, to judge whether the temperature data for detection is normal or abnormal. Then, the overall judgment unit 40 finally judges whether the temperature data for detection is normal or abnormal based on the judgment results of the judgment units 19A to 19C. This makes it possible to detect abnormal temperatures with high accuracy, while eliminating the influence of the surrounding environment and taking into account the change in temperature over time.
[0112] The abnormal temperature detection device, abnormal temperature detection method, and abnormal temperature detection program according to the embodiments of the present invention have been described above, but the present invention is not limited to the above embodiments and can be freely modified within the scope of the present invention. For example, since the abnormal temperature detection devices 1 to 3 of the first to third embodiments described above all have a learning unit (learning unit 13, 18) and a judgment unit (judgment unit 14, 19), machine learning may be performed to automatically update (automatically learn) the discriminant function while judging whether the temperature data for detection is normal or abnormal. By automatically updating the learning unit in this way, it is possible to optimize the abnormal temperature detection devices 1 to 3 of the first to third embodiments described above according to the on-site environment.
[0113] The above automatic learning may be performed only for a predetermined period. For example, only temperature data from the past year may be automatically learned, and data older than that may not be used in the learning. The above automatic learning may be started or stopped based on a user's instruction.
[0114] In addition, in the second and third embodiments, for ease of understanding, the preprocessing unit 17 has been described as including the learning preprocessing unit 20 and the detection preprocessing unit 30. However, the preprocessing unit 17 does not necessarily need to be divided into the learning preprocessing unit 20 and the detection preprocessing unit 30, and the overlapping configurations of the learning preprocessing unit 20 and the detection preprocessing unit 30 may be combined into one. For example, the noise removal units 21 and 31 may be combined into one, the difference calculation units 22a and 32a may be combined into one, and the difference calculation units 22b and 32b may be combined into one, and so on.
[0115] In the above third embodiment, a configuration including three each of pre-processing units 17, learning units 18, and judgment units 19 has been described as an example. However, the numbers of pre-processing units 17, learning units 18, and judgment units 19 are not limited to three, and may be two, four or more. Furthermore, the configuration including pre-processing units 17, learning units 18, and judgment units 19 may all be implemented in one device, or may be implemented in different devices.
[0116] Furthermore, the abnormal temperature detection devices 1 to 3 of the above-described embodiments may be realized as standalone devices, or may be realized by cloud computing via a network. Here, cloud computing may conform to the definition (the definition recommended by the National Institute of Standards and Technology) described in the document identified by the following URL (Uniform Resource Locator): http: / / nvlpubs.nist.gov / nistpubs / Legacy / SP / nistspecialpublication800-145.pdf https: / / www.ipa.go.jp / files / 000025366.pdf [Explanation of symbols]
[0117] 1~3 Abnormal temperature detection device 11 Temperature acquisition section 12 Pretreatment section 12a Data processing section 12b Similarity calculation unit 13 Learning Department 14 Judgment section 17 Pretreatment section 18 Learning Department 19 Judgment section 20 Preprocessing section for learning 22a Difference calculation part 24 Code Processing Unit 26a Similarity calculation unit 30 Detection pre-processing section 32a Difference calculation part 34 Code Processing Unit 35a Similarity calculation unit 40 General Judging Section
Claims
1. A temperature acquisition unit that acquires temperature data; a pre-processing unit that performs a pre-processing of calculating difference data indicating a difference sequence of the temperature data, generating replacement data by replacing either the positive difference data or the negative difference data with zero, and calculating a similarity between the replacement data and reference data obtained by averaging the replacement data over a plurality of times; a learning unit that performs machine learning on the similarity calculated by the preprocessing unit and a discrimination label indicating whether the training data, which is the temperature data for learning, is normal or abnormal as a pair and outputs a discrimination function; a determination unit that determines whether the temperature data for detection acquired by the temperature acquisition unit and subjected to the preprocessing by the preprocessing unit is normal or abnormal by using the discrimination function; An abnormal temperature detection device comprising:
2. the preprocessing unit includes a data processing unit that calculates the difference data and generates the replacement data; a similarity calculation unit that calculates the similarity; The abnormal temperature detection device according to claim 1 .
3. 3. The abnormal temperature detection device according to claim 2, wherein the data processing unit calculates first-order difference data indicating a first-order difference sequence of the temperature data and second-order difference data indicating a second-order difference sequence of the temperature data, and generates the replacement data by replacing, for at least the first-order difference data, either the first-order difference data that is a positive number or the first-order difference data that is a negative number, with zero.
4. The abnormal temperature detection device according to claim 2 or 3, wherein the similarity calculation section calculates the similarity using a dynamic time warping method.
5. A first pre-processing unit which is the pre-processing unit for learning; A second pre-processing unit which is the pre-processing unit for detection; Equipped with The first pre-processing unit generates the reference data by using the replacement data generated by the first pre-processing unit; The second pre-processing unit calculates the similarity between the reference data generated by the first pre-processing unit and the replacement data generated by the second pre-processing unit. The abnormal temperature detection device according to any one of claims 1 to 4.
6. The abnormal temperature detecting device according to claim 5 , wherein the first pre-processing unit generates the reference data by averaging the substituted data for a predetermined period of time a plurality of times.
7. The preprocessing unit, the learning unit, and the determination unit are provided in plurality, a comprehensive determination unit that determines whether the temperature data is normal or abnormal based on results from a plurality of the determination units; The abnormal temperature detection device according to any one of claims 1 to 6.
8. A first temperature acquisition step of acquiring temperature data; a first pre-processing step of performing a pre-processing of calculating difference data indicating a difference sequence of the temperature data, generating replacement data by replacing either the positive difference data or the negative difference data with zero, and calculating a similarity between the replacement data and reference data obtained by averaging the replacement data over a plurality of times; a learning step of performing machine learning on the similarity calculated in the first preprocessing step and a discrimination label indicating that the training data, which is the temperature data for learning, is normal or abnormal as a pair, and outputting a discrimination function; a second temperature acquisition step of acquiring temperature data for detection; a second pre-processing step of performing the pre-processing on the temperature data for sensing; a determining step of determining whether the pre-processed temperature data for detection is normal or abnormal by using the discriminant function; The abnormal temperature detection method includes the steps of:
9. Computer, A temperature acquisition means for acquiring temperature data; a pre-processing means for performing a pre-processing of calculating difference data indicating a difference sequence of the temperature data, generating replacement data by replacing either the positive difference data or the negative difference data with zero, and calculating a similarity between the replacement data and reference data obtained by averaging the replacement data over a plurality of times; a learning means for performing machine learning on the similarity calculated by the preprocessing means and a discrimination label indicating whether the training data, which is the temperature data for learning, is normal or abnormal as a pair, and outputting a discrimination function; a determination means for determining whether the temperature data for detection acquired by the temperature acquisition means and preprocessed by the preprocessing means is normal or abnormal by using the discrimination function; An abnormal temperature detection program that functions as a
Citation Information
Patent Citations
Porous sintered bearing made of synthetic resin and manufacture thereof
JP1983008605A
Coating composition, substrate material coated therewith andmethod of coating substrate
JP1985076571A
Fire alarm system
JP2003162778A
Temperature abnormality detection system, temperature abnormality detection method, and program
JP2020071137A
Method for air flow fault and cause identification
US20150330924A1
