Infrared thermal imaging detection method and system for temperature status of electrical equipment

By converting infrared thermal imaging images into binary images, the three-dimensional position of abnormal temperature of electrical equipment is obtained, and the problem of inaccurate detection of abnormal temperature positions in the prior art is solved, and more accurate and efficient temperature detection and processing are achieved.

CN119880160BActive Publication Date: 2025-06-06SHENZHEN GUANQUN ELECTRONICS CO LTD

Patent Information

Application Number
CN202510333367.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-06-06
Estimated Expiration
2045-03-20

AI Technical Summary

Technical Problem

The existing electrical equipment temperature detection technology cannot accurately find the three-dimensional specific locations of a single or multiple abnormal temperatures, resulting in an incomplete abnormal temperature warning system and increasing the difficulty of subsequent processing.

Method used

By converting the grayscale map of the detection device into a binary graph based on the abnormal temperature threshold and grayscale temperature relationship function, the three-dimensional position area and center point of the abnormal temperature are obtained, and an abnormal temperature warning is issued, and a position information is sent to the detector.

Benefits of technology

Accurate three-dimensional position detection of abnormal temperature sources of electrical equipment is achieved, the accuracy and efficiency of abnormal temperature warnings are improved, and subsequent processing flow is simplified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119880160B_ABST
    Figure CN119880160B_ABST
Patent Text Reader

Abstract

The invention discloses an infrared thermal imaging detection method and system for the temperature status of electrical equipment, and relates to the technical field of electrical equipment temperature detection, comprising the following steps: using a grayscale processing method to convert a historical equipment infrared image into a historical equipment grayscale image; fitting a grayscale-temperature relationship function based on the relationship between the grayscale value and temperature of a pixel point in the historical equipment grayscale image; obtaining abnormal temperature thresholds of different electrical equipment, and converting the detection equipment grayscale image into a detection equipment binary image based on the abnormal temperature threshold and the grayscale-temperature relationship function; obtaining an abnormal temperature three-dimensional position area and an abnormal temperature center point based on the detection equipment binary image; the invention is used to solve the problem that the existing electrical equipment temperature detection technology fails to find the three-dimensional specific positions of a single or multiple abnormal temperatures based on infrared thermal imaging, resulting in an imperfect abnormal temperature warning system and increased difficulty in subsequent processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature detection of electrical equipment, and in particular to an infrared thermal imaging detection method and system for temperature status of electrical equipment. Background Art

[0002] Excessive temperature of electrical equipment will not only affect the normal operation and life of the electrical equipment, but may also cause fire. Therefore, it is necessary to detect the temperature of the electrical equipment. In the non-contact temperature detection, infrared thermal imaging technology is usually used;

[0003] Infrared thermal imaging is used to detect temperature and issue a warning when the temperature is abnormal. However, infrared thermal imaging is two-dimensional and electrical equipment is three-dimensional. Therefore, infrared imaging detection of heat sources cannot accurately detect the heat sources of electrical equipment, and it also takes manpower and time to find the heat sources. For example, the patent application with application publication number CN111198040A discloses an electrical equipment status monitoring and fault warning system. This solution only issues an abnormal temperature warning, but does not find the specific location area of ​​the abnormal temperature. If there are multiple specific location areas of abnormal temperatures, the difficulty of finding the specific location area of ​​the abnormal temperature increases, resulting in the inability to find the heat source in time and accurately to facilitate subsequent processing. The existing electrical equipment temperature detection technology does not find the three-dimensional specific location of a single or multiple abnormal temperatures based on infrared thermal imaging, resulting in an imperfect abnormal temperature warning system and increased difficulty in subsequent processing. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, and converts a grayscale image of a detection device into a binary image of the detection device based on an abnormal temperature threshold and a grayscale temperature relationship function; obtains an abnormal temperature three-dimensional position area and an abnormal temperature center point based on the detection device binary image; if an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, an abnormal temperature warning is issued, and the abnormal temperature three-dimensional position area and the abnormal temperature center point are sent to detection personnel, so as to solve the problem that the existing electrical equipment temperature detection technology fails to find the three-dimensional specific positions of a single or multiple abnormal temperatures based on infrared thermal imaging, resulting in an imperfect abnormal temperature warning system and increased difficulty in subsequent processing.

[0005] To achieve the above objectives, in a first aspect, the present application provides an infrared thermal imaging detection method for the temperature state of an electrical device, comprising the following steps:

[0006] Acquire a first number of infrared thermal imaging images of electrical equipment under a white-hot mode of an infrared thermal imaging instrument and different electrical equipment temperature conditions, and mark them as historical equipment infrared images;

[0007] The infrared image of historical equipment is converted into the grayscale image of historical equipment by using the grayscale processing method;

[0008] A gray-scale temperature relationship function is fitted based on the relationship between the gray-scale value and temperature of the pixel points in the gray-scale image of the historical equipment;

[0009] Obtain an infrared thermal image of the electrical equipment to be inspected under the white-hot mode of the infrared thermal imaging instrument, and mark it as an infrared image of the inspection equipment;

[0010] The grayscale image of the detection equipment is converted into a grayscale image of the detection equipment by using a grayscale processing method;

[0011] Obtain abnormal temperature thresholds of different electrical equipment, and convert the grayscale image of the detection equipment into a binary image of the detection equipment based on the relationship function between the abnormal temperature threshold and the grayscale temperature;

[0012] Obtain the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment;

[0013] If an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, an abnormal temperature warning will be issued, and the abnormal temperature three-dimensional position area and the abnormal temperature center point will be sent to the inspection personnel.

[0014] Furthermore, the grayscale processing method includes:

[0015] Get the RGB value of each pixel in the historical device infrared image and mark it as the historical infrared RGB value;

[0016] The weighted average grayscale conversion formula is used to convert all historical infrared RGB values ​​in the historical equipment infrared image into grayscale values ​​to obtain the historical equipment grayscale image.

[0017] Furthermore, fitting a grayscale-temperature relationship function based on the grayscale value and temperature relationship of the pixel points in the historical device grayscale image includes the following sub-steps:

[0018] The temperature of the electrical equipment when the historical equipment infrared image is obtained is marked as the historical temperature;

