A method and system for obtaining the lens temperature attenuation coefficient
By combining precision lenses, calibration lenses, and extended lenses, and using fitted curves to obtain the attenuation coefficient, the problem of manually adjusting the response rate and temperature measurement parameters of extended lenses is solved, achieving efficient and accurate temperature measurement results, and improving production efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN GUIDE SENSMART TECH CO LTD
- Filing Date
- 2023-03-27
- Publication Date
- 2026-05-26
AI Technical Summary
In existing technologies, the response rate and temperature measurement parameters of extended lenses need to be manually readjusted, resulting in low production efficiency. Furthermore, these technologies cannot be used for infrared devices without a reference lens, and the method of taking the attenuation coefficient by averaging has a large error.
By combining precision lenses, calibration lenses, and extended lenses, lens attenuation data is collected, and the attenuation coefficient is obtained using a fitting curve. This ensures that the temperature measurement results of the extended lens are consistent with those of the calibration lens, avoiding the need for manual adjustment of the response rate and temperature measurement parameters.
It significantly reduces the time required for recalibrating the extended lens temperature measurement, improves production efficiency and user experience, and has high temperature measurement accuracy with small errors.
Smart Images

Figure CN116399455B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of infrared thermometry, specifically to a method and system for obtaining the lens temperature attenuation coefficient. Background Technology
[0002] Currently, there are two main methods for temperature measurement using extended lenses:
[0003] 1. Treat the extended lens as a brand new lens and readjust the response rate and temperature measurement parameters.
[0004] 2. Combine a reference lens and an extended lens. Based on the reference lens used for temperature measurement, adjust the temperature measurement parameters of the extended lens.
[0005] The main problems with re-measuring temperature using an extended lens are as follows:
[0006] 1. The response rate and temperature measurement parameters of the extended lens need to be manually readjusted, which greatly reduces production efficiency.
[0007] 2. For customers who want to use extended lenses, the original infrared equipment must be sent back, and the extended lens must be matched one-to-one to complete the temperature measurement before the customer can use it, which causes a bad experience for the customer.
[0008] 3. The method of using a reference lens and an extended lens is not applicable to current infrared devices without a reference lens, and the method of taking the attenuation coefficient by averaging has a large error. Summary of the Invention
[0009] The purpose of this invention is to overcome the shortcomings of the prior art. This invention proposes a method and system for obtaining the lens temperature attenuation coefficient. This invention uses an infrared device with completed response rate adjustment and a lens of arbitrary focal length as a precision instrument and a precision lens. Lens attenuation data is collected through three combination methods: precision instrument with precision lens, precision instrument with calibration lens, and precision instrument with extended lens. By fitting the curve corresponding to the relationship between RAW data and attenuation coefficient, the temperature measurement results of extended lens and calibration lens are consistent.
[0010] To achieve the desired effect, the present invention adopts the following technical solution:
[0011] This invention discloses a method for obtaining the lens temperature attenuation coefficient, comprising:
[0012] Based on the same response rate and temperature measurement parameters, RAW data of the target blackbody were acquired using a precision lens, a calibration lens, and an extended lens, respectively.
[0013] Calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens;
[0014] The attenuation coefficient fitting curves corresponding to the first and second attenuation coefficients are calculated from the RAW data acquired by the extended lens.
[0015] The third attenuation coefficient corresponding to the acquisition of RAW data using the attenuation coefficient fitting curve is obtained through the attenuation coefficient fitting curve.
[0016] Furthermore, the first attenuation coefficient of the calibration lens relative to the precision lens is:
[0017] α1=RAW 校 / RAW 精 Among them, RAW 校 This refers to the RAW data acquired during lens calibration. 精 This indicates RAW data captured by a precision-machined lens.
[0018] Furthermore, the second attenuation coefficient of the extended lens relative to the precision lens is:
[0019] α2=RAW 扩 / RAW 精 Among them, RAW 扩 This refers to RAW data acquired using extended lenses. 精 This indicates RAW data captured by a precision-machined lens.
[0020] Furthermore, the third attenuation coefficient = the second attenuation coefficient / the first attenuation coefficient.
[0021] This invention also discloses a system for obtaining the lens temperature attenuation coefficient, comprising:
[0022] The acquisition module is used to acquire RAW data of the target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters.
[0023] The attenuation coefficient acquisition module is used to calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens; calculate the attenuation coefficient fitting curve corresponding to the first and second attenuation coefficients of the RAW data acquired by the extended lens; and obtain the third attenuation coefficient corresponding to the new RAW data acquired by the extended lens through the attenuation coefficient fitting curve.
[0024] This invention also discloses a lens temperature measurement correction method applying any of the above methods, comprising:
[0025] Temperature is measured by calibrating the lens to obtain RAW data and raw temperature parameters;
[0026] The third attenuation coefficient corresponding to the RAW data is obtained in real time based on the attenuation coefficient fitting curve;
[0027] The original temperature measurement parameters were corrected based on the third attenuation coefficient;
[0028] The extended lens uses the corrected temperature measurement parameters to obtain temperature measurement results consistent with those of the calibrated lens.
[0029] Furthermore, the corrected temperature measurement parameter is: KF' = KF / α, where KF is the original temperature measurement parameter and α is the third attenuation coefficient.
[0030] Furthermore, the RAW data obtained through lens calibration is as follows:
[0031] RAW 补偿 =KF*(RAW+RAW) Offset +K1*ΔT 快门 +K2*ΔT 镜筒 ), where KF is the original temperature measurement parameter, RAW Offset K1 is the offset of the original RAW data, K1 is the original shutter correction parameter, and ΔT is the offset of the original RAW data. 快门 K2 represents shutter temperature rise, K2 represents the original lens correction parameter, and ΔT represents the shutter temperature rise. 镜筒 This refers to the temperature rise of the lens barrel between two shutter speeds.
[0032] Furthermore, the RAW data obtained by using the extended lens with the corrected temperature measurement parameters is as follows:
[0033] RAW' 补偿 =KF'*(RAW'+RAW') Offset +K1'*ΔT 快门 +K2'*ΔT 镜筒 ),
[0034] KF'=KF / α,RAW' Offset =RAW Offset *α, K1'=K1*α, K2'=K2*α, α=α2 / α1;
[0035] Where KF' is the corrected temperature measurement parameter, and RAW' is... Offset K1' is the corrected RAW offset, K2' is the corrected shutter speed correction parameter, K2' is the corrected lens correction parameter, α is the third attenuation coefficient, α1 is the first attenuation coefficient, and α2 is the second attenuation coefficient.
[0036] This invention also discloses a lens temperature measurement correction system, comprising:
[0037] The acquisition module is used to acquire RAW data of the target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters.
[0038] The attenuation coefficient acquisition module is used to calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens; calculate the attenuation coefficient fitting curve corresponding to the first attenuation coefficient and the second attenuation coefficient of the RAW data acquired by the extended lens; and obtain the third attenuation coefficient corresponding to the new RAW data acquired by the extended lens through the attenuation coefficient fitting curve.
[0039] The temperature correction module obtains RAW data and original temperature parameters by measuring temperature through the calibration lens; it obtains the third attenuation coefficient corresponding to the RAW data in real time based on the attenuation coefficient fitting curve; it corrects the original temperature parameters based on the third attenuation coefficient; and the extended lens uses the corrected temperature parameters to obtain temperature measurement results consistent with those of the calibration lens.
[0040] Compared with the prior art, the beneficial effects of the present invention are as follows: The present invention provides a method and system for obtaining the lens temperature attenuation coefficient. The method includes the following steps: acquiring RAW data of a target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature parameters; calculating a first attenuation coefficient of the calibration lens relative to the precision lens and a second attenuation coefficient of the extended lens relative to the precision lens; calculating an attenuation coefficient fitting curve corresponding to the first and second attenuation coefficients of the RAW data acquired by the extended lens; and obtaining a third attenuation coefficient corresponding to new RAW data acquired by the extended lens through the attenuation coefficient fitting curve. A lens temperature correction method includes: acquiring RAW data and original temperature parameters through temperature measurement using a calibration lens; acquiring the third attenuation coefficient corresponding to the RAW data in real time according to the attenuation coefficient fitting curve; correcting the original temperature parameters according to the third attenuation coefficient; and using the corrected temperature parameters to perform temperature measurement with the extended lens to obtain a temperature measurement result consistent with that of the calibration lens. This invention corrects the temperature measurement parameters of extended lenses by utilizing the lens attenuation law, eliminating the need for recalibration. This significantly reduces the time required for recalibration during production of extended lenses, and each extended lens only needs to have its data collected once to be used on all outgoing machines, greatly improving the user experience. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a flowchart of an extended lens temperature measurement method without a reference mirror provided in an embodiment of the present invention.
[0043] Figure 2 This is a Y16 attenuation coefficient curve of an extended lens temperature measurement method without a reference mirror provided in an embodiment of the present invention. Detailed Implementation
[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0045] See Figures 1 to 2 This invention discloses a method for obtaining the lens temperature attenuation coefficient, comprising:
[0046] Based on the same response rate and temperature measurement parameters, RAW data of the target blackbody is acquired using a precision lens, a calibration lens, and an extended lens, respectively; the configuration parameters of the response rate infrared thermometry device are also specified. Acquiring RAW data after the equipment has stabilized, based on the same response rate and temperature measurement parameters, facilitates variable control and makes subsequent calculations of the attenuation coefficient more accurate. The precision lens serves as a reference lens, the calibration lens is a calibrated lens already in use, and the extended lens refers to a lens awaiting shipment.
[0047] Calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens. It is worth noting that, in the standard outbound process, the machine is usually sent to the customer first and the extended lens is then provided. Therefore, it is necessary to collect three sets of data for the precision lens, calibration lens, and extended lens separately and calculate the attenuation coefficients for each.
[0048] The attenuation coefficient fitting curves corresponding to the first and second attenuation coefficients are calculated from the RAW data acquired by the extended lens. The attenuation coefficient fitting curves are generally fitted using three data points to obtain a smoother and more accurate curve.
[0049] The third attenuation coefficient is obtained by fitting the attenuation coefficient curve to acquire RAW data with a new extended lens. The third attenuation coefficient can be obtained in real time through the attenuation coefficient fitting curve.
[0050] Compared to existing methods that use averages to obtain the attenuation coefficient, this invention obtains the attenuation coefficient by fitting a curve, which reduces errors. The error generated by this method is extremely small and can be almost ignored. In practical applications, this invention can improve the accuracy of temperature measurement.
[0051] In a preferred embodiment, the first attenuation coefficient of the calibration lens relative to the precision lens is:
[0052] α1=RAW 校 / RAW 精 Among them, RAW 校 This refers to the RAW data acquired during lens calibration. 精 This indicates RAW data captured by a precision-machined lens.
[0053] In a preferred embodiment, the second attenuation coefficient of the extended lens relative to the precision lens is:
[0054] α2=RAW 扩 / RAW 精 Among them, RAW 扩 This refers to RAW data acquired using extended lenses. 精 This indicates RAW data captured by a precision-machined lens.
[0055] In this embodiment, the RAW data is specifically Y16 data. In other embodiments, it can also be other RAW data, such as Y8 data.
[0056] On the one hand, when the RAW data is Y16 data, the first attenuation coefficient of the calibration lens relative to the precision lens is:
[0057] α1=Y16 校 / Y16 精 Among them, Y16 校 This indicates the Y16 data acquired during lens calibration. 精 This represents the Y16 data collected by the precision lens.
[0058] On the other hand, when the RAW data is Y16 data, the second attenuation factor of the extended lens relative to the precision lens is:
[0059] α2=Y16 扩 / Y16 精 Among them, Y16 扩 This represents the Y16 data acquired by the extended lens. 精 This represents the Y16 data collected by the precision lens.
[0060] For example, after the equipment had been running for 1 hour, multiple sets of data were collected from the precision lens, calibration lens, and extended lens. Some of the collected Y16 data and the calculated attenuation coefficients are shown in Table 1.
[0061] Table 1
[0062]
[0063] Further, the third attenuation coefficient = the second attenuation coefficient / the first attenuation coefficient. Specifically, the attenuation coefficient fitting curve corresponding to the first and second attenuation coefficients is calculated based on the extended lens RAW data, the second attenuation coefficient of the extended lens relative to the precision lens, and the first attenuation coefficient of the calibration lens relative to the precision lens. For example... Figure 2 The curve shown is the curve corresponding to the fitting of the extended lens Y16 data and the attenuation coefficient (10000x magnification). The attenuation coefficient corresponding to the extended lens Y16 data value can be found according to the curve, as shown in Table 2.
[0064] Table 2
[0065]
[0066] Compared to the previous method of obtaining the attenuation coefficient by averaging, the method of finding the attenuation coefficient using a fitted curve greatly reduces the error of the attenuation coefficient. In practical applications, this improves temperature measurement accuracy and user experience.
[0067] Based on the same inventive concept, this invention also discloses a system for obtaining the lens temperature attenuation coefficient, comprising:
[0068] The acquisition module is used to acquire RAW data of the target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters.
[0069] The attenuation coefficient acquisition module is used to calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens; calculate the attenuation coefficient fitting curve corresponding to the first and second attenuation coefficients of the RAW data acquired by the extended lens; and obtain the third attenuation coefficient corresponding to the new RAW data acquired by the extended lens through the attenuation coefficient fitting curve.
[0070] First, to reduce errors, this invention acquires RAW data of the target blackbody under a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters. Second, an attenuation coefficient acquisition module calculates a first attenuation coefficient for the calibration lens relative to the precision lens and a second attenuation coefficient for the extended lens relative to the precision lens. Finally, the attenuation coefficient acquisition module calculates an attenuation coefficient fitting curve between the RAW data acquired by the extended lens and the first and second attenuation coefficients. This fitting curve is then used to obtain a third attenuation coefficient corresponding to new RAW data acquired by the extended lens. Compared to the previous method of obtaining the attenuation coefficient by averaging, this invention significantly reduces the error of the attenuation coefficient by using a fitting curve. In practical applications, this improves temperature measurement accuracy and user experience.
[0071] The present invention also discloses a lens temperature measurement correction method using the method for obtaining the lens temperature measurement attenuation coefficient in any of the above embodiments, comprising:
[0072] Temperature is measured using a calibration lens to obtain RAW data and raw temperature parameters; because the calibration lens is a lens that has been calibrated by a calibration machine and has already been shipped out, the raw temperature parameters obtained through the calibration lens are the most standard.
[0073] The third attenuation coefficient corresponding to the RAW data is obtained in real time based on the attenuation coefficient fitting curve;
[0074] The original temperature measurement parameters were corrected based on the third attenuation coefficient;
[0075] The extended lens uses the corrected temperature measurement parameters to obtain temperature measurement results consistent with those of the calibrated lens.
[0076] This invention enables temperature measurement using an extended lens, achieving the same accurate results as a calibrated lens, even without a reference lens. Compared to existing extended lens temperature measurement methods, which involve treating the extended lens as a completely new lens and readjusting its responsivity and measurement parameters, or using a reference lens as a basis for correcting the extended lens's parameters, this invention improves production efficiency. Specifically, this invention eliminates the need for manual readjustment of the extended lens's responsivity and measurement parameters. After correcting the parameters through attenuation coefficient fitting curves, the corrected parameters are directly transmitted to the extended lens via a script. For customers wanting to use extended lenses, this invention eliminates the need to return their original infrared temperature measurement equipment, improving the user experience.
[0077] In a preferred embodiment, the corrected temperature measurement parameter is: KF' = KF / α, where KF is the original temperature measurement parameter and α is the third attenuation coefficient.
[0078] In a preferred embodiment, the RAW data acquired by calibrating the lens is:
[0079] RAW 补偿 =KF*(RAW+RAW) Offset +K1*ΔT 快门 +K2*ΔT 镜筒 ), where KF is the original temperature measurement parameter, RAW Offset K1 is the offset of the original RAW data, K1 is the original shutter correction parameter, and ΔT is the offset of the original RAW data. 快门 K2 represents shutter temperature rise, K2 represents the original lens correction parameter, and ΔT represents the shutter temperature rise. 镜筒 This refers to the temperature rise of the lens barrel between two shutter speeds.
[0080] Furthermore, the RAW data obtained by using the extended lens with the corrected temperature measurement parameters is as follows:
[0081] RAW' 补偿 =KF'*(RAW'+RAW') Offset +K1'*ΔT 快门 +K2'*ΔT 镜筒 ),
[0082] KF'=KF / α,RAW' Offset =RAW Offset *α, K1'=K1*α, K2'=K2*α, α=α2 / α1;
[0083] Where KF' is the corrected temperature measurement parameter, and RAW' is... Offset K1' is the corrected RAW offset, K2' is the corrected shutter speed correction parameter, K2' is the corrected lens correction parameter, α is the third attenuation coefficient, α1 is the first attenuation coefficient, and α2 is the second attenuation coefficient.
[0084] Specifically, when the RAW data is Y16 data, the Y16 data obtained by calibrating the lens is:
[0085] Y16 补偿 =KF*(Y16+Y16) Offset +K1*ΔT 快门 +K2*ΔT 镜筒 ), where KF is the original temperature measurement parameter, Y16 Offset K1 is the offset of the original Y16 data, K1 is the original shutter correction parameter, and ΔT is the offset of the original Y16 data. 快门 K2 represents shutter temperature rise, K2 represents the original lens correction parameter, and ΔT represents the shutter temperature rise. 镜筒 This refers to the lens barrel temperature rise between two shutter speeds. The shutter and lens barrel are hardware components in the temperature measurement device; when measuring the temperature of an extended lens, the temperature changes of these two hardware components, ΔT, must be considered. 快门 The value of shutter temperature change, ΔT 镜筒 This represents the change in lens barrel temperature between two shutter speeds.
[0086] Furthermore, the Y16 data obtained by using the extended lens to measure temperature using the corrected temperature parameters is as follows:
[0087] Y16' 补偿 =KF'*(Y16'+Y16') Offset +K1'*ΔT 快门 +K2'*ΔT 镜筒 ),
[0088] KF'=KF / α,Y16' Offset =Y16 Offset *α, K1'=K1*α, K2'=K2*α, α=α2 / α1;
[0089] Where KF' is the corrected temperature measurement parameter, Y16' Offset K1' is the corrected offset of Y16, K2' is the corrected shutter speed correction parameter, K2' is the corrected lens correction parameter, α is the third attenuation coefficient, α1 is the first attenuation coefficient, and α2 is the second attenuation coefficient.
[0090] In conclusion:
[0091] Y16' 补偿 =KF / α*(Y16*α+Y16) Offset *α+K1*α*ΔT 快门 +K2*α*ΔT 镜筒 ),
[0092] That is, Y16 补偿 =Y16' 补偿 It is worth noting that the same response rate and temperature measurement parameters are used for both the calibration lens and the extended lens when the machine is shipped out of the warehouse. This ensures that the temperature measurement results of the extended lens are consistent with those of the calibration lens.
[0093] For example, using two outbound machines and three extended lenses, blackbodies at 100–800°C were measured, and some test data are shown in Table 3.
[0094] Table 3
[0095]
[0096]
[0097] In a preferred embodiment, the precision lens, calibration lens, and extension lens are all lenses with arbitrary focal lengths. This invention is applicable to lenses with arbitrary focal lengths and can be used in a variety of different scenarios.
[0098] In a preferred embodiment, the method is applied to an infrared temperature measurement device. Specifically, an infrared temperature measurement device with adjustable response rate and equipped with a lens of arbitrary focal length is used as the precision instrument and lens. After the device is running stably, RAW data of the corresponding blackbody is acquired.
[0099] This invention uses an infrared device with pre-adjusted response rate and a lens of arbitrary focal length as the precision instrument and lens. It collects lens attenuation data through three combinations: precision instrument with a precision lens, precision instrument with a calibration lens, and precision instrument with an extended lens. By fitting a curve showing the relationship between RAW data and the attenuation coefficient, it achieves consistency between the temperature measurement results from the extended lens and the calibration lens. This invention corrects the extended lens temperature measurement parameters based on the lens attenuation pattern, eliminating the need for recalibration, saving time, and improving work efficiency and product quality.
[0100] This invention also discloses a lens temperature measurement correction system, comprising:
[0101] The acquisition module is used to acquire RAW data of a target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters; the configuration parameters of the response rate infrared thermometry device are also included. Acquiring RAW data based on the same response rate and temperature measurement parameters after the device has stabilized is beneficial for controlling variables, resulting in more accurate calculations of the attenuation coefficient. The precision lens serves as a reference lens, the calibration lens is a calibrated lens that has already been shipped out of storage, and the extended lens refers to a lens awaiting shipment.
[0102] The attenuation coefficient acquisition module is used to calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens. It is worth noting that in the standard outbound process, the machine is usually shipped to the customer first, and the extended lens is then added later. Therefore, it is necessary to collect three sets of data separately for the precision lens, calibration lens, and extended lens, and calculate the attenuation coefficient for each. The attenuation coefficient fitting curve is calculated, corresponding to the first and second attenuation coefficients, based on the RAW data acquired by the extended lens. This attenuation coefficient fitting curve is generally fitted using three data points to obtain a smoother and more accurate curve. The third attenuation coefficient corresponding to new RAW data acquired by the extended lens is obtained through the attenuation coefficient fitting curve; this third attenuation coefficient can be obtained in real time through the attenuation coefficient fitting curve.
[0103] The temperature correction module obtains RAW data and original temperature parameters by measuring temperature through the calibration lens; it obtains the third attenuation coefficient corresponding to the RAW data in real time based on the attenuation coefficient fitting curve; it corrects the original temperature parameters based on the third attenuation coefficient; and the extended lens uses the corrected temperature parameters to obtain temperature measurement results consistent with those of the calibration lens.
[0104] Compared to existing methods that use averages to obtain the attenuation coefficient, this invention reduces errors by obtaining the attenuation coefficient through curve fitting. The error generated by this method is extremely small and almost negligible. In practical applications, this invention improves temperature measurement accuracy. This invention enables temperature measurement using an extended lens, even without a reference lens, to obtain accurate temperature measurement results consistent with those of a calibrated lens. Compared to existing extended lens temperature measurement methods, which involve treating the extended lens as a completely new lens and readjusting its responsivity and temperature measurement parameters, or using a reference lens and extended lens together to correct the extended lens's temperature measurement parameters, this invention improves production efficiency. Specifically, this invention eliminates the need for manual readjustment of the extended lens's responsivity and temperature measurement parameters. After correcting the temperature measurement parameters through attenuation coefficient curve fitting, the corrected parameters are directly transmitted to the extended lens via a script. For customers wanting to use extended lenses, this invention eliminates the need to return their original infrared temperature measurement equipment, improving the user experience.
[0105] It is worth noting that in the standard outbound process, the machine is usually shipped to the customer first, and then the extended lens is added later. Therefore, it is necessary to collect three sets of data separately for the precision lens, calibration lens, and extended lens, and calculate the attenuation coefficient. The fitting curve is generally obtained by fitting three points to obtain a smoother and more accurate curve. The same response rate and temperature measurement curve are used for both the calibration lens and the extended lens when the outbound machine is paired with the extended lens, thus achieving consistency between the temperature measurement results of the extended lens and the calibration lens. The lens temperature measurement correction system proposed in this invention can greatly reduce the time required for the current recalibration of extended lenses during production, and each extended lens only needs to collect data once to be used with all outbound machines, improving the user experience.
[0106] In a preferred embodiment, the precision lens, calibration lens, and extension lens are all lenses with arbitrary focal lengths. This invention is applicable to lenses with arbitrary focal lengths and can be used in multiple different scenarios.
[0107] In a preferred embodiment, the first attenuation coefficient of the calibration lens relative to the precision lens is:
[0108] α1=RAW 校 / RAW 精 Among them, RAW 校 This refers to the RAW data acquired during lens calibration. 精 This indicates RAW data captured by a precision-machined lens.
[0109] In a preferred embodiment, the second attenuation coefficient of the extended lens relative to the precision lens is: α2 = RAW 扩 / RAW 精 Among them, RAW 扩This refers to RAW data acquired using extended lenses. 精 This indicates RAW data captured by a precision-machined lens.
[0110] In this embodiment, the RAW data is specifically Y16 data. In other embodiments, it can also be other RAW data, such as Y8 data.
[0111] On the one hand, when the RAW data is Y16 data, the first attenuation coefficient of the calibration lens relative to the precision lens is:
[0112] α1=Y16 校 / Y16 精 Among them, Y16 校 This indicates the Y16 data acquired during lens calibration. 精 This represents the Y16 data collected by the precision lens.
[0113] On the other hand, when the RAW data is Y16 data, the second attenuation factor of the extended lens relative to the precision lens is:
[0114] α2=Y16 扩 / Y16 精 Among them, Y16 扩 This represents the Y16 data acquired by the extended lens. 精 This represents the Y16 data collected by the precision lens.
[0115] In a preferred embodiment, the system is applied to an infrared temperature measurement device. Specifically, an infrared temperature measurement device with adjustable response rate and equipped with an arbitrary focal length lens is used as the precision instrument and lens. After the device is running stably, the RAW data of the corresponding blackbody is collected.
[0116] Furthermore, the third attenuation coefficient = second attenuation coefficient / first attenuation coefficient. Specifically, an attenuation coefficient fitting curve is calculated based on the extended lens RAW data, the second attenuation coefficient of the extended lens relative to the precision lens, and the first attenuation coefficient of the calibration lens relative to the precision lens, corresponding to the first and second attenuation coefficients. This fitting curve is typically obtained by fitting three points to achieve a smoother and more accurate curve. Compared to the previous method of obtaining the attenuation coefficient by averaging, using a fitting curve to find the attenuation coefficient significantly reduces the error in the attenuation coefficient. In practical applications, this improves temperature measurement accuracy and user experience.
[0117] In a preferred embodiment, the corrected temperature measurement parameter is: KF' = KF / α, where KF is the original temperature measurement parameter and α is the third attenuation coefficient.
[0118] In a preferred embodiment, the RAW data acquired by calibrating the lens is:
[0119] RAW 补偿 =KF*(RAW+RAW) Offset +K1*ΔT 快门 +K2*ΔT 镜筒 ), where KF is the original temperature measurement parameter, RAW Offset K1 is the offset of the original RAW data, K1 is the original shutter correction parameter, and ΔT is the offset of the original RAW data. 快门 K2 represents shutter temperature rise, K2 represents the original lens correction parameter, and ΔT represents the shutter temperature rise. 镜筒 This refers to the temperature rise of the lens barrel between two shutter speeds.
[0120] Furthermore, the RAW data obtained by using the extended lens with the corrected temperature measurement parameters is as follows:
[0121] RAW' 补偿 =KF'*(RAW'+RAW') Offset +K1'*ΔT 快门 +K2'*ΔT 镜筒 ),
[0122] KF'=KF / α,RAW' Offset =RAW Offset *α, K1'=K1*α, K2'=K2*α, α=α2 / α1;
[0123] Where KF' is the corrected temperature measurement parameter, and RAW' is... Offset K1' is the corrected RAW offset, K2' is the corrected shutter speed correction parameter, K2' is the corrected lens correction parameter, α is the third attenuation coefficient, α1 is the first attenuation coefficient, and α2 is the second attenuation coefficient.
[0124] Specifically, when the RAW data is Y16 data, the Y16 data obtained by calibrating the lens is:
[0125] Y16 补偿 =KF*(Y16+Y16) Offset +K1*ΔT 快门 +K2*ΔT 镜筒 ), where KF is the original temperature measurement parameter, Y16 Offset K1 is the offset of the original Y16 data, K1 is the original shutter correction parameter, and ΔT is the offset of the original Y16 data. 快门 K2 represents shutter temperature rise, K2 represents the original lens correction parameter, and ΔT represents the shutter temperature rise. 镜筒 This refers to the lens barrel temperature rise between two shutter speeds. The shutter and lens barrel are hardware components in the temperature measurement device; when measuring the temperature of an extended lens, the temperature changes of these two hardware components, ΔT, must be considered. 快门 The value of shutter temperature change, ΔT 镜筒This represents the change in lens barrel temperature between two shutter speeds.
[0126] Furthermore, the Y16 data obtained by using the extended lens to measure temperature using the corrected temperature parameters is as follows:
[0127] Y16' 补偿 =KF'*(Y16'+Y16') Offset +K1'*ΔT 快门 +K2'*ΔT 镜筒 ),
[0128] KF'=KF / α,Y16' Offset =Y16 Offset *α, K1'=K1*α, K2'=K2*α, α=α2 / α1;
[0129] Where KF' is the corrected temperature measurement parameter, Y16' Offset K1' is the corrected offset of Y16, K2' is the corrected shutter speed correction parameter, K2' is the corrected lens correction parameter, α is the third attenuation coefficient, α1 is the first attenuation coefficient, and α2 is the second attenuation coefficient.
[0130] In conclusion:
[0131] Y16' 补偿 =KF / α*(Y16*α+Y16) Offset *α+K1*α*ΔT 快门 +K2*α*ΔT 镜筒 ),
[0132] That is, Y16 补偿 =Y16' 补偿 It is worth noting that the same response rate and temperature measurement parameters are used for both the calibration lens and the extended lens when the machine is shipped out of the warehouse. This ensures that the temperature measurement results of the extended lens are consistent with those of the calibration lens.
[0133] This invention proposes a reference-lens-less extended lens temperature measurement system. The system uses an infrared device with pre-adjusted response rate and a lens of arbitrary focal length as the precision instrument and precision lens. Lens attenuation data is collected through three combinations: precision instrument with precision lens, precision instrument with calibration lens, and precision instrument with extended lens. By fitting curves to the relationship between RAW data and the attenuation coefficient, consistency between the extended lens temperature measurement results and the calibration lens temperature measurement results is achieved. This invention corrects the extended lens temperature measurement parameters based on the lens attenuation pattern, eliminating the need for recalibration, saving time, and improving work efficiency and product quality.
[0134] Based on the same inventive concept, this invention also discloses an electronic device, which may include: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The processor can call logical instructions in the memory to execute a method for obtaining the lens temperature attenuation coefficient, including: acquiring RAW data of a target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature parameters; calculating a first attenuation coefficient of the calibration lens relative to the precision lens and a second attenuation coefficient of the extended lens relative to the precision lens; calculating an attenuation coefficient fitting curve between the RAW data acquired by the extended lens and the first and second attenuation coefficients; and obtaining a third attenuation coefficient corresponding to new RAW data acquired by the extended lens through the attenuation coefficient fitting curve.
[0135] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0136] On the other hand, embodiments of the present invention also provide a computer program product, the computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute a method for obtaining a lens temperature attenuation coefficient provided in the above-described method embodiments, including: acquiring RAW data of a target blackbody using a precision lens, a calibration lens, and an extended lens respectively, based on the same response rate and temperature parameters; calculating a first attenuation coefficient of the calibration lens relative to the precision lens and a second attenuation coefficient of the extended lens relative to the precision lens; calculating an attenuation coefficient fitting curve corresponding to the first attenuation coefficient and the second attenuation coefficient of the RAW data acquired by the extended lens; and obtaining a third attenuation coefficient corresponding to new RAW data acquired by the extended lens through the attenuation coefficient fitting curve.
[0137] In another aspect, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a method for obtaining a lens temperature attenuation coefficient provided in the above embodiments, comprising: acquiring RAW data of a target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature parameters; calculating a first attenuation coefficient of the calibration lens relative to the precision lens and a second attenuation coefficient of the extended lens relative to the precision lens; calculating an attenuation coefficient fitting curve corresponding to the first and second attenuation coefficients of the RAW data acquired by the extended lens; and obtaining a third attenuation coefficient corresponding to new RAW data acquired by the extended lens through the attenuation coefficient fitting curve.
[0138] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0139] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for obtaining the lens temperature attenuation coefficient, characterized in that, include: Based on the same response rate and temperature measurement parameters, RAW data of the target blackbody were acquired using a precision lens, a calibration lens, and an extended lens, respectively. Calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens; The attenuation coefficient fitting curves corresponding to the first and second attenuation coefficients are calculated from the RAW data acquired by the extended lens. The third attenuation coefficient corresponding to the acquisition of RAW data using the attenuation coefficient fitting curve is obtained through the attenuation coefficient fitting curve.
2. The method for obtaining the lens temperature attenuation coefficient as described in claim 1, characterized in that, The first attenuation factor of the calibration lens relative to the precision lens is: a1 = RAW 校 / RAW 精 wherein RAW 校 represents the RAW data captured by the calibration lens, RAW 精 represents the RAW data captured by the precision lens.
3. The method for obtaining the lens temperature attenuation coefficient as described in claim 1, characterized in that, The second attenuation factor of the extended lens relative to the precision lens is: α2=RAW 扩 / RAW 精 Among them, RAW 扩 This refers to RAW data acquired using extended lenses. 精 This indicates RAW data captured by a precision-machined lens.
4. The method for obtaining the lens temperature attenuation coefficient as described in claim 1, characterized in that, The third attenuation coefficient = the second attenuation coefficient / the first attenuation coefficient.
5. A system for obtaining the temperature attenuation coefficient of a lens, characterized in that, include: The acquisition module is used to acquire RAW data of the target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters. The attenuation coefficient acquisition module is used to calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens; The attenuation coefficient fitting curves corresponding to the first and second attenuation coefficients are calculated for RAW data acquired by the extended lens; the third attenuation coefficient corresponding to new RAW data acquired by the extended lens is obtained through the attenuation coefficient fitting curves.
6. A lens temperature measurement correction method applying any one of the methods described in claims 1-4, characterized in that, include: Temperature is measured by calibrating the lens to obtain RAW data and raw temperature parameters; The third attenuation coefficient corresponding to the RAW data is obtained in real time based on the attenuation coefficient fitting curve; The original temperature measurement parameters were corrected based on the third attenuation coefficient; The extended lens uses the corrected temperature measurement parameters to obtain temperature measurement results consistent with those of the calibrated lens.
7. The lens temperature measurement correction method as described in claim 6, characterized in that, The corrected temperature measurement parameter is: KF'=KF / α, where KF is the original temperature measurement parameter and α is the third attenuation coefficient.
8. The lens temperature measurement correction method as described in claim 6, characterized in that, The RAW data obtained through lens calibration is as follows: RAW 补偿 =KF*(RAW+RAW) Offset +K1*ΔT 快门 +K2*ΔT 镜筒 ), where KF is the original temperature measurement parameter, RAW Offset K1 is the offset of the original RAW data, K1 is the original shutter correction parameter, and ΔT is the offset of the original RAW data. 快门 K2 represents shutter temperature rise, K2 represents the original lens correction parameter, and ΔT represents the shutter temperature rise. 镜筒 This refers to the temperature rise of the lens barrel between two shutter speeds.
9. The lens temperature measurement correction method as described in claim 8, characterized in that, The RAW data obtained by using the extended lens with corrected temperature measurement parameters is as follows: RAW' 补偿 =KF'*(RAW'+RAW' Offset +K1'*ΔT 快门 +K2'*ΔT 镜筒 ), KF'=KF / α,RAW' Offset =RAW Offset *α, K1'=K1*α, K2'=K2*α, α=α2 / α1; Where KF' is the corrected temperature measurement parameter, and RAW' is... Offset K1' is the corrected RAW offset, K2' is the corrected shutter speed correction parameter, K2' is the corrected lens correction parameter, α is the third attenuation coefficient, α1 is the first attenuation coefficient, and α2 is the second attenuation coefficient.
10. A lens temperature measurement correction system, characterized in that, include: The acquisition module is used to acquire RAW data of the target blackbody using a precision lens, a calibration lens, and an extended lens, respectively, based on the same response rate and temperature measurement parameters. The attenuation coefficient acquisition module is used to calculate the first attenuation coefficient of the calibration lens relative to the precision lens and the second attenuation coefficient of the extended lens relative to the precision lens; The attenuation coefficient fitting curves corresponding to the first and second attenuation coefficients are calculated for RAW data acquired by the extended lens; the third attenuation coefficient corresponding to new RAW data acquired by the extended lens is obtained through the attenuation coefficient fitting curves. The temperature correction module uses a calibrated lens to measure temperature and obtain RAW data and raw temperature parameters. The third attenuation coefficient corresponding to the RAW data is obtained in real time based on the attenuation coefficient fitting curve; The original temperature measurement parameters are corrected based on the third attenuation coefficient; the extended lens uses the corrected temperature measurement parameters to obtain temperature measurement results consistent with those of the calibrated lens.