Infrared detector temperature compensation method, device and equipment and storage medium

By obtaining ambient temperature data in real time and adjusting the parameters of the infrared detector using a dynamic compensation algorithm, the problem of fluctuations in the detection effect of the infrared detector at different temperatures is solved, and its recognition ability and stability in extreme environments are improved.

CN118565636APending Publication Date: 2024-08-30SHANGHAI SUPERIOR WEEK ELECTRONICS TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410590256.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The detection effect of infrared detectors fluctuates greatly under different ambient temperatures, which affects its response to infrared radiation, resulting in weakened detection effects.

Method used

By obtaining real-time ambient temperature data, the preset temperature compensation curve is used for basic temperature compensation, and when the fluctuation amount of the real-time output signal does not match the system's preset fluctuation threshold, a dynamic compensation algorithm is applied to generate equipment adjustment parameters and perform secondary Temperature compensation to optimize infrared detector performance.

Benefits of technology

It improves the accuracy and stability of the infrared detector at different temperatures, enhances its recognition ability and adaptability to target objects, reduces the false alarm rate, and improves the reliability and practicality of the detector.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565636A
    Figure CN118565636A
Patent Text Reader

Abstract

The invention relates to an infrared detector temperature compensation method and device, equipment and a storage medium, and the method comprises the steps: obtaining real-time environment temperature data, determining an output signal compensation amount through a preset temperature compensation curve, and carrying out the basic temperature compensation; a real-time output signal of the infrared detector is obtained, and under the condition that the fluctuation quantity of the real-time output signal is not matched with an output signal fluctuation threshold value preset by the system, equipment adjustment parameters are generated according to a dynamic compensation algorithm preset by the system and the output signal fluctuation quantity; and controlling the infrared detector to carry out secondary temperature compensation according to the equipment adjustment parameters. The application has the effect of improving the environmental adaptability of the infrared detector.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature compensation, and in particular to a method, device, equipment and storage medium for temperature compensation of an infrared detector. Background Art

[0002] At present, with the development of infrared technology, infrared detectors are increasingly widely used in military, aviation, navigation, meteorology and other fields.

[0003] Existing infrared detectors receive and detect infrared radiation from the environment. When no people or animals enter the detection area, the infrared radiation at the scene remains stable. When infrared radiation from an object comes in, it is focused by the optical system to cause the pyroelectric device to generate a sudden electrical signal, thereby sounding an alarm. However, the sensitivity of infrared detectors usually changes with changes in ambient temperature, causing the detector's response to infrared radiation to weaken, thereby affecting the detection effect.

[0004] The above-mentioned prior art solutions have the following defects: the detection effect of the infrared detector fluctuates greatly under different ambient temperatures, so there is room for improvement. Summary of the invention

[0005] In order to improve the temperature adaptability of an infrared detector, the present application provides an infrared detector temperature compensation method, device, equipment and storage medium.

