A temperature compensation method, thermal imaging device and computer readable storage medium

By calculating the distance and temperature estimates between the blackbody to be measured in the thermal imaging equipment and the equipment, a distance compensation model is established to correct the temperature measurement data of the thermal imaging equipment, which solves the problem of reduced accuracy of thermal imaging equipment under distance attenuation. Higher temperature measurement accuracy is achieved.

CN114235167BActive Publication Date: 2024-08-30ZHEJIANG PIXFRA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111350155.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-15
Publication Date
2024-08-30
Estimated Expiration
2041-11-15

AI Technical Summary

Technical Problem

Existing thermal imaging equipment reduces temperature measurement accuracy due to distance attenuation during measurement. Existing temperature compensation methods are costly and cannot effectively improve accuracy, and are only suitable for individual devices.

Method used

By obtaining the distance and temperature estimates between the blackbody to be measured and the thermal imaging equipment, the attenuation parameters are calculated, a distance compensation model is established, and the original measurement data is corrected until the preset accuracy conditions are met, and the system can flexibly adapt to different environments and equipment.

Benefits of technology

The temperature measurement accuracy of thermal imaging equipment is improved. By establishing a distance compensation model suitable for the current environment and equipment, it can effectively compensate for temperature attenuation and improve imaging accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114235167B
    Figure CN114235167B
Patent Text Reader

Abstract

The present application discloses a temperature compensation method, a thermal imaging device, and a computer-readable storage medium, the temperature compensation method comprising: obtaining original measurement data, the original measurement data including the distance between a plurality of black bodies to be measured and the thermal imaging device and the temperature estimation value of the black bodies to be measured corresponding to the distance; processing the original measurement data to obtain the current attenuation parameter; establishing a distance compensation model based on the current attenuation parameter; using the distance compensation model to correct the original measurement data to obtain the corrected data; judging whether the corrected data meets the preset accuracy condition; if the corrected data does not meet the preset accuracy condition, returning to the step of obtaining the original measurement data until the corrected data meets the preset accuracy condition. In the above manner, the present application can perform temperature compensation on the measurement data generated by the thermal imaging device, thereby improving the measurement accuracy of the thermal imaging device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of measurement technology; in particular, to a temperature compensation method, a thermal imaging device and a computer-readable storage medium. Background Art

[0002] At present, thermal imaging equipment is widely used in fields such as industrial temperature measurement or substation temperature monitoring. Thermal imaging equipment mainly uses infrared detectors to convert the thermal radiation on the surface of the target to be measured into electrical signals, and then converts the electrical signals into temperature values ​​through algorithms and displays them; however, as the temperature measurement distance between the thermal imaging equipment and the target increases, the thermal radiation measured by the infrared detector gradually decays, thereby affecting the accuracy of the measured temperature value. At this time, in order to ensure the measurement accuracy, when the thermal imaging equipment is working, it is necessary to make corresponding compensation for the distance attenuation of the thermal radiation; the existing temperature compensation method has the problems of high cost, the measurement accuracy after compensation still cannot meet the measurement accuracy requirements, cannot effectively improve the measurement accuracy, has limitations, and can only be applied to a single thermal imaging device. Summary of the invention

[0003] The present application provides a temperature compensation method, a thermal imaging device and a computer-readable storage medium, which can perform temperature compensation on measurement data generated by the thermal imaging device to improve the measurement accuracy of the thermal imaging device.

[0004] In order to solve the above technical problems, the technical solution adopted in the present application is: to provide a temperature compensation method, which includes: obtaining original measurement data, the original measurement data including the distance between multiple black bodies to be measured and the thermal imaging device and the temperature estimation value of the black body to be measured corresponding to the distance; processing the original measurement data to obtain the current attenuation parameter; establishing a distance compensation model based on the current attenuation parameter; using the distance compensation model to correct the original measurement data to obtain corrected data; judging whether the corrected data meets the preset accuracy conditions; if the corrected data does not meet the preset accuracy conditions, returning to the step of obtaining the original measurement data until the corrected data meets the preset accuracy conditions.

[0005] To solve the above technical problems, another technical solution adopted in the present application is: to provide a thermal imaging device, the thermal imaging device includes a memory and a processor connected to each other, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, it is used to implement the temperature compensation method in the above technical solution.

[0006] In order to solve the above technical problems, another technical solution adopted in the present application is: providing a computer-readable storage medium, which is used to store a computer program, and when the computer program is executed by a processor, it is used to implement the temperature compensation method in the above technical solution.

[0007] Through the above scheme, the beneficial effects of the present application are: firstly, the original measurement data is obtained, and the original measurement data includes the distance between multiple black bodies to be measured and the thermal imaging device and the temperature estimation value of the black bodies to be measured corresponding to the distance; then, the original measurement data is processed to obtain the current attenuation parameter, and a distance compensation model is established according to the current attenuation parameter; then, the original measurement data is corrected by using the distance compensation model to obtain the corrected data; then, the accuracy of the distance compensation model is verified by performing accuracy verification on the corrected data, and when the corrected data does not meet the preset accuracy conditions, the step of obtaining the original measurement data is returned to be executed, and a new distance compensation model is recalculated using the newly obtained original measurement data until the corrected data meets the accuracy requirements and the final distance compensation model is obtained; the scheme adopted in the present application can flexibly establish a distance compensation model suitable for the current environment and the current device according to the original measurement data obtained in different environments or thermal imaging devices, and at the same time, by verifying the accuracy of the corrected data, a distance compensation model that meets the accuracy standard can be obtained, and the temperature attenuation caused by the distance during the temperature measurement process can be compensated, thereby improving the accuracy of the temperature measurement result, and thus improving the imaging accuracy using the thermal imaging device. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0009] Figure 1 It is a flow chart of an embodiment of a temperature compensation method provided by the present application;

