Electric cabinet infrared double-vision temperature measurement method and device, electronic equipment and storage medium
By using the infrared dual-view temperature measurement method for electrical cabinets, which combines infrared and visible light images to dynamically adjust the temperature threshold and generate temperature alarms and warnings, the problem of low reliability in electrical cabinet temperature monitoring is solved, and high-sensitivity and high-reliability temperature anomaly identification is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-16
- Publication Date
- 2026-04-07
AI Technical Summary
Existing methods for monitoring the temperature of electrical cabinets have low reliability and cannot meet the high requirements of modern power systems for the stable operation of electrical cabinets.
The infrared dual-view temperature measurement method for electrical cabinets is adopted. By acquiring infrared and visible light images of the electrical cabinet, and combining image registration and preprocessing, the current temperature of the preset monitoring area in the electrical cabinet is determined. Based on historical temperatures, the temperature threshold is dynamically adjusted to generate temperature alarm and warning information.
It improves the reliability of electrical cabinet temperature monitoring, enabling timely response to sudden overheating events and early warning of potential faults, thus ensuring the safe and stable operation of the electrical cabinet.
Smart Images

Figure CN121804666A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of temperature monitoring, in particular to an infrared double-view temperature measurement method and device for an electric cabinet, an electronic device and a storage medium. BACKGROUND
[0002] In the power system, the electric cabinet is a key device for power distribution, control and conversion, and its stable operation is crucial. The electrical components inside the electric cabinet generate heat when working, and excessive temperature can accelerate the aging of the components, reduce their performance and service life, and even cause electrical faults. Therefore, reliable monitoring of the temperature of key components in the electric cabinet and real-time monitoring of the thermal state of the electric cabinet are of great significance to ensure the safe and reliable operation of the electric cabinet and prevent electrical accidents.
[0003] Currently, for the task of monitoring the temperature of the electric cabinet, the sensor temperature measurement method is mainly used. When the sensor detects that the temperature in the electric cabinet reaches the preset threshold, an alarm is triggered. However, this single method has obvious limitations such as low reliability, which cannot meet the high requirements of modern power systems for stable operation of the electric cabinet. SUMMARY
[0004] The problem solved by the present application is how to improve the reliability of temperature monitoring of the electric cabinet.
[0005] To solve the above problems, the present application provides an infrared double-view temperature measurement method for an electric cabinet, comprising: acquire infrared images and visible light images in the electric cabinet according to a preset sampling period, and determine the current temperature corresponding to a preset monitoring area in the electric cabinet based on the infrared images and the visible light images, to obtain a temperature sequence corresponding to the preset monitoring area; when the current temperature is greater than or equal to a dynamic temperature threshold, generate temperature alarm information; wherein the dynamic temperature threshold is determined based on a plurality of historical temperatures located before the current temperature in the temperature sequence; when the current temperature is less than the dynamic temperature threshold, determine whether the preset monitoring area meets a preset abnormal temperature rise condition based on a plurality of the historical temperatures and the current temperature; when the abnormal temperature rise condition is met, generate temperature warning information.
[0006] Optionally, the determination of the current temperature corresponding to the preset monitoring area in the electric cabinet based on the infrared images and the visible light images comprises: acquire a pixel area corresponding to the preset monitoring area in the visible light image; perform image registration on the visible light image and the infrared image, map the pixel area to a corresponding infrared pixel area in the infrared image, and determine the current temperature based on the infrared pixel area.
[0007] Optionally, the determining the current temperature based on the infrared pixel region comprises: performing a preprocessing operation on each of the infrared pixel regions, extracting a pixel temperature data from each of the infrared pixel regions after the preprocessing operation, and obtaining the current temperature according to an average value of each of the pixel temperature data; wherein the preprocessing operation comprises at least one of noise filtering processing, infrared radiation correction, and ambient temperature compensation.
[0008] Optionally, before the generating the temperature alarm information when the current temperature is greater than or equal to the dynamic temperature threshold, the method further comprises: determining a first average temperature corresponding to the plurality of historical temperatures and a temperature standard deviation, and determining a recommended temperature threshold according to a sum of the first average temperature and a preset multiple of the temperature standard deviation; when the recommended temperature threshold is less than a preset alarm temperature, taking the recommended temperature threshold as the dynamic temperature threshold; when the recommended temperature threshold is greater than or equal to the preset alarm temperature, taking the preset alarm temperature as the dynamic temperature threshold.
[0009] Optionally, before the determining whether the preset monitoring region meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature, the method further comprises: determining a second average temperature corresponding to the plurality of historical temperatures and the current temperature; when the second average temperature is greater than or equal to a preset early warning temperature, performing the step of determining whether the preset monitoring region meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature; wherein the preset early warning temperature is less than the preset alarm temperature.
[0010] Optionally, the determining whether the preset monitoring region meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature comprises: determining a temperature change rate based on the plurality of historical temperatures and the current temperature; when the temperature change rate is greater than or equal to a preset change rate, determining that the abnormal temperature rising condition is met.
[0011] Optionally, the infrared image is determined according to an acquired infrared monitoring video, and the visible light image is determined according to an acquired visible light monitoring video; and after the generating the temperature alarm information, the method further comprises: acquire video data corresponding to a preset time length before the target moment and a preset time length after the target moment based on the target moment corresponding to the current temperature when the current temperature is acquired, wherein the video data comprises the infrared monitoring video and the visible light monitoring video; associate and store the video data with the temperature alarm information.
[0012] In the present application, infrared images and visible light images in the electric cabinet are acquired according to a preset sampling period, realizing multi-modal image acquisition in the electric cabinet, which is conducive to making full use of the advantages of infrared images sensitive to temperature and visible light images clearly presenting object form details. By combining the two kinds of images, the current temperature corresponding to the preset monitoring area in the electric cabinet is determined, and a temperature sequence is further obtained, which provides reliable basic data for subsequent comprehensive and accurate analysis of the temperature condition of the electric cabinet. On this basis, when the current temperature is greater than or equal to a dynamic temperature threshold value determined based on a plurality of historical temperatures located before the current temperature in the temperature sequence, a temperature alarm information is generated, which is conducive to reliable temperature monitoring under complex operating environment. Since the reliable working temperature range of the electric cabinet may be different under different operating stages and different environmental conditions, the present application determines a dynamic temperature threshold value according to historical temperatures, which is more flexible compared to a fixed threshold value, and is conducive to automatically adapting to various changes in the operation process of the electric cabinet. Further, even if the current temperature does not exceed the dynamic temperature threshold value, but if it shows an abnormal temperature rising trend compared to the historical temperature, it may indicate that the electric cabinet has a potential risk of failure, and it can be predicted that the temperature corresponding to the preset monitoring area will soon exceed the corresponding dynamic temperature threshold value. Therefore, the present application further determines whether the preset monitoring area meets a preset abnormal temperature rising condition based on a plurality of historical temperatures and the current temperature when the current temperature is less than the dynamic temperature threshold value, and if so, a temperature warning information is generated. It is conducive to predicting possible temperature abnormality in advance and issuing warning information in a timely manner, so as to give staff sufficient time to take measures and avoid further deterioration of the failure. In this way, the multi-level temperature analysis strategy of the present application through dynamic temperature threshold value combined with abnormal temperature rising condition analysis can not only ensure high sensitivity of temperature abnormality identification, but also take into account high reliability, which can not only respond to sudden overheating events in time, but also give early warning of possible temperature rise abnormalities, effectively improving the reliability of electric cabinet temperature monitoring.
[0013] The present application also provides an electric cabinet infrared dual-view temperature measurement device, comprising: a sampling module for acquiring infrared images and visible light images in the electric cabinet according to a preset sampling period, and determining the current temperature corresponding to the preset monitoring area in the electric cabinet based on the infrared images and the visible light images, and obtaining a temperature sequence corresponding to the preset monitoring area; an alarm module configured to generate temperature alarm information when the current temperature is greater than or equal to a dynamic temperature threshold; a determination module configured to determine whether the preset monitoring area satisfies a preset abnormal temperature rise condition based on the plurality of historical temperatures and the current temperature when the current temperature is less than the dynamic temperature threshold; a pre-warning module configured to generate temperature pre-warning information when the abnormal temperature rise condition is satisfied.
[0014] The electric cabinet infrared dual-view temperature measurement device provided by the present application has basically the same advantages as the electric cabinet infrared dual-view temperature measurement method compared with the prior art, and thus will not be described here.
[0015] The present application further provides an electronic device comprising a memory and a processor. The memory is configured to store a computer program. The processor is configured to implement the electric cabinet infrared dual-view temperature measurement method as described above when executing the computer program.
[0016] The electronic device provided by the present application has basically the same advantages as the electric cabinet infrared dual-view temperature measurement method compared with the prior art, and thus will not be described here.
[0017] The present application further provides a computer readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the electric cabinet infrared dual-view temperature measurement method as described above.
[0018] The computer readable storage medium provided by the present application has basically the same advantages as the electric cabinet infrared dual-view temperature measurement method compared with the prior art, and thus will not be described here. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 FIG. 1 is a flowchart of an electric cabinet infrared dual-view temperature measurement method according to an embodiment of the present application; Figure 2 FIG. 2 is a structural diagram of an electric cabinet infrared dual-view temperature measurement system according to an embodiment of the present application; Figure 3 FIG. 3 is a structural diagram of an electric cabinet infrared dual-view temperature measurement device according to an embodiment of the present application; Figure 4 FIG. 4 is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to make the above objectives, characteristics and advantages of the present application more apparent, concrete embodiments of the present application will be described in detail below with reference to the drawings. Although some embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided in order to more thoroughly and completely understand the present application. It should be understood that the drawings and embodiments of the present application are merely for exemplary purposes, and are not intended to limit the scope of protection of the present application.
[0021] It should be understood that each of the steps recited in the method embodiments of the present application can be performed in different orders, and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0022] The term "comprising" and variations thereof as used herein are open-ended, that is "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optional" means "optional in at least some embodiments". Related definitions are given throughout the description. It should be noted that the concepts mentioned in the present application are merely for distinguishing different devices, modules or units, and are not intended to limit the functions of the devices, modules or units.
[0023] It should be noted that the terms "one", "multiple" mentioned in the present application are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise explicitly stated in the context, it should be understood as "one or more".
[0024] As shown in Figure 1 The electric cabinet infrared dual-view temperature measurement method provided by the embodiment of the present application includes the following steps: S1: Obtain infrared images and visible light images in the electric cabinet according to a preset sampling period, and determine the current temperature corresponding to a preset monitoring area in the electric cabinet based on the infrared images and the visible light images, to obtain a temperature sequence corresponding to the preset monitoring area.
[0025] Specifically, the electric cabinet infrared dual-view temperature measurement method in the embodiment is applied to an electric cabinet infrared dual-view temperature measurement system. As shown in Figure 2 Figure 2 H represents an infrared camera, K represents a visible light camera, Z represents an illuminator, and S represents a sound pickup device. In this embodiment, the infrared image can be obtained based on the infrared camera, and the visible light image can be obtained based on the visible light camera. The illuminator can be controlled to be turned on or off based on the light intensity detected by the photosensitive sensor, and the sound pickup device can obtain audio information at a preset sampling period. The preset monitoring area in this embodiment can be set in advance and can be one or more areas of components. The visible light image can be obtained by framing.
[0026] In an embodiment, the above-mentioned electric cabinet infrared dual-view temperature measurement system can be installed in a suitable position in the electric cabinet, and the related parameters can be set to ensure that the infrared image and the visible light image in the electric cabinet can be clearly obtained. The infrared camera and the visible light camera can be triggered to collect the infrared image and the visible light image at a preset sampling period (for example, every 5 minutes). On this basis, the obtained infrared image and visible light image can be fused, the current temperature of the preset monitoring area in the infrared image can be extracted, and the current temperature can be sorted according to the collection sequence, so that the temperature sequence of the preset monitoring area can be obtained. For example, a feature matching-based image fusion algorithm can be used to match the feature points in the visible light image with the feature points in the infrared image, to determine the position of the preset monitoring area in the infrared image, and to obtain the current temperature of the area.
[0027] S2: generating temperature alarm information when the current temperature is greater than or equal to the dynamic temperature threshold; wherein the dynamic temperature threshold is determined based on a plurality of historical temperatures before the current temperature in the temperature sequence.
[0028] Specifically, the dynamic temperature threshold in this embodiment represents a dynamically changing temperature limit value, which can be determined based on a plurality of historical temperatures before the current temperature in the temperature sequence. The historical temperature in this embodiment represents each temperature value before the current temperature in the temperature sequence, which corresponds to the current temperature obtained in different sampling periods. The current temperature obtained in the last N (for example, 10) sampling periods before the current temperature in the temperature sequence can be obtained to obtain a plurality of historical temperatures. The dynamic temperature threshold can be determined based on the plurality of historical temperatures.
[0029] In an embodiment, after the current temperature is determined, it can be determined whether the current temperature is greater than the dynamic temperature threshold. If yes, the temperature alarm information (for example, text information is pushed to the alarm platform and the signal light is turned on) is generated. If no, it is further determined whether the preset monitoring area has an abnormal temperature rise (that is, whether the preset monitoring area meets the preset abnormal temperature rise condition).
[0030] S3: When the current temperature is less than the dynamic temperature threshold, determine whether the preset monitoring area meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature.
[0031] Specifically, the abnormal temperature rising condition in the embodiment is used to determine whether the temperature rise of the preset monitoring area is abnormal. For example, the abnormal temperature rising condition can include whether the temperature rising rate in the sampling period corresponding to the plurality of historical temperatures and the current temperature exceeds a preset rate, or whether the difference between the current temperature and the historical average temperature exceeds a preset difference threshold, etc. Different electrical cabinets or different preset monitoring areas can set different abnormal temperature rising conditions according to their characteristics and operation requirements. When the current temperature is less than the dynamic temperature threshold, whether the preset monitoring area meets the preset abnormal temperature rising condition can be determined based on the plurality of historical temperatures and the current temperature, so as to predict whether there is an overheating risk.
[0032] It should be understood that the dynamic temperature threshold is determined based on the plurality of historical temperatures in the embodiment, and the current temperature is not combined, which is beneficial to avoid the rationality and reliability of the dynamic temperature threshold being affected when the current temperature is abnormal (such as sudden temperature rise). When analyzing whether the abnormal temperature rising condition is met, the plurality of historical temperatures and the current temperature are combined, which is beneficial to improve the timeliness and effectiveness of trend judgment.
[0033] S4: When the abnormal temperature rising condition is met, generate temperature warning information.
[0034] Specifically, when it is determined that the preset monitoring area meets the abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature in the embodiment, the temperature warning information (such as text information generated according to the current temperature of the preset monitoring area and pushed to a related platform) can be generated, which indicates that although the current temperature does not exceed the dynamic temperature threshold, the temperature change trend shows that the temperature abnormality condition may occur soon, so as to remind the relevant personnel to pay attention in advance and take corresponding measures.
[0035] In the embodiment, the infrared image and the visible light image in the electrical cabinet are acquired according to a preset sampling period, multi-modal image acquisition in the electrical cabinet is realized, and advantages of temperature sensitivity of the infrared image and clear presentation of object form details of the visible light image are utilized. By combining the two images, the current temperature corresponding to the preset monitoring area in the electrical cabinet is determined, and a temperature sequence is further obtained, which provides reliable basic data for subsequent comprehensive and accurate analysis of the temperature condition of the electrical cabinet. On this basis, when the current temperature is greater than or equal to a dynamic temperature threshold value determined based on a plurality of historical temperatures located before the current temperature in the temperature sequence, temperature alarm information is generated, which is beneficial to reliable temperature monitoring in a complex operating environment. Since the reliable working temperature range of the electrical cabinet may be different under different operating stages and different environmental conditions, the embodiment determines the dynamic temperature threshold value according to the historical temperature, which is more flexible than the fixed threshold value and is beneficial to automatically adapting to various changes in the electrical cabinet operation process. Further, even if the current temperature does not exceed the dynamic temperature threshold value, if it presents an abnormal temperature rising trend compared with the historical temperature, it may indicate that the electrical cabinet has a potential fault risk, and it can be predicted that the temperature corresponding to the preset monitoring area will exceed the corresponding dynamic temperature threshold value. Therefore, in the embodiment, when the current temperature is less than the dynamic temperature threshold value, whether the preset monitoring area satisfies a preset abnormal temperature rising condition is further determined based on the plurality of historical temperatures and the current temperature, and if yes, temperature warning information is generated. This is beneficial to early prediction of possible temperature abnormality and timely issuance of warning information, so as to leave sufficient time for the staff to take measures and avoid further deterioration of the fault. In this way, the multi-level temperature analysis strategy of the dynamic temperature threshold value combined with the abnormal temperature rising condition analysis in the embodiment can guarantee high sensitivity of temperature abnormality identification while also taking into account high reliability, which can not only respond to sudden overheating events in time, but also give early warning of possible temperature rise abnormalities, thereby effectively improving the reliability of electrical cabinet temperature monitoring.
[0036] Optionally, determining the current temperature corresponding to the preset monitoring area in the electrical cabinet based on the infrared image and the visible light image comprises: acquiring a pixel region corresponding to the preset monitoring area in the visible light image; performing image registration on the visible light image and the infrared image, mapping the pixel region to a corresponding infrared pixel region in the infrared image, and determining the current temperature based on the infrared pixel region.
[0037] Specifically, in the embodiment, the preset monitoring area can be framed in the visible light image in advance (or framed after image recognition of the components and elements to be detected), and the framed region can be taken as a pixel region expected to be monitored in temperature.
[0038] In an embodiment, after determining the pixel region corresponding to the preset monitoring region in the visible light image, the visible light image and the infrared image can be image-registered. For example, based on the fixed physical position between the infrared photographing device and the visible light photographing device, it can be determined in advance that there is a fixed translation and scaling relationship between the infrared image and the visible light image. When actually performing image registration, the two can be coordinate-converted based on the translation and scaling relationship, so as to map the pixel region in the visible light image to the corresponding infrared pixel region in the infrared image, so that the same physical position is spatially aligned in the two images. On this basis, the current temperature can be determined based on the temperature information carried by each pixel in the infrared pixel region.
[0039] Optionally, determining the current temperature based on the infrared pixel region comprises: performing a preprocessing operation on each infrared pixel region, extracting pixel temperature data from the infrared pixel region after the preprocessing operation, and obtaining the current temperature according to the average value of the pixel temperature data; wherein the preprocessing operation comprises at least one of noise filtering processing, infrared radiation correction, and environmental temperature compensation.
[0040] Specifically, in the embodiment, the preprocessing operation comprises at least one of noise filtering processing, infrared radiation correction, and environmental temperature compensation. Since the infrared camera device can be disturbed by various factors in the process of acquiring the infrared image, resulting in noise in the image, performing noise filtering processing (such as Gaussian filtering, median filtering, etc.) on the infrared image is beneficial to remove these noises, making the infrared image clearer and the temperature data more accurate. At the same time, when measuring the temperature of an object, the infrared camera device can be affected by factors such as its own characteristics, distance, emissivity, etc., resulting in a deviation from the actual temperature. By performing infrared radiation correction on the infrared image, the embodiment is beneficial to make the measured temperature closer to the real temperature of the object. In addition, changes in the environmental temperature can also affect the measurement result of the object temperature by the infrared camera device. In the embodiment, the infrared image is compensated for the environmental temperature, so that the measured temperature data can be adjusted according to the actual situation of the environmental temperature, so as to eliminate the influence of the environmental temperature on the measurement result and obtain a more accurate object temperature.
[0041] In an embodiment, after performing the preprocessing operation on each infrared pixel region, the pixel temperature data can be extracted from the infrared pixel region after the preprocessing operation, and the current temperature can be obtained based on the average value of the measured temperature after the pixel temperature data is converted into the actual measured temperature.
[0042] In the embodiment, the pixel region corresponding to the preset monitoring region is identified in the visible light image, which is conducive to ensuring the positioning accuracy due to the high spatial resolution and clear structural features of the visible light image. On this basis, the pixel region is mapped to the corresponding infrared pixel region in the infrared image through image registration, which is conducive to overcoming the defects such as temperature measurement region deviation caused by low resolution and edge blur of the infrared image, so as to realize accurate positioning and temperature extraction of the preset monitoring region. Further, the embodiment performs at least one preprocessing operation such as noise filtering processing, infrared radiation correction, and environmental temperature compensation on the infrared pixel region, further reduces interference factors, and ensures the accuracy of extracting the temperature data of each pixel in the infrared pixel region. On this basis, the current temperature is obtained according to the average value of the temperature data of each pixel, which is conducive to weakening the interference of local abnormal points (such as reflected hot spots or transient interference) on the overall temperature of the preset monitoring region, and ensuring the reliability and representativeness of the current temperature.
[0043] Optionally, before the temperature alarm information is generated when the current temperature is greater than or equal to the dynamic temperature threshold, the method further includes the following steps: determining a first average temperature corresponding to a plurality of historical temperatures and a temperature standard deviation, and determining a recommended temperature threshold according to the sum of the first average temperature and a preset multiple of the temperature standard deviation; when the recommended temperature threshold is less than the preset alarm temperature, the recommended temperature threshold is taken as the dynamic temperature threshold; when the recommended temperature threshold is greater than or equal to the preset alarm temperature, the preset alarm temperature is taken as the dynamic temperature threshold.
[0044] Specifically, after obtaining a plurality of historical temperatures, the average value corresponding to the plurality of historical temperatures can be determined to obtain a first average temperature, and the standard deviation of the plurality of historical temperatures is determined, and a recommended temperature threshold is determined according to the sum of the first average temperature and a preset multiple of the temperature standard deviation. For example, assuming that the first average temperature is denoted as T1 and the standard deviation is denoted as δ, the recommended temperature threshold ΔT = T1 + kδ, where k represents a preset multiple, which can be set in advance according to requirements (for example, k = 3). After determining the recommended temperature threshold, it can be judged whether the recommended temperature threshold is greater than or equal to a preset alarm temperature (for example, 100°C); if yes, the preset alarm temperature is taken as the dynamic temperature threshold. If not, the recommended temperature threshold is taken as the dynamic temperature threshold.
[0045] In the embodiment, the first average temperature corresponding to the plurality of historical temperatures reflects the average temperature level of the preset monitoring area in the electrical cabinet in a period of time, and the temperature standard deviation reflects the degree of temperature fluctuation. The embodiment determines the recommended temperature threshold based on the first average temperature and the temperature standard deviation of the preset multiple. This is conducive to setting a relatively loose but effective threshold for capturing temperature abnormal changes on the basis of considering the normal temperature fluctuation range, ensuring the rationality of the recommended temperature threshold. On this basis, when the recommended temperature threshold is less than the preset alarm temperature, the recommended temperature threshold is used as the dynamic temperature threshold, which is conducive to ensuring the flexibility and adaptability of temperature abnormality monitoring. When the recommended temperature threshold is greater than or equal to the preset alarm temperature, the preset alarm temperature is used as the dynamic temperature threshold, which is conducive to avoiding the scenario that the temperature in the preset monitoring area continuously rises slightly and cannot be reliably identified as temperature abnormality, and comprehensively ensuring the reliability and rationality of the dynamic temperature threshold.
[0046] Optionally, before determining whether the preset monitoring area meets the preset abnormal temperature rise condition based on the plurality of historical temperatures and the current temperature, the following steps are further included: determining a second average temperature corresponding to the plurality of historical temperatures and the current temperature; when the second average temperature is greater than or equal to a preset warning temperature, performing the step of determining whether the preset monitoring area meets the preset abnormal temperature rise condition based on the plurality of historical temperatures and the current temperature; wherein the preset warning temperature is less than the preset alarm temperature.
[0047] Specifically, in the embodiment, the preset warning temperature is less than the preset alarm temperature, which can be set in advance. For example, when the preset alarm temperature is 100℃, the preset warning temperature can be selected as 80℃. After excluding the case that the current temperature exceeds the dynamic temperature threshold, the second average temperature corresponding to the plurality of historical temperatures and the current temperature can be determined. When the second average temperature is greater than or equal to the preset warning temperature, it indicates that the recent temperature of the preset monitoring area is close to the preset alarm threshold. At this time, the step of determining whether the preset monitoring area meets the preset abnormal temperature rise condition based on the plurality of historical temperatures and the current temperature is performed, so as to determine whether the preset monitoring area has an abnormal temperature rise.
[0048] Optionally, determining whether the preset monitoring area meets the preset abnormal temperature rise condition based on the plurality of historical temperatures and the current temperature includes: determining a temperature change rate based on the plurality of historical temperatures and the current temperature; when the temperature change rate is greater than or equal to a preset change rate, determining that the abnormal temperature rise condition is met.
[0049] Specifically, the plurality of historical temperatures and the current temperature can be sorted according to the order of collection, and on this basis, a temperature curve can be constructed and fitted by a linear equation, so that the temperature change rate is obtained according to the slope of the curve according to the preset monitoring area. On this basis, it can be judged whether the temperature change rate is greater than or equal to the preset change rate (which can be set in advance, such as 5℃ / min). If yes, it is determined that the abnormal temperature rise condition is met. If not, it is determined that the abnormal temperature rise condition is not met.
[0050] In the embodiment, by determining the temperature change rate based on the plurality of historical temperatures and the current temperature, the speed of the temperature of the preset monitoring area of the electric cabinet changing with time is quantified accurately, so that the dynamic trend of the temperature change is intuitively reflected. On this basis, the temperature change rate is compared with the preset change rate, and when the temperature change rate is greater than or equal to the preset change rate, it indicates that the temperature of the preset monitoring area may quickly approach the preset alarm threshold at this time, and the abnormal temperature rise condition is determined to be met, which can predict the overheating risk of the preset monitoring area in advance, and is beneficial to ensure the safe and stable operation of the electric cabinet.
[0051] Optionally, the infrared image is determined according to the obtained infrared monitoring video; the visible light image is determined according to the obtained visible light monitoring video; and after the temperature alarm information is generated, the method further comprises: taking the target moment corresponding to the current temperature as a reference, obtaining video data corresponding to a preset time length before the target moment and a preset time length after the target moment; wherein the video data comprises the infrared monitoring video and the visible light monitoring video; associating and storing the video data with the temperature alarm information.
[0052] Specifically, in the embodiment, the infrared image is determined according to the obtained infrared monitoring video, for example, the infrared monitoring video can be used to shoot the infrared monitoring video in the electric cabinet in real time, and the current frame of the infrared monitoring video can be obtained every interval preset sampling period (such as 5 minutes), which is used as the infrared image. Correspondingly, in the embodiment, the current frame of the visible light monitoring video can also be obtained every interval preset sampling period, and is used as the visible light image.
[0053] In an embodiment, the target moment corresponding to the current temperature can be taken as a reference to obtain the infrared monitoring video and the visible light monitoring video corresponding to a preset time length (such as 15s) before the target moment and a preset time length (such as 15s) after the target moment, to obtain the video data. On this basis, the video data is associated and stored with the corresponding temperature alarm information, which is beneficial to provide reliable reference basis for subsequent troubleshooting of the fault causing the temperature anomaly of the preset monitoring area.
[0054] Optionally, a temperature change curve can also be constructed according to the temperature sequence in the embodiment, and the temperature change curve is sent to the management platform, which is beneficial to visual management of the staff.
[0055] Optionally, the embodiment can also perform image recognition on the visible light image after obtaining the visible light image, and when a fireworks image is recognized, a fireworks alarm information can be generated.
[0056] As shown in Figure 3 The infrared dual-view temperature measurement device 300 for electric cabinet provided by the embodiment of the present application comprises: A sampling module 310 is configured to obtain an infrared image and a visible light image in the electric cabinet according to a preset sampling period, and determine a current temperature corresponding to a preset monitoring area in the electric cabinet based on the infrared image and the visible light image, so as to obtain a temperature sequence corresponding to the preset monitoring area; An alarm module 320 is configured to generate a temperature alarm information when the current temperature is greater than or equal to a dynamic temperature threshold; wherein the dynamic temperature threshold is determined based on a plurality of historical temperatures located before the current temperature in the temperature sequence; A determination module 330 is configured to determine whether the preset monitoring area meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature when the current temperature is less than the dynamic temperature threshold; A pre-warning module 340 is configured to generate a temperature pre-warning information when the abnormal temperature rising condition is met.
[0057] The infrared dual-view temperature measurement device for electric cabinet and the infrared dual-view temperature measurement method for electric cabinet provided by the embodiment of the present application can produce basically the same technical effects, and thus the details are not described herein.
[0058] As shown in Figure 4 The electronic device 400 provided by the embodiment of the present application comprises a memory 410 and a processor 420; the memory 410 is configured to store a computer program; and the processor 420 is configured to implement the infrared dual-view temperature measurement method for electric cabinet as described above when executing the computer program.
[0059] Alternatively, the electronic device 400 comprises a memory 410 and a processor 420 coupled to the memory 410; the memory 410 is configured to store a computer program; and the processor 420 is configured to perform the following operations when executing the computer program: obtain an infrared image and a visible light image in the electric cabinet according to a preset sampling period, and determine a current temperature corresponding to a preset monitoring area in the electric cabinet based on the infrared image and the visible light image, so as to obtain a temperature sequence corresponding to the preset monitoring area; generate temperature warning information when the current temperature is greater than or equal to a dynamic temperature threshold, wherein the dynamic temperature threshold is determined based on a plurality of historical temperatures in the temperature sequence before the current temperature; determine whether the preset monitoring area meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature when the current temperature is less than the dynamic temperature threshold; generate temperature early warning information when the abnormal temperature rising condition is met.
[0060] The electronic device and the infrared dual-view temperature measurement method for the electric cabinet provided in the embodiment have basically the same technical effects as those produced by the infrared dual-view temperature measurement method for the electric cabinet, which will not be repeated here.
[0061] The computer readable storage medium provided in the embodiment of the application has the same technical effects as those produced by the infrared dual-view temperature measurement method for the electric cabinet, which will not be repeated here.
[0062] Alternatively, a non-volatile computer readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the processor performs the following operations: obtain an infrared image and a visible light image in the electric cabinet according to a preset sampling period, and determine a current temperature corresponding to a preset monitoring area in the electric cabinet based on the infrared image and the visible light image, to obtain a temperature sequence corresponding to the preset monitoring area; generate temperature warning information when the current temperature is greater than or equal to a dynamic temperature threshold, wherein the dynamic temperature threshold is determined based on a plurality of historical temperatures in the temperature sequence before the current temperature; determine whether the preset monitoring area meets a preset abnormal temperature rising condition based on the plurality of historical temperatures and the current temperature when the current temperature is less than the dynamic temperature threshold; generate temperature early warning information when the abnormal temperature rising condition is met.
[0063] The computer readable storage medium provided in the embodiment has basically the same technical effects as those produced by the infrared dual-view temperature measurement method for the electric cabinet, which will not be repeated here.
[0064] An electronic device 400, which can be a server or a client of the present application, will now be described, which is an example of a hardware device that can be applied to aspects of the present application. The electronic device 400 is intended to represent various forms of digital electronic computer devices such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device 400 can also represent various forms of mobile devices such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.
[0065] The electronic device 400 includes a computing unit that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). Various programs and data required for device operation can also be stored in the RAM. The computing unit, the ROM, and the RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.
[0066] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), or a random access memory (RAM). In this application, the units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e., they can be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. In addition, the functional units in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0067] Although the present application is disclosed as above, the protection scope of the present application is not limited to this. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, and these changes and modifications will fall within the protection scope of the present application.
Claims
1. A method for infrared dual-view temperature measurement of an electrical cabinet, characterized in that, include: Infrared and visible light images of the electrical cabinet are acquired according to a preset sampling period, and the current temperature of the preset monitoring area in the electrical cabinet is determined based on the infrared and visible light images to obtain the temperature sequence corresponding to the preset monitoring area. When the current temperature is greater than or equal to a dynamic temperature threshold, a temperature alarm message is generated; wherein, the dynamic temperature threshold is determined based on multiple historical temperatures in the temperature sequence that precede the current temperature; When the current temperature is less than the dynamic temperature threshold, it is determined whether the preset monitoring area meets the preset abnormal temperature rise conditions based on multiple historical temperatures and the current temperature. When the abnormal temperature rise condition is met, a temperature warning message is generated.
2. The infrared dual-view temperature measurement method for electrical cabinets according to claim 1, characterized in that, Determining the current temperature of the preset monitoring area in the electrical cabinet based on the infrared image and the visible light image includes: Obtain the pixel region corresponding to the preset monitoring area in the visible light image; Image registration is performed on the visible light image and the infrared image to map the pixel region to the corresponding infrared pixel region in the infrared image, and the current temperature is determined based on the infrared pixel region.
3. The infrared dual-view temperature measurement method for electrical cabinets according to claim 2, characterized in that, Determining the current temperature based on the infrared pixel region includes: A preprocessing operation is performed on each of the infrared pixel regions to extract the temperature data of each pixel from the infrared pixel regions after the preprocessing operation, and the current temperature is obtained based on the average value of the temperature data of each pixel; wherein, the preprocessing operation includes at least one of noise filtering, infrared radiation correction and ambient temperature compensation.
4. The infrared dual-view temperature measurement method for electrical cabinets according to claim 1, characterized in that, Before generating a temperature alarm message when the current temperature is greater than or equal to the dynamic temperature threshold, the method further includes: Determine the first average temperature and temperature standard deviation corresponding to multiple historical temperatures, and determine the recommended temperature threshold based on the sum of the first average temperature and the temperature standard deviation by a preset multiple. When the recommended temperature threshold is less than the preset alarm temperature, the recommended temperature threshold is used as the dynamic temperature threshold. When the recommended temperature threshold is greater than or equal to the preset alarm temperature, the preset alarm temperature is used as the dynamic temperature threshold.
5. The infrared dual-view temperature measurement method for electrical cabinets according to claim 4, characterized in that, Before determining whether the preset monitoring area meets the preset abnormal temperature rise condition based on multiple historical temperatures and the current temperature, the method further includes: Determine a plurality of the historical temperatures and a second average temperature corresponding to the current temperature; When the second average temperature is greater than or equal to the preset warning temperature, the step of determining whether the preset monitoring area meets the preset abnormal temperature rise condition based on multiple historical temperatures and the current temperature is executed; wherein, the preset warning temperature is less than the preset alarm temperature.
6. The infrared dual-view temperature measurement method for electrical cabinets according to claim 1, characterized in that, The step of determining whether the preset monitoring area meets the preset abnormal temperature rise conditions based on multiple historical temperatures and the current temperature includes: The rate of temperature change is determined based on multiple historical temperatures and the current temperature. When the temperature change rate is greater than or equal to the preset change rate, it is determined that the abnormal temperature rise condition is met.
7. The infrared dual-view temperature measurement method for electrical cabinets according to claim 1, characterized in that, The infrared image is determined based on the acquired infrared monitoring video; the visible light image is determined based on the acquired visible light monitoring video; after generating the temperature alarm information, the method further includes: Based on the target time corresponding to the current temperature, video data corresponding to the preset time before the target time and the preset time after the target time are obtained; wherein, the video data includes the infrared monitoring video and the visible light monitoring video; The video data is associated with the temperature alarm information and stored.
8. An infrared dual-view temperature measurement device for electrical cabinets, characterized in that, include: The sampling module is used to acquire infrared and visible light images of the electrical cabinet according to a preset sampling period, and determine the current temperature of the preset monitoring area in the electrical cabinet based on the infrared and visible light images, so as to obtain the temperature sequence corresponding to the preset monitoring area. An alarm module is used to generate a temperature alarm message when the current temperature is greater than or equal to a dynamic temperature threshold; wherein the dynamic temperature threshold is determined based on multiple historical temperatures in the temperature sequence that precede the current temperature; The determination module is used to determine whether the preset monitoring area meets the preset abnormal temperature rise conditions based on multiple historical temperatures and the current temperature when the current temperature is less than the dynamic temperature threshold. The early warning module is used to generate temperature early warning information when the abnormal temperature rise condition is met.
9. An electronic device, characterized in that, Including memory and processor; The memory is used to store computer programs; The processor is used to implement the infrared dual-view temperature measurement method for electrical cabinets as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the infrared dual-view temperature measurement method for electrical cabinets as described in any one of claims 1 to 7.