Infrared sensor calibration, temperature compensation device and method

Through the infrared sensor calibration device integrating hardware circuits, standard gas structures and upper computer PC software modules, the problem of cumbersome infrared sensor calibration process and large errors at extreme temperatures is solved, efficient and automated sensor calibration and temperature compensation are achieved, and batch sizes are supported. Production improves production efficiency and airtightness.

CN114993474BActive Publication Date: 2024-12-06NANJING AIYI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210560655.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2024-12-06
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

The calibration process of existing infrared sensors is cumbersome and inefficient, especially at extreme temperatures, and the error is large and cannot support batch calibration of multiple sensors or modules.

Method used

An infrared sensor calibration and temperature compensation device including hardware circuit module, standard gas structure module and upper computer PC software module is designed, supporting temperature compensation calibration of sensor modules or modules within the temperature range of -40℃ to 70℃, and integrated calibration , temperature compensation and aging testing functions, and efficient calibration is achieved through automated data acquisition and fitting algorithms.

Benefits of technology

It greatly shortens the test time of sensor modules, supports mass production, improves production efficiency and economic benefits, and ensures stable power supply and communication under extreme temperatures, solving the problem of insufficient airtightness of traditional testing instruments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114993474B_ABST
    Figure CN114993474B_ABST
Patent Text Reader

Abstract

The present invention discloses an infrared sensor calibration, temperature compensation device and method, the device includes a hardware circuit module, a calibration gas structure module and a host computer PC software module; the hardware circuit module is used to provide a stable working power supply for the sensor, and is also used to receive and forward the data sent by the sensor to the host computer; the calibration gas structure module is used to provide a stable and closed one-way calibration gas path for the sensor; the host computer PC software module is responsible for receiving user control instructions, forwarding calibration and temperature compensation data to the sensor through the hardware circuit communication module, and receiving and storing the test data sent by the sensor. The present invention integrates a series of functions such as sensor calibration, high and low temperature testing, aging, temperature compensation, etc., greatly shortens the test time of sensor modules and modules, and can monitor the aging test data of the sensor in real time during the production process, and record it synchronously, and reliably manage the whole process of sensor production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optical gas detection, and in particular to an infrared sensor calibration, temperature compensation device and method. Background Art

[0002] In infrared temperature measuring instruments or systems, the signal flow is generally: infrared radiation of the object being measured - infrared sensor (probe) - signal circuit - analog-to-digital conversion - data - program calculation according to the infrared sensor (probe) output characteristic curve - display output, the corresponding relationship curve between the output of the infrared sensor (probe) and the temperature of the object being measured is the infrared sensor (probe) output characteristic curve. It can be seen that the calibration accuracy of the infrared sensor (probe) and the output characteristic curve of the infrared sensor (probe) are the key factors affecting the accuracy of temperature measurement. Especially during the long-term use of infrared temperature measuring instruments or after the replacement of infrared sensors (probes), it is particularly important to reduce temperature measurement errors and improve accuracy through calibration.

[0003] At present, the calibration of infrared sensor probes has the following problems:

[0004] 1. Traditional optical sensors need to be calibrated and tested for aging in multiple steps and processes during the manufacturing process. There is no standardized equipment, and sensor data is usually collected through a simple serial port, and data values ​​of different concentrations of the sensor are manually selected for manual fitting. The operator has a greater impact on the final result.

[0005] 2. During temperature testing, the sensor data can usually only be compensated manually. Manually intercepting test data is very cumbersome and requires human intervention, which brings great uncertainty.

[0006] 3. It is not possible to calibrate and calibrate in large quantities. It is a purely manual operation with low efficiency. Each person can only perform calibration tests on a few dozen sensor modules per day.

[0007] 4. The calibration of ordinary optical sensors cannot meet the wide operating temperature range of -40℃-70℃. Once in such extreme ambient temperature, the error is often very large and can no longer meet normal testing requirements.

[0008] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention

[0009] In view of the problems in the related art, the present invention proposes an infrared sensor calibration, temperature compensation device and method to overcome the above technical problems existing in the existing related art.