[0019] Get the grayscale value of the pixel in the historical device grayscale image and mark it as the historical grayscale value;

[0020] With the historical temperature as the horizontal coordinate and the historical gray value as the vertical coordinate, draw a plane rectangular coordinate system, marked as the gray temperature coordinate system;

[0021] The historical temperature and the corresponding historical grayscale value are plotted as coordinate points in the grayscale temperature coordinate system to obtain a grayscale temperature scatter plot;

[0022] The gray-scale temperature scatter plot is linearly fitted to obtain the gray-scale temperature relationship function.

[0023] Furthermore, obtaining an infrared thermal imaging image of the electrical device to be inspected under the white-hot mode of the infrared thermal imaging instrument, which is marked as an infrared image of the inspection device, includes the following sub-steps:

[0024] Establish a three-dimensional coordinate system at any position around the electrical equipment to be tested, marked as the testing electrical coordinate system;

[0025] Mark the plane formed by the X-coordinate axis and the Z-coordinate axis in the detection electrical coordinate system as the first detection plane;

[0026] Mark the plane formed by the Y coordinate axis and the Z coordinate axis in the detection electrical coordinate system as the second detection plane;

[0027] Direct the infrared thermal imaging toward the first detection plane and the second detection plane to obtain infrared images of the detection equipment.

[0028] Furthermore, converting the detection device grayscale image into a detection device binary image based on the abnormal temperature threshold and the grayscale temperature relationship function includes the following sub-steps:

[0029] Substituting the abnormal temperature threshold into the gray-temperature relationship function to obtain the abnormal gray-scale threshold;

[0030] Get the grayscale values ​​of all pixels in the grayscale image of the detection device and mark them as detection grayscale values;

[0031] In the grayscale image of the detection device, if the detection grayscale value of the pixel is greater than or equal to the abnormal grayscale threshold, the detection grayscale value is set to 0; if the detection grayscale value is less than the abnormal grayscale threshold, the detection grayscale value is set to 255 to obtain a binary image of the detection device.

[0032] Furthermore, obtaining the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the detection equipment binary image includes the following sub-steps:

[0033] Mark the pixels with gray value 0 as pixels to be searched;

[0034] Get any pixel to be searched, mark it as the starting pixel, and search for an adjacent pixel in eight directions starting from the starting pixel, mark it as the first search pixel;

[0035] Determine whether all first searched pixels are pixels to be searched. If so, search for a new adjacent pixel in eight directions starting from the first searched pixel, determine whether all new adjacent pixels are new pixels to be searched. If so, search in eight directions starting from the new pixels to be searched, and repeat the search until no new pixels to be searched appear. Mark all the pixels to be searched in this search as separate search areas.

[0036] Each time the acquisition of a separate processing area is completed, an unsearched pixel to be searched is obtained as the starting point to continue acquiring the separate processing area until no new separate search area appears in the binary image of the detection device;

[0037] Marking the detection device binarization images obtained by infrared thermal imaging toward the first detection plane and the second detection plane as the first detection binarization image and the second detection binarization image respectively;

[0038] Marking the separate search area in the first detection binarization image as a first abnormal temperature area;

[0039] The separate search area in the second detection binarization image is marked as the second abnormal temperature area.

[0040] Furthermore, obtaining the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the detection equipment binary image includes the following sub-steps:

[0041] A plane rectangular coordinate system is established with the X coordinate axis of the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and is marked as the first section coordinate system;

[0042] Draw the first detection binarization image in the first cross-section coordinate system according to the actual size of the detected electrical equipment;

[0043] In the first cross-sectional coordinate system, the maximum and minimum values ​​of the abscissa of each first abnormal temperature region are obtained, which are marked as H1max and H1min respectively;

[0044] Obtain the maximum and minimum values ​​of the ordinate of the first abnormal temperature region, marked as Z1max and Z1min respectively; obtain the pixel points adjacent to the gray value of 0 in the first abnormal temperature region, marked as the first edge pixel points;

[0045] Mark the center coordinate of each first edge pixel as the first edge midpoint;

[0046] Find the mean of the horizontal and vertical coordinates of all the midpoints of the first edge, marked as DX1 and DY1 respectively.

[0047] Furthermore, obtaining the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the detection equipment binary image also includes the following sub-steps:

[0048] A plane rectangular coordinate system is established with the Y coordinate axis in the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and is marked as the second section coordinate system;

[0049] Draw the second detection binarization image in the second cross-section coordinate system according to the actual size of the detected electrical equipment;

[0050] In the second cross-sectional coordinate system, the maximum and minimum values ​​of the abscissa of each second abnormal temperature region are obtained, which are marked as H2max and H2min respectively;

[0051] Obtain the maximum and minimum values ​​of the ordinate of the second abnormal temperature region, marked as Z2max and Z2min respectively;

[0052] Obtain pixel points adjacent to the gray value of 0 in the second abnormal temperature region and mark them as second edge pixel points;

[0053] Mark the center coordinate of each second edge pixel as the second edge midpoint;

[0054] Find the mean of the horizontal and vertical coordinates of all the second edge midpoints, marked as DX2 and DY2 respectively.

[0055] Furthermore, obtaining the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the detection equipment binary image also includes the following steps:

[0056] The absolute value of the difference between Z1max and Z2max is marked as the first absolute value of the difference;

[0057] The absolute value of the difference between Z1min and Z2min is marked as the second absolute value of the difference;

[0058] Calculate the sum of the absolute value of the first difference of any first abnormal temperature area and the absolute value of the second difference of all second abnormal temperature areas, and mark it as a comparison error value;

[0059] Obtain the values ​​of Z1max, Z2max, Z1min, and Z2min when the contrast error value is minimum, marked as Zz1max, Zz2max, Zz1min, and Zz2min respectively;

[0060] Find the mean of Zz1max and Zz2max, marked as Zjmax;

[0061] Find the mean of Zz1min and Zz2min, marked as Zjmin;

[0062] In the detection electrical coordinate system, obtain points (H1min, H2min, Zjmin), point (H1max, H2min, Zjmin), point (H1min, H2max, Zjmin), point (H1min, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1min, H2max, Zjmax) and point (H1max, H2max, Zjmax), connect the eight points to form a cuboid, and mark it as the abnormal temperature three-dimensional position area;

