Method and device for detecting thermal imaging anomaly of uncooled infrared detector
By dividing the equipment surface into sub-areas and fitting the temperature change function, the comprehensive evaluation index is calculated, which solves the problem of insufficient accuracy and timeliness of equipment abnormality detection in the existing technology, and achieves efficient detection and early warning of equipment abnormality.
Patent Information
- Application Number
- CN202411231051.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-09-04
AI Technical Summary
Existing uncooled infrared detector thermal imaging technology lacks refined segmentation of the equipment surface and data correlation analysis in equipment anomaly detection, resulting in insufficient detection accuracy and timeliness, and failure to provide equipment early warning.
By dividing the equipment surface into sub-areas, based on the gray similarity index and the slope evaluation of the temperature change function, a comprehensive evaluation index is calculated to determine equipment abnormalities, achieving accurate and timely detection of equipment abnormalities.
It improves the accuracy and sensitivity of equipment anomaly detection, enables timely discovery and location of potential problems, and provides support for equipment failure prevention and maintenance.
Smart Images

Figure CN118730600A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment anomaly detection, and in particular to a method and a device for detecting anomaly of thermal imaging of an uncooled infrared detector. Background Art
[0002] Uncooled infrared detector thermal imaging is a high-tech temperature measurement and imaging technology. It uses uncooled infrared detectors as core components to convert infrared radiation energy emitted by the surface of an object into electrical signals, which are amplified and processed by the signal processing circuit and finally presented in the form of images. This technology does not require cooling of the detector, so it has the characteristics of low cost, high reliability and fast response speed. Uncooled infrared detector thermal imaging technology is widely used in industry, medical treatment, environmental monitoring, military and other fields. It can quickly and accurately detect the temperature distribution on the surface of an object and realize non-contact temperature measurement and thermal state analysis. In the field of modern industrial production and equipment operation and maintenance, uncooled infrared detector thermal imaging technology is widely used in equipment status monitoring and fault diagnosis as an efficient non-destructive testing method. This technology captures the infrared radiation emitted by the surface of the equipment and converts it into a thermal image, which displays the temperature distribution on the surface of the equipment in grayscale, thereby realizing visual monitoring of the equipment's operating status. However, the existing technology still has some defects when applying this technology to detect equipment anomalies. The existing technology often lacks a refined division of the equipment surface. In practical applications, it usually only takes the overall temperature of the equipment as a monitoring object, ignoring the differences in temperature changes between various regions, which leads to reduced accuracy in local anomaly detection. Secondly, when processing data from different monitoring cycles, the existing technology often lacks effective integration and analysis methods. It usually simply analyzes the data of each monitoring cycle independently, while ignoring the correlation and trend between the data, which leads to reduced accuracy in anomaly detection. In addition, the existing technology can often only detect anomalies after they occur, and cannot issue abnormal warnings to the equipment, resulting in untimely detection of equipment anomalies. Summary of the invention
[0003] 1. Technical issues to be resolved In response to the technical problems in the background technology, the present invention proposes a method and device for detecting anomalies in thermal imaging of an uncooled infrared detector. By dividing the surface of the equipment into sub-areas and based on the grayscale similarity index between pixels in each monitoring cycle and the slope evaluation index of the fitted temperature change function, a comprehensive evaluation index for each monitoring cycle is obtained to determine whether the equipment is abnormal; thereby increasing the accuracy and timeliness of the judgment on equipment abnormalities.
[0004] (II) Technical solution To achieve the above objectives, the present invention is implemented through the following technical solutions: A method for detecting abnormalities in thermal imaging of an uncooled infrared detector, comprising: Get real-time thermal images of normal equipment operation from historical data; based on the grayscale similarity index of adjacent pixels at components and operation Divide the surface of the equipment into sub-areas; set a monitoring cycle, obtain the surface thermal image of the equipment to be tested at the end of each monitoring cycle when the equipment to be tested is in operation, and perform preprocessing operations; When the equipment is operating normally, the thermal images of each sub-area are obtained at the end of each monitoring cycle, and the temperature change function is fitted for the temperature of all pixels in several sub-areas on the surface of the normal equipment in combination with the previous monitoring cycles, and the standard slope range of the temperature change function of each sub-area at the end of each monitoring cycle is obtained. At the end of each monitoring cycle, the temperature change function is fitted at the temperature of the initial pixel points in several sub-areas of the surface of the detection device in combination with the previous monitoring cycles, and the slope of the temperature change function of each sub-area at the end of each monitoring cycle is obtained. ; At the end of each monitoring cycle, the grayscale similarity index of each pixel point in each sub-region of the thermal image of the device to be detected in the current monitoring cycle and the initial pixel point in the corresponding sub-region is calculated. ; The grayscale similarity index of all pixels in each sub-region and the initial pixel Grayscale similarity index threshold Combined to obtain the first evaluation index of each monitoring period ; The slope of the temperature change function of each sub-area The corresponding temperature change function standard slope range Combined to obtain the second evaluation index for each monitoring period ; The first evaluation index With the second evaluation index Combined, we get the comprehensive evaluation index for each monitoring cycle ; The comprehensive evaluation index of each monitoring cycle is combined with the comprehensive evaluation index of all previous monitoring cycles to form the first abnormality judgment index of the equipment to be detected in the monitoring cycle , the first abnormality judgment index The detected value is compared with the preset first and second determination thresholds to determine whether the device to be detected is abnormal.
[0005] Specifically, a real-time thermal image of the normal equipment operation is obtained from historical data, and after the operation is completed, the gray value of each pixel in the real-time thermal image is obtained one by one through image processing software, and a gray value change function is constructed; By randomly selecting any pixel in the thermal image As the initial pixel point, the pixel point The adjacent pixels are placed into the pixel In the candidate merged pixel set, calculate the pixel point The pixel in the set of pixels to be merged with it Gray similarity index between , the expression is: ; in, Indicates the total time the device operates normally; sets the grayscale similarity index threshold ,like , then the pixel From pixel The candidate merged pixels are concentrated and put into the pixel points The merged pixel set is The adjacent pixels are placed into the pixel In the candidate merged pixel set, continue to judge the pixel points The grayscale similarity index of the remaining pixels in the candidate merged pixel set; if , the pixel From pixel The candidate merged pixels are concentrated and taken out, but the pixels are put into The merged pixel set and continue to determine the pixel The grayscale similarity index of the remaining pixels in the candidate merged pixel set.
[0006] Furthermore, when the pixel When the set of pixels to be merged is an empty set, the pixel points With pixels The pixels in the merged pixel set are taken out and merged to obtain a sub-region; the initial pixel point is marked in each sub-region, that is, the first pixel point in each sub-region; To get all sub-areas in each widget area, use Indicates The first sub-regions, using Indicates The first In the sub-area pixels; The weight coefficient of each component is calculated by the number of abnormalities in each component in the historical data. ,in represents the total number of components on the surface of the device, and .
[0007] Specifically, at the end of each monitoring cycle, the grayscale values of all pixels in each sub-area when the device is operating normally are obtained and converted into specific temperature values; the temperature values of the corresponding pixels in the current monitoring cycle and the previous monitoring cycles are placed in the same plane rectangular coordinate system, the temperature values of the corresponding pixels in the current monitoring cycle and the previous monitoring cycles are marked in the plane rectangular coordinate system, and the linear regression method is used to fit the temperature change function image in the current monitoring cycle. The temperature change function image obtained by fitting is a straight line, and the slope of the fitting function is obtained; the maximum value and the minimum value of the slope of the temperature change function obtained by fitting all pixels in each sub-area are combined to obtain the standard slope range of the temperature change function of the current sub-area ,in, Indicates monitoring cycle.
[0008] Specifically, at the end of each monitoring cycle, the grayscale values of all pixels in each sub-area when the device to be detected is running are obtained and converted into specific temperature values; combined with the temperature values at the corresponding initial pixel points in the previous monitoring cycles, the temperature change function is fitted to each initial pixel point to obtain the slope of the fitting function at the initial pixel point of each sub-area at the end of each monitoring cycle. , and the slope of the fitting function at the pixel point Slope as a function of temperature variation for the corresponding sub-region.
[0009] Specifically, in each monitoring cycle, the grayscale value of each pixel in each sub-region of the thermal image of the device to be detected is monitored in real time. At the end of each monitoring cycle, the grayscale similarity index of each pixel in each sub-region of the thermal image of the device to be detected in the current monitoring cycle and the initial pixel in the corresponding sub-region is calculated. ; The grayscale similarity index of all pixels in each sub-region and the initial pixel is calculated. Grayscale similarity index threshold Combined, the first evaluation index of each monitoring period is obtained , the expression is: ; in, Indicates The weight coefficient of each component, Indicates The total number of sub-areas in the component area, Indicates The first The total number of pixels in the sub-regions; Indicates that when When , the result of the expression is , otherwise, the result of the expression is .
[0010] Furthermore, the slope of the temperature change function of each sub-region is The corresponding temperature change function standard slope range Combined to get the slope evaluation index of each sub-area , the expression is: ; in, Representation interval The minimum value in the interval The lower limit of Representation interval The maximum value in the interval The upper limit of The slope evaluation index of all sub-areas Combined, the second evaluation index for each monitoring period is obtained , the expression is: ; The first evaluation index With the second evaluation index Combined, we get the comprehensive evaluation index for each monitoring cycle , the expression is: ;in , First evaluation index With the second evaluation index The weight coefficient of .
[0011] Specifically, the first abnormality determination index of the device to be detected in each monitoring cycle is calculated in sequence ; If the calculation is the first abnormality determination index of the device to be detected in the first monitoring cycle , then the abnormality determination index is Compared with the first monitoring cycle comprehensive evaluation index Equal, that is ; If the calculation is the first The first abnormality judgment index of the equipment to be detected within a monitoring cycle ,and , then the Comprehensive evaluation index of the monitoring cycle Combined with the comprehensive evaluation index of all previous monitoring cycles, the first abnormality judgment index of the equipment to be detected in this monitoring cycle is formed , the expression is: ; in, The comprehensive evaluation index for the first monitoring cycle The weight coefficient of is the monitoring period coefficient, and ; For the Comprehensive evaluation index of each monitoring cycle The weight coefficient of The value of is: .
[0012] Furthermore, a first determination threshold is set and the second decision threshold ,and , At the end of each monitoring cycle, the first abnormality judgment index of the device to be detected in the current monitoring cycle is calculated Compared with the first and second judgment thresholds, if , it is judged that no abnormality occurs in the equipment to be detected during the current monitoring period; like , the comprehensive evaluation index calculated in the next monitoring cycle needs to be As the second abnormality determination index of the current monitoring cycle , and the second abnormality determination index With the first judgment threshold For comparison, if , it is judged that there is no abnormality in the equipment to be detected during the current monitoring period; if , it is judged that the device to be detected has an abnormality in the current monitoring cycle; like , it is determined that an abnormality occurs in the device to be detected during the current monitoring period.
[0013] An uncooled infrared detector thermal imaging anomaly detection device comprises: The sub-region division and pre-processing module divides the equipment surface into several component regions according to different types of components; obtains real-time thermal images of normal equipment operation from historical data, and merges pixels with similar grayscale value changes by calculating the grayscale similarity index between adjacent pixels to obtain several sub-regions in each component region; at the end of each monitoring cycle, pre-processes the acquired thermal image of the surface of the equipment to be tested, and makes corresponding annotations based on the sub-region division results; The slope fitting module obtains the grayscale values of all pixels in each sub-area when the normal device and the device to be detected are in operation at the end of each monitoring cycle, and converts them into specific temperature values; combines the temperature data of the previous monitoring cycles, fits the temperature change function to each pixel, and obtains the slope of the fitting function; for normal devices, combines the maximum and minimum values of the slopes of the temperature change function obtained by fitting all pixels in each sub-area, and obtains the standard slope range of the temperature change function of the current sub-area; for the device to be detected, the slope of the temperature change function of each sub-area at the end of each monitoring cycle is obtained; The comprehensive evaluation module calculates the grayscale similarity index of each pixel point in each sub-region of the thermal image of the device to be detected and the initial pixel point in the corresponding sub-region at the end of each monitoring cycle, and obtains the first evaluation index by combining the grayscale similarity index threshold; combines the slope of the temperature change function of each sub-region with the corresponding standard slope range of the temperature change function to obtain the second evaluation index of each monitoring cycle; combines the first evaluation index with the second evaluation index to obtain the comprehensive evaluation index of each monitoring cycle; The abnormality judgment module combines the comprehensive evaluation index of each monitoring cycle with the comprehensive evaluation index of all previous monitoring cycles to form a first abnormality judgment index of the equipment to be detected within the monitoring cycle; sets a first judgment threshold and a second judgment threshold, and compares the first abnormality judgment index with the two thresholds to determine whether the equipment to be detected has an abnormality.
[0014] (III) Beneficial effects The present invention provides a method and device for detecting abnormalities in thermal imaging of an uncooled infrared detector, which has the following beneficial effects: 1. Through fine sub-area division and real-time monitoring, it can accurately capture the tiny temperature changes on the surface of the equipment to be tested, so as to timely discover and locate potential thermal imaging anomalies; it not only improves the accuracy and reliability of anomaly detection, but also helps to quickly locate problem components, providing strong support for equipment maintenance and repair; 2. By real-time monitoring and fitting of the temperature of pixels in several sub-areas on the surface of normal equipment and equipment to be tested, a standard slope range of temperature change in each sub-area is established, and based on this, whether the temperature change of the equipment to be tested is abnormal is detected; the sensitivity and accuracy of abnormality detection are improved, and thermal imaging abnormalities on the surface of the equipment can be discovered in time, providing an effective means for equipment failure prevention and early diagnosis; 3. The evaluation is conducted in two dimensions: grayscale similarity index and temperature change function slope. By calculating the comprehensive evaluation index of each monitoring cycle, a comprehensive and accurate evaluation of the thermal imaging anomaly of the equipment is achieved. This not only improves the sensitivity and accuracy of anomaly detection, but also reflects the temperature distribution and change trend of the equipment surface, providing strong support for equipment fault prediction and timely maintenance. 4. By calculating the comprehensive evaluation index of each monitoring cycle and combining the comprehensive evaluation index of all previous monitoring cycles to form the first abnormality judgment index, dynamic and continuous monitoring of equipment thermal imaging abnormalities is achieved; this not only improves the accuracy and reliability of abnormality detection, but also enables real-time monitoring and timely warning of equipment status through the setting of monitoring cycles, which helps to quickly discover and locate potential thermal imaging abnormalities, and provides strong support for equipment failure prevention and timely maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A flowchart of the steps of the thermal imaging anomaly detection method of an uncooled infrared detector provided by the present invention; Figure 2 This is a schematic diagram of the structure of the uncooled infrared detector thermal imaging anomaly detection device provided by the present invention. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] refer to Figure 1 The present invention provides a method for detecting abnormalities in thermal imaging of an uncooled infrared detector, comprising: Step 1: Obtain real-time thermal images of normal equipment operation from historical data; based on the grayscale similarity index of components and adjacent pixels during operation Divide the surface of the equipment into sub-areas; set a monitoring cycle, obtain the surface thermal image of the equipment to be tested at the end of each monitoring cycle when the equipment to be tested is in operation, and perform preprocessing operations; The step one includes the following steps: Step 101: Obtain the design drawing of the device to be tested, and divide the surface of the device to be tested into several component areas according to different types of components. The several types of components on the surface of the device to be tested represent components using different materials and having different functions. For example, for a device including multiple motors and heat sinks, each motor and heat sink is divided into a component area; the weight coefficient of each component is calculated according to the number of abnormalities occurring at each component in the historical data. ,in represents the total number of components on the surface of the device, and ; Step 102, dividing each component area into sub-areas, specifically: obtaining a real-time thermal image of normal equipment operation from historical data, obtaining the grayscale value of each pixel in the real-time thermal image one by one through image processing software after the operation is completed, and constructing a grayscale value change function, where the horizontal axis is time and the vertical axis is grayscale value; the thermal image is an image converted by capturing infrared radiation emitted by the surface of an object through an uncooled infrared detector, and is displayed in grayscale form, where different grayscales represent different temperatures; By calculating the gray similarity index between adjacent pixels The pixels with similar gray value changes, i.e., temperature changes during normal equipment operation, are merged to form several sub-areas. Specifically, any pixel in the thermal image is randomly selected. As the initial pixel point, the pixel point The adjacent pixels are placed into the pixel In the candidate merged pixel set, calculate the pixel point The pixel point in the set of pixels to be merged with the selected pixels Gray similarity index between , pixel Pixel Any pixel in the set of pixels to be merged is expressed as: ; in, Indicates the total time of normal operation of the device, setting the grayscale similarity index threshold , compare the relationship between the grayscale similarity index between two pixels and the grayscale similarity index threshold. If , it means that the grayscale values of the two pixels change similarly during the normal operation of the device. From pixel The candidate merged pixels are concentrated and put into the pixel points The merged pixel set is The adjacent pixels are placed into the pixel In the candidate merged pixel set, continue to judge the pixel points The grayscale similarity index of the remaining pixels in the candidate merged pixel set; if , it means that the grayscale values of the two pixels are not similar during the normal operation of the device. From pixel The candidate merged pixels are concentrated and taken out, but the pixels are not Insert pixels The merged pixel set and continue to determine the pixel The grayscale similarity index with the remaining pixels in the candidate merged pixel set; When the pixel When the set of pixels to be merged is an empty set, the pixel points With pixels The pixel points in the merged pixel point set are taken out and merged to obtain a sub-region; several sub-regions in each component region of the normal device surface are obtained according to the above method, and the initial pixel points are marked in each sub-region, such as the points in the above sub-regions. ; The gray similarity index threshold The value of is obtained by continuously simulating the merging results and using the simulated merging results in the operation of another normal device to verify whether each merging result is accurate; To get all sub-areas in each widget area, use Indicates The first sub-regions, using Indicates The first In the sub-area pixels; the first pixel in each sub-area is the initial pixel; Step 103, setting a monitoring cycle, obtaining a surface thermal image of the device to be detected by an uncooled infrared detector at the end of each monitoring cycle, performing corresponding sub-region division on the surface thermal image of the device to be detected obtained in each monitoring cycle according to the sub-region division result in step 102 after pre-processing, and marking the initial pixel points in each sub-region; The preprocessing includes noise removal, image correction and grayscale adjustment; wherein noise removal is aimed at eliminating random errors or interferences in the image, which may be caused by various factors such as sensor noise, transmission errors, quantization errors, etc., and noise removal is specifically performed through a filter method; image correction is aimed at eliminating aberrations and distortions in the image so that the image can more accurately reflect the actual scene; grayscale adjustment is aimed at improving the contrast and clarity of the image, and the grayscale adjustment of each sub-area is performed through a histogram equalization method.
[0018] When using, combine the contents in steps 101 to 103: Through fine sub-area division and real-time monitoring, it is possible to accurately capture tiny temperature changes on the surface of the equipment to be inspected, so as to promptly discover and locate potential thermal imaging anomalies; this not only improves the accuracy and reliability of anomaly detection, but also helps to quickly locate problem components, providing strong support for equipment maintenance and repair.
[0019] Step 2: When the equipment is operating normally, obtain the thermal images of each sub-area at the end of each monitoring cycle, and fit the temperature change function of all pixels at several sub-areas on the surface of the normal equipment in combination with the previous monitoring cycles, and obtain the standard slope range of the temperature change function of each sub-area at the end of each monitoring cycle. At the end of each monitoring cycle, the temperature change function is fitted at the temperature of the initial pixel points in several sub-areas of the surface of the detection device in combination with the previous monitoring cycles, and the slope of the temperature change function of each sub-area at the end of each monitoring cycle is obtained. ; Step 201, at the end of each monitoring cycle, obtain the grayscale values of all pixels in each sub-area when the device is operating normally, and obtain the specific temperature values at these pixels by using a table lookup method, and fit the temperature change function to each pixel in combination with the temperature values at the corresponding pixels in the previous monitoring cycles; specifically, put the temperature values of the corresponding pixels in the current monitoring cycle and the previous monitoring cycles into the same plane rectangular coordinate system, the horizontal axis in the plane rectangular coordinate system is the number of monitoring cycles, and the vertical axis is the temperature value, mark the temperature values at the corresponding pixels in the current monitoring cycle and the previous monitoring cycles in the plane rectangular coordinate system, and use the linear regression method to fit the temperature change function image in the current monitoring cycle, the temperature change function image obtained by fitting is a straight line, and the slope of the fitting function is obtained; the maximum value and the minimum value of the slope of the temperature change function obtained by fitting all pixels in each sub-area are combined to obtain the standard slope range of the temperature change function of the current sub-area ,in, Indicates Monitoring cycle; Step 202: At the end of each monitoring cycle, the grayscale values of all pixels in each sub-area when the device to be detected is running are obtained, and the specific temperature values at these pixels are obtained by table lookup. The operating environment of the device to be detected is consistent with that of the normal device, and the initial temperature of the device to be detected is the same as that of the normal device. Combined with the temperature values at the corresponding initial pixels in the previous monitoring cycles, the temperature change function is fitted to each initial pixel based on the method in step 201 to obtain the slope of the fitting function at the initial pixel of each sub-area at the end of each monitoring cycle. , and the slope of the fitting function at the pixel point The slope as a function of the temperature change in the corresponding sub-region; When using, combine the contents in steps 201 to 202: By real-time monitoring and fitting of the temperatures of pixels in several sub-areas on the surface of normal equipment and equipment to be tested, a standard slope range of temperature change in each sub-area is established, and based on this, it is detected whether the temperature change of the equipment to be tested is abnormal; the sensitivity and accuracy of abnormality detection are improved, and thermal imaging abnormalities on the surface of the equipment can be discovered in time, providing an effective means for equipment fault prevention and early diagnosis.
[0020] Step 3: At the end of each monitoring cycle, calculate the grayscale similarity index of each pixel in each sub-region of the thermal image of the device to be detected in the current monitoring cycle and the initial pixel in the corresponding sub-region ; The grayscale similarity index of all pixels in each sub-region and the initial pixel Grayscale similarity index threshold Combined to obtain the first evaluation index of each monitoring period ; The slope of the temperature change function of each sub-area The corresponding temperature change function standard slope range Combined to obtain the second evaluation index for each monitoring period ; The first evaluation index With the second evaluation index Combined, we get the comprehensive evaluation index for each monitoring cycle ; Step 301: In each monitoring cycle, the grayscale value of each pixel in each sub-region of the thermal image of the device to be detected is monitored in real time. At the end of each monitoring cycle, the grayscale similarity index of each pixel in each sub-region of the thermal image of the device to be detected in the current monitoring cycle and the initial pixel in the corresponding sub-region is calculated. , the expression is: ,in, Indicates The time when a monitoring cycle ends, the above formula represents the integration of the gray value of each pixel in the current monitoring cycle; Step 302: calculate the grayscale similarity index of all pixels in each sub-region with the initial pixel Grayscale similarity index threshold Combined, the first evaluation index of each monitoring period is obtained , the expression is: ; in, Indicates The weight coefficient of each component, Indicates The total number of sub-areas in the component area, Indicates The first The total number of pixels in the sub-regions; Indicates that when When , the result of the expression is , otherwise, the result of the expression is ; Step 303: The temperature change function slope of each sub-region The corresponding temperature change function standard slope range Combined to get the slope evaluation index of each sub-area , the expression is: ; in, Representation interval The minimum value in the interval The lower limit of Representation interval The maximum value in the interval The upper limit of Step 304: Slope evaluation index of all sub-areas Combined, the second evaluation index for each monitoring period is obtained , the expression is: ; Step 305: Set the first evaluation index With the second evaluation index Combined, we get the comprehensive evaluation index for each monitoring cycle , the expression is: ;in , First evaluation index With the second evaluation index The weight coefficient is obtained by analyzing the historical abnormal data of the equipment to be detected through the entropy weight method; the entropy weight method measures the degree of variation or the amount of information by calculating the information entropy of each indicator, and then determines the weight of each indicator.
[0021] When using, combine the contents in steps 301 to 305: By combining the grayscale similarity index and the slope of the temperature change function for evaluation, and calculating the comprehensive evaluation index of each monitoring cycle, a comprehensive and accurate evaluation of the thermal imaging anomalies of the equipment is achieved. This not only improves the sensitivity and accuracy of anomaly detection, but also reflects the temperature distribution and change trend on the surface of the equipment, providing strong support for equipment fault prediction and timely maintenance.
[0022] Step 4: Combine the comprehensive evaluation index of each monitoring cycle with the comprehensive evaluation index of all previous monitoring cycles to form the first abnormality determination index of the equipment to be detected in the monitoring cycle , the first abnormality judgment index Compare with the preset first and second judgment thresholds to determine whether the device to be detected is abnormal; Step 401: Calculate the first abnormality determination index of the device to be detected in each monitoring cycle in sequence ; If the calculation is the first abnormality determination index of the device to be detected in the first monitoring cycle ,Right now , then the abnormality determination index is Compared with the first monitoring cycle comprehensive evaluation index Equal, that is ; If the calculation is the first The first abnormality judgment index of the equipment to be detected within a monitoring cycle ,and , then the Comprehensive evaluation index of the monitoring cycle Compared with the comprehensive evaluation index of all previous monitoring cycles ( ) is combined to form the first abnormality judgment index of the equipment to be detected within the monitoring period , the expression is: ; in, The comprehensive evaluation index for the first monitoring cycle The weight coefficient of The monitoring cycle coefficient is used to describe the phenomenon that the longer the target equipment operates, the greater the probability of abnormality. ; For the Comprehensive evaluation index of each monitoring cycle The weight coefficient of the comprehensive evaluation index of all monitoring periods must be 1. The value of should be: .
[0023] Step 402: Setting a first determination threshold and the second decision threshold ,and , At the end of each monitoring cycle, the first abnormality judgment index of the device to be detected in the current monitoring cycle is calculated Compared with the first and second judgment thresholds, if , it means that there is no abnormality in the device to be detected in the current monitoring cycle, and the abnormality determination of the next monitoring cycle will continue; like , it means that the equipment to be tested is suspected to be abnormal in the current monitoring cycle, and the comprehensive evaluation index calculated in the next monitoring cycle needs to be As the second abnormality determination index of the current monitoring cycle , and the second abnormality determination index With the first judgment threshold For comparison, if , it means that there is no abnormality in the device to be detected during the current monitoring cycle; if , it means that the device to be detected has an abnormality in the current monitoring cycle, and a device abnormality instruction is sent; like , it means that the device to be detected has an abnormality in the current monitoring cycle, and a device abnormality instruction is sent; After determining that the device to be detected is abnormal, stop the operation of the device.
[0024] When using, combine the contents in steps 401 to 402: By calculating the comprehensive evaluation index of each monitoring cycle and combining the comprehensive evaluation indexes of all previous monitoring cycles to form the first abnormality judgment index, dynamic and continuous monitoring of equipment thermal imaging abnormalities is achieved; this not only improves the accuracy and reliability of abnormality detection, but also enables real-time monitoring and timely warning of equipment status through the setting of monitoring cycles, which helps to quickly discover and locate potential thermal imaging abnormalities, and provides strong support for equipment fault prevention and timely maintenance.
[0025] refer to Figure 2 The present invention also provides a non-cooled infrared detector thermal imaging anomaly detection device, comprising: The sub-region division and pre-processing module divides the equipment surface into several component regions according to different types of components; obtains real-time thermal images of normal equipment operation from historical data, and merges pixels with similar grayscale value changes by calculating the grayscale similarity index between adjacent pixels to obtain several sub-regions in each component region; at the end of each monitoring cycle, pre-processes the acquired thermal image of the surface of the equipment to be tested, and makes corresponding annotations based on the sub-region division results; The slope fitting module obtains the grayscale values of all pixels in each sub-area when the normal device and the device to be detected are in operation at the end of each monitoring cycle, and converts them into specific temperature values; combines the temperature data of the previous monitoring cycles, fits the temperature change function to each pixel, and obtains the slope of the fitting function; for normal devices, combines the maximum and minimum values of the slopes of the temperature change function obtained by fitting all pixels in each sub-area, and obtains the standard slope range of the temperature change function of the current sub-area; for the device to be detected, the slope of the temperature change function of each sub-area at the end of each monitoring cycle is obtained; The comprehensive evaluation module calculates the grayscale similarity index of each pixel point in each sub-region of the thermal image of the device to be detected and the initial pixel point in the corresponding sub-region at the end of each monitoring cycle, and obtains the first evaluation index by combining the grayscale similarity index threshold; combines the slope of the temperature change function of each sub-region with the corresponding standard slope range of the temperature change function to obtain the second evaluation index of each monitoring cycle; combines the first evaluation index with the second evaluation index to obtain the comprehensive evaluation index of each monitoring cycle; The abnormality judgment module combines the comprehensive evaluation index of each monitoring cycle with the comprehensive evaluation index of all previous monitoring cycles to form a first abnormality judgment index of the equipment to be detected within the monitoring cycle; sets a first judgment threshold and a second judgment threshold, and compares the first abnormality judgment index with the two thresholds to determine whether the equipment to be detected has an abnormality.
[0026] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer storage medium or transmitted via a computer storage medium.
[0027] Computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer storage media can be any available media that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives (SSDs)).
[0028] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for detecting abnormalities in thermal imaging of uncooled infrared detectors, Features: include: Get real-time thermal images of normal equipment operation from historical data; based on the grayscale similarity index of adjacent pixels at components and operation Divide the surface of the equipment into sub-areas; set a monitoring cycle, obtain the surface thermal image of the equipment to be tested at the end of each monitoring cycle when the equipment to be tested is in operation, and perform preprocessing operations; When the equipment is operating normally, the thermal images of each sub-area are obtained at the end of each monitoring cycle, and the temperature change function is fitted for the temperature of all pixels in several sub-areas on the surface of the normal equipment in combination with the previous monitoring cycles, and the standard slope range of the temperature change function of each sub-area at the end of each monitoring cycle is obtained. At the end of each monitoring cycle, the temperature change function is fitted at the temperature of the initial pixel points in several sub-areas of the surface of the detection device in combination with the previous monitoring cycles, and the slope of the temperature change function of each sub-area at the end of each monitoring cycle is obtained. ; At the end of each monitoring cycle, the grayscale similarity index of each pixel point in each sub-region of the thermal image of the device to be detected in the current monitoring cycle and the initial pixel point in the corresponding sub-region is calculated. ; The grayscale similarity index of all pixels in each sub-region and the initial pixel Gray similarity index threshold Combined to obtain the first evaluation index of each monitoring period ; The slope of the temperature change function of each sub-area The corresponding temperature change function standard slope range Combined to obtain the second evaluation index for each monitoring period ; The first evaluation index With the second evaluation index Combined, we get the comprehensive evaluation index for each monitoring cycle ; The comprehensive evaluation index of each monitoring cycle is combined with the comprehensive evaluation index of all previous monitoring cycles to form the first abnormality judgment index of the equipment to be detected in the monitoring cycle , the first abnormality judgment index The detected value is compared with the preset first and second determination thresholds to determine whether the device to be detected is abnormal.
2. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 1, Features: Obtain real-time thermal images of normal equipment operation from historical data. After the operation is completed, use image processing software to obtain the grayscale value of each pixel in the real-time thermal image one by one, and construct a grayscale value change function. Randomly select any pixel in the thermal image As the initial pixel point, the pixel point The adjacent pixels are placed into the pixel In the candidate merged pixel set, calculate the pixel point The pixel in the set of pixels to be merged with it Gray similarity index between , the expression is: ; in, Indicates the total time the device operates normally; sets the grayscale similarity index threshold ,like , then the pixel From pixel The candidate merged pixels are concentrated and put into the pixel points The merged pixel set is The adjacent pixels are placed into the pixel In the candidate merged pixel set, continue to judge the pixel points The grayscale similarity index of the remaining pixels in the candidate merged pixel set; if , the pixel From pixel The candidate merged pixels are concentrated and taken out but not put into the pixel points The merged pixel set and continue to determine the pixel The grayscale similarity index of the remaining pixels in the candidate merged pixel set.
3. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 2, Features: When the pixel When the set of pixels to be merged is an empty set, the pixel points With pixels The pixels in the merged pixel set are taken out and merged to obtain a sub-region; Mark the initial pixel in each sub-region, that is, the first pixel in each sub-region; To get all sub-areas in each widget area, use Indicates The first sub-regions, using Indicates The first In the sub-area pixels; The weight coefficient of each component is calculated by the number of abnormalities in each component in the historical data. ,in represents the total number of components on the surface of the device, and .
4. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 3, Features: At the end of each monitoring cycle, the grayscale values of all pixels in each sub-area during normal equipment operation are obtained and converted into specific temperature values; the temperature values of the corresponding pixels in the current monitoring cycle and the previous monitoring cycles are placed in the same plane rectangular coordinate system, the temperature values of the corresponding pixels in the current monitoring cycle and the previous monitoring cycles are marked in the plane rectangular coordinate system, and the linear regression method is used to fit the temperature change function image in the current monitoring cycle to obtain the slope of the fitting function; the maximum and minimum values of the slopes of the temperature change function obtained by fitting all pixels in each sub-area are combined to obtain the standard slope range of the temperature change function of the current sub-area ,in, Indicates monitoring cycle.
5. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 4, Features: At the end of each monitoring cycle, the grayscale values of all pixels in each sub-area when the device to be detected is running are obtained and converted into specific temperature values; combined with the temperature values at the corresponding initial pixels in the previous monitoring cycles, the temperature change function is fitted to each initial pixel, and the slope of the fitting function at the initial pixel of each sub-area at the end of each monitoring cycle is obtained. , and the slope of the fitting function at the pixel point Slope as a function of temperature change for the corresponding sub-region.
6. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 5, Features: In each monitoring cycle, the grayscale value of each pixel in each sub-region of the thermal image of the device to be detected is monitored in real time. At the end of each monitoring cycle, the grayscale similarity index of each pixel in each sub-region of the thermal image of the device to be detected in the current monitoring cycle and the initial pixel in the corresponding sub-region is calculated. ; The grayscale similarity index of all pixels in each sub-region and the initial pixel is calculated. Gray similarity index threshold Combined, the first evaluation index of each monitoring period is obtained , the expression is: ; in, Indicates The weight coefficient of each component, Indicates The total number of sub-areas in the component area, Indicates The first The total number of pixels in the sub-regions; Indicates that when When , the result of the expression is , otherwise, the result of the expression is .
7. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 6, Features: The slope of the temperature change function of each sub-area The corresponding temperature change function standard slope range Combined to get the slope evaluation index of each sub-area , the expression is: ; in, Representation interval The minimum value in the interval The lower limit of Representation interval The maximum value in the interval The upper limit of The slope evaluation index of all sub-areas Combined, the second evaluation index for each monitoring period is obtained , the expression is: ; The first evaluation index With the second evaluation index Combined, we get the comprehensive evaluation index for each monitoring cycle , the expression is: ;in , First evaluation index With the second evaluation index The weight coefficient of .
8. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 7, Features: Calculate the first abnormality judgment index of the equipment to be detected in each monitoring cycle in turn ; If the calculation is the first abnormality determination index of the device to be detected in the first monitoring cycle , then the abnormality judgment index Compared with the first monitoring cycle comprehensive evaluation index Equal, that is ; If the calculation is the first The first abnormality judgment index of the equipment to be detected within a monitoring cycle ,and , then the Comprehensive evaluation index of the monitoring cycle Combined with the comprehensive evaluation index of all previous monitoring cycles, the first abnormality judgment index of the equipment to be detected in this monitoring cycle is formed , the expression is: ; in, The comprehensive evaluation index for the first monitoring cycle The weight coefficient of is the monitoring period coefficient, and ; For the Comprehensive evaluation index of each monitoring cycle The weight coefficient of The value of is: .
9. The method for detecting abnormality of thermal imaging of an uncooled infrared detector according to claim 8, Features: Set the first decision threshold and the second decision threshold ,and , At the end of each monitoring cycle, the first abnormality judgment index of the device to be detected in the current monitoring cycle is calculated Compared with the first and second judgment thresholds, if , it is judged that no abnormality occurs in the equipment to be detected during the current monitoring period; like , the comprehensive evaluation index calculated in the next monitoring cycle needs to be As the second abnormality determination index of the current monitoring cycle , and the second abnormality determination index With the first judgment threshold For comparison, if , it is judged that there is no abnormality in the equipment to be detected during the current monitoring period; if , it is judged that the device to be detected has an abnormality in the current monitoring cycle; like , it is determined that an abnormality occurs in the device to be detected during the current monitoring period.
10. An uncooled infrared detector thermal imaging anomaly detection device, It is characterized in that include: The sub-region division and pre-processing module divides the equipment surface into several component regions according to different types of components; obtains real-time thermal images of normal equipment operation from historical data, and merges pixels with similar grayscale value changes by calculating the grayscale similarity index between adjacent pixels to obtain several sub-regions in each component region; at the end of each monitoring cycle, pre-processes the acquired thermal image of the surface of the equipment to be tested, and makes corresponding annotations based on the sub-region division results; The slope fitting module obtains the grayscale values of all pixels in each sub-area when the normal device and the device to be detected are in operation at the end of each monitoring cycle, and converts them into specific temperature values; combines the temperature data of the previous monitoring cycles, fits the temperature change function to each pixel, and obtains the slope of the fitting function; for normal devices, combines the maximum and minimum values of the slopes of the temperature change function obtained by fitting all pixels in each sub-area, and obtains the standard slope range of the temperature change function of the current sub-area; for the device to be detected, the slope of the temperature change function of each sub-area at the end of each monitoring cycle is obtained; The comprehensive evaluation module calculates the grayscale similarity index of each pixel point in each sub-region of the thermal image of the device to be detected and the initial pixel point in the corresponding sub-region at the end of each monitoring cycle, and obtains the first evaluation index by combining the grayscale similarity index threshold; combines the slope of the temperature change function of each sub-region with the corresponding standard slope range of the temperature change function to obtain the second evaluation index of each monitoring cycle; combines the first evaluation index with the second evaluation index to obtain the comprehensive evaluation index of each monitoring cycle; The abnormality judgment module combines the comprehensive evaluation index of each monitoring cycle with the comprehensive evaluation index of all previous monitoring cycles to form a first abnormality judgment index of the equipment to be detected within the monitoring cycle; sets a first judgment threshold and a second judgment threshold, and compares the first abnormality judgment index with the two thresholds to determine whether the equipment to be detected has an abnormality.
Citation Information
Patent Citations
Infrared image processing method and device, computer device and readable storage medium
CN109447935A
Phase modifier fault monitoring method and system based on infrared image recognition
CN110910383A
Ground surface temperature anomaly detection and positioning method, device and system based on unmanned aerial vehicle
CN111307291A
Substation anomaly detection method and system
CN118505606A
Cited By
Data fusion method based on multi-source sensor
CN120068007A
Data Fusion Method Based on Multi-Source Sensors
CN120068007B