[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions: Obtain real-time ambient temperature data, determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation; Acquire the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, adjust the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device; According to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation.

[0007] By adopting the above technical solution, since the sensitivity of the infrared detector usually changes with the change of the ambient temperature, the response of the detector to infrared radiation is weakened, thereby affecting the normal use of the infrared detector. Therefore, when the real-time ambient temperature data is obtained, the present application will determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation, and can calculate the corresponding compensation amount according to different ambient temperatures, thereby helping to improve the accuracy and stability of the detector at different temperatures; obtain the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, according to the system preset dynamic compensation algorithm and the output signal fluctuation amount to generate device adjustment parameters, the infrared detector output signal can be dynamically adjusted, so that the infrared detector can continue to work in some more extreme or complex environments, thereby further improving the detector's recognition ability and accuracy of the target object; according to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation, which can optimize the performance of the infrared detector and improve its adaptability to environmental changes and target objects, thereby reducing the false alarm rate and improving the reliability and practicality of the detector.

[0008] In a preferred example, the present application can be further configured as follows: the construction of the temperature compensation curve specifically includes: By simulating different ambient temperature data, the corresponding infrared detector output signal is obtained, and a correlation data set is generated according to the ambient temperature data and the infrared detector output signal; Searching for a stable interval of the infrared detector output signal from the associated data set, and obtaining a corresponding temperature stable interval according to the stable interval; The temperature stable interval is removed from the associated data set, the functional relationship between the ambient temperature data and the output signal of the infrared detector is determined by an exponential function fitting method, and the temperature compensation curve is generated.

[0009] By adopting the above technical solution, by simulating different ambient temperature data, obtaining the corresponding infrared detector output signal, and generating a related data set based on the ambient temperature data and the infrared detector output signal, accurate data support can be obtained based on a large amount of data collection, thereby improving the accuracy of the subsequent temperature compensation curve when constructing; by removing the temperature stable interval from the related data set, the interval where the temperature has a smaller impact on the equipment can be screened and removed, thereby improving the relationship between the temperature and the output signal, reducing the amount of data, and improving the processing efficiency of the algorithm. The functional relationship between the ambient temperature data and the infrared detector output signal is determined by the exponential function fitting method, thereby generating a temperature compensation curve, and improving the calculation accuracy of the infrared detector compensation amount, so as to enhance the stability of the infrared detector.

[0010] In a preferred example, the present application can be further configured as follows: the real-time output signal of the infrared detector is obtained, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, the device adjustment parameter is generated according to the dynamic compensation algorithm preset by the system and the device compensation amount, specifically including: The standard output signal preset by the system is averaged from the infrared detector output signals corresponding to the stable interval.

[0011] By adopting the above technical solution, the average value of the infrared detector output signal corresponding to the stable interval is taken through the system preset standard output signal. When setting the system standard output signal, the output signal can be selected in the middle area to improve the approach to the most accurate data when calculating the device compensation amount, thereby improving the system's fault tolerance for compensation amount calculation.

[0012] In a preferred example, the present application can be further configured as follows: the construction of the self-training dynamic compensation algorithm specifically includes: Obtaining device parameter data corresponding to different infrared detection output signals, and obtaining the change amount of the device parameter data in different intervals to obtain a parameter change set; The preset PID control algorithm is iteratively trained according to the parameter change set to generate the dynamic compensation algorithm.

[0013] By adopting the above technical solution, by obtaining the device parameter data corresponding to different infrared detection output signals and obtaining the change amount of the device parameter data in different intervals, a parameter change set can be obtained, which can provide an in-depth understanding of the device performance under various working conditions. The change amount of the device parameter data in different intervals can be obtained based on these data, which is helpful to identify and optimize the working performance of the device under different conditions, so that the device can perform best in various environments; iterative training of the preset PID control algorithm according to the parameter change set can generate a dynamic compensation algorithm, thereby achieving precise compensation for the output signal and improving the accuracy and reliability of the detector.

[0014] In a preferred example, the present application may be further configured as follows: the iterative training of the preset PID control algorithm according to the parameter change set to generate the dynamic compensation algorithm specifically includes: By continuously adjusting the device parameter data, the corresponding infrared detection output signal is obtained, and the PID proportional gain, PID integral gain and PID differential gain are determined; A weighted sum calculation is performed according to the PID proportional gain, PID integral gain and PID differential gain and their corresponding weights to obtain a device parameter adjustment formula; The parameter adjustment formula is limited according to a preset parameter adjustment amount threshold to obtain the dynamic compensation algorithm.

[0015] By adopting the above technical solution, by continuously adjusting the equipment parameter data and determining the PID proportional gain, PID integral gain and PID differential gain according to the corresponding infrared detection output signal, the effect of parameter adjustment can be optimized. The PID control algorithm is a classic control method. By adjusting the three parameters of proportion, integration and differentiation, the precise control of the system can be improved; by weighting and calculating according to the PID proportional gain, PID integral gain and PID differential gain and their corresponding weights, a device parameter adjustment formula that is more suitable for the current system state can be obtained. Such weighted calculation takes into account the importance and influence of each parameter, making the adjustment formula more effective and stable; the parameter adjustment formula is limited according to a preset parameter adjustment amount threshold to obtain a dynamic compensation algorithm. This algorithm can dynamically adjust the equipment parameters according to the real-time monitored system state and output signal to achieve precise compensation and control of the output signal, which helps to improve the stability and adaptability of the equipment under different environmental conditions.

[0016] In a preferred example, the present application may be further configured as follows: adjusting the parameters of the device to control the infrared detector to perform secondary temperature compensation specifically includes: Adjusting device parameters of the infrared detector according to the device adjustment parameters; According to the device parameters, the output signal of the infrared detector is controlled.

[0017] By adopting the above technical solution, the working parameters of the infrared detector, including sensitivity, threshold, etc., can be accurately adjusted according to the preset equipment adjustment parameters to make it more suitable for the working requirements in the current environment, which helps to improve the detection precision and accuracy of the detector for the target object; the output signal of the infrared detector is controlled in real time according to the equipment parameters, and the working mode and response characteristics of the detector can be adjusted in time under different environmental conditions to ensure that it can provide stable and reliable output signals under various conditions, which helps to reduce false alarms and missed alarms and improve the reliability and practicality of the system.

[0018] The second object of the invention is achieved by the following technical solutions: An infrared detector temperature compensation device, the infrared detector temperature compensation device comprising: The basic compensation module is used to obtain real-time ambient temperature data, determine the output signal compensation amount through a preset temperature compensation curve, and perform basic temperature compensation; A parameter calculation module, used for obtaining the real-time output signal of the infrared detector, and adjusting the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system; The secondary compensation module is used to adjust parameters according to the device and control the infrared detector to perform secondary temperature compensation.

[0019] By adopting the above technical solution, since the sensitivity of the infrared detector usually changes with the change of the ambient temperature, the response of the detector to infrared radiation is weakened, thereby affecting the normal use of the infrared detector. Therefore, when the real-time ambient temperature data is obtained, the present application will determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation, and can calculate the corresponding compensation amount according to different ambient temperatures, thereby helping to improve the accuracy and stability of the detector at different temperatures; obtain the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, according to the system preset dynamic compensation algorithm and the output signal fluctuation amount to generate device adjustment parameters, the infrared detector output signal can be dynamically adjusted, so that the infrared detector can continue to work in some more extreme or complex environments, thereby further improving the detector's recognition ability and accuracy of the target object; according to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation, which can optimize the performance of the infrared detector and improve its adaptability to environmental changes and target objects, thereby reducing the false alarm rate and improving the reliability and practicality of the detector.

[0020] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned infrared detector temperature compensation method are implemented.

[0021] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the infrared detector temperature compensation method are implemented.

[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. By simulating different ambient temperature data, the corresponding infrared detector output signal is obtained, and a related data set is generated based on the ambient temperature data and the infrared detector output signal. Accurate data support can be obtained based on a large amount of data collection, thereby improving the accuracy of the subsequent temperature compensation curve when it is constructed; removing the temperature stable interval from the related data set can screen and remove the interval where the temperature has a small impact on the device, thereby improving the relationship between temperature and output signal, reducing the amount of data, and improving the processing efficiency of the algorithm. The functional relationship between the ambient temperature data and the infrared detector output signal is determined by the exponential function fitting method, thereby generating a temperature compensation curve, improving the calculation accuracy of the infrared detector compensation amount, and enhancing the stability of the infrared detector; 2. By obtaining the device parameter data corresponding to different infrared detection output signals and the change amount of the device parameter data in different intervals, the parameter change set can be obtained, which can provide an in-depth understanding of the device performance under various working conditions. The change amount of the device parameter data in different intervals can be obtained based on these data, which is helpful to identify and optimize the working performance of the device under different conditions, so that the device can play the best effect in various environments; according to the parameter change set, the preset PID control algorithm is iteratively trained to generate a dynamic compensation algorithm, thereby realizing accurate compensation of the output signal and improving the accuracy and reliability of the detector; 3. By continuously adjusting the equipment parameter data and determining the PID proportional gain, PID integral gain and PID differential gain according to the corresponding infrared detection output signal, the effect of parameter adjustment can be optimized. The PID control algorithm is a classic control method. By adjusting the three parameters of proportion, integration and differentiation, the precise control of the system can be improved; by weighting and calculating the PID proportional gain, PID integral gain and PID differential gain and their corresponding weights, a device parameter adjustment formula that is more suitable for the current system state can be obtained. Such weighted calculation takes into account the importance and influence of each parameter, making the adjustment formula more effective and stable; the parameter adjustment formula is limited according to the preset parameter adjustment amount threshold to obtain a dynamic compensation algorithm. This algorithm can dynamically adjust the equipment parameters according to the real-time monitored system state and output signal to achieve precise compensation and control of the output signal, which helps to improve the stability and adaptability of the equipment under different environmental conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flow chart of a temperature compensation method for an infrared detector in an embodiment of the present application; Figure 2 It is a flow chart for realizing the construction of a temperature compensation curve in a temperature compensation method for an infrared detector in an embodiment of the present application; Figure 3is a flowchart for implementing step S20 in the infrared detector temperature compensation method in one embodiment of the present application; Figure 4 It is a flowchart for implementing the dynamic compensation algorithm in the infrared detector temperature compensation method in one embodiment of the present application; Figure 5 is a flowchart for implementing step S202 in the infrared detector temperature compensation method in one embodiment of the present application; Figure 6 is a flowchart for implementing step S30 in the infrared detector temperature compensation method in one embodiment of the present application; Figure 7 This is a principle block diagram of an infrared detector temperature compensation device in one embodiment of the present application; Figure 8 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The present application is further described in detail below in conjunction with the accompanying drawings.

[0025] In one embodiment, if Figure 1 As shown, the present application discloses a temperature compensation method for an infrared detector, which specifically includes the following steps: S10: Acquire real-time ambient temperature data, determine the output signal compensation amount through a preset temperature compensation curve, and perform basic temperature compensation.

[0026] In this embodiment, the real-time ambient temperature data refers to the current ambient temperature data collected by the temperature sensor. The temperature compensation curve refers to the curve used to calculate the compensation amount. The output signal compensation amount refers to the compensation amount of the output signal obtained by the device according to the temperature.

[0027] Specifically, the infrared detector is equipped with a temperature sensor, which can obtain the current ambient temperature data in real time, and input the real-time ambient temperature data into a preset temperature compensation curve for correspondence, thereby obtaining the compensation amount of the output signal corresponding to the current temperature. The parameters of the device are adjusted according to the compensation amount of the output signal until the data change amount of the output signal compensation amount is reached.

[0028] S20: Acquire the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, generate device adjustment parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount.

[0029] In this embodiment, the dynamic compensation algorithm refers to an algorithm for calculating the parameter compensation amount. The device adjustment parameter refers to the parameter compensation amount of the device.

[0030] Specifically, after the basic temperature compensation of the device is completed, the infrared detector will also obtain the current output signal in real time. When the fluctuation of the output signal exceeds the output signal fluctuation threshold preset by the system within the preset time period, the output signal is relatively unstable and the device parameters inside the infrared detector need to be modified accordingly. The self-training dynamic compensation algorithm installed in the system is used to calculate the fluctuation of the output signal to obtain the device adjustment parameters.

[0031] S30: Adjust parameters according to the device and control the infrared detector to perform secondary temperature compensation.

[0032] Specifically, according to the calculated device adjustment parameters, parameter data inside the device such as detector sensitivity, detector threshold and detector are adjusted, that is, secondary temperature compensation.

[0033] In this embodiment, since the sensitivity of the infrared detector usually changes with the change of the ambient temperature, the response of the detector to infrared radiation is weakened, thereby affecting the normal use of the infrared detector. Therefore, when the real-time ambient temperature data is obtained, the present application will determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation, and can calculate the corresponding compensation amount according to different ambient temperatures, thereby helping to improve the accuracy and stability of the detector at different temperatures; obtain the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, the device adjustment parameters are generated according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount, and the output signal of the infrared detector can be dynamically adjusted, so that the infrared detector can continue to work in some more extreme or complex environments, thereby further improving the detector's recognition ability and accuracy of the target object; according to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation, which can optimize the performance of the infrared detector and improve its adaptability to environmental changes and target objects, thereby reducing the false alarm rate and improving the reliability and practicality of the detector.

[0034] In one embodiment, if Figure 2 As shown, in step S10, i.e., the construction of the temperature compensation curve, specifically includes: S101: Acquire corresponding infrared detector output signals by simulating different ambient temperature data, and generate a correlation data set according to the ambient temperature data and the infrared detector output signals.

[0035] In this embodiment, the associated data set refers to a set storing pairs of ambient temperature data and infrared detector output signal data.

[0036] Specifically, different ambient temperature data are simulated, and corresponding infrared detector output signals are obtained when the ambient temperature changes, and the ambient temperature data and the infrared detector output signals are packaged in the form of value pairs to obtain a related data set.

[0037] S102: searching for a stable interval of the infrared detector output signal from the associated data set, and obtaining a corresponding temperature stable interval according to the stable interval.

[0038] Specifically, under appropriate ambient temperature, the performance of the infrared detector will not be strongly affected, and the output signal of the infrared detector will fluctuate within a relatively stable range. Therefore, the interval with a smaller fluctuation amplitude of the output signal of the infrared detector is found from the associated data set, and the corresponding ambient temperature data is obtained to obtain the corresponding temperature stability interval. Within this temperature stability interval, the output signal of the infrared detector changes less and does not need to participate in the calculation of subsequent functional relationships.

[0039] S103: removing the temperature stable interval from the associated data set, determining the functional relationship between the ambient temperature data and the output signal of the infrared detector by an exponential function fitting method, and generating a temperature compensation curve.

[0040] Specifically, since the output signal of the infrared detector will be affected by the ambient temperature, especially under high and low temperature conditions, it will be disturbed to a greater extent, and will be more strongly affected as the temperature continues to rise and fall, the ambient temperature data and the infrared detector output signal in the associated data set are fitted by the exponential function fitting method to obtain the corresponding functional relationship, and the functional relationship is combined with the temperature stability range to obtain the temperature compensation curve.

[0041] In one embodiment, if Figure 3 As shown, in step S20, the real-time output signal of the infrared detector is obtained. When the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, the device adjustment parameter is generated according to the dynamic compensation algorithm and device compensation amount preset by the system, specifically including: S21: The system preset standard output signal takes the average value from the infrared detector output signal corresponding to the stable interval.

[0042] Specifically, taking the average value of the stable interval of the infrared detector output signal and using the average value as the standard output signal can make it approach the most stable output signal value when calculating the compensation data, so as to improve the accuracy of the compensation data calculation.

[0043] In one embodiment, if Figure 4 As shown in the figure, the construction of the self-training dynamic compensation algorithm specifically includes: S201: Obtain device parameter data corresponding to different infrared detection output signals, and obtain the change amount of the device parameter data in different intervals to obtain a parameter change set.

[0044] Specifically, the output signal of the infrared detector is associated with various hardware parameters inside the device, such as detector sensitivity, detector threshold and detector, etc. Adjustment of different parameters will affect the output signal of the infrared detector. Therefore, the device parameter data corresponding to different infrared detector output signals are obtained, and the change amount of different device parameter data with the change of the infrared detector output signal is recorded to obtain a parameter change set.

[0045] S202: Iteratively train a preset PID control algorithm according to the parameter change set to generate a dynamic compensation algorithm.

[0046] In this embodiment, the PID control algorithm refers to an algorithm for adjusting the output of the control system by comprehensively utilizing three control methods: proportional, integral, and differential.

[0047] Specifically, the PID control algorithm is iteratively trained according to the parameter change set to obtain the influence of different device parameter data on the output signal of the infrared detector, and the influence degree is combined with the parameter data to obtain a dynamic compensation algorithm.

[0048] In one embodiment, if Figure 5 As shown, in step S202, the preset PID control algorithm is iteratively trained according to the parameter change set to generate a dynamic compensation algorithm, which specifically includes: S2021: By continuously adjusting the device parameter data, the corresponding infrared detection output signal is obtained, and the PID proportional gain, PID integral gain and PID differential gain are determined.

[0049] Specifically, the device parameter data is continuously adjusted to obtain the corresponding infrared detection output signal, and the corresponding theoretical value of the output signal is calculated. The actual output signal is differentially calculated with the theoretical output signal to obtain the signal error value, and then the corresponding PID proportional gain, PID integral gain and PID differential gain are calculated according to gain = parameter adjustment amount / signal error value.

[0050] S2022: Perform weighted sum calculation according to the PID proportional gain, the PID integral gain, the PID differential gain and their corresponding weights to obtain a device parameter adjustment formula.

[0051] Specifically, a single device parameter data is selected as a variable, and the variable parameter is continuously adjusted to obtain the corresponding infrared detection output signal. The degree of influence of the variable parameter on the infrared detector output signal can be determined, and the above steps are repeated to determine the degree of influence corresponding to each device parameter data, and the degree of influence corresponding to different device parameter data is converted into weight data. The weights and gains corresponding to the device parameter data are weighted and calculated to obtain a weighted formula as the device parameter adjustment formula.

[0052] S2023: Limiting the parameter adjustment formula according to a preset parameter adjustment amount threshold to obtain a dynamic compensation algorithm.

[0053] Specifically, the range of the parameter adjustment amount is limited based on the hardware parameters of the device, so that the calculated device parameter data will not exceed this range when the device parameter adjustment formula is calculated, and the dynamic compensation algorithm is obtained after the limitation.

[0054] In one embodiment, if Figure 6 As shown, in step S30, the infrared detector is controlled to perform secondary temperature compensation according to the device adjustment parameters, which specifically includes: S31: Adjust the device parameters of the infrared detector according to the device adjustment parameters.

[0055] Specifically, according to the calculated device adjustment parameters, the device parameters inside the infrared detector, such as the detector sensitivity, the detector threshold and the detector, are adjusted.

[0056] S32: Control the output signal of the infrared detector according to the device parameters.

[0057] Specifically, after adjusting the device parameters, the output signal of the infrared detector will change with the change of the parameters.

[0058] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0059] In one embodiment, an infrared detector temperature compensation device is provided, and the infrared detector temperature compensation device corresponds to the infrared detector temperature compensation method in the above embodiment. Figure 7 As shown, the infrared detector temperature compensation device includes a basic compensation module, a parameter calculation module, and a secondary compensation module. The detailed description of each functional module is as follows: The basic compensation module is used to obtain real-time ambient temperature data, determine the output signal compensation amount through a preset temperature compensation curve, and perform basic temperature compensation; A parameter calculation module, used for obtaining the real-time output signal of the infrared detector, and adjusting the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system; The secondary compensation module is used to adjust parameters according to the device and control the infrared detector to perform secondary temperature compensation.

[0060] Optionally, the construction of the temperature compensation curve specifically includes: A data preparation module, used to obtain corresponding infrared detector output signals by simulating different ambient temperature data, and generate a correlation data set according to the ambient temperature data and the infrared detector output signal; A data screening module, used to search the stable interval of the infrared detector output signal from the associated data set, and obtain the corresponding temperature stable interval according to the stable interval; The curve construction module is used to remove the temperature stabilization interval from the associated data set, determine the functional relationship between the ambient temperature data and the output signal of the infrared detector by an exponential function fitting method, and generate the temperature compensation curve.

[0061] Optionally, the parameter calculation module specifically includes: The standard setting submodule is used to obtain an average value of the standard output signal preset by the system from the infrared detector output signals corresponding to the stable interval.

[0062] Optionally, the construction of the self-training dynamic compensation algorithm specifically includes: The parameter change simulation module is used to obtain the device parameter data corresponding to different infrared detection output signals, and obtain the change amount of the device parameter data in different intervals to obtain a parameter change set; The dynamic algorithm building module is used to iteratively train the preset PID control algorithm according to the parameter change set to generate the dynamic compensation algorithm.

[0063] Optionally, the dynamic algorithm building module specifically includes: A gain calculation submodule, used to obtain the corresponding infrared detection output signal by continuously adjusting the device parameter data, and determine the PID proportional gain, PID integral gain and PID differential gain; A formula generation submodule is used to perform weighted sum calculation according to the PID proportional gain, PID integral gain and PID differential gain and their corresponding weights to obtain a device parameter adjustment formula; The algorithm construction submodule is used to limit the parameter adjustment formula according to a preset parameter adjustment amount threshold to obtain the dynamic compensation algorithm.

[0064] Optionally, the secondary compensation module specifically includes: A parameter adjustment submodule, used to adjust the device parameters of the infrared detector according to the device adjustment parameters; The signal adjustment submodule is used to control the output signal of the infrared detector according to the device parameters.

[0065] For the specific definition of the infrared detector temperature compensation device, please refer to the definition of the infrared detector temperature compensation method above, which will not be repeated here. Each module in the above-mentioned infrared detector temperature compensation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0066] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a temperature compensation method for an infrared detector is implemented.

[0067] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Obtain real-time ambient temperature data, determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation; Acquire the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, adjust the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device; According to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation.

[0068] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Obtain real-time ambient temperature data, determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation; Acquire the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, adjust the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device; According to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation.

[0069] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0070] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0071] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A temperature compensation method for an infrared detector, It is characterized in that The infrared detector temperature compensation method comprises: Obtain real-time ambient temperature data, determine the output signal compensation amount through the preset temperature compensation curve, and perform basic temperature compensation; Acquire the real-time output signal of the infrared detector, and when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system, adjust the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device; According to the device adjustment parameters, the infrared detector is controlled to perform secondary temperature compensation.

2. The infrared detector temperature compensation method according to claim 1, It is characterized in that The construction of the temperature compensation curve specifically includes: By simulating different ambient temperature data, the corresponding infrared detector output signal is obtained, and a correlation data set is generated according to the ambient temperature data and the infrared detector output signal; Searching for a stable interval of the infrared detector output signal from the associated data set, and obtaining a corresponding temperature stable interval according to the stable interval; The temperature stable interval is removed from the associated data set, the functional relationship between the ambient temperature data and the output signal of the infrared detector is determined by an exponential function fitting method, and the temperature compensation curve is generated.

3. The infrared detector temperature compensation method according to claim 2, It is characterized in that The step of acquiring the real-time output signal of the infrared detector and generating a device adjustment parameter according to a dynamic compensation algorithm preset by the system and the device compensation amount when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system specifically includes: The standard output signal preset by the system is averaged from the infrared detector output signals corresponding to the stable interval.

4. The infrared detector temperature compensation method according to claim 1, It is characterized in that The construction of the self-training dynamic compensation algorithm specifically includes: Obtaining device parameter data corresponding to different infrared detection output signals, and obtaining the change amount of the device parameter data in different intervals to obtain a parameter change set; The preset PID control algorithm is iteratively trained according to the parameter change set to generate the dynamic compensation algorithm.

5. The infrared detector temperature compensation method according to claim 4, It is characterized in that The iterative training of the preset PID control algorithm according to the parameter change set to generate the dynamic compensation algorithm specifically includes: By continuously adjusting the device parameter data, the corresponding infrared detection output signal is obtained, and the PID proportional gain, PID integral gain and PID differential gain are determined; A weighted sum calculation is performed according to the PID proportional gain, PID integral gain and PID differential gain and their corresponding weights to obtain a device parameter adjustment formula; The parameter adjustment formula is limited according to a preset parameter adjustment amount threshold to obtain the dynamic compensation algorithm.

6. The infrared detector temperature compensation method according to claim 1, It is characterized in that The controlling the infrared detector to perform secondary temperature compensation according to the device adjustment parameters specifically includes: Adjusting device parameters of the infrared detector according to the device adjustment parameters; According to the device parameters, the output signal of the infrared detector is controlled.

7. A temperature compensation device for an infrared detector, It is characterized in that The infrared detector temperature compensation device comprises: The basic compensation module is used to obtain real-time ambient temperature data, determine the output signal compensation amount through a preset temperature compensation curve, and perform basic temperature compensation; A parameter calculation module, used for obtaining the real-time output signal of the infrared detector, and adjusting the parameters according to the dynamic compensation algorithm preset by the system and the output signal fluctuation amount generating device when the fluctuation amount of the real-time output signal does not match the output signal fluctuation threshold preset by the system; The secondary compensation module is used to adjust parameters according to the device and control the infrared detector to perform secondary temperature compensation.

8. The infrared detector temperature compensation device according to claim 7, It is characterized in that The construction of the temperature compensation curve specifically includes: A data preparation module, used to obtain corresponding infrared detector output signals by simulating different ambient temperature data, and generate a correlation data set according to the ambient temperature data and the infrared detector output signal; A data screening module, used to search the stable interval of the infrared detector output signal from the associated data set, and obtain the corresponding temperature stable interval according to the stable interval; The curve construction module is used to remove the temperature stabilization interval from the associated data set, determine the functional relationship between the ambient temperature data and the output signal of the infrared detector by an exponential function fitting method, and generate the temperature compensation curve.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the infrared detector temperature compensation method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the infrared detector temperature compensation method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • High-temperature energy storage monitoring method and device based on capacitive pressure sensor, and medium

    CN119469481A

  • Micro-rut asphalt mixture production temperature control method and system

    CN120743005A