[0010] Figure 2 is a flow chart of another embodiment of the temperature compensation method provided by the present application;

[0011] Figure 3 This is a flow chart of an embodiment of obtaining original measurement data provided by the present application;

[0012] Figure 4 is a structural schematic diagram of an embodiment of a thermal imaging device provided by the present application;

[0013] Figure 5 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION

[0014] The present application is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present application, but are not intended to limit the scope of the present application. Similarly, the following examples are only some embodiments of the present application rather than all embodiments, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0015] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0016] It should be noted that the terms "first", "second" and "third" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second" and "third" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0017] See also Figure 1 , Figure 1 : is a flow chart of an embodiment of a temperature compensation method provided by the present application, the method comprising:

[0018] Step 11: Get the raw measurement data.

[0019] The original measurement data may include the distances between a plurality of black bodies to be measured and the thermal imaging device and the temperature estimation values ​​of the black bodies to be measured corresponding to the distances. The thermal imaging device may be used to perform temperature tests on the black bodies to be measured at different preset temperature measurement points to obtain the original measurement data.

[0020] Furthermore, the temperature measurement distances between different preset temperature measurement points and the black body to be measured are all different. The black body to be measured is an idealized object that can absorb all external electromagnetic radiation and does not produce reflection and transmission. Taking the black body to be measured as the target to be measured, reference test data can be obtained; for example: the temperature measurement distance between the thermal imaging device and the black body to be measured can be set to 4 preset temperature measurement points of 1m, 2m, 3m, and 4m respectively, and 3 black bodies to be measured with actual temperature values ​​of 60°C, 80°C, and 100°C respectively, and then the thermal imaging device is used to measure the temperature of the 3 black bodies to be measured at the 4 preset temperature measurement points respectively, and the temperature estimation values ​​of the 3 black bodies to be measured measured at different temperature measurement distances are obtained, and used as the original measurement data. It can be understood that the number of preset temperature measurement points, the distance between the preset temperature measurement point and the black body to be measured, the number of black bodies to be measured, and the actual temperature value of the black body to be measured can be set according to the actual situation, and are not limited here.

[0021] Step 12: Process the original measurement data to obtain the current attenuation parameters.

[0022] The current attenuation parameter can be used to represent the attenuation degree of the black body to be measured. The current attenuation parameter can be calculated by substituting the distances between the black bodies to be measured and the thermal imaging device contained in the original measurement data and the estimated temperature of the black body to be measured corresponding to the distance into the corresponding attenuation model.

[0023] In a specific embodiment, the current attenuation parameters may include a temperature attenuation ratio and a distance attenuation ratio. The temperature attenuation ratio can be used to represent the attenuation of a temperature estimate value obtained by performing a temperature test on a black body to be tested, and the distance attenuation ratio can be used to represent the attenuation generated by testing the black body to be tested at different temperature measurement distances.

[0024] Step 13: Establish a distance compensation model based on the current attenuation parameters.

[0025] A distance compensation model can be established based on the calculated current attenuation parameters, so that the temperature estimation value contained in the original measurement data can be compensated by using the distance compensation model to compensate for the temperature attenuation caused by the temperature measurement distance.

[0026] In a specific embodiment, the thermal radiation attenuation generated by the thermal imaging device during measurement is not only affected by the temperature measurement distance, but also by the lens of the thermal imaging device. An ordinary lens can only focus at the calibrated distance of the thermal imaging device to obtain a clear image, but cannot focus on the target to be measured at a non-calibrated distance, which will cause a defocused image and increase the thermal radiation attenuation. The calibration distance is the distance between the thermal imaging device and the black body to be measured when the measurement accuracy is the highest. The calibration distances of thermal imaging devices of the same model can be the same. For example, the calibration distance of thermal imaging device A is 3m, which means that the temperature value measured by thermal imaging device A when it is 3m away from the target to be measured is closest to the actual temperature of the target to be measured.

[0027] Furthermore, the lens in the thermal imaging device can adopt an autofocus lens, which can achieve automatic focus at different temperature measurement distances, thereby reducing the attenuation effect caused by lens defocus, improving the measurement accuracy of distance attenuation in this embodiment, and thus ensuring the compensation effect of the distance compensation model established subsequently.

[0028] Step 14: Use the distance compensation model to correct the original measurement data to obtain corrected data.

[0029] The correction data includes the temperature correction values ​​of all black bodies to be measured. After the distance compensation model is established, the distance compensation model can be used to correct the temperature estimation values ​​in the original measurement data to obtain the corrected data. It can be understood that the distance compensation model can be used to correct all the temperature estimation values ​​contained in the original measurement data, thereby obtaining all the temperature correction values ​​of all black bodies to be measured at different temperature measurement distances.

[0030] Step 15: Determine whether the corrected data meets the preset accuracy conditions.

[0031] In order to verify whether the established distance compensation model can achieve a certain standard of compensation effect, the accuracy of the corrected data generated after the correction processing using the distance compensation model is checked to determine whether the corrected data meets the preset accuracy conditions; specifically, whether the preset accuracy conditions are met can be determined by judging whether the difference between the temperature correction value in the corrected data and the corresponding actual temperature value is less than a preset threshold.