[0063] Obtain DX1 and DY1 of the first abnormal temperature region and DX2 and DY2 of the second abnormal temperature region corresponding to the minimum contrast error value, and mark them as DXX1, DXY1, DXX2 and DXY2 respectively;

[0064] Find the mean of DXY1 and DXY2, marked as Dj;

[0065] The acquisition point (DXX1, DXX2, Dj) is marked as the abnormal temperature center point;

[0066] The abnormal temperature three-dimensional position areas and the abnormal temperature center points of all first abnormal temperature areas are obtained.

[0067] In a second aspect, the present application also provides an infrared thermal imaging detection system for the temperature status of electrical equipment, including: a historical image acquisition module, a historical grayscale module, a function fitting module, a detection image acquisition module, a detection grayscale module, a detection binarization module, an abnormal area acquisition module, and an abnormal execution module;

[0068] The historical image acquisition module is used to acquire a first number of infrared thermal imaging images of electrical equipment under the white-hot mode of the infrared thermal imaging instrument and different electrical equipment temperature conditions, which are marked as historical equipment infrared images;

[0069] The historical grayscale module is used to convert the historical equipment infrared image into the historical equipment grayscale image by using the grayscale processing method;

[0070] The function fitting module is used to fit the grayscale temperature relationship function based on the grayscale value and temperature relationship of the pixel points in the historical equipment grayscale image;

[0071] The detection image acquisition module is used to obtain an infrared thermal image of the electrical equipment to be detected under the white-hot mode of the infrared thermal imaging instrument, which is marked as an infrared image of the detection equipment;

[0072] The detection grayscale module is used to convert the detection device grayscale image into the detection device grayscale image by using the grayscale processing method;

[0073] The detection binarization module is used to obtain abnormal temperature thresholds of different electrical devices, and convert the grayscale image of the detection device into a binary image of the detection device based on the abnormal temperature threshold and the grayscale temperature relationship function;

[0074] The abnormal area acquisition module is used to acquire the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the detection equipment binary image;

[0075] The abnormal execution module is used to issue an abnormal temperature warning if an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, and send the abnormal temperature three-dimensional position area and the abnormal temperature center point to the detection personnel.

[0076] Beneficial effects of the present invention: The present invention converts the grayscale image of the detection equipment into a binary image of the detection equipment based on the abnormal temperature threshold and the grayscale temperature relationship function; obtains the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment; if the abnormal temperature three-dimensional position area and the abnormal temperature center point appear, an abnormal temperature warning is issued, and the abnormal temperature three-dimensional position area and the abnormal temperature center point are sent to the detection personnel. The advantage is that the specific three-dimensional position area of ​​the abnormal temperature source can be accurately found, and the abnormal temperature warning is issued, which is convenient for the subsequent heating efficiency of the electrical equipment;

[0077] The present invention fits a grayscale-temperature relationship function based on the relationship between the grayscale value and temperature of the pixel points in the grayscale image of the historical device. The advantage is that finding the relationship between temperature and grayscale value facilitates subsequent different binarization operations for different devices and different abnormal temperature thresholds, thereby increasing the accuracy of the abnormal temperature area. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] Figure 1 is a functional block diagram of the system of the present invention;

[0079] Figure 2 is a schematic diagram of a grayscale temperature scatter diagram of the present invention;

[0080] Figure 3 is a schematic diagram of a first detection plane and a second detection plane of the present invention;

[0081] Figure 4 is a schematic diagram of a first cross-sectional coordinate system of the present invention;

[0082] Figure 5 is a schematic diagram of a second cross-sectional coordinate system of the present invention;

[0083] Figure 6 A schematic diagram of an abnormal temperature three-dimensional position area of ​​the present invention;

[0084] Figure 7 The figure is a flow chart of the steps of the method of the present invention. DETAILED DESCRIPTION

[0085] 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.

[0086] Example 1, please refer to Figure 1As shown, the present application provides an infrared thermal imaging detection system for the temperature status of electrical equipment, including a historical image acquisition module, a historical grayscale module, a function fitting module, a detection image acquisition module, a detection grayscale module, a detection binarization module, an abnormal area acquisition module and an abnormal execution module;

[0087] The historical image acquisition module is used to acquire a first number of infrared thermal images of electrical equipment under the white-hot mode of the infrared thermal imaging instrument and different electrical equipment temperature conditions, which are marked as historical equipment infrared images; the white-hot mode is used here so that the higher the temperature, the higher the brightness, and the lower the temperature, the lower the brightness, which is convenient for subsequent image analysis;

[0088] The historical grayscale module is used to convert the historical equipment infrared image into the historical equipment grayscale image by using the grayscale processing method;

[0089] The historical grayscale module is equipped with grayscale processing methods, which include:

[0090] Get the RGB value of each pixel in the historical device infrared image and mark it as the historical infrared RGB value;

[0091] The weighted average grayscale conversion formula is used to convert all historical infrared RGB values ​​in the historical equipment infrared image into grayscale values ​​to obtain the historical equipment grayscale image; although the white-hot image is similar to the binary image, it is not a binary image, so a binary operation is performed, and the weighted average grayscale conversion formula is the weighted sum of the three channel values ​​of the historical infrared RGB value;

[0092] The function fitting module is used to fit the gray-scale temperature relationship function based on the gray-scale value and temperature relationship of the pixel points in the historical equipment gray-scale image;

[0093] The function fitting module is configured with function fitting strategies, which include:

[0094] The temperature of the electrical equipment when the historical equipment infrared image is obtained is marked as the historical temperature;

[0095] Get the grayscale value of the pixel in the historical device grayscale image and mark it as the historical grayscale value;

[0096] With the historical temperature as the horizontal coordinate and the historical gray value as the vertical coordinate, draw a plane rectangular coordinate system, marked as the gray temperature coordinate system;

[0097] The historical temperature and the corresponding historical grayscale value are plotted as coordinate points in the grayscale temperature coordinate system to obtain a grayscale temperature scatter plot; the historical temperature and the corresponding historical grayscale value are marked as grayscale temperature coordinate points;

[0098] Perform linear fitting on the gray-scale temperature scatter plot to obtain the gray-scale temperature relationship function;

[0099] For practical applications, please refer to Figure 2 As shown, the gray-scale temperature relationship function is: Hd=3.43*Wd+49.28

[0100] Where Hd is the historical grayscale value, Wd is the historical temperature, and the calculation result is retained to two decimal places; a grayscale-temperature relationship function is established to find the corresponding grayscale value according to the abnormal temperature of the electrical equipment, which is convenient for subsequent binarization operations and distinguishes temperature abnormality areas.

[0101] The detection image acquisition module is used to obtain an infrared thermal image of the electrical equipment to be detected under the white-hot mode of the infrared thermal imaging instrument, which is marked as an infrared image of the detection equipment;

[0102] The detection image acquisition module is configured with a detection image acquisition strategy, which includes:

[0103] Establish a three-dimensional coordinate system at any position around the electrical equipment to be tested, marked as the testing electrical coordinate system;

[0104] Mark the plane formed by the X-coordinate axis and the Z-coordinate axis in the detection electrical coordinate system as the first detection plane;

[0105] Mark the plane formed by the Y coordinate axis and the Z coordinate axis in the detection electrical coordinate system as the second detection plane;

[0106] Direct the infrared thermal imaging toward the first detection plane and the second detection plane to obtain infrared images of the detection equipment.

[0107] The detection grayscale module is used to convert the detection device grayscale image into the detection device grayscale image by using the grayscale processing method;

[0108] For practical applications, please refer to Figure 3 As shown, the three-dimensional position of the temperature anomaly can be determined through the coordinates on the two planes;

[0109] The detection binarization module is used to obtain the abnormal temperature thresholds of different electrical equipment, and convert the grayscale image of the detection equipment into a binary image of the detection equipment based on the relationship function between the abnormal temperature threshold and the grayscale temperature;

[0110] The detection binarization module is configured with a binarization strategy, which includes:

[0111] Substituting the abnormal temperature threshold into the gray-temperature relationship function to obtain the abnormal gray-scale threshold;

[0112] Get the grayscale values ​​of all pixels in the grayscale image of the detection device and mark them as detection grayscale values;

[0113] In the grayscale image of the detection device, if the detection grayscale value of the pixel is greater than or equal to the abnormal grayscale threshold, the detection grayscale value is set to 0; if the detection grayscale value is less than the abnormal grayscale threshold, the detection grayscale value is set to 255 to obtain a binary image of the detection device.

[0114] In practical applications, the abnormal temperature threshold is based on the normal temperature of the electrical equipment in use. For example, the temperature of the distribution cabinet generally does not exceed 50°C, so the abnormal temperature threshold can be set to 50°C. Substitute 50°C into Hd=3.43*Wd+49.28 to obtain Hd=220.78, so the abnormal grayscale threshold is 220.78. In the grayscale image of the detection equipment, if the detection grayscale value of the pixel point is greater than or equal to 220.78, the detection grayscale value is set to 0. If the detection grayscale value of the pixel point is less than 220.78, the detection grayscale value is set to 255, and the binary image of the detection equipment is obtained. The part of the pixel point grayscale value of 0 in the binary image of the detection equipment is the temperature abnormality area.

[0115] The abnormal area acquisition module is used to obtain the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment;

[0116] Mark the pixels with gray value 0 as pixels to be searched;

[0117] Get any pixel to be searched, mark it as the starting pixel, and search for an adjacent pixel in eight directions starting from the starting pixel, mark it as the first search pixel;

[0118] Determine whether all first searched pixels are pixels to be searched. If so, search for a new adjacent pixel in eight directions starting from the first searched pixel, determine whether all new adjacent pixels are new pixels to be searched. If so, search in eight directions starting from the new pixels to be searched, and repeat the search until no new pixels to be searched appear. Mark all the pixels to be searched in this search as separate search areas.

[0119] Each time a separate processing area is acquired, an unsearched pixel to be searched is acquired as the starting point to continue acquiring the separate processing area until no new separate search area appears in the binary image of the detection device; different temperature areas can be acquired separately, which is convenient for processing and multi-position determination;

[0120] Marking the detection device binarization images obtained by infrared thermal imaging toward the first detection plane and the second detection plane as the first detection binarization image and the second detection binarization image respectively;

[0121] Marking the separate search area in the first detection binarization image as a first abnormal temperature area;

[0122] The separate search area in the second detection binarization image is marked as the second abnormal temperature area.

[0123] The abnormal area acquisition module is configured with a first area coordinate acquisition strategy, and the first area coordinate acquisition strategy includes:

[0124] A plane rectangular coordinate system is established with the X coordinate axis of the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and is marked as the first section coordinate system;

[0125] Draw the first detection binarization image in the first cross-section coordinate system according to the actual size of the detected electrical equipment;

[0126] In the first cross-sectional coordinate system, the maximum and minimum values ​​of the abscissa of each first abnormal temperature region are obtained, which are marked as H1max and H1min respectively;

[0127] Obtain the maximum and minimum values ​​of the vertical coordinates of the first abnormal temperature region, marked as Z1max and Z1min respectively;

[0128] Obtain pixel points adjacent to the grayscale value of 0 in the first abnormal temperature region and mark them as first edge pixel points;

[0129] Mark the center coordinate of each first edge pixel as the first edge midpoint;

[0130] Find the mean of the horizontal and vertical coordinates of all the midpoints of the first edge, marked as DX1 and DY1 respectively;

[0131] For practical applications, please refer to Figure 4 As shown, H1max and H1min are 73cm and 12cm respectively; Z1max and Z1min are 72cm and 32cm respectively, DX1 and DY1 are 42cm and 52cm respectively;

[0132] The abnormal area acquisition module is configured with a second area coordinate acquisition strategy, and the second area coordinate acquisition strategy includes:

[0133] A plane rectangular coordinate system is established with the Y coordinate axis in the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and is marked as the second section coordinate system;

[0134] Draw the second detection binarization image in the second cross-section coordinate system according to the actual size of the detected electrical equipment;

[0135] In the second cross-sectional coordinate system, the maximum and minimum values ​​of the abscissa of each second abnormal temperature region are obtained, which are marked as H2max and H2min respectively;

[0136] Obtain the maximum and minimum values ​​of the ordinate of the second abnormal temperature region, marked as Z2max and Z2min respectively;

[0137] Obtain pixel points adjacent to the gray value of 0 in the second abnormal temperature region and mark them as second edge pixel points;

[0138] Mark the center coordinate of each second edge pixel as the second edge midpoint;

[0139] Find the mean of the horizontal and vertical coordinates of all the midpoints of the second edge, marked as DX2 and DY2 respectively;

[0140] For practical applications, please refer to Figure 5 As shown, H2max and H2min are 69cm and 13cm respectively; Z2max and Z2min are 72cm and 32cm respectively, DX2 and DY2 are 41cm and 52cm respectively;

[0141] The abnormal area acquisition module is configured with a three-dimensional position area acquisition strategy, which includes:

[0142] The absolute value of the difference between Z1max and Z2max is marked as the first absolute value of the difference;

[0143] The absolute value of the difference between Z1min and Z2min is marked as the second absolute value of the difference;

[0144] Calculate the sum of the absolute value of the first difference of any first abnormal temperature area and the absolute value of the second difference of all second abnormal temperature areas, and mark it as a comparison error value;

[0145] Obtain the values ​​of Z1max, Z2max, Z1min, and Z2min when the contrast error value is minimum, marked as Zz1max, Zz2max, Zz1min, and Zz2min respectively;

[0146] Find the mean of Zz1max and Zz2max, marked as Zjmax;

[0147] Find the mean of Zz1min and Zz2min, marked as Zjmin;

[0148] In the detection electrical coordinate system, obtain points (H1min, H2min, Zjmin), point (H1max, H2min, Zjmin), point (H1min, H2max, Zjmin), point (H1min, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1min, H2max, Zjmax) and point (H1max, H2max, Zjmax), connect the eight points to form a cuboid, and mark it as the abnormal temperature three-dimensional position area;

[0149] Obtain DX1 and DY1 of the first abnormal temperature region and DX2 and DY2 of the second abnormal temperature region corresponding to the minimum contrast error value, and mark them as DXX1, DXY1, DXX2 and DXY2 respectively;

[0150] Find the mean of DXY1 and DXY2, marked as Dj;

[0151] The acquisition point (DXX1, DXX2, Dj) is marked as the abnormal temperature center point;

[0152] Obtain the abnormal temperature three-dimensional position area and the abnormal temperature center point of all first abnormal temperature areas; obtain the abnormal temperature center point because if an irregular heating area appears, the heating source can be better found by combining the abnormal temperature center point and the abnormal temperature three-dimensional position area;

[0153] For practical applications, please refer to Figure 6As shown, to form a cuboid, two specific points need to be connected to form it, specifically: connect the point (H1min, H2min, Zjmin) with the point (H1max, H2min, Zjmin) to obtain the first line segment; connect the point (H1min, H2min, Zjmin) with the point (H1min, H2min, Zjmax) to obtain the second line segment; connect the point (H1max, H2min, Zjmax) with the point (H1min, H2min, Zjmax) to obtain the third line segment; connect the point (H1max, H2min, Zjmax) with the point (H1max, H2min, Zjmin) to obtain the fourth line segment. Segment; connect the point (H1min, H2max, Zjmin) with the point (H1max, H2max, Zjmin) to obtain the fifth line segment; connect the point (H1min, H2max, Zjmin) with the point (H1min, H2max, Zjmax) to obtain the sixth line segment; connect the point (H1max, H2max, Zjmax) with the point (H1min, H2max, Zjmax) to obtain the seventh line segment; connect the point (H1max, H2max, Zjmax) with the point (H1max, H2max, Zjmin) to obtain the eighth line segment; connect the point (H1min, H2min, Zjmin) with the point (H 1min, H2max, Zjmin) to obtain the ninth line segment; connect the point (H1min, H2min, Zjmax) and the point (H1min, H2max, Zjmax) to obtain the tenth line segment; connect the point (H1max, H2min, Zjmin) and the point (H1max, H2max, Zjmin) to obtain the eleventh line segment; connect the point (H1max, H2min, Zjmax) and the point (H1max, H2max, Zjmax) to obtain the twelfth line segment. The first to twelfth line segments form a cuboid, which is marked as the three-dimensional position area of ​​abnormal temperature. The average value Zjmax of Z1max and Z2max is obtained as 72; the average value Zjmin of Z1min and Z2min is 32. Because the three-dimensional area of ​​abnormal temperature obtained by the first section coordinate system and the second section coordinate system may have slight deviations at the highest point and the lowest point of the detection electrical coordinate system, the average is calculated to eliminate the deviation. The average is calculated. Taking the first line segment obtained by connecting point (12, 13, 32) and point (73, 13, 32) as an example, the first line segment is connected to the twelfth line segment. The first line segment to the twelfth line segment constitute an abnormal temperature three-dimensional position area. The abnormal temperature three-dimensional position area is to select the abnormal heating position with a rectangular box. Dj is 52cm. The point (42, 41, 52) is marked as the center point of the abnormal temperature.

[0154] The abnormal execution module is used to issue an abnormal temperature warning if an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, and send the abnormal temperature three-dimensional position area and the abnormal temperature center point to the inspection personnel;

[0155] In practical applications, abnormal temperature warning means that the temperature of electrical equipment is high. At the same time, the relative position of the electrical coordinate system and the electrical equipment is fixed. Therefore, the three-dimensional position area of ​​abnormal temperature can determine the area where the temperature of the electrical equipment is too high, which is convenient and quick to find the area where the temperature of the electrical equipment is too high, and it is convenient for detection personnel to quickly find equipment problems and repair them.

[0156] Example 2, please refer to Figure 7 As shown, the present application provides an infrared thermal imaging detection method for the temperature status of electrical equipment, comprising the following steps:

[0157] Step S1, obtaining a first number of infrared thermal imaging images of electrical equipment under the white-hot mode of the infrared thermal imaging instrument and different electrical equipment temperature conditions, and marking them as historical equipment infrared images.

[0158] Step S2, converting the historical equipment infrared image into a historical equipment grayscale image using a grayscale processing method; Step S2 includes the following sub-steps:

[0159] Step S201, obtaining the RGB value of each pixel in the historical device infrared image, and marking it as a historical infrared RGB value;

[0160] Step S202: using a weighted average grayscale conversion formula, all historical infrared RGB values ​​in the historical device infrared image are converted into grayscale values ​​to obtain a historical device grayscale image.

[0161] Step S3, fitting a gray-temperature relationship function based on the gray value and temperature relationship of the pixel points in the historical device grayscale image; Step S3 includes the following sub-steps:

[0162] Step S301, marking the temperature of the electrical equipment when the historical equipment infrared image is obtained as the historical temperature;

[0163] Step S302, obtaining the grayscale value of the pixel in the historical device grayscale image and marking it as the historical grayscale value;

[0164] Step S303, using the historical temperature as the horizontal coordinate and the historical gray value as the vertical coordinate, draw a plane rectangular coordinate system, marked as a gray temperature coordinate system;

[0165] Step S304, plotting the historical temperatures and the corresponding historical grayscale values ​​as coordinate points into a grayscale temperature coordinate system to obtain a grayscale temperature scatter plot;

[0166] Step S305 , performing linear fitting on the gray-scale temperature scatter plot to obtain a gray-scale temperature relationship function.

[0167] Step S4, obtaining an infrared thermal imaging image of the electrical equipment to be tested under the white-hot mode of the infrared thermal imaging instrument, marked as the infrared image of the testing equipment; Step S4 includes the following sub-steps:

[0168] Step S401, establishing a three-dimensional coordinate system at any position around the electrical device to be detected, marked as a detection electrical coordinate system;

[0169] Step S402, marking the plane formed by the X coordinate axis and the Z coordinate axis in the detection electrical coordinate system as the first detection plane;

[0170] Step S403, marking the plane formed by the Y coordinate axis and the Z coordinate axis in the detection electrical coordinate system as a second detection plane;

[0171] Step S404, directing the infrared thermal imaging toward the first detection plane and the second detection plane to obtain infrared images of the detection equipment.

[0172] Step S5, converting the detection device grayscale image into a detection device grayscale image using a grayscale processing method.

[0173] Step S6, obtaining abnormal temperature thresholds of different electrical devices, and converting the grayscale image of the detection device into a binary image of the detection device based on the abnormal temperature threshold and the grayscale temperature relationship function; Step S6 includes the following sub-steps:

[0174] Step S601, substituting the abnormal temperature threshold into the gray-temperature relationship function to obtain the abnormal gray threshold;

[0175] Step S602, obtaining the grayscale values ​​of all pixels in the grayscale image of the detection device and marking them as detection grayscale values;

[0176] Step S603, in the detection device grayscale image, if the detection grayscale value of the pixel point is greater than or equal to the abnormal grayscale threshold, the detection grayscale value is set to 0; if the detection grayscale value is less than the abnormal grayscale threshold, the detection grayscale value is set to 255 to obtain a binary image of the detection device.

[0177] Step S7, obtaining the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection device; Step S7 includes the following sub-steps:

[0178] Step S701, marking pixels with a gray value of 0 as pixels to be searched; obtaining any pixel to be searched, marking it as a starting pixel, and searching for an adjacent pixel in eight directions starting from the starting pixel, marking it as a first search pixel;

[0179] Step S702, determine whether all the first searched pixel points are the pixel points to be searched, if so, start from the first searched pixel point and search in eight directions to find a new adjacent pixel point, determine whether all the new adjacent pixel points are new pixel points to be searched, if so, start from the new pixel point to be searched and search in eight directions, repeat the search until no new pixel points to be searched appear, mark all the pixel points to be searched in this search as separate search areas; each time a separate processing area is obtained, obtain an unsearched pixel point to be searched as the starting point to continue to obtain separate processing areas until no new separate search areas appear in the binary image of the detection device;

[0180] Step S703, marking the detection device binarization images obtained by infrared thermal imaging toward the first detection plane and the second detection plane as the first detection binarization image and the second detection binarization image respectively; marking the separate search area in the first detection binarization image as the first abnormal temperature area; marking the separate search area in the second detection binarization image as the second abnormal temperature area;

[0181] Step S704, establishing a plane rectangular coordinate system with the X coordinate axis of the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and marking it as the first cross-section coordinate system;

[0182] Step S705, drawing the first detection binary image in the first cross-sectional coordinate system according to the actual size of the detected electrical equipment;

[0183] Step S706, in the first cross-sectional coordinate system, obtaining the maximum value and the minimum value of the abscissa of each first abnormal temperature region, marked as H1max and H1min respectively;

[0184] Step S707, obtaining the maximum value and the minimum value of the vertical coordinate of the first abnormal temperature area, marked as Z1max and Z1min respectively;

[0185] Step S708, obtaining pixel points adjacent to the gray value of 0 in the first abnormal temperature region, and marking them as first edge pixel points;

[0186] Step S709, marking the center coordinates of each first edge pixel point as the first edge midpoint;

[0187] Find the mean of the horizontal and vertical coordinates of all the midpoints of the first edge, marked as DX1 and DY1 respectively

[0188] Step S710, establishing a plane rectangular coordinate system with the Y coordinate axis in the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and marking it as the second cross-section coordinate system;

[0189] Step S711, drawing the second detection binary image in the second cross-sectional coordinate system according to the actual size of the detected electrical equipment;

[0190] Step S712, in the second cross-sectional coordinate system, obtaining the maximum value and the minimum value of the abscissa of each second abnormal temperature region, marked as H2max and H2min respectively;

[0191] Step S713, obtaining the maximum value and the minimum value of the ordinate of the second abnormal temperature region, marked as Z2max and Z2min respectively;

[0192] Step S714, obtaining pixel points adjacent to the gray value of 0 in the second abnormal temperature region and marking them as second edge pixel points;

[0193] Step S715, marking the center coordinates of each second edge pixel point as the second edge midpoint;

[0194] Step S716, calculating the average of the horizontal and vertical coordinates of all the midpoints of the second edge, marked as DX2 and DY2 respectively;

[0195] Step S717, marking the absolute value of the difference between Z1max and Z2max as the first absolute value of the difference; marking the absolute value of the difference between Z1min and Z2min as the second absolute value of the difference;

[0196] Step S718, calculating the sum of the absolute value of the first difference of any first abnormal temperature region and the absolute value of the second difference of all second abnormal temperature regions, and marking it as a comparison error value;

[0197] Step S719, obtaining the values ​​of Z1max, Z2max, Z1min and Z2min when the contrast error value is minimum, marked as Zz1max, Zz2max, Zz1min and Zz2min respectively;

[0198] Step S720, find the average of Zz1max and Zz2max, marked as Zjmax; find the average of Zz1min and Zz2min, marked as Zjmin;

[0199] Step S721, in the detection electrical coordinate system, obtain point (H1min, H2min, Zjmin), point (H1max, H2min, Zjmin), point (H1min, H2max, Zjmin), point (H1min, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1min, H2max, Zjmax) and point (H1max, H2max, Zjmax), connect the eight points to form a cuboid, and mark it as the abnormal temperature three-dimensional position area;

[0200] Step S722, obtaining DX1 and DY1 of the first abnormal temperature area and DX2 and DY2 of the second abnormal temperature area corresponding to the minimum contrast error value, and marking them as DXX1, DXY1, DXX2 and DXY2 respectively;

[0201] Step S723, calculate the mean of DXY1 and DXY2, marked as Dj;

[0202] Step S724, obtaining point (DXX1, DXX2, Dj) and marking it as the abnormal temperature center point;

[0203] Step S725, obtaining the abnormal temperature three-dimensional position areas and abnormal temperature center points of all first abnormal temperature areas;

[0204] Step S8: If an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, an abnormal temperature warning is issued, and the abnormal temperature three-dimensional position area and the abnormal temperature center point are sent to the inspection personnel.

[0205] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0206] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

Claims

1. An infrared thermal imaging detection method for the temperature status of electrical equipment, characterized in that: The steps include: Acquire a first number of infrared thermal imaging images of electrical equipment under a white-hot mode of an infrared thermal imaging instrument and different electrical equipment temperature conditions, and mark them as historical equipment infrared images; The infrared image of historical equipment is converted into the grayscale image of historical equipment by using the grayscale processing method; A gray-scale temperature relationship function is fitted based on the relationship between the gray-scale value and temperature of the pixel points in the gray-scale image of the historical equipment; Obtain an infrared thermal image of the electrical equipment to be inspected under the white-hot mode of the infrared thermal imaging instrument, and mark it as an infrared image of the inspection equipment; The infrared image of the detection equipment is converted into a grayscale image of the detection equipment by using a grayscale processing method; Obtain abnormal temperature thresholds of different electrical equipment, and convert the grayscale image of the detection equipment into a binary image of the detection equipment based on the relationship function between the abnormal temperature threshold and the grayscale temperature; Obtain the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment; If an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, an abnormal temperature warning is issued, and the abnormal temperature three-dimensional position area and the abnormal temperature center point are sent to the inspection personnel; Converting the grayscale image of the detection device into a binary image of the detection device based on the abnormal temperature threshold and the grayscale temperature relationship function includes the following sub-steps: Substituting the abnormal temperature threshold into the gray-temperature relationship function to obtain the abnormal gray-scale threshold; Get the grayscale values ​​of all pixels in the grayscale image of the detection device and mark them as detection grayscale values; In the grayscale image of the detection device, if the detection grayscale value of the pixel point is greater than or equal to the abnormal grayscale threshold, the detection grayscale value is set to 0; if the detection grayscale value is less than the abnormal grayscale threshold, the detection grayscale value is set to 255 to obtain a binary image of the detection device; Acquiring the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment includes the following sub-steps: Mark the pixels with gray value 0 as pixels to be searched; Get any pixel to be searched, mark it as the starting pixel, and search for an adjacent pixel in eight directions starting from the starting pixel, mark it as the first search pixel; Determine whether all first searched pixels are pixels to be searched. If so, search for a new adjacent pixel in eight directions starting from the first searched pixel, determine whether all new adjacent pixels are new pixels to be searched. If so, search in eight directions starting from the new pixels to be searched, and repeat the search until no new pixels to be searched appear. Mark all the pixels to be searched in this search as separate search areas. Each time the acquisition of a separate processing area is completed, an unsearched pixel point to be searched is obtained as a starting point to continue acquiring the separate processing area until no new separate search area appears in the binary image of the detection device.

2. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 1, characterized in that: Grayscale processing methods include: Get the RGB value of each pixel in the historical device infrared image and mark it as the historical infrared RGB value; The weighted average grayscale conversion formula is used to convert all historical infrared RGB values ​​in the historical equipment infrared image into grayscale values ​​to obtain the historical equipment grayscale image.

3. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 2, characterized in that: Fitting the grayscale temperature relationship function based on the grayscale value and temperature relationship of the pixel points in the historical equipment grayscale image includes the following sub-steps: The temperature of the electrical equipment when the historical equipment infrared image is obtained is marked as the historical temperature; Get the grayscale value of the pixel in the historical device grayscale image and mark it as the historical grayscale value; With the historical temperature as the horizontal coordinate and the historical gray value as the vertical coordinate, draw a plane rectangular coordinate system, marked as the gray temperature coordinate system; The historical temperature and the corresponding historical grayscale value are plotted as coordinate points in the grayscale temperature coordinate system to obtain a grayscale temperature scatter plot; The gray-scale temperature scatter plot is linearly fitted to obtain the gray-scale temperature relationship function.

4. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 3 is characterized in that: Obtaining an infrared thermal image of the electrical equipment to be inspected under the white-hot mode of the infrared thermal imaging instrument, marked as an infrared image of the inspection equipment, includes the following sub-steps: Establish a three-dimensional coordinate system at any position around the electrical equipment to be tested, marked as the testing electrical coordinate system; Mark the plane formed by the X-coordinate axis and the Z-coordinate axis in the detection electrical coordinate system as the first detection plane; Mark the plane formed by the Y coordinate axis and the Z coordinate axis in the detection electrical coordinate system as the second detection plane; Direct the infrared thermal imaging toward the first detection plane and the second detection plane to obtain infrared images of the detection equipment.

5. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 4, characterized in that: Acquiring the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment includes the following sub-steps: Marking the detection device binarization images obtained by infrared thermal imaging toward the first detection plane and the second detection plane as the first detection binarization image and the second detection binarization image respectively; Marking the separate search area in the first detection binarization image as a first abnormal temperature area; The separate search area in the second detection binarization image is marked as the second abnormal temperature area.

6. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 5, characterized in that: Acquiring the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment includes the following sub-steps: A plane rectangular coordinate system is established with the X coordinate axis of the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and is marked as the first section coordinate system; Draw the first detection binarization image in the first cross-section coordinate system according to the actual size of the detected electrical equipment; In the first cross-sectional coordinate system, the maximum and minimum values ​​of the abscissa of each first abnormal temperature region are obtained, which are marked as H1max and H1min respectively; Obtain the maximum and minimum values ​​of the vertical coordinates of the first abnormal temperature region, marked as Z1max and Z1min respectively; Obtain pixel points adjacent to the grayscale value of 0 in the first abnormal temperature region and mark them as first edge pixel points; Mark the center coordinate of each first edge pixel as the first edge midpoint; The average of the horizontal and vertical coordinates of all the midpoints of the first edge is obtained and marked as DX1 and DY1 respectively.

7. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 6, characterized in that: Acquiring the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment also includes the following sub-steps: A plane rectangular coordinate system is established with the Y coordinate axis in the detection electrical coordinate system as the horizontal coordinate, the Z coordinate axis as the vertical coordinate, and the origin of the detection electrical coordinate system as the origin, and is marked as the second section coordinate system; Draw the second detection binarization image in the second cross-section coordinate system according to the actual size of the detected electrical equipment; In the second cross-sectional coordinate system, the maximum and minimum values ​​of the abscissa of each second abnormal temperature region are obtained, which are marked as H2max and H2min respectively; Obtain the maximum and minimum values ​​of the ordinate of the second abnormal temperature region, marked as Z2max and Z2min respectively; Obtain pixel points adjacent to the gray value of 0 in the second abnormal temperature region and mark them as second edge pixel points; Mark the center coordinate of each second edge pixel as the second edge midpoint; The average of the horizontal and vertical coordinates of all the second edge midpoints is calculated and marked as DX2 and DY2 respectively.

8. The infrared thermal imaging detection method for the temperature status of electrical equipment according to claim 7, characterized in that: Acquiring the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the binary image of the detection equipment also includes the following steps: The absolute value of the difference between Z1max and Z2max is marked as the first absolute value of the difference; The absolute value of the difference between Z1min and Z2min is marked as the second absolute value of the difference; Calculate the sum of the absolute value of the first difference of any first abnormal temperature area and the absolute value of the second difference of all second abnormal temperature areas, and mark it as a comparison error value; Obtain the values ​​of Z1max, Z2max, Z1min, and Z2min when the contrast error value is minimum, marked as Zz1max, Zz2max, Zz1min, and Zz2min respectively; Find the mean of Zz1max and Zz2max, marked as Zjmax; Find the mean of Zz1min and Zz2min, marked as Zjmin; In the detection electrical coordinate system, obtain points (H1min, H2min, Zjmin), point (H1max, H2min, Zjmin), point (H1min, H2max, Zjmin), point (H1min, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1max, H2max, Zjmin), point (H1max, H2min, Zjmax), point (H1min, H2max, Zjmax) and point (H1max, H2max, Zjmax), connect the eight points to form a cuboid, and mark it as the abnormal temperature three-dimensional position area; Obtain DX1 and DY1 of the first abnormal temperature region and DX2 and DY2 of the second abnormal temperature region corresponding to the minimum contrast error value, and mark them as DXX1, DXY1, DXX2 and DXY2 respectively; Find the mean of DXY1 and DXY2, marked as Dj; The acquisition point (DXX1, DXX2, Dj) is marked as the abnormal temperature center point; The abnormal temperature three-dimensional position areas and the abnormal temperature center points of all first abnormal temperature areas are obtained.

9. An infrared thermal imaging detection system for the temperature status of electrical equipment, used to implement an infrared thermal imaging detection method for the temperature status of electrical equipment according to any one of claims 1 to 8, characterized in that: It includes a historical image acquisition module, a historical grayscale module, a function fitting module, a detection image acquisition module, a detection grayscale module, a detection binarization module, an abnormal area acquisition module and an abnormal execution module; The historical image acquisition module is used to acquire a first number of infrared thermal imaging images of electrical equipment under the white-hot mode of the infrared thermal imaging instrument and different electrical equipment temperature conditions, which are marked as historical equipment infrared images; The historical grayscale module is used to convert the historical equipment infrared image into the historical equipment grayscale image by using the grayscale processing method; The function fitting module is used to fit the grayscale temperature relationship function based on the grayscale value and temperature relationship of the pixel points in the historical equipment grayscale image; The detection image acquisition module is used to obtain an infrared thermal image of the electrical equipment to be detected under the white-hot mode of the infrared thermal imaging instrument, which is marked as an infrared image of the detection equipment; The detection grayscale module is used to convert the detection device infrared image into a detection device grayscale image using a grayscale processing method; The detection binarization module is used to obtain abnormal temperature thresholds of different electrical devices, and convert the grayscale image of the detection device into a binary image of the detection device based on the abnormal temperature threshold and the grayscale temperature relationship function; The abnormal area acquisition module is used to acquire the abnormal temperature three-dimensional position area and the abnormal temperature center point based on the detection equipment binary image; The abnormal execution module is used to issue an abnormal temperature warning if an abnormal temperature three-dimensional position area and an abnormal temperature center point appear, and send the abnormal temperature three-dimensional position area and the abnormal temperature center point to the detection personnel.

Citation Information

Patent Citations

  • Electrical equipment state monitoring and fault early warning system

    CN111198040A

  • Infrared thermal imaging temperature measurement method and device, storage medium and electronic apparatus

    US20240344890A1

Cited By

  • Temperature detection method and system for fire rescue equipment

    CN121877190A