Temperature and pressure compensation circuit and gas analyzer
By designing a temperature and pressure compensation circuit, using a stable power supply circuit and accurate temperature and pressure detection, the error problem caused by density changes in gas flow measurement is solved and the detection accuracy of the gas analyzer is improved.
Patent Information
- Application Number
- CN202410672141.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-10-08
AI Technical Summary
Due to the temperature and pressure dependence of gas density in gas flow measurement, the measurement error is large, and it is difficult to effectively compensate for temperature and pressure with existing technology.
A temperature and voltage compensation circuit is designed, including a power supply circuit, a temperature detection circuit and a pressure detection circuit. It outputs a stable supply voltage through a primary voltage reduction circuit and a secondary voltage reduction circuit, and combines the power supply protection circuit, temperature sensor and pressure sensing Chip, accurately measure temperature and pressure, reducing measurement errors.
It achieves smaller power supply fluctuations, avoids the influence of power supply noise and reverse connection, improves the detection accuracy of the gas analyzer, and reduces the measurement error.
Smart Images

Figure CN118746337A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of analysis and detection, and in particular relates to a temperature and pressure compensation circuit and a gas analyzer. Background Art
[0002] Due to the compressibility of gas, the flow measurement of gas is more complicated than that of liquid. At present, the flow measurement of gas mainly adopts differential pressure flowmeter. According to the measurement principle of flowmeter, volume flow is a function of differential pressure and density, and density is a function of temperature and pressure. Therefore, the output signal of flowmeter is not only related to the input signal, but also the temperature and pressure related to gas density directly affect the measurement result.
[0003] In actual use, due to the change in density of the gas medium, large measurement errors occur, so it is necessary to perform temperature and pressure compensation and hardware circuit design. Summary of the invention
[0004] Based on the above-mentioned shortcomings and deficiencies in the prior art, an object of the present invention is to provide a temperature and pressure compensation circuit and a gas analyzer.
[0005] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solutions:
[0006] A temperature and pressure compensation circuit comprises a power supply circuit, a temperature detection circuit and a pressure detection circuit, wherein the power supply circuit is used to supply power to the temperature detection circuit and the pressure detection circuit;
[0007] Among them, the power supply circuit includes a power supply protection circuit, a primary step-down circuit and a secondary step-down circuit which are connected in sequence, and the supply voltage output by the secondary step-down circuit is input into the temperature detection circuit and the pressure detection circuit respectively.
[0008] As a preferred solution, the power protection circuit includes a fuse F1, a diode D1, a TVS diode D2, a capacitor C4, a capacitor C6, a capacitor C7 and an inductor L1. The power supply voltage passes through the fuse F1 and is connected in parallel to both ends of the TVS diode D2. The positive electrode of the power supply passes through the fuse F1 and is connected to the positive electrode of the diode D1. The negative electrode of the diode D1 is connected to one end of the inductor L1 through the capacitors C6 and C7 connected in parallel. The other end of the inductor L1 is connected to the positive electrode of the capacitor C4.
[0009] Among them, the negative electrodes of the TVS diode D2, the capacitor C4, the capacitor C6, and the capacitor C7 are all grounded.
[0010] As a preferred solution, the first-stage step-down circuit includes a power chip U1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C5, a capacitor C8, a capacitor C9, a resistor R1, a resistor R2, a resistor R3 and an inductor L2, and the model of the power chip U1 is SGM61431XPS8G / TR;
[0011] The power supply voltage output by the power protection circuit is connected to pin 7 of the power chip U1 after passing through capacitors C3 and C9 connected in parallel, and is connected to pin 5 of the power chip U1 through resistor R1. Pin 3 of the power chip U1 is connected in series with capacitor C8 to ground. Pins 6, 8 and 9 of the power chip U1 are directly grounded. Pin 4 of the power chip U1 is connected in series with resistor R3 to ground, and is also connected to the output end of the primary step-down circuit through capacitor C2 and resistor R2 connected in parallel.
[0012] Pin 1 of the power chip U1 is connected to the output end of the primary step-down circuit through the inductor L2;
[0013] Pin 1 and pin 2 of the power chip U1 are connected via capacitor C1;
[0014] Capacitor C3, capacitor C9, capacitor C8, resistor R3, and pins 6, 8, and 9 of the power chip U1 are all grounded;
[0015] Two ends of the capacitor C5 are connected to the output terminal and the ground respectively.
[0016] As a preferred solution, the secondary step-down circuit includes a voltage stabilizing chip U2, a voltage stabilizing chip U3, a capacitor C10, a capacitor C11, a capacitor C12, a resistor R4, a resistor R6, a capacitor C13, a capacitor C14, and a capacitor C15. The model of the voltage stabilizing chip U2 is SGM2211-ADJXN5G / TR, and the model of the voltage stabilizing chip U3 is LM1117IMPX-3.0 / NOPB;
[0017] The output end of the primary step-down circuit is connected to the pin 1 of the voltage stabilizing chip U2 after being connected in parallel with the capacitor C10. The pin 1 of the voltage stabilizing chip U2 is connected to the pin 3. The pin 4 of the voltage stabilizing chip U2 is connected to the resistor R4 and the resistor R6 respectively. The other end of the resistor R4, the pin 5 of the voltage stabilizing chip U2, and the capacitor C11 are connected to the capacitor C13 and the pin 3 of the voltage stabilizing chip U3. The two ends of the capacitor C11 are connected in parallel with the capacitor C12. Among them, the capacitor C10, the pin 2 of the voltage stabilizing chip U2, the resistor R6, the capacitor C11, and the capacitor C12 are all grounded.
[0018] Pin 2 of the voltage regulator chip U3 outputs the supply voltage through capacitors C14 and C15 connected in parallel;
[0019] Among them, the capacitor C13, the pin 1 of the voltage regulator chip U3, the capacitor C14, and the capacitor C15 are all grounded.
[0020] As a preferred solution, the secondary step-down circuit further includes a resistor R5 and a light emitting diode D3. The resistor R5 and the light emitting diode D3 are connected in series and in parallel to both ends of the capacitor C15.
[0021] As a preferred solution, the temperature detection circuit includes a first operational amplifier, a second operational amplifier and a temperature sensor PT100, the reference voltage is grounded through resistors R34, R40 and R42 connected in series in sequence, the reference voltage is also connected to the temperature sensor through a resistor R35, a branch between the resistor R35 and the temperature sensor is connected to the inverting input terminal of the first operational amplifier through a resistor R39, a branch between the resistors R34 and R40 is connected to the non-inverting input terminal of the first operational amplifier through a resistor R36, and the non-inverting input terminal of the first operational amplifier is connected to the output terminal of the first operational amplifier through a resistor R32;
[0022] The output of the first operational amplifier is connected to the inverting input of the second operational amplifier through a resistor R38, the non-inverting input of the second operational amplifier is connected in series with a resistor R31 to ground, the non-inverting input of the second operational amplifier is also connected to the output of the second operational amplifier through a resistor R33, the output of the second operational amplifier is connected in series with a resistor R37 to an ADC sampling point; wherein the ADC sampling point is connected to ground through a resistor R41 and a capacitor C23 connected in parallel;
[0023] The power supply voltage is used to power the first operational amplifier and the second operational amplifier.
[0024] As a preferred solution, the first operational amplifier and the resistor R32, the resistor R36 and the resistor R39 form a first-stage negative feedback amplifier, and the amplification factor is:
[0025] V PT100 / (Vref-V PT100 )*R32 / R36;
[0026] Among them, V PT100 is the voltage of the temperature sensor PT100, Verf is the reference voltage;
[0027] The second operational amplifier, resistor R31, resistor R33 and resistor R38 form a second stage negative feedback amplifier, and the amplification factor is: R33 / R31.
[0028] As a preferred solution, the pressure detection circuit is a pressure sensor chip, and the pressure sensor chip is connected to the power supply voltage through a series resistor.
[0029] As a preferred solution, there are at least two pressure sensor chips, and different pressure sensor chips have different measuring ranges.
[0030] The present invention also provides a gas analyzer, which adopts the temperature and pressure compensation circuit as described in any of the above solutions.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] (1) The present invention outputs a stable power supply voltage through a primary step-down circuit and a secondary step-down circuit, with small voltage ripple, ensuring that the fluctuation of the subsequent circuit is smaller; in addition, the setting of the power protection circuit can prevent the power reverse connection and overvoltage from affecting the equipment, and can also eliminate power supply noise;
[0033] (2) The present invention can accurately measure the resistance value of the temperature sensor through a temperature detection circuit through a two-stage operational amplifier, thereby improving sampling accuracy;
[0034] (3) The present invention selects pressure sensor chips of different ranges according to different actual application scenarios, which is beneficial to improving the detection accuracy of the gas analyzer. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a circuit diagram of a power protection circuit according to Embodiment 1 of the present invention;
[0036] Figure 2 is a circuit diagram of a primary step-down circuit according to Embodiment 1 of the present invention;
[0037] Figure 3 is a circuit diagram of a two-stage step-down circuit according to Embodiment 1 of the present invention;
[0038] Figure 4 is a circuit diagram of a temperature detection circuit according to Embodiment 1 of the present invention;
[0039] Figure 5 is a circuit diagram of a pressure detection circuit according to Embodiment 1 of the present invention;
[0040] Figure 6 It is a comparison diagram of the effects of various compensation methods of the gas analyzer of Example 1 of the present invention. DETAILED DESCRIPTION
[0041] In order to more clearly illustrate the embodiments of the present invention, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other accompanying drawings and other implementation methods can be obtained based on these accompanying drawings without creative work.
[0042] Embodiment 1:
[0043] The temperature and pressure compensation circuit of this embodiment includes a power supply circuit, a temperature detection circuit and a pressure detection circuit, and the power supply circuit is used to supply power to the temperature detection circuit and the pressure detection circuit. The power supply circuit includes a power supply protection circuit, a primary buck circuit and a secondary buck circuit connected in sequence, and the supply voltage output by the secondary buck circuit is respectively input to the temperature detection circuit and the pressure detection circuit.
[0044] like Figure 1As shown, the power protection circuit of this embodiment includes a fuse F1, a diode D1, a TVS diode D2, a capacitor C4, a capacitor C6, a capacitor C7 and an inductor L1. Specifically, through the fence-type terminal P1 with a spacing of 7.62mm, the power supply voltage is connected in parallel to the two ends of the TVS diode D2 after passing through the fuse F1, the positive electrode of the power supply is connected to the positive electrode of the diode D1 after passing through the fuse F1, and the negative electrode of the diode D1 is connected to one end of the inductor L1 through the parallel capacitors C6 and C7, and the other end of the inductor L1 is connected to the positive electrode of the capacitor C4; wherein, the negative electrodes of the TVS diode D2, the capacitor C4, the capacitor C6, and the capacitor C7 are all grounded; finally, the voltage P24V is filtered and then output as a voltage D24V. In addition, the settings of the test points T2 and T3 are used to test the output voltage.
[0045] The power protection circuit of this embodiment is based on the fact that the power supply environment of the general equipment is complex and diverse. Through the fuse, TVS diode and diode D1, the influence of power reverse connection and overvoltage on the equipment can be avoided, and the power supply noise is subsequently filtered out through capacitor filtering.
[0046] like Figure 2 As shown, the first-stage step-down circuit of this embodiment includes a power chip U1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C5, a capacitor C8, a capacitor C9, a resistor R1, a resistor R2, a resistor R3 and an inductor L2. The model of the power chip U1 is SGM61431XPS8G / TR.
[0047] Specifically, the voltage D24V output by the power protection circuit is connected to pin 7VIN of the power chip U1 after passing through capacitors C3 and C9 in parallel, and is connected to pin 5EN of the power chip U1 through resistor R1. Pin 3 of the power chip U1 is connected in series with capacitor C8 and grounded. Pins 6, 8 and 9 of the power chip U1 are directly grounded. Pin 4FB of the power chip U1 is connected in series with resistor R3 and grounded. It is also connected to the output end of the first-stage step-down circuit through capacitors C2 and resistor R2 in parallel, and the output voltage is D12V. Among them, the capacitor C2 of this embodiment is a chip capacitor 0603-47pF, and the resistor R3 is a chip resistor 0603-24K.
[0048] Pin 1SW of the power chip U1 is connected to the output end of the primary step-down circuit through the inductor L2;
[0049] Pin 1SW and pin 2BOOT of the power chip U1 are connected via capacitor C1; the capacitor C1 of this embodiment is a chip capacitor 0805-470nF;
[0050] Capacitor C3, capacitor C9, capacitor C8, resistor R3, pin 6AGND, pin 8PGND and pin 9PAD of power chip U1 are all grounded to DGND;
[0051] The two ends of capacitor C5 are connected to the output terminal and ground respectively;
[0052] In addition, the test point T1 is used to test the output voltage D12V.
[0053] like Figure 3 As shown, the secondary step-down circuit of this embodiment includes a voltage stabilizing chip U2, a voltage stabilizing chip U3, a capacitor C10, a capacitor C11, a capacitor C12, a resistor R4, a resistor R6, a capacitor C13, a capacitor C14, and a capacitor C15. The model of the voltage stabilizing chip U2 is SGM2211-ADJXN5G / TR, and the model of the voltage stabilizing chip U3 is LM1117IMPX-3.0 / NOPB;
[0054] The output voltage D12V of the first-stage step-down circuit is connected in parallel with the capacitor C10 and then connected to the pin 1VIN of the voltage regulator chip U2. The pin 1VIN of the voltage regulator chip U2 is connected to the pin 3EN. The pin 4ADJ of the voltage regulator chip U2 is connected to the resistor R4 and the resistor R6 respectively. The voltage D5V output from the output end connected to the other end of the resistor R4, the pin 5OUT of the voltage regulator chip U2, and the capacitor C11 is input to the capacitor C13 and the pin 3IN of the voltage regulator chip U3. The two ends of the capacitor C11 are connected in parallel with the capacitor C12. Among them, the capacitor C10, the pin 2GND of the voltage regulator chip U2, the resistor R6, the capacitor C11, and the capacitor C12 are all grounded to the ground DGND.
[0055] Pin 2OUT of the voltage regulator chip U3 outputs a supply voltage D3.3V through capacitors C14 and C15 connected in parallel;
[0056] Among them, capacitor C13, pin 1GND of voltage regulator chip U3, capacitor C14, and capacitor C15 are all connected to ground DGND;
[0057] The test point T4 and the test point T5 of this embodiment are used to test the voltage D5V and the voltage D3.3V respectively.
[0058] In addition, the secondary step-down circuit further includes a resistor R5 and a light emitting diode D3. The resistor R5 and the light emitting diode D3 are connected in series and in parallel to both ends of the capacitor C15.
[0059] In this embodiment, the voltage D24V is reduced to D12V through a BUCK step-down circuit, and then reduced to D3.3V through an LDO circuit, so that the D3.3V power supply ripple is small; in addition, the resistor R5 and the light-emitting diode D3 form a power supply indicator light, and when the D3.3V power supply has power, the indicator light is on.
[0060] The temperature detection circuit of this embodiment uses a two-stage operational amplifier to accurately measure the resistance of the temperature sensor PT100. Specifically, Figure 4As shown in FIG. 1 , the temperature detection circuit includes a first operational amplifier U1A, a second operational amplifier U1B and a temperature sensor PT100 (hereinafter referred to as PT1). The models of the first operational amplifier U1A and the second operational amplifier U1B are SGM8210-2XS8G / TR.
[0061] The reference voltage R3.3V is connected to the ground DGND through the resistors R34, R40 and R42 connected in series in sequence. The reference voltage R3.3V is also connected to the temperature sensor PT1 through the resistor R35. The branch between the resistor R35 and the temperature sensor is connected to the inverting input terminal 2 of the first operational amplifier U? A through the resistor R39. The branch between the resistors R34 and R40 is connected to the non-inverting input terminal 3 of the first operational amplifier U? A through the resistor R36. The non-inverting input terminal 3 of the first operational amplifier U? A is connected to the output terminal 1 of the first operational amplifier U? A through the resistor R32.
[0062] The output terminal 1 of the first operational amplifier U?A is connected to the inverting input terminal 6 of the second operational amplifier U?B through a resistor R38, the non-inverting input terminal 5 of the second operational amplifier U?B is connected in series with a resistor R31 to ground DGND, the non-inverting input terminal 5 of the second operational amplifier U?B is also connected to the output terminal 7 of the second operational amplifier U?B through a resistor R33, the output terminal 7 of the second operational amplifier U?B is connected in series with a resistor R37 to an ADC sampling point MCU PT1 of the single-chip microcomputer MCU; wherein the ADC sampling point is connected to ground DGND through a resistor R41 and a capacitor C23 connected in parallel;
[0063] The power supply voltage D3.3V is used to power the first and second op amps. The test point T9 PT2 is the voltage signal test point of the temperature sensor PT100, which is convenient for testing and maintenance.
[0064] In this embodiment, a dedicated reference power supply is used to provide R3.3V, and then the resistors R34, R40, and R42 are used to divide the voltage to obtain an accurate reference signal of 0.2585V. The resistors R40 and R42 are connected in series to facilitate the resistor matching. Similarly, the temperature sensor PT1 is connected in series with the resistor R35 and the voltage at the middle point is taken to compare it with 0.2585V. The first operational amplifier U? A, the resistors R32, R36, and R39 form the first stage of negative feedback amplification, and the amplification factor is:
[0065] V PT100 / (Vref-V PT100 )*R32 / R36;
[0066] Among them, V PT100 is the voltage of the temperature sensor PT100, Verf is the reference voltage;
[0067] The second operational amplifier U1B, resistor R31, resistor R33 and resistor R38 form a second stage negative feedback amplifier, and the amplification factor is: R33 / R31;
[0068] The above resistors use high-precision devices to improve sampling accuracy.
[0069] The pressure detection circuit of this embodiment is a pressure sensor chip, and the pressure sensor chip is connected to the power supply voltage through a series resistor. Figure 5 As shown, the pressure detection circuit mainly consists of two pressure sensor chips U10 and U11 with different ranges (the number of chips can be increased or decreased according to actual application requirements). Both models are SM9541-100C-DC-3-S, and the circuit connection method is the same. Taking the pressure sensor chip U10 as an example, its pins 5, 7, 10 and 11 are connected to the power supply voltage D3.3V through a series resistor, pins 4 and 6 are connected to the ground DGND through a series resistor, pin 17 is directly connected to the ground DGND, and pins 10 and 11 are connected to the MCU communication pins.
[0070] The gas analyzer of this embodiment adopts the above-mentioned temperature and pressure compensation circuit, and additionally collects temperature and pressure to compensate the measured values, thereby effectively improving the accuracy of gas analysis.
[0071] Specifically, the ambient temperature and pressure detected by the temperature and pressure compensation circuit are measured by the standard gas, and the linear calibration formula is obtained by fitting: C Out =kC in +b; where C Out is the gas concentration after compensation, C in is the gas concentration before compensation, k and b are the calibration coefficients.
[0072] The above compensation effect is verified by a specific example below. Taking the concentration detection of NO gas as an example, group tests are performed to obtain the results of uncompensated, temperature compensated, pressure compensated and temperature and pressure compensated, as shown in Table 1.
[0073] Table 1 Summary of results of uncompensated, temperature compensated, pressure compensated and temperature and pressure compensated
[0074]
[0075] As shown in Table 1, after the temperature and pressure compensation of this embodiment, the error between the measured concentration and the theoretical concentration is within 7.6%, which is significantly improved compared with the uncompensated, temperature compensated, and pressure compensated. Figure 6 As shown, the measured concentration is basically close to the theoretical concentration when compared with uncompensated, temperature compensated, and pressure compensated.
[0076] The above description is only a detailed description of the preferred embodiments and principles of the present invention. For ordinary technicians in this field, according to the ideas provided by the present invention, there will be changes in the specific implementation methods, and these changes should also be regarded as the protection scope of the present invention.
Claims
1. A temperature and pressure compensation circuit, characterized in that: It includes a power supply circuit, a temperature detection circuit and a pressure detection circuit, wherein the power supply circuit is used to supply power to the temperature detection circuit and the pressure detection circuit; Among them, the power supply circuit includes a power supply protection circuit, a primary step-down circuit and a secondary step-down circuit which are connected in sequence, and the supply voltage output by the secondary step-down circuit is input into the temperature detection circuit and the pressure detection circuit respectively.
2. The temperature and pressure compensation circuit according to claim 1, characterized in that: The power protection circuit includes a fuse F1, a diode D1, a TVS diode D2, a capacitor C4, a capacitor C6, a capacitor C7 and an inductor L1. The power supply voltage passes through the fuse F1 and is connected in parallel to both ends of the TVS diode D2. The positive electrode of the power supply passes through the fuse F1 and is connected to the positive electrode of the diode D1. The negative electrode of the diode D1 is connected to one end of the inductor L1 through the capacitors C6 and C7 connected in parallel. The other end of the inductor L1 is connected to the positive electrode of the capacitor C4. Among them, the negative electrodes of the TVS diode D2, the capacitor C4, the capacitor C6, and the capacitor C7 are all grounded.
3. The temperature and pressure compensation circuit according to claim 2, characterized in that: The first-stage step-down circuit includes a power chip U1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C5, a capacitor C8, a capacitor C9, a resistor R1, a resistor R2, a resistor R3 and an inductor L2. The model of the power chip U1 is SGM61431XPS8G / TR. The power supply voltage output by the power protection circuit is connected to pin 7 of the power chip U1 after passing through capacitors C3 and C9 connected in parallel, and is connected to pin 5 of the power chip U1 through resistor R1. Pin 3 of the power chip U1 is connected in series with capacitor C8 to ground. Pins 6, 8 and 9 of the power chip U1 are directly grounded. Pin 4 of the power chip U1 is connected in series with resistor R3 to ground, and is also connected to the output end of the primary step-down circuit through capacitor C2 and resistor R2 connected in parallel. Pin 1 of the power chip U1 is connected to the output end of the primary step-down circuit through the inductor L2; Pin 1 and pin 2 of the power chip U1 are connected via capacitor C1; Capacitor C3, capacitor C9, capacitor C8, resistor R3, and pins 6, 8, and 9 of the power chip U1 are all grounded; Two ends of the capacitor C5 are connected to the output terminal and the ground respectively.
4. The temperature and pressure compensation circuit according to claim 3, characterized in that: The secondary step-down circuit includes a voltage stabilizing chip U2, a voltage stabilizing chip U3, a capacitor C10, a capacitor C11, a capacitor C12, a resistor R4, a resistor R6, a capacitor C13, a capacitor C14, and a capacitor C15. The model of the voltage stabilizing chip U2 is SGM2211-ADJXN5G / TR, and the model of the voltage stabilizing chip U3 is LM1117IMPX-3.0 / NOPB; The output end of the primary step-down circuit is connected to the pin 1 of the voltage stabilizing chip U2 after being connected in parallel with the capacitor C10. The pin 1 of the voltage stabilizing chip U2 is connected to the pin 3. The pin 4 of the voltage stabilizing chip U2 is connected to the resistor R4 and the resistor R6 respectively. The other end of the resistor R4, the pin 5 of the voltage stabilizing chip U2, and the capacitor C11 are connected to the capacitor C13 and the pin 3 of the voltage stabilizing chip U3. The two ends of the capacitor C11 are connected in parallel with the capacitor C12. Among them, the capacitor C10, the pin 2 of the voltage stabilizing chip U2, the resistor R6, the capacitor C11, and the capacitor C12 are all grounded. Pin 2 of the voltage regulator chip U3 outputs the supply voltage through capacitors C14 and C15 connected in parallel; Among them, the capacitor C13, the pin 1 of the voltage regulator chip U3, the capacitor C14, and the capacitor C15 are all grounded.
5. The temperature and pressure compensation circuit according to claim 4, characterized in that: The secondary step-down circuit further includes a resistor R5 and a light emitting diode D3. The resistor R5 and the light emitting diode D3 are connected in series and in parallel to both ends of the capacitor C15.
6. The temperature and pressure compensation circuit according to any one of claims 1 to 5, characterized in that: The temperature detection circuit includes a first operational amplifier, a second operational amplifier and a temperature sensor, a reference voltage is connected to ground through resistors R34, R40 and R42 connected in series in sequence, the reference voltage is also connected to the temperature sensor through a resistor R35, a branch between the resistor R35 and the temperature sensor is connected to the inverting input terminal of the first operational amplifier through a resistor R39, a branch between the resistors R34 and R40 is connected to the non-inverting input terminal of the first operational amplifier through a resistor R36, and the non-inverting input terminal of the first operational amplifier is connected to the output terminal of the first operational amplifier through a resistor R32; The output of the first operational amplifier is connected to the inverting input of the second operational amplifier through a resistor R38, the non-inverting input of the second operational amplifier is connected in series with a resistor R31 to ground, the non-inverting input of the second operational amplifier is also connected to the output of the second operational amplifier through a resistor R33, the output of the second operational amplifier is connected in series with a resistor R37 to an ADC sampling point; wherein the ADC sampling point is connected to ground through a resistor R41 and a capacitor C23 connected in parallel; The power supply voltage is used to power the first operational amplifier and the second operational amplifier.
7. The temperature and pressure compensation circuit according to claim 6, characterized in that: The first operational amplifier, resistor R32, resistor R36 and resistor R39 form a first stage negative feedback amplifier, and the amplification factor is: V PT100 / (Vref-V PT100 )*R32 / R36; Among them, V PT100 is the voltage of the temperature sensor PT100, Verf is the reference voltage; The second operational amplifier, resistor R31, resistor R33 and resistor R38 form a second stage negative feedback amplifier, and the amplification factor is: R33 / R31.
8. The temperature and pressure compensation circuit according to any one of claims 1 to 5, characterized in that: The pressure detection circuit is a pressure sensing chip, and the pressure sensing chip is connected to the power supply voltage through a series resistor.
9. The temperature and pressure compensation circuit according to claim 8, characterized in that: There are at least two pressure sensor chips, and different pressure sensor chips have different measuring ranges.
10. A gas analyzer, characterized in that: A temperature and pressure compensation circuit as described in any one of claims 1 to 9 is adopted.