[0032] Furthermore, the correction data includes temperature correction values ​​of all black bodies to be tested, that is, it includes multiple temperature correction values. Then, when the difference between all temperature correction values ​​and actual temperature values ​​is less than a preset threshold, it can be determined that the correction data meets the preset accuracy condition. In other embodiments, it is also possible to determine whether the correction data meets the preset accuracy condition by determining the number of temperature correction values ​​whose difference between the temperature correction value and the actual temperature value is less than the preset threshold. In other words, it is determined that the proportion of temperature correction values ​​that meet the preset accuracy condition is greater than a preset proportion value, indicating that the correction data meets the preset accuracy condition. For example, if the correction data includes 20 temperature correction values ​​and the preset proportion value is 0.9, then when the difference between at least 18 temperature correction values ​​and the corresponding actual temperature values ​​is less than the preset threshold, it is indicated that the correction data meets the preset accuracy condition.

[0033] If the corrected data does not meet the preset accuracy condition, then return to the step of obtaining the original measurement data until the corrected data meets the preset accuracy condition. Specifically, if the corrected data does not meet the preset accuracy condition, it means that the accuracy of the established distance compensation model is not enough to accurately correct the original measurement data. At this time, return to the step of obtaining the original measurement data, reacquire a new set of original measurement data, and then process the new original measurement data to obtain new current attenuation parameters, so as to establish a new distance compensation model through the new current attenuation parameters, and then use the new distance compensation model to correct the new original measurement data to generate new correction data. If the new correction data meets the preset accuracy condition, the new distance compensation model is determined as the final distance compensation model. If the new correction data still does not meet the preset accuracy condition, then reacquire new original measurement data until the corrected data obtained meets the preset accuracy condition.

[0034] This implementation constructs a distance compensation model based on the original measurement data obtained from actual measurement, uses the distance compensation model to correct the original measurement data to obtain corrected data, and determines whether the corrected data meets the preset precision conditions. When the corrected data does not meet the preset precision conditions, the original measurement data is re-acquired to obtain a new distance compensation model, until the corrected data calculated using the new distance compensation model meets the precision requirements; this solution establishes a distance compensation model suitable for the current environment and the current equipment by adjusting the measurement environment / thermal imaging equipment / preset temperature measurement points / black body to be measured for obtaining the original measurement data. The method for establishing the distance compensation model has greater flexibility and adaptability. At the same time, by verifying the accuracy of the corrected data, a distance compensation model that meets the precision standards can be obtained, and the distance attenuation generated during the temperature measurement process can be compensated to improve the accuracy of the temperature measurement results, thereby improving the imaging accuracy using the thermal imaging equipment.

[0035] See also Figure 2 , Figure 2 : is a flow chart of another embodiment of the temperature compensation method provided by the present application, the method comprising:

[0036] Step 21: Get the raw measurement data.

[0037] Different thermal imaging devices of the same model may have certain individual differences when measuring temperature. Therefore, in order to obtain a distance attenuation model that is generally applicable to all thermal imaging devices of the same model, multiple sets of measurement data obtained by multiple thermal imaging devices of the same model can be used as original measurement data to construct the distance attenuation model. Thermal imaging devices of the same model include but are not limited to the same lens, infrared detector, device structure, and movement program used in the thermal imaging device. Specifically, Figure 3As shown, steps 211 to 213 may be used to obtain multiple sets of measurement data to generate original measurement data, specifically including:

[0038] Step 211: using a plurality of thermal imaging devices of the same model to measure the temperature of the black body to be measured at a plurality of preset temperature measurement points, to obtain a plurality of groups of measurement data.

[0039] Since the attenuation of temperature values ​​at different temperature measurement distances is different, multiple thermal imaging devices of the same model can be used to measure the temperature of multiple black bodies to be tested at different temperatures at multiple preset temperature measurement points to obtain multiple sets of measurement data; it can be understood that multiple thermal imaging devices of the same model can be tested under the same preset temperature measurement points and the setting conditions of the black body to be tested, so as to obtain the measurement data of multiple thermal imaging devices under the same conditions, and the number of thermal imaging devices can be selected according to actual conditions.

[0040] In a specific embodiment, the distance between the thermal imaging device and the black body to be measured falls within a preset distance, that is, a plurality of preset temperature measurement points are set within a preset distance range, and the preset distance may be a working distance range of the thermal imaging device, that is, a distance range in which the thermal imaging device can measure the temperature of the target to be measured, and the working distance range may at least include a minimum temperature measurement distance, a calibration distance, and a maximum temperature measurement distance, the maximum temperature measurement distance being the maximum distance in which the thermal imaging device can measure the temperature of the target to be measured, the minimum temperature measurement distance being the minimum distance in which the thermal imaging device can measure the temperature of the target to be measured, and the calibration distance being less than the maximum temperature measurement distance, and the calibration distance of the thermal imaging device is taken as D s (unit: m) as an example, the working distance range of thermal imaging equipment is generally [1, 5D s ], that is, the maximum temperature measurement distance of the thermal imaging device is generally 5 times the calibration distance, and then it can be within the working distance range [1,5D s ] set multiple preset temperature measurement points; specifically, multiple preset temperature measurement points can be set within the working distance range according to the preset interval distance. Taking the preset distance interval as dm as an example, the preset temperature measurement points can be set at 1m, (1+d)m, ..., D s m, …, 5D s A preset temperature measuring point is set at m. It can be understood that the size of the preset distance interval can be set according to actual conditions, and it is only necessary to ensure that multiple preset temperature measuring points are evenly distributed within the working distance range.

[0041] Furthermore, the more preset temperature measurement points there are, the higher the measurement cost. In order to save measurement costs while ensuring the accuracy of measurement data, the number of preset temperature measurement points can be selected within the range of 5 to 8. For example, the calibration distance of the thermal imaging device is 1m, and its working distance range is [1m, 5m]. If 5 preset temperature measurement points are selected, the preset interval distance can be set to 1m, and 5 preset temperature measurement points are set at 1m, 2m, 3m, 4m, and 5m respectively.

[0042] In a specific embodiment, the temperatures of the plurality of black bodies to be measured are set to fall within a preset temperature range, and the preset temperature range is the temperature range of the target to be measured that can be measured by the thermal imaging device. The preset temperature range includes a minimum measurement temperature and a maximum measurement temperature. The preset temperature range of the thermal imaging device can be divided into a common temperature range and a high temperature range. The preset temperature range is [T min , T max ] as an example, the commonly used temperature range can be [T min , T com ], the high temperature range can be (T com , T max ], T min is the minimum measurement temperature in the preset temperature range, T max The maximum measurement temperature of the preset temperature range. min , T com ] select the majority of black bodies to be tested, in the high temperature range (T com , T max ] by selecting a small number of blackbodies to be measured, which can take into account both the common temperature range and the high temperature range while saving measurement costs, thereby ensuring the measurement accuracy of the thermal imaging equipment within the common temperature range and taking into account the measurement accuracy of the uncommon high temperature range.

[0043] Furthermore, the more black bodies to be measured, the higher the measurement cost. At the same time, the number of black bodies to be measured is also limited by the lens size of the thermal imaging device. The thermal imaging device can only measure the temperature of a limited number of black bodies to be measured at a time. Therefore, in order to save measurement costs and ensure the accuracy of measurement data, the number of black bodies to be measured can be controlled to 5 to 6. For example: the common temperature range of thermal imaging equipment is [40℃, 150℃], and the high temperature range can be (150℃, 550℃]. At this time, if 6 black bodies to be measured with different temperatures are to be set, the temperatures of the 6 black bodies to be measured can be selected as 40℃, 60℃, 100℃, 150℃, 300℃, and 550℃ respectively.

[0044] This embodiment takes the following thermal imaging equipment, preset temperature measurement points and the measurement results obtained by the actual test of the settings of the black body to be measured as an example for explanation. Three thermal imaging equipment A~C of the same model and a calibration distance of 1m are set, the working distance range is [1m, 5m], the working temperature range is [40℃, 450℃], the common temperature range is [40℃, 150℃], the high temperature range is (150℃, 550℃], 5 preset temperature measurement points with temperature measurement distances of 1m, 2m, 3m, 4m, and 5m are set, and 6 black bodies to be measured with actual temperature values ​​of 40℃, 60℃, 100℃, 150℃, 300℃, and 550℃ are set. After actual testing, the temperature of the 6 black bodies to be measured is measured at the 5 preset temperature measurement points using thermal imaging equipment A~C, and 3 groups of measurement data shown in Tables 1 to 3 are obtained.

[0045] Table 1 Measurement data of thermal imaging device A

[0046]

[0047]

[0048] Table 2 Measurement data of thermal imaging device B

[0049]

[0050] Table 3 Measurement data of thermal imaging device C

[0051]

[0052]

[0053] Step 212: Determine whether the multiple groups of measurement data meet the consistency verification condition.

[0054] Generally speaking, the deviations between the measurement data measured by thermal imaging devices of the same model are very small, and the measurement data are approximately the same, that is, there is consistency between the measurement data. However, it is not ruled out that the measurement results may have excessive errors due to damage to an internal component of a thermal imaging device, resulting in inconsistency with the measurement data measured by other thermal imaging devices of the same model. Therefore, in order to ensure the accuracy of multiple sets of measurement data and avoid the situation where multiple thermal imaging devices of the same model are selected for testing and have such problems, after multiple sets of measurement data are obtained by testing with multiple thermal imaging devices of the same model, it is determined whether the multiple sets of measurement data meet the consistency verification conditions.

[0055] In a specific embodiment, the step of determining whether multiple sets of measurement data meet the consistency verification conditions may include: obtaining temperature estimation values ​​obtained by measuring the same black body to be measured at the same preset temperature measurement point by multiple thermal imaging devices of the same model, and then subtracting the maximum value of the temperature estimation value from the minimum value of the temperature estimation value to obtain a temperature difference, and then determining whether the ratio of the temperature difference value to the actual temperature value of the black body to be measured is less than a preset threshold; if the ratio of the temperature difference value to the actual temperature value of the black body to be measured is less than the preset threshold, it is determined that the consistency verification conditions are met; wherein the preset threshold is related to the accuracy of the thermal imaging device, and the specific value can be set according to the actual situation. For example, if the accuracy of the thermal imaging device is 2%, the preset threshold can be set to 0.01 at this time.

[0056] Specifically, please continue to refer to the three groups of measurement data shown in Tables 1 to 3, and obtain the temperature estimation values ​​obtained by measuring the same black body to be measured at the same preset temperature measurement point by obtaining the three groups of measurement data, and then subtract the maximum value of the temperature estimation value from the minimum value of the temperature estimation value accordingly, and the temperature difference table shown in Table 4 below can be obtained:

[0057] Table 4 Temperature difference table corresponding to thermal imaging equipment A, B, C

[0058]

[0059] The preset threshold can be set to 0.01, and then the ratio of all temperature differences in the temperature difference table to the actual temperature value of the corresponding black body to be measured is calculated, and the size is compared with the preset threshold value 0.01 one by one. For example: the temperature estimation values ​​obtained by measuring the black body to be measured with an actual temperature of 40°C at the preset temperature measurement point of thermal imaging equipment A~C at a temperature measurement distance of 1m are 39.7°C, 39.8°C, and 39.9°C respectively. The maximum value of the temperature estimation value is 39.9°C, and the minimum value of the temperature estimation value is 39.7°C. The maximum value of the temperature estimation value is subtracted from the minimum value of the temperature estimation value to obtain a temperature difference of 0.2°C, and then the ratio of the temperature difference of 0.2°C to the actual temperature of 40°C is calculated to be 0.005. It can be seen that the calculated ratio 0.005 is less than the preset threshold value 0 .01, it means that the temperature estimation value obtained by the thermal imaging devices A~C at the preset temperature measurement point at the temperature measurement distance of 1m for the black body to be measured with an actual temperature of 40°C meets the consistency verification condition; similarly, the above calculation method can be used to perform consistency verification on the remaining corresponding temperature estimation values ​​in the thermal imaging devices A~C. When the ratio of all temperature differences to the actual temperature values ​​of the corresponding black body to be measured is less than the preset threshold value of 0.01, it means that all three groups of measurement data meet the consistency verification condition, and the three groups of measurement data measured by the thermal imaging devices A~C are consistent. After calculation, it can be seen that the ratio of all temperature differences to the actual temperature values ​​of the corresponding black body to be measured in Table 4 below is less than the preset threshold value of 0.01, that is, the three groups of measurement data measured by the thermal imaging devices A~C are consistent.

[0060] In another specific embodiment, the actual temperature values ​​of each device A, B, and C can be multiplied by the preset threshold value 0.01 to obtain the upper limit difference table corresponding to the thermal imaging devices A, B, and C as shown in Table 5 below. Then, by comparing whether the temperature difference in Table 4 is less than the corresponding upper limit difference in Table 5, it is determined whether the consistency check condition is met:

[0061] Table 5 The upper limit of the difference corresponding to thermal imaging equipment A, B, and C

[0062]

[0063] If the multiple groups of measurement data do not meet the consistency verification conditions, then return to the step of obtaining the original measurement data. Specifically, when the multiple groups of measurement data do not meet the consistency verification conditions, that is, there is a problem with a certain thermal imaging device, the thermal imaging device whose temperature estimation value is greatly different from other groups of measurement data can be found based on the multiple groups of measurement data, and the problematic thermal imaging device is replaced with a new thermal imaging device, and then return to the step of obtaining the original measurement data, that is, re-measure using the new thermal imaging device to obtain new measurement data, and then perform consistency verification on the new multiple groups of measurement data until the new multiple groups of measurement data meet the consistency verification conditions.

[0064] Step 213: If the multiple groups of measurement data meet the consistency verification condition, then the average values ​​of the multiple groups of measurement data are calculated to generate original measurement data.

[0065] From the above analysis, it can be seen that the three groups of measurement data shown in Tables 1 to 3 meet the consistency verification conditions. At this time, the average values ​​of the three groups of measurement data can be calculated, and the average values ​​of the corresponding temperature estimation values ​​in the three groups of measurement data are calculated respectively to obtain the original measurement data shown in the following Table 6:

[0066] Table 6 Original measurement data

[0067]

[0068] After obtaining the original measurement data, the original measurement data is processed to obtain the current attenuation parameters so as to establish a distance compensation model based on the current attenuation parameters. The input of the distance compensation model may be the current attenuation parameters, and the output of the distance compensation model is the distance compensation coefficient. The current attenuation parameters include the distance attenuation ratio and the temperature attenuation ratio. The distance compensation coefficient can be obtained by calculating the distance attenuation ratio and the temperature attenuation ratio to complete the establishment of the distance compensation model, as shown in steps 22 to 25 below.

[0069] Step 22: Obtain reference data from the original measurement data.

[0070] The reference data is the temperature estimation value in the original measurement data, and the reference data includes first reference data, second reference data, third reference data and fourth reference data. The first reference data is the temperature estimation value obtained by measuring the black body to be measured with the actual temperature value of the minimum measurement temperature by the thermal imaging device at the calibrated distance. The second reference data is the temperature estimation value obtained by measuring the black body to be measured with the actual temperature value of the maximum measurement temperature by the thermal imaging device at the calibrated distance. The third reference data is the temperature estimation value obtained by measuring the black body to be measured with the actual temperature value of the minimum measurement temperature by the thermal imaging device at the maximum temperature measurement distance. The fourth reference data is the temperature estimation value obtained by measuring the black body to be measured with the actual temperature value of the maximum measurement temperature by the thermal imaging device at the maximum temperature measurement distance.

[0071] Taking the original measurement data shown in Table 6 obtained by the thermal imaging devices A~C in the above embodiment as an example, the preset distance between the thermal imaging device and the black body to be measured is 1m~5m, the calibration distance of the thermal imaging device is 1m, the maximum temperature measurement distance is 5m, the minimum measurement temperature is 40℃, and the maximum measurement temperature is 550℃. Correspondingly, the first reference data in the original measurement data is the temperature estimation value of 39.8℃ obtained by measuring the black body to be measured at 40℃ at a temperature measurement distance of 1m, the second reference data is the temperature estimation value of 550.3℃ obtained by measuring the black body to be measured at 550℃ at a temperature measurement distance of 1m, the third reference data is the temperature estimation value of 38.8℃ obtained by measuring the black body to be measured at 40℃ at a temperature measurement distance of 5m, and the fourth reference data is the temperature estimation value of 527.9℃ obtained by measuring the black body to be measured at 550℃ at a temperature measurement distance of 5m.

[0072] Step 23: Calculate the reference data to obtain the temperature attenuation ratio.

[0073] After obtaining the first reference data, the second reference data, the third reference data and the fourth reference data, the second reference data may be subtracted from the first reference data to obtain a first difference; then the fourth reference data may be subtracted from the third reference data to obtain a second difference; and then the second difference may be divided from the first difference to obtain a temperature attenuation ratio, that is, the temperature attenuation ratio may be calculated using the following calculation formula:

[0074] kT=(S4-S3) / (S2-S1) (1)

[0075] Wherein, kT represents the temperature attenuation ratio, S1 represents the first reference data, S2 represents the second reference data, S3 represents the third reference data, and S4 represents the fourth reference data.

[0076] For example, the second reference data 550.3°C is subtracted from the first reference data 39.8°C to obtain a first difference of 510.5°C, and then the fourth reference data 527.9°C is subtracted from the third reference data 38.8°C to obtain a second difference of 489.1°C, and then the second difference of 489.1°C is divided by the first difference of 510.5°C to calculate the temperature attenuation ratio of 0.9580.

[0077] Step 24: Calculate the distance attenuation ratio based on the preset temperature measurement distance, the calibrated distance of the thermal imaging device, and the maximum temperature measurement distance of the thermal imaging device.

[0078] The preset temperature measurement distance is the distance between the thermal imaging device at the preset temperature measurement point and the black body to be measured. The preset temperature measurement distance can be subtracted from the calibration distance to obtain a third difference; then the maximum temperature measurement distance can be subtracted from the calibration distance to obtain a fourth difference; and then the third difference can be divided by the fourth difference to obtain the distance attenuation ratio, that is, the following calculation formula is used to calculate the distance attenuation ratio:

[0079] kD=(dis-D s ) / (D max -D s ) (2)

[0080] Among them, kD represents the distance attenuation ratio, dis represents the preset temperature measurement distance, and D s Indicates the calibration distance, D max Indicates the maximum temperature measurement distance.

[0081] For example, by substituting the calibration distance of 1m and the maximum temperature measurement distance of 5m into the above formula, we can obtain the distance attenuation ratio kD=(dis-1) / 4.

[0082] Step 25: Calculate the temperature attenuation ratio and the distance attenuation ratio to obtain the distance compensation coefficient.

[0083] The temperature attenuation ratio is exponentially operated with the distance attenuation ratio as an exponent to obtain a power operation result, and then the inverse of the power operation result is calculated to obtain the distance compensation coefficient; specifically, the temperature attenuation ratio and the distance attenuation ratio can be substituted into the following formula to calculate the distance compensation coefficient:

[0084] dCoff=1 / kT kD (3)

[0085] Wherein, dCoff is the distance compensation coefficient.

[0086] Combining the temperature attenuation ratio of 0.9580 and the distance attenuation ratio kD = (dis-1) / 4 calculated by the above formula (1) and formula (2), the distance compensation coefficient dCoff = 1 / 0.9580 can be obtained by substituting the two into the above formula (3). (dis -1) / 4 .

[0087] Step 26: Multiply the distance compensation coefficient by the temperature estimate in the original measurement data to obtain the corrected data.

[0088] After the distance compensation coefficient is calculated, the original measurement data can be compensated by the distance compensation coefficient. The distance compensation coefficient is multiplied by the temperature estimation value in the original measurement data to compensate the temperature estimation value to obtain correction data. Specifically, the distance compensation coefficient and the temperature estimation value in the original measurement data can be substituted into the following formula to obtain correction data including the temperature correction values ​​of all black bodies to be measured:

[0089] T correct =dCoff*T raw (4)

[0090] Among them, T correct Indicates the temperature correction value, T raw is the estimated value of temperature.

[0091] It can be understood that the temperature estimation values ​​in multiple sets of measurement data generated by multiple thermal imaging devices of the same model can be corrected by the distance compensation coefficient; that is, the distance compensation coefficient dCoff obtained by the above calculation is 1 / 0.9580 (dis-1) / 4 Multiplying the temperature estimates in Tables 1 to 3 above, we get the corrected data shown in Tables 7 to 9 below:

[0092] Table 7 Correction data corresponding to thermal imaging equipment A

[0093]

[0094] Table 8 Correction data corresponding to thermal imaging device B

[0095]

[0096] Table 9 Correction data corresponding to thermal imaging equipment C

[0097]

[0098] Step 27: Determine whether the corrected data meets the preset accuracy conditions.

[0099] Whether the distance attenuation model meets the accuracy standard is verified by judging whether the correction data meets the preset accuracy conditions, calculating the difference between the temperature correction value of the black body to be measured and the corresponding actual temperature value to obtain the fifth difference, and then judging whether the correction data meets the preset accuracy conditions based on the fifth difference.

[0100] In a specific embodiment, different accuracy verification methods can be used for black bodies to be tested in different temperature ranges. When the actual temperature value of the black body to be tested is less than the preset temperature value, it is determined whether the absolute value of the fifth difference is less than the first accuracy reference value. If the absolute value of the fifth difference is less than the first accuracy reference value, it is determined that the preset accuracy condition is met.

[0101] Specifically, the preset temperature value can be set to 100°C, and the first accuracy reference value can be set according to the measurement accuracy of the thermal imaging device. For example, if the measurement accuracy of the thermal imaging device is 2%, the first accuracy reference value can be set to 2. That is, when the actual temperature value of the black body to be measured is less than 100°C, if the difference between the temperature correction value and the corresponding actual temperature value is less than 2, it means that the temperature correction value meets the preset accuracy condition. When all temperature correction values ​​in the correction data meet the preset accuracy condition, it is determined that the correction data meets the preset accuracy condition. It can be understood that the preset temperature value can also be 110°C or 90°C, which can be set according to actual conditions.

[0102] When the actual temperature value of the black body to be measured is greater than or equal to the preset temperature value, determine whether the ratio of the absolute value of the fifth difference to the actual temperature value is less than the second precision reference value; if the ratio of the absolute value of the fifth difference to the actual temperature value is less than the second precision reference value, it is determined that the preset precision condition is met.

[0103] Furthermore, the second precision reference value can also be set according to the measurement accuracy of the thermal imaging device. The second precision reference value is less than the first precision reference value, and it can be one percent of the first precision reference value. For example: the measurement accuracy of the thermal imaging device is 2%, and the first precision reference value is set to 2. Then the first precision reference value can be set to 0.02. When the actual temperature value of the black body to be measured is greater than or equal to 100°C, if the ratio of the absolute value of the fifth difference to the actual temperature value is less than 0.02, it means that the temperature correction value meets the preset accuracy condition. When all temperature correction values ​​in the correction data meet the preset accuracy condition, it is determined that the correction data meets the preset accuracy condition.

[0104] The above-mentioned accuracy verification method can be used to verify the correction data of the thermal imaging devices A~C shown in Tables 7~9 above, and the difference between the temperature correction value corresponding to the black body to be measured with actual temperature values ​​of 40℃ and 60℃ and the respective actual temperature values ​​is calculated, and then it is compared with the first accuracy reference value 2. For example: the temperature of the black body to be measured at 40℃ is measured at a preset temperature measurement point at a preset temperature measurement distance of 1m using the thermal imaging device C, and then the temperature correction value obtained after correction is 39.9℃, and then it is calculated and subtracted from the corresponding actual temperature value of 40℃ to obtain the fifth difference -0.1℃. It can be seen that the absolute value of the fifth difference 0.1 is less than the preset measurement accuracy 2, which means that the temperature correction value meets the preset accuracy condition.

[0105] Calculate the difference between the temperature correction value corresponding to the black body to be measured with actual temperature values ​​of 100°C, 150°C, 300°C, and 550°C and their respective actual temperature values, then calculate the ratio of the difference to the actual temperature value, and compare the ratio with the second precision reference value of 0.02. For example: use thermal imaging equipment C to measure the temperature of the black body to be measured at 300°C at a preset temperature measurement point at a preset temperature measurement distance of 1m, and then the temperature correction value obtained after correction is 300.2°C, and then calculate the difference and the corresponding actual temperature value of 300°C to obtain the fifth difference of 0.2°C, and then calculate that the ratio of the absolute value of the fifth difference to the actual temperature value is 0.0006. It can be seen that the ratio of 0.0006 is less than the second precision reference value of 0.02, which means that the temperature correction value meets the preset accuracy condition.

[0106] If the corrected data does not meet the preset accuracy condition, then return to the step of obtaining the original measurement data until the corrected data meets the preset accuracy condition. Specifically, if the corrected data does not meet the preset accuracy condition, it means that the distance compensation coefficient calculated this time does not meet the accuracy requirement, and the temperature estimation value in the measurement data still cannot be compensated to the corrected data with accuracy that meets the standard. At this time, return to the step of obtaining the original measurement data, reacquire a new set of original measurement data, and then use the new original measurement data to obtain a new distance compensation coefficient, and use the new distance compensation coefficient to compensate the temperature estimation value in the measurement data to obtain new corrected data. If the new corrected data meets the preset accuracy condition, the distance compensation model obtained this time (i.e., the new distance compensation coefficient) is used to determine the final distance compensation model. If the new corrected data still does not meet the preset accuracy condition, then return to the step of obtaining the original measurement data until the corrected data meets the preset accuracy condition.

[0107] Furthermore, the failure of the distance compensation coefficient to meet the accuracy requirements may be caused by experimental errors generated when measuring data. The steps of returning to obtain the original measurement data may include but are not limited to: keeping the originally selected / set preset temperature measurement points and the black body to be measured unchanged, and re-measuring with the same thermal imaging equipment under the same test conditions to reduce measurement errors and ensure the accuracy of the distance compensation model; it can be understood that when there are still errors in the re-measured measurement data, you can choose to replace the preset temperature measurement points / black body to be measured / thermal imaging equipment according to the actual situation, and then perform the measurement operation.

[0108] This embodiment saves measurement costs without reducing measurement accuracy by formulating a suitable number of preset temperature measurement points and black bodies to be measured, and at the same time sets the temperature of the black body to be measured within the working temperature range, so that the distance compensation model established subsequently can be applicable to all temperature measurement requirements of the thermal imaging device; and by using multiple groups of measurement data obtained by measuring multiple thermal imaging devices of the same model to construct the distance compensation model, a distance compensation model applicable to all thermal imaging devices of the model can be obtained, thereby improving the universality of the distance compensation model; in addition, by checking the consistency of multiple groups of measurement data, the consistency of the measurement data can be ensured, and the error problem of individual thermal imaging devices can be avoided to affect the accuracy of the measurement data; in addition, the accuracy of the calculated distance compensation coefficient is checked, which can further improve the accuracy of the distance compensation model, achieve accurate compensation for distance attenuation, and improve the measurement accuracy of the thermal imaging device.

[0109] See also Figure 4 , Figure 4 It is a structural schematic diagram of an embodiment of a thermal imaging device provided in the present application. The thermal imaging device 40 includes a memory 41 and a processor 42 connected to each other. The memory 41 is used to store a computer program. When the computer program is executed by the processor 42, it is used to implement the temperature compensation method in the above embodiment.

[0110] See also Figure 5 , Figure 5 It is a structural diagram of an embodiment of a computer-readable storage medium provided in the present application. The computer-readable storage medium 50 is used to store a computer program 51. When the computer program 51 is executed by a processor, it is used to implement the temperature compensation method in the above embodiment.

[0111] The computer-readable storage medium 50 may be a server, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other media that can store program codes.

[0112] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0115] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A temperature compensation method, characterized in that: include: Acquire original measurement data, wherein the original measurement data includes distances between a plurality of black bodies to be measured and a thermal imaging device and temperature estimation values ​​of the black bodies to be measured corresponding to the distances; Processing the original measurement data to obtain current attenuation parameters; Based on the current attenuation parameter, a distance compensation model is established; the input of the distance compensation model is the current attenuation parameter, the output of the distance compensation model is a distance compensation coefficient, the current attenuation parameter includes a distance attenuation ratio and a temperature attenuation ratio, and the distance compensation coefficient is obtained by performing a power operation on the temperature attenuation ratio with the distance attenuation ratio as an exponent, obtaining a power operation result, and then calculating the inverse of the power operation result; Using the distance compensation coefficient to correct the original measurement data to obtain corrected data; Determining whether the correction data meets the preset accuracy condition; If not, return to the step of obtaining the original measurement data until the corrected data meets the preset accuracy condition.

2. The temperature compensation method according to claim 1, characterized in that: The method further comprises: Acquire reference data from the original measurement data, wherein the reference data is a temperature estimation value in the original measurement data; Performing calculation on the reference data to obtain the temperature attenuation ratio; Calculating the distance attenuation ratio based on a preset temperature measurement distance, a calibration distance of the thermal imaging device, and a maximum temperature measurement distance of the thermal imaging device; wherein the calibration distance is smaller than the maximum temperature measurement distance; The distance between the thermal imaging device and the black body to be measured falls within a preset distance, the preset distance includes a calibration distance and a maximum temperature measurement distance, the temperature of the black body to be measured falls within a preset temperature range, the preset temperature range includes a minimum measurement temperature and a maximum measurement temperature, the reference data includes first reference data, second reference data, third reference data and fourth reference data, the first reference data is a temperature estimation value obtained by measuring the black body to be measured with an actual temperature value of the minimum measurement temperature by the thermal imaging device at the calibration distance, the second reference data is a temperature estimation value obtained by measuring the black body to be measured with an actual temperature value of the maximum measurement temperature by the thermal imaging device at the calibration distance, the third reference data is a temperature estimation value obtained by measuring the black body to be measured with an actual temperature value of the minimum measurement temperature by the thermal imaging device at the maximum temperature measurement distance, and the fourth reference data is a temperature estimation value obtained by measuring the black body to be measured with an actual temperature value of the maximum measurement temperature by the thermal imaging device at the maximum temperature measurement distance; the step of calculating the reference data to obtain the temperature attenuation ratio includes: subtracting the second reference data from the first reference data to obtain a first difference; Subtracting the fourth reference data from the third reference data to obtain a second difference; Dividing the second difference by the first difference to obtain the temperature attenuation ratio; The step of calculating the distance attenuation ratio based on a preset temperature measurement distance, a calibration distance of the thermal imaging device, and a maximum temperature measurement distance of the thermal imaging device comprises: Subtracting the preset temperature measurement distance from the calibration distance to obtain a third difference; Subtracting the maximum temperature measurement distance from the calibration distance to obtain a fourth difference; The third difference is divided by the fourth difference to obtain the distance attenuation ratio.

3. The temperature compensation method according to claim 2, characterized in that: The step of correcting the original measurement data using the distance compensation model to obtain corrected data comprises: The distance compensation coefficient is multiplied by the temperature estimation value in the original measurement data to obtain the corrected data.

4. The temperature compensation method according to claim 1, characterized in that: The correction data includes temperature correction values ​​of all the black bodies to be tested, and the step of judging whether the correction data meets the preset accuracy condition includes: Calculating the difference between the temperature correction value of the black body to be measured and the corresponding actual temperature value to obtain a fifth difference; Based on the fifth difference, determining whether the preset accuracy condition is met; If so, it is determined that the preset accuracy condition is met.

5. The temperature compensation method according to claim 4, characterized in that: The method further comprises: When the actual temperature value of the black body to be measured is less than the preset temperature value, determining whether the absolute value of the fifth difference is less than the first accuracy reference value; When the actual temperature value of the black body to be measured is greater than or equal to the preset temperature value, determining whether the ratio of the absolute value of the fifth difference value to the actual temperature value is less than a second accuracy reference value, wherein the second accuracy reference value is less than the first accuracy reference value; If the actual temperature value of the black body to be measured is less than the preset temperature value and the absolute value of the fifth difference is less than the first precision reference value, or the actual temperature value of the black body to be measured is greater than / equal to the preset temperature value and the ratio of the absolute value of the fifth difference to the actual temperature value is less than the second precision reference value, it is determined that the preset accuracy condition is met.

6. The temperature compensation method according to claim 1, characterized in that: The method further comprises: Using multiple thermal imaging devices of the same model to measure the temperature of the black body to be measured at multiple preset temperature measurement points to obtain multiple groups of measurement data; Determining whether the multiple groups of measurement data meet consistency verification conditions; If not, return to the step of obtaining the original measurement data.

7. The temperature compensation method according to claim 6, characterized in that: The step of determining whether the plurality of sets of measurement data meet the consistency verification condition comprises: Obtaining temperature estimation values ​​obtained by measuring the same black body to be measured at the same preset temperature measurement point by the plurality of thermal imaging devices of the same model; Subtracting the maximum value of the temperature estimation value from the minimum value of the temperature estimation value to obtain a temperature difference; Determine whether the ratio of the temperature difference to the actual temperature value of the black body to be measured is less than a preset threshold; If so, it is determined that the consistency check condition is met.

8. The temperature compensation method according to claim 6, characterized in that: The method further comprises: When the multiple groups of measurement data meet the consistency verification condition, an average value of the multiple groups of measurement data is calculated to generate the original measurement data.

9. A thermal imaging device, characterized in that: The invention comprises a memory and a processor connected to each other, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, it is used to implement the temperature compensation method according to any one of claims 1 to 8.

10. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed by a processor, it is used to implement the temperature compensation method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Distance compensation method based on uncooled infrared thermal imaging temperature measurement technology

    CN111006775A