[0010] The purpose of this device is to solve a series of problems such as testing, calibration and compensation of optical gas detection sensors after assembly. The traditional practice is to calibrate the sensor or sensor module using a single calibration tool. It is usually only applicable to a single or one sensor or module, and it is impossible to unify multiple or multiple sensors or modules at the same time. In order to solve this problem, this device was specially developed on a platform basis. At the same time, the device also supports temperature compensation calibration of sensor modules or modules in a wide temperature range of -40°C to 70°C. The device can adapt to the two extreme temperatures of low temperature and high temperature and has been specifically developed to ensure that the power supply and communication of sensors and modules are not affected at extreme temperatures.

[0011] To this end, the specific technical solution adopted by the present invention is as follows:

[0012] According to one aspect of the present invention, there is provided an infrared sensor calibration and temperature compensation device, comprising a hardware circuit module, a calibration gas structure module and a host computer PC software module;

[0013] The hardware circuit module is used to provide a stable working power supply for the sensor. When the sensor is working normally, the hardware circuit module receives and forwards the data sent by the sensor to the host computer;

[0014] The standard gas structure module is used to provide a stable, closed, one-way standard gas path for the sensor, and there are anti-leakage measures between the standard gas structure module and the sensor to ensure that each sensor can detect gas when it is working normally;

[0015] The host PC software module is responsible for receiving user control instructions, forwarding the calibration and temperature compensation data to the sensor through the hardware circuit communication module, and receiving and storing the test data sent by the sensor.

[0016] Furthermore, the hardware circuit module includes a circuit board, a plurality of positioning holes are arranged on both sides of the top of the circuit board, and an RS485 communication terminal is arranged on one side of the circuit board and between the positioning holes;

[0017] One end of the circuit board is provided with a power input terminal, a plurality of sensor bases are evenly arranged on the top of the circuit board, and a plurality of metal copper bases are arranged inside the sensor bases.

[0018] Furthermore, the sensor base is a circular socket, and a plurality of sensor bases form a square array for plugging in sensors, and the metal copper seat is used for plugging in sensor pins.

[0019] Furthermore, the standard gas structure module includes a shell, one side of one end of the shell is provided with a total air inlet hole, and the other side of the one end of the shell is provided with a total air outlet hole;

[0020] A plurality of positioning holes are arranged on both sides of the top of the shell, a plurality of sensor grooves are evenly arranged on the top of the shell, a sensor air inlet is arranged on one side of the inner part of the sensor groove, and a sensor air outlet is arranged on the other side of the inner part of the sensor groove;

[0021] A plurality of sensor air inlets are connected in series and communicated with the main air inlet, and a plurality of sensor air outlets are connected in series and communicated with the main air outlet.

[0022] Furthermore, the sensor groove is a cylindrical groove, and a plurality of sensor grooves form a square array for plugging in sensors.

[0023] Furthermore, the edge of the sensor groove is provided with a chamfer, and the number of the sensor grooves is the same as the number of the sensor bases.

[0024] Furthermore, an annular groove is arranged on the outer side of the inner bottom of the sensor groove, and an air pressure ring for preventing air leakage matching therewith is arranged inside the annular groove.

[0025] According to another aspect of the present invention, a calibration and temperature compensation method using the infrared sensor calibration and temperature compensation device is provided, the method comprising the following steps:

[0026] S1. Divide the full-scale gas into 10 equal parts, and ventilate the sensor through the gas distributor, respectively introducing 10%, 20%, 30%, ..., 100% concentration of standard gas;

[0027] S2. After each gas of a concentration value is introduced, the PC software module of the upper computer is clicked to read and store the measured concentration value sent by the sensor;

[0028] S3. Perform quadratic fitting on the concentration values ​​of 10 equal portions and the theoretical values ​​to obtain fitting coefficients A, B and C. The fitting formula is as follows:

[0029]

[0030] Among them: Con r is the measured value of the current gas concentration, Con is the concentration value of the quadratic fitting;

[0031] S4. After all fitting coefficients A, B and C are solved, click the corresponding write coefficient button control to transfer the coefficient to the sensor;

[0032] S5. Using a temperature fitting formula to perform temperature correction on the original temperature of the sensor;

[0033] S6. Perform concentration compensation on the sensor according to the temperature;

[0034] S7. Under a certain ambient temperature, the measured concentration value is measured after deviation from the standard temperature, and the compensation coefficient Con is obtained by fitting to correct the concentration deviation caused by temperature. COF , and divide it into several small temperature intervals. For each small temperature interval, a first-order linear fit is performed on the concentration value. The fitting formula is as follows:

[0035]

[0036] Where, T is the measured temperature value in the current temperature range, T i is the left endpoint value of the current temperature segment, T i+1 is the right endpoint value of the current temperature segment, Con COF is the concentration compensation coefficient of the current temperature section, Con i is the concentration value corresponding to the left end point temperature of the current temperature segment, Con i+1 The concentration value corresponding to the right endpoint temperature of the current temperature segment;

[0037] S8. Send the obtained compensation coefficient to the sensor by clicking the corresponding control of the upper computer PC software module to realize the correction of the concentration value under the measured temperature range;

[0038] S9. Click on the Read Concentration and Read Temperature buttons in the upper computer PC software module to save the test data in real time.

[0039] Furthermore, the temperature correction of the original temperature of the sensor using the temperature fitting formula includes the following steps:

[0040] According to the principle that thermistor resistance changes with temperature, the resistance value is divided into intervals. For the resistance value at a certain moment in each small interval, the corresponding temperature is obtained. The original temperature is corrected by fitting the temperature to make the temperature more accurate. The temperature fitting formula is as follows:

[0041]

[0042] Among them, R is the current resistance value, R i is the left endpoint of the current resistance value range, R i+1 is the right endpoint value of the current resistance segment, Tem COF is the temperature compensation coefficient, Tem i Tem is the temperature value corresponding to the resistance of the left endpoint of the current resistance segment. i+1 It is the temperature value corresponding to the resistance at the right endpoint of the current resistance segment.

[0043] Furthermore, the concentration compensation for the sensor according to the temperature also includes the following steps: reducing the operation steps by setting a fixed compensation concentration.

[0044] The beneficial effects of the present invention are:

[0045] 1) The present invention integrates a series of functions such as sensor calibration, high and low temperature testing, aging, temperature compensation, etc., which greatly shortens the testing time of sensor modules and modules. At the same time, it can monitor the aging test data of the sensor in real time during the production process and record it synchronously, thus reliably managing the entire process of sensor production.

[0046] 2) The present invention can support the mass production of sensors. The device is compact and can support multi-layer stacking. It can support calibration testing and temperature compensation operations for 20-100 sensors / batch, greatly shortening the time of the sensor in this production stage. In the traditional sensor production model, this stage is the most costly and time-consuming. The device can solve the pain points of the sensor in the production process, improve production efficiency, and enhance economic benefits.

[0047] 3) The present invention is specially developed to adapt to both low and high temperature extremes, ensuring that the power supply and communication of the sensor and module are not affected at extreme temperatures, and has reliable high and low temperature adaptability. At the same time, it has a gas leakage release measure, which can solve the problem of insufficient air tightness of traditional test instruments.

[0048] 4) The present invention includes a sampling data steady-state data analysis algorithm, which automatically obtains steady-state data by analyzing the sampling data, thereby ensuring the accuracy of the sensor module data. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 is a structural block diagram of an infrared sensor calibration and temperature compensation device according to an embodiment of the present invention;

[0051] Figure 2 is a structural schematic diagram of a hardware circuit module in an infrared sensor calibration and temperature compensation device according to an embodiment of the present invention;

[0052] Figure 3 It is a structural schematic diagram of a calibration gas structure module in an infrared sensor calibration and temperature compensation device according to an embodiment of the present invention;

[0053] Figure 4 The present invention is a schematic diagram of an interface of a host computer PC software module in an infrared sensor calibration and temperature compensation device according to an embodiment of the present invention.

[0054] In the figure:

[0055] 1. Hardware circuit module; 11. Circuit board; 12. Positioning jack; 13. RS485 communication terminal; 14. Power input terminal; 15. Sensor base; 16. Metal copper seat; 2. Standard gas structure module; 20. Shell; 21. Total air inlet; 22. Total air outlet; 23. Positioning hole; 24. Sensor groove; 25. Sensor air inlet; 26. Sensor air outlet; 27. Anti-leakage air pressure ring; 3. Upper computer PC software module. DETAILED DESCRIPTION

[0056] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0057] According to an embodiment of the present invention, an infrared sensor calibration and temperature compensation device and method are provided.

[0058] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1-4 As shown, an infrared sensor calibration and temperature compensation device according to an embodiment of the present invention includes a hardware circuit module 1, a calibration gas structure module 2 and a host computer PC software module 3;

[0059] The hardware circuit module 1 is used to provide a stable working power supply for the sensor. When the sensor is working normally, the hardware circuit module receives and forwards the data sent by the sensor to the host computer;

[0060] The standard gas structure module 2 is used to provide a stable, closed, one-way standard gas path for the sensor, and there are anti-leakage measures between the standard gas structure module and the sensor to ensure that each sensor can detect gas when working normally;

[0061] The upper computer PC software module 3 is responsible for receiving user control instructions, forwarding calibration and temperature compensation data to the sensor through the hardware circuit communication module, and receiving and storing the test data sent by the sensor.

[0062] In one embodiment, the hardware circuit module 1 includes a circuit board 11, and the circuit board is a rectangular circuit board of 215mm×145mm in size, with a thickness of 1.6mm. Both sides of the top of the circuit board 11 are provided with a plurality of positioning sockets 12 for fixing with the standard gas structure module, with an aperture of 8mm. An RS485 communication terminal 13 is provided on one side of the circuit board 11 and between the positioning sockets 12. The hardware circuit module adopts standard RS485 communication, and the hardware circuit board is provided with an RS485 data communication port, which can be connected to the host computer part through an RS485 to USB communication line. The software is the host computer part, which sends and receives digital signals through the above-mentioned RS485 to USB communication line; the hardware circuit module forms a communication networking system through multiple 485 chips and a main control chip. The hardware can support the calibration of 20 channels of sensors at the same time. The main control chip is responsible for controlling the forwarding and parsing of signals from the PC end and the signals from the sensor module.

[0063] A 24V DC power input terminal 14 is provided at one end of the circuit board 11. The power module can output 6V, 5V and 3.3V voltages after voltage conversion, which can provide a stable power supply for the hardware module. 20 sensor bases 15 are evenly arranged on the top of the circuit board 11. The sensor base is a circular socket with a diameter of 20mm. The sensor base 15 is provided with 5 metal copper bases 16 with a diameter of 3mm for plugging sensor pins. The 20 sensor bases are evenly arranged in a square array of 4 rows and 5 columns at an equal interval of 35mm for plugging sensors. This hardware part can meet the calibration or temperature compensation of up to 20 sensors or modules at the same time.

[0064] In one embodiment, the standard gas structure module 2 includes a transparent plastic shell 20 with a size of 180 mm × 155 mm × 37.5 mm, and the structure is chamfered C5 on all sides. A total air inlet 21 is provided on one side of one end of the shell 20, and a total air outlet 22 is provided on the other side of one end of the shell 20. The diameters of the total air inlet 21 and the total air outlet 22 are both 6 mm.

[0065] Two locating holes 23 with a diameter of 8 mm are arranged on both sides of the top of the shell 20. The center distances of the locating holes are 8.5 mm and 51 mm respectively from the adjacent margins. The calibration gas structure module can be fixedly connected to the hardware circuit module by using locating pins of equal size. 20 sensor grooves 24 with a diameter of 20.5 mm and a height of 10 mm are evenly arranged on the top of the shell 20 (the sensor grooves 24 are cylindrical grooves). The edges of the grooves are chamfered by C1. The 20 grooves are evenly arranged in a square array of 4 rows and 5 columns at an equal interval of 35 mm for plugging in the sensor module. A sensor air inlet 25 is arranged on one side of the sensor groove 24, and a sensor air outlet 26 is arranged on the other side of the sensor groove 24. The sensor air inlet 25 and the sensor air outlet 26 are both circular air holes with a diameter of 4 mm, symmetrically distributed on the left and right, with a center distance of 17.5 mm. The two air holes are used for air intake and air outlet during calibration respectively.

[0066] The 20 sensor air inlet holes 25 are connected in series and connected to the main air inlet hole 21, and the 20 sensor air outlet holes 26 are connected in series and connected to the main air outlet hole 22. That is, the 20 sensor air inlet holes and air outlet holes are connected in series inside the module to ensure the overall air tightness, and are uniformly controlled through two main inlet and outlet holes with a diameter of 6 mm reserved on the front side of the structure.

[0067] In one embodiment, the edge of the sensor groove 24 is chamfered, and the number of the sensor grooves 24 is the same as the number of the sensor bases 15 .

[0068] In one embodiment, an annular groove with an inner diameter of 17.5 mm, an outer diameter of 20.5 mm, and a depth of 1 mm is disposed on the outer side of the inner bottom of the sensor groove 24, and an anti-leakage air pressure ring 27 matching therewith is disposed inside the annular groove.

[0069] According to another embodiment of the present invention, a calibration and temperature compensation method using the infrared sensor calibration and temperature compensation device is provided, the method comprising the following steps:

[0070] S1. Divide the full-scale gas into 10 equal parts, and ventilate the sensor through the gas distributor, respectively introducing 10%, 20%, 30%, ..., 100% concentration of standard gas;

[0071] S2. After each gas of a concentration value is introduced, the PC software module of the upper computer is clicked to read and store the measured concentration value sent by the sensor;

[0072] S3. Perform quadratic fitting on the concentration values ​​of 10 equal portions and the theoretical values ​​to obtain fitting coefficients A, B and C. The fitting formula is as follows:

[0073]

[0074] Among them: Conr is the measured value of the current gas concentration, Con is the concentration value of the quadratic fitting;

[0075] S4. After all fitting coefficients A, B and C are solved, click the corresponding write coefficient button control to transfer the coefficient to the sensor;

[0076] S5. After completing the calibration steps from S3 to S5, the original temperature of the sensor is corrected using a temperature fitting formula. During compensation, a fixed compensation concentration can be set to reduce the number of operation steps.

[0077] S6. After completing the calibration steps from S3 to S5, the sensor is subjected to concentration compensation according to the temperature;

[0078] S7. Under a certain ambient temperature, the measured concentration value is measured after deviation from the standard temperature, and the compensation coefficient Con is obtained by fitting to correct the concentration deviation caused by temperature. COF The test temperature range is -40°C to 70°C, and it is divided into several small temperature intervals (the intervals used in this embodiment are -40°C to -20°C, -20°C to 0°C, 0°C to 50°C, and 50°C to 70°C). For each small temperature interval, the concentration value is fitted by a first-order linear fitting, and the fitting formula is as follows:

[0079]

[0080] Where, T is the measured temperature value in the current temperature range, T i is the left endpoint value of the current temperature segment, T i+1 is the right endpoint value of the current temperature segment, Con COF is the concentration compensation coefficient of the current temperature section, Con i is the concentration value corresponding to the left end point temperature of the current temperature segment, Con i+1 The concentration value corresponding to the right endpoint temperature of the current temperature segment;

[0081] S8. Send the obtained compensation coefficient to the sensor by clicking the corresponding control of the upper computer PC software module to realize the correction of the concentration value under the measured temperature range;

[0082] S9. After completing the above calibration and fitting steps, click on the reading concentration and reading temperature spaces in the host PC software module to save the test data in real time;

[0083] S10. To facilitate batch calibration temperature compensation testing, the host PC software module is encapsulated internally to achieve unified management and operation of 20 sensors. For the same batch of tests, there is no need to repeat steps S1 to S10.

[0084] In this embodiment, after the sampling data is sorted, the concentration and sampling data are quantitatively analyzed, a polynomial fitting is performed through a certain algorithm, and the optimal solution and R2 coefficient are calculated. The range of the R2 coefficient is judged to determine whether the calibration error is qualified. The error can be automatically determined after obtaining the sensor data during the high and low temperature test, and sent to the sensor to complete the automatic calibration. At the same time, the collected sensor data can be automatically saved to form a data file.

[0085] In one embodiment, the temperature correction of the original temperature of the sensor using the temperature fitting formula comprises the following steps:

[0086] According to the principle that thermistor resistance changes with temperature, the resistance value is divided into intervals. In practical applications, -40℃ to 70℃ is usually taken as the total test temperature range. For the resistance value at a certain moment in each small interval, the corresponding temperature is obtained. The original temperature is corrected by fitting the temperature to make the temperature more accurate. The temperature fitting formula is as follows:

[0087]

[0088] Among them, R is the current resistance value, R i is the left endpoint of the current resistance value range, R i+1 is the right endpoint value of the current resistance segment, Tem COF is the temperature compensation coefficient, Tem i Tem is the temperature value corresponding to the resistance of the left endpoint of the current resistance segment. i+1 It is the temperature value corresponding to the resistance at the right endpoint of the current resistance segment.

[0089] To sum up, with the help of the above-mentioned technical scheme of the present invention, the present invention integrates a series of functions such as sensor calibration, high and low temperature testing, aging, temperature compensation, etc., which greatly shortens the testing time of sensor modules and modules. At the same time, it can monitor the aging test data of the sensor in real time during the production process and record it synchronously, thereby reliably managing the entire process of sensor production.

[0090] In addition, the present invention can support the mass production of sensors. The device is compact and can support multi-layer stacking. It can support calibration testing and temperature compensation operations for 20-100 sensors / batch, greatly shortening the time of the sensor in this production stage. In the traditional sensor production model, this stage is the most costly and time-consuming. The device can solve the pain points of sensors in the production process, improve production efficiency, and enhance economic benefits.

[0091] In addition, the present invention is specially developed to adapt to both low and high temperature extremes, ensuring that the power supply and communication of the sensor and module are not affected at extreme temperatures, and has reliable high and low temperature adaptability. At the same time, it has a gas leakage release measure, which can solve the problem of insufficient air tightness of traditional test instruments.

[0092] In addition, the present invention includes a sampling data steady-state data analysis algorithm, which automatically obtains steady-state data by analyzing the sampling data, thereby ensuring the accuracy of the sensor module data.

[0093] 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 principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for infrared sensor calibration and temperature compensation, characterized in that: The method is implemented by using an infrared sensor calibration and temperature compensation device, the device comprising a hardware circuit module (1), a calibration gas structure module (2) and a host computer PC software module (3); The hardware circuit module (1) is used to provide a stable working power supply for the sensor. When the sensor works normally, the hardware circuit module receives and forwards data sent by the sensor to the host computer; The standard gas structure module (2) is used to provide a stable, closed, one-way standard gas path for the sensor, and there are anti-leakage measures between the standard gas structure module and the sensor to ensure that each sensor can detect gas when working normally; The host computer PC software module (3) is responsible for receiving user control instructions, forwarding calibration and temperature compensation data to the sensor through the hardware circuit communication module, and receiving and storing test data sent by the sensor; The method comprises the following steps: S1. Divide the full-scale gas into 10 equal parts, and ventilate the sensor through the gas distributor, respectively introducing 10%, 20%, 30%, ..., 100% concentration of standard gas; S2. After each gas of a concentration value is introduced, the PC software module of the upper computer is clicked to read and store the measured concentration value sent by the sensor; S3. Perform quadratic fitting on the concentration values ​​of 10 equal portions and the theoretical values ​​to obtain fitting coefficients A, B and C. The fitting formula is as follows: Where, Con r is the measured value of the current gas concentration, Con is the concentration value of the quadratic fitting; S4. After all fitting coefficients A, B and C are solved, click the corresponding write coefficient button control to transfer the coefficient to the sensor; S5. Using a temperature fitting formula to perform temperature correction on the original temperature of the sensor; The method of using the temperature fitting formula to correct the original temperature of the sensor includes the following steps: According to the principle that thermistor resistance changes with temperature, the resistance value is divided into intervals. For the resistance value at a certain moment in each small interval, the corresponding temperature is obtained. The original temperature is corrected by fitting the temperature to make the temperature more accurate. The temperature fitting formula is as follows: Where R is the current resistance value, R i is the left endpoint of the current resistance value range, R i+1 is the right endpoint value of the current resistance segment, Tem COF is the temperature compensation coefficient, Tem i Tem is the temperature value corresponding to the resistance of the left endpoint of the current resistance segment. i+1 The temperature value corresponding to the resistance value at the right endpoint of the current resistance segment; S6. Perform concentration compensation on the sensor according to the temperature; S7. Under a certain ambient temperature, the measured concentration value is measured after deviation from the standard temperature, and the compensation coefficient Con is obtained by fitting to correct the concentration deviation caused by temperature. COF , and divide it into several small temperature intervals. For each small temperature interval, a first-order linear fit is performed on the concentration value. The fitting formula is as follows: Where, T is the measured temperature value in the current temperature range, T i is the left endpoint value of the current temperature segment, T i+1 is the right endpoint value of the current temperature segment, Con COF is the concentration compensation coefficient of the current temperature section, Con i is the concentration value corresponding to the left end point temperature of the current temperature segment, Con i+1 The concentration value corresponding to the right endpoint temperature of the current temperature segment; S8. Send the obtained compensation coefficient to the sensor by clicking the corresponding control of the upper computer PC software module to realize the correction of the concentration value under the measured temperature range; S9. Click on the Read Concentration and Read Temperature buttons in the upper computer PC software module to save the test data in real time.

2. The infrared sensor calibration and temperature compensation method according to claim 1, characterized in that: The hardware circuit module (1) comprises a circuit board (11), a plurality of positioning holes (12) are arranged on both sides of the top of the circuit board (11), and an RS485 communication terminal (13) is arranged on one side of the circuit board (11) and between the positioning holes (12); A power input terminal (14) is provided at one end of the circuit board (11), a plurality of sensor bases (15) are evenly arranged on the top of the circuit board (11), and a plurality of metal copper bases (16) are arranged inside the sensor bases (15).

3. The infrared sensor calibration and temperature compensation method according to claim 2, characterized in that: The sensor base (15) is a circular socket, and a plurality of the sensor bases (15) form a square array for plugging sensors, and the metal copper seat (16) is used for plugging sensor pins.

4. The infrared sensor calibration and temperature compensation method according to claim 2, characterized in that: The standard gas structure module (2) comprises a shell (20), one side of one end of the shell (20) is provided with a total air inlet (21), and the other side of one end of the shell (20) is provided with a total air outlet (22); A plurality of positioning holes (23) are arranged on both sides of the top of the shell (20), a plurality of sensor grooves (24) are evenly arranged on the top of the shell (20), a sensor air inlet (25) is arranged on one side of the interior of the sensor groove (24), and a sensor air outlet (26) is arranged on the other side of the interior of the sensor groove (24); A plurality of the sensor air inlet holes (25) are connected in series and communicate with the main air inlet hole (21), and a plurality of the sensor air outlet holes (26) are connected in series and communicate with the main air outlet hole (22).

5. The infrared sensor calibration and temperature compensation method according to claim 4, characterized in that: The sensor groove (24) is a cylindrical groove, and a plurality of the sensor grooves (24) form a square matrix for inserting sensors.

6. The infrared sensor calibration and temperature compensation method according to claim 4, characterized in that: The edge of the sensor groove (24) is provided with a chamfer, and the number of the sensor grooves (24) is the same as the number of the sensor bases (15).

7. The infrared sensor calibration and temperature compensation method according to claim 4, characterized in that: An annular groove is arranged on the outer side of the inner bottom of the sensor groove (24), and an air pressure ring (27) matching with the annular groove is arranged inside the annular groove.

8. The infrared sensor calibration and temperature compensation method according to claim 1, characterized in that: The concentration compensation for the sensor according to the temperature also includes the following steps: reducing the operation steps by setting a fixed compensation concentration.