Two-wire system output oxygen detection device
By using a transformer circuit and temperature compensation algorithm in the two-wire output oxygen detection device, the problems of large operating current and poor environmental adaptability are solved, low power consumption and high stability are achieved, and it is suitable for oxygen concentration monitoring in the chemical industry and complies with safety standards. standards and improves measurement accuracy.
Patent Information
- Application Number
- CN202410650567.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-06
AI Technical Summary
The existing second-line oxygen generation detection device has a large operating current, poor stability, and insufficient environmental adaptability, making it impossible to ensure measurement accuracy in an environment with large temperature differences.
A two-wire output oxygen detection device including an oxygen sensor, a data processing module and an electrical processing module is designed. DC24V is transformed into DC5V and DC2.5V through a primary transformation signal processing circuit, and the DC5V is converted into DC5V by a secondary transformation circuit. The transformer voltage is DC3.3V, combined with a P-channel junction field effect transistor and a temperature acquisition module to achieve circuit stability and low power consumption, while using a temperature compensation algorithm to improve environmental adaptability.
An oxygen detection device with low operating current and low power consumption has been realized, which complies with the GB/T3836.1-2021 and GB/T3836.4-2021 standards. It is suitable for gas concentration monitoring in explosive mixture locations and improves the accuracy of oxygen detection. and applicable temperature range.
Smart Images

Figure CN118604087A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of gas analysis instruments, and in particular relates to a two-wire output oxygen detection device. Background Art
[0002] The gas produced in chemical production has complex components and contains a large amount of combustible gas. Oxygen is a common gas raw material in chemical production. When combustible gas is mixed with excessively high oxygen content, it is easy to exceed the lower explosion limit and explode. For safety reasons, the oxygen content must be controlled below the set threshold so that the combustible components in the gas are below the lower explosion limit. Otherwise, combustible gas reaching a certain concentration will explode when it contacts a heat source, posing a threat to equipment and personnel. Therefore, in the production of chemical gas media, detecting oxygen concentration is an important guarantee for safe production.
[0003] However, there are two main problems with the current oxygen detection device. First, the working current of the two-wire oxygen detection device is large and the stability is poor. At present, there is an actual two-wire use condition, and the working current must be less than 3mA, so the current two-wire oxygen detection device is required to have a smaller working current, smaller power consumption, and higher stability; second, the environmental adaptability is poor, and the measurement accuracy is affected by the ambient temperature. In an environment with a large temperature difference, the measurement accuracy cannot be guaranteed. Summary of the invention
[0004] In view of this, the present invention provides a two-wire output oxygen detection device, which can not only achieve low power consumption while having high circuit stability, but also can perform temperature compensation and has strong environmental adaptability.
[0005] The present invention is achieved through the following technical solutions:
[0006] A two-wire output oxygen detection device, comprising: a housing, an oxygen sensor, a data processing module and an electrical processing module;
[0007] The oxygen sensor, the data processing module and the electric processing module are all arranged in the housing, and the housing is provided with a wiring opening, and the electric processing module is electrically connected to an external power supply and a data receiving end through the wiring opening;
[0008] The housing is also provided with a gas channel; the oxygen sensor is connected to the gas channel, the gas to be measured flows through the oxygen sensor, the oxygen sensor reacts with the oxygen in the gas to be measured and generates an electrical signal, and transmits the electrical signal to the data processing module;
[0009] The data processing module includes a microcontroller unit and an operational amplifier. The operational amplifier is used to convert the aforementioned electrical signal into a differential signal and transmit it to the microcontroller unit. The microcontroller unit can convert the differential signal into a corresponding digital signal. The microcontroller unit can also calculate the oxygen concentration data according to the digital signal and generate a concentration voltage signal according to the oxygen concentration data, and then transmit it to the electrical processing module. The electrical processing module converts the concentration voltage signal into a concentration current signal and outputs it to the data receiving end.
[0010] The electrical processing module can transform the input voltage DC24V of the external power supply into DC5V and DC2.5V respectively; DC2.5V is used to power the operational amplifier; at the same time, the electrical processing module further transforms the DC5V into DC3.3V for powering the micro control unit.
[0011] Beneficial effects:
[0012] (1) The present invention provides a two-wire output oxygen detection device, which can measure the concentration of trace oxygen. Through primary voltage transformation, DC2.5V is used to power the operational amplifier, and then the DC5V is secondary transformed to DC3.3V to power the microcontroller unit. While improving the circuit stability, the power consumption of the whole machine (the power consumption is less than 1W) and the working current are reduced; at the same time, the explosion-proof performance of the two-wire output oxygen detection device is further improved, so that the oxygen detection device complies with the relevant provisions of GB / T3836.1-2021 and GB / T3836.4-2021 standards, and is an intrinsically safe device with an explosion-proof mark of "Ex ia IIC T3 Ga". It is suitable for gas concentration monitoring in areas of Zone 0, Zone 1, and Zone 2 containing explosive mixtures of hydrogen and oxygen of grades IIA to IIC and temperatures of T1 to T3. It can also be used to measure the concentration of trace oxygen in protective gases and mixed gases in water electrolysis hydrogen production, air separation nitrogen production, and other chemical industries.
[0013] (2) The present invention is provided with a primary voltage transformation signal processing circuit which can transform the voltage DC24V into DC5V and DC2.5V respectively, and realize the conversion of the concentration voltage signal into the concentration current signal. The circuit is stable, the working current is small, and the power consumption is small.
[0014] (3) The present invention is provided with a secondary voltage transformation circuit, which performs secondary voltage transformation of DC5V to DC3.3V and can achieve voltage stabilization during the process of secondary voltage transformation of DC5V to DC3.3V, thereby ensuring the stability of the circuit.
[0015] (4) In the present invention, a P-channel junction field effect transistor (JFET) is arranged between DC5V and the oxygen sensor. After the oxygen detection device is powered on, the P-channel junction field effect transistor is powered on, and the working electrode Sens and the counter electrode Cnt of the oxygen sensor are disconnected, so that the normal collection of oxygen concentration can be achieved; when the oxygen detection device stops working, the working electrode Sens and the counter electrode Cnt of the oxygen sensor are short-circuited to prevent the working electrode of the oxygen sensor from accumulating a large amount of charge and causing polarization when the oxygen sensor is powered off for a long time, which is beneficial to prolonging the service life of the oxygen sensor.
[0016] (5) The present invention is also provided with a temperature acquisition module, which can collect temperature data of the gas to be measured and transmit the temperature data to the data processing module; the microcontroller unit of the data processing module is embedded with a temperature compensation algorithm, which can compensate the calculation of the oxygen concentration according to the received temperature data of the gas to be measured, thereby obtaining a more accurate oxygen concentration, expanding the temperature use range of the two-wire output oxygen detection device, and improving environmental adaptability.
[0017] (6) The electrical processing module of the present invention provides a DC2.5V voltage to the temperature acquisition module, which can reduce the power consumption and operating current of the whole machine.
[0018] (7) The present invention is provided with a TTL data transmission line to facilitate the downloading and debugging of software programs.
[0019] (8) The present invention provides a temperature compensation algorithm that compensates the calculation of trace oxygen concentration according to temperature data, thereby making the calculation of oxygen concentration more accurate and the applicable temperature of the device wider. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a front view of a two-wire output oxygen detection device of the present invention;
[0021] Figure 2 yes Figure 1 AA section view;
[0022] Figure 3 It is a voltage conversion and power supply flow chart;
[0023] Figure 4 It is the circuit diagram of converting 24V to DC5V and DC2.5V;
[0024] Figure 5 This is the circuit diagram of converting DC5V to DC3.3V;
[0025] Figure 6 It is the on-off control circuit of the reference electrode and the working electrode;
[0026] Figure 7 It is the temperature acquisition module circuit;
[0027] Among them, 1-stuffing box, 2-upper cover, 3-screw I, 4-spring washer, 5-flat washer, 6-intermediate shell, 7-ferrule joint, 8-base, 9-top plate, 10-screw II, 11-copper column I, 12-bottom plate, 13-copper column II, 14-probe plate, 15-sensor pressure block, 16-oxygen sensor, 18-O-ring I, 19-explosion-proof plate, 20-O-ring II, 21-thermistor fixing plate, 22-screw III. DETAILED DESCRIPTION
[0028] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0029] Embodiment 1:
[0030] This embodiment provides a two-wire output oxygen detection device, see the attached Figure 1 and 2 , including a housing, an oxygen sensor 16, a data processing module and an electrical processing module;
[0031] The oxygen sensor 16, the data processing module and the electric processing module are all arranged in the housing, and the housing is provided with a wiring port, through which the electric processing module is electrically connected to an external power supply and a data receiving terminal (such as a PLC); the electric processing module is used to supply power to the data processing module and to realize the conversion of the voltage signal into the current signal;
[0032] The housing is also provided with a gas passage; the oxygen sensor 16 is connected to the gas passage, the gas to be measured flows through the oxygen sensor 16, the oxygen sensor 16 reacts with the oxygen in the gas to be measured and generates an electrical signal, and transmits the electrical signal to the data processing module;
[0033] The data processing module includes a microcontroller unit (MCU) and an operational amplifier. The operational amplifier is used to convert the aforementioned electrical signal into a differential signal and transmit it to the microcontroller unit. The microcontroller unit is provided with an AD acquisition port, which can convert the differential signal into a corresponding digital signal. The microcontroller unit can also calculate the oxygen concentration data according to the digital signal and generate a concentration voltage signal according to the oxygen concentration data, and then transmit it to the electrical processing module; the electrical processing module converts the concentration voltage signal into a concentration current signal and outputs it to the data receiving end.
[0034] See attached Figure 3 ,The electrical processing module can transform the input voltage of the external power into DC5V and DC2.5V respectively; DC2.5V is used to power the operational amplifier; at the same time, the electrical processing module will transform the DC5V into DC3.3V for powering the microcontroller unit;
[0035] A two-wire output oxygen detection device provided in this embodiment can measure the concentration of trace oxygen. Through primary voltage transformation, DC2.5V is used to power the operational amplifier, and then the DC5V is secondary transformed into DC3.3V by a voltage stabilizing circuit to power the microcontroller unit. While improving the circuit stability, the power consumption of the whole machine (power consumption is less than 1W) and the working current are reduced; at the same time, the explosion-proof performance of the two-wire output oxygen detection device is further improved, so that the oxygen detection device complies with the relevant provisions of GB / T3836.1-2021 and GB / T3836.4-2021 standards, and is an intrinsically safe device with an explosion-proof mark of "Ex ia IIC T3 Ga". It is suitable for gas concentration monitoring in areas of Zone 0, Zone 1, and Zone 2, containing explosive mixtures of hydrogen and oxygen of grades IIA to IIC and temperatures of groups T1 to T3. It can also be used to measure the concentration of trace oxygen in protective gases and mixed gases in water electrolysis hydrogen production, air separation nitrogen production, and other chemical industries.
[0036] The electrical processing module is provided with a primary voltage transformation signal processing circuit and a secondary voltage transformation circuit. The primary voltage transformation signal processing circuit is used to transform the voltage DC24V into DC5V and DC2.5V respectively, and is also used to realize the conversion of the concentration voltage signal into the concentration current signal. The secondary voltage transformation circuit is used to transform the DC5V into DC3.3V.
[0037] See attached Figure 4 , the primary voltage transformation signal processing circuit includes a transistor Q3, a two-wire current loop transmitter, a capacitor C12, a voltage stabilizing diode D6 and a transient suppression diode TVS1;
[0038] There are eight pins on the two-wire current loop transmitter, namely Vreg pin, Vregf pin, Iin pin, Iret pin, V+ pin, B pin, E pin and Io pin;
[0039] The V+ pin is used to input DC24V, the Vreg pin is used to output DC5V, and the Vregf pin is used to output DC2.5V;
[0040] The Iin pin is electrically connected to the microcontroller unit and has a series resistor R14 for inputting a concentration voltage signal (0.4-2V); the Io pin is electrically connected to an external data receiving terminal for outputting a concentration current signal (4-20mA); the Iret pin is grounded;
[0041] The three pins of the transistor Q3 are a base-collector pin, a collector pin and an emitter pin, respectively. The base-collector pin is electrically connected to the B pin of the two-wire current loop transmitter, the collector pin is electrically connected to the V+ pin of the two-wire current loop transmitter, and the emitter pin is electrically connected to the E pin of the two-wire current loop transmitter.
[0042] Capacitor C12, voltage stabilizing diode D6 and transient suppression diode TVS1 are respectively connected in parallel between the V+ pin and the Io pin of the two-wire current loop transmitter to achieve voltage stabilization of the primary voltage transformation;
[0043] Preferably, the two-wire current loop transmitter uses XTR115UA current loop transmitter, which has low power consumption and can convert voltage signals into current signal output; the resistor R14 is 10KΩ;
[0044] See attached Figure 5 , the secondary voltage transformation circuit includes: a voltage stabilizing chip U1, a voltage stabilizing diode D5, a voltage stabilizing diode D3, a voltage stabilizing diode D1, a voltage stabilizing diode D4, a capacitor C1 and a capacitor C2;
[0045] The voltage regulator chip U1 is provided with four pins, namely, IN pin, OUT pin, PD pin and GND pin;
[0046] Both the PD pin and GND are grounded;
[0047] The IN pin is electrically connected to the DC5V voltage, and the voltage stabilizing diode D5, the voltage stabilizing diode D3 and the capacitor C1 are connected in parallel between the IN pin and the GND pin respectively; for realizing the voltage stabilization of the DC5V input;
[0048] The voltage regulator chip U1 is used to reduce the DC5V voltage to DC3.3V;
[0049] The OUT pin is used to output DC3.3V. The Zener diode D1, Zener diode D4 and capacitor C2 are connected in parallel between the OUT pin and the GND pin respectively to achieve DC3.3V output voltage stabilization.
[0050] Preferably, the capacitor C1 and the capacitor C2 are both 0.01 μF; the voltage regulator diode D5, the voltage regulator diode D3, the voltage regulator diode D1 and the voltage regulator diode D4 are all ISMA4734 models;
[0051] In a specific embodiment, a P-channel junction field effect transistor (JFET) is provided between the DC5V output terminal and the oxygen sensor 16;
[0052] The oxygen sensor 16 is provided with a working electrode Sens and a counter electrode Cnt;
[0053] The source and drain of the P-channel junction field effect transistor are respectively connected to the working electrode Sens and the counter electrode Cnt of the oxygen sensor 16 in a one-to-one correspondence; the gate of the P-channel junction field effect transistor is connected to a DC5V potential through a resistor R25; after the oxygen detection device is powered on, the P-channel junction field effect transistor is powered on, and the working electrode Sens and the counter electrode Cnt of the oxygen sensor 16 are disconnected, so that the normal collection of oxygen concentration can be achieved; when the oxygen detection device stops working, the working electrode Sens and the counter electrode Cnt of the oxygen sensor 16 are short-circuited to prevent the working electrode of the oxygen sensor 16 from accumulating a large amount of charge and polarization when the oxygen sensor 16 is powered off for a long time, which is beneficial to extend the service life of the oxygen sensor 16. Preferably, the resistor R25 is 1MΩ;
[0054] In a specific embodiment, see the attached Figure 1 and 2 The housing includes an upper cover 2, an intermediate shell 6 and a base 8; the upper cover 2, the intermediate shell 6 and the base 8 are coaxially connected in sequence; the direction where the upper cover 2 is located is upward, and the direction where the base is located is downward;
[0055] A stuffing box 1 is arranged on the top of the upper cover 2, and the stuffing box is provided with the wiring port; a data line (not shown in the figure) passes through the wiring port, and the data line has five cores, two of which are DC24V input and 4-20mA output (i.e., used to output the aforementioned concentration current signal); the other three cores are TTL data transmission lines, which are used for software program downloading and debugging;
[0056] The outer circumference of the upper cover 2 is provided with an annular edge I, the bottom end of the upper cover 2 is coaxially located inside the upper end of the intermediate shell 6, the annular edge I of the upper cover 2 abuts against the upper end surface of the intermediate shell 6, and a number of fixing members are provided along the annular edge I for realizing the fixed connection between the upper cover 2 and the intermediate shell 6; preferably, each fixing member is a screw I3 (hexagon socket head screw), a spring washer 4 and a flat washer 5;
[0057] The bottom end of the intermediate shell 6 is provided with an outward-turned annular edge II, and the base 8 is a cylindrical step structure, including a small diameter section located at the top and a large diameter section located at the bottom, and a step surface is formed between the small diameter section and the large diameter section; the small diameter section of the base 8 is coaxially located in the intermediate shell 6, and the annular edge II of the intermediate shell 6 is against the step surface of the base 8, and a number of fixing parts are provided along the annular edge II for realizing the fixed connection between the intermediate shell 6 and the base 8;
[0058] The side of the base 8 is provided with two radial blind holes, namely the air inlet blind hole and the air outlet blind hole (the aforementioned gas passage is the air inlet blind hole and the air outlet blind hole); the top of the base 8 is provided with a mounting groove;
[0059] The oxygen sensor 16 includes an oxygen sensor body and a probe plate 14; the oxygen sensor body is fixedly arranged in the mounting groove, and an air inlet and an air outlet are arranged at the bottom of the oxygen sensor body, the air inlet is connected to the air inlet blind hole of the base 8, and the air outlet is connected to the air outlet blind hole of the base 8; the radial outer ends of the two blind holes are respectively connected with ferrule joints 7 to ensure the sealing of gas inflow and outflow; explosion-proof plates 19 are arranged at the air inlet and air outlet of the oxygen sensor body; an O-ring Ⅰ18 is arranged at the outer periphery of the bottom end of the oxygen sensor body and the contact with the mounting groove to isolate the gas to be measured from the data processing module and the electrical processing module;
[0060] The upper end of the oxygen sensor body is fixedly arranged on the intermediate housing 6, and the probe plate 14 is fixedly arranged on the top of the oxygen sensor body. Two groups of probes are arranged on the probe plate 14, and the two groups of probes penetrate into the sensor body; the end of one group of probes is the aforementioned working electrode Sens, and the end of the other group of probes is the aforementioned counter electrode Cnt;
[0061] In a specific embodiment, the top of the oxygen sensor body is fixedly connected to the intermediate housing 6 through a sensor pressing block 15; the probe plate 14 is fixedly arranged on the top of the sensor pressing block 15; and a through hole for passing the probe is arranged on the probe plate sensor pressing block 15;
[0062] The electrical processing module and the data processing module are integrated on one or more PCB boards. Figure 2 The electrical processing module and the data processing module are integrated on two PCB boards, namely, a top plate 9 and a bottom plate 12. The bottom plate 12 is supported and fixed on the intermediate housing 6 by a plurality of copper pillars Ⅱ13, and the top plate 9 is supported and fixed on the copper pillars Ⅱ13 by a plurality of copper pillars Ⅰ11 and screws Ⅱ10; the top plate 9 and the bottom plate 12 are electrically connected through a pin and a female header; the probe board 14 is electrically connected to the bottom plate 12, specifically, the probe board 14 has two leads, which are the leads of the working electrode Sens and the counter electrode Cnt, and the two leads are respectively welded to the corresponding pins on the bottom plate 12;
[0063] Preferably, the screws II 10 are twelve cross-recessed pan head screws M3; the copper pillars I 11 are six copper pillars 3×9, and the copper pillars II 13 are six copper pillars 3×6; the pin and mother headers are seven-core pins and seven-core sockets respectively;
[0064] In a specific embodiment, both the MCU and the operational amplifier use low-power, stable chips to further reduce power consumption and improve stability.
[0065] Directions:
[0066] Fix the base on the support bracket to be installed, keep the two-wire output oxygen detection device vertical, put the stainless steel tube with an outer diameter of φ6 on the ferrule joint 7, and tighten the compression nut to ensure the air path is sealed. Before connecting the instrument, the pipeline needs to be purged to ensure that the front and rear pipelines are clean and free of particles to prevent the measurement gas path from being blocked after ventilation.
[0067] Working principle:
[0068] The electrical processing module converts the DC24V voltage into DC2.5V and DC5V through primary voltage transformation; DC2.5V powers the operational amplifier, and the electrical processing module converts the DC5V into DC3.3V for secondary voltage transformation to power the microcontroller unit;
[0069] The oxygen sensor 16 reacts with the oxygen in the gas to be tested and generates an electrical signal, and transmits the electrical signal to the data processing module; the operational amplifier in the data processing module calculates and converts the aforementioned electrical signal into a differential signal, the microcontroller unit can receive the differential signal, and convert the differential signal into a corresponding digital signal, the microcontroller unit can also calculate the oxygen concentration data according to the digital signal and generate a concentration voltage signal according to the oxygen concentration data, and then transmit it to the electrical processing module; the electrical processing module converts the concentration voltage signal into a concentration current signal and outputs it to the data receiving end, such as a PLC.
[0070] The two-wire output oxygen detection device provided in this embodiment can measure the concentration of trace oxygen. Through primary voltage transformation, DC2.5V is used to power the operational amplifier, and then the DC5V is secondary transformed into DC3.3V by a voltage stabilizing circuit to power the microcontroller unit. While improving the circuit stability, the power consumption of the whole device (power consumption is less than 1W) and the working current can be reduced.
[0071] Embodiment 2:
[0072] In this embodiment, based on the first embodiment, a two-wire output oxygen detection device further includes a temperature acquisition module, the temperature acquisition module is used to collect temperature data of the gas to be measured and transmit the temperature data to the data processing module;
[0073] The microcontroller unit of the data processing module is embedded with a temperature compensation algorithm, which can compensate the calculation of oxygen concentration according to the received temperature data of the gas to be tested, thereby obtaining a more accurate oxygen concentration, expanding the temperature use range of the two-wire output oxygen detection device, and improving environmental adaptability.
[0074] The electrical processing module provides DC2.5V voltage for the temperature acquisition module, which can reduce the power consumption and working current of the whole machine.
[0075] See attached Figure 7The temperature acquisition module includes a thermistor RT1 and a resistor R4. The thermistor RT1 and the resistor R4 are connected in series between a 2.5V potential and a 0 potential (i.e., grounding). The intermediate potential of the thermistor RT1 and the resistor R4 is electrically connected to the microcontroller unit, specifically connected to the AD acquisition port of the microcontroller unit. The microcontroller unit can obtain the temperature data of the gas to be measured by obtaining the resistance value of the thermistor RT1.
[0076] The temperature compensation algorithm is a mathematical model obtained through a large number of temperature tests; specifically: when the oxygen concentration remains unchanged, the oxygen concentration data of the oxygen sensor at different temperatures is obtained, and then the detection data is curve fitted to establish a mathematical model of the change of oxygen detection data with temperature; according to the mathematical model, the true value of the oxygen concentration is reversely calculated through the oxygen concentration data and the temperature data of the gas to be tested.
[0077] This embodiment compensates the calculation of the concentration of trace oxygen according to the temperature data, so that the calculation of the concentration of oxygen is more accurate and the applicable temperature of the device is wider.
[0078] See attached Figure 2 The top of the base 8 is also provided with a temperature collection hole, which is connected to the air inlet blind hole of the base 8. The top of the temperature collection hole is provided with a thermistor fixing plate 21. The thermistor RT1 is fixed on the thermistor fixing plate 21 by screws III 22 to obtain the temperature of the gas to be measured. An O-ring II 20 (d6×1.8) is provided between the temperature collection hole and the thermistor fixing plate 21;
[0079] Preferably, the screws III 22 are six cross-recessed pan head screws M3;
[0080] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A two-wire output oxygen detection device, characterized in that: include: Housing, oxygen sensor, data processing module and electrical processing module; The oxygen sensor, the data processing module and the electric processing module are all arranged in the housing, and the housing is provided with a wiring opening, and the electric processing module is electrically connected to an external power supply and a data receiving end through the wiring opening; The housing is also provided with a gas channel; the oxygen sensor is connected to the gas channel, the gas to be measured flows through the oxygen sensor, the oxygen sensor reacts with the oxygen in the gas to be measured and generates an electrical signal, and transmits the electrical signal to the data processing module; The data processing module includes a microcontroller unit and an operational amplifier. The operational amplifier is used to convert the aforementioned electrical signal into a differential signal and transmit it to the microcontroller unit. The microcontroller unit can convert the differential signal into a corresponding digital signal. The microcontroller unit can also calculate the oxygen concentration data according to the digital signal and generate a concentration voltage signal according to the oxygen concentration data, and then transmit it to the electrical processing module. The electrical processing module converts the concentration voltage signal into a concentration current signal and outputs it to the data receiving end. The electrical processing module can transform the input voltage DC24V of the external power supply into DC5V and DC2.5V respectively; DC2.5V is used to power the operational amplifier; at the same time, the electrical processing module further transforms the DC5V into DC3.3V for powering the micro control unit.
2. A two-wire output oxygen detection device as claimed in claim 1, characterized in that: The electrical processing module is provided with a primary voltage transformation signal processing circuit and a secondary voltage transformation circuit. The primary voltage transformation signal processing circuit is used to transform the voltage DC24V into DC5V and DC2.5V respectively, and is also used to realize the conversion of concentration voltage signal into concentration current signal. The secondary voltage transformation circuit is used to transform DC5V into DC3.3V.
3. A two-wire output oxygen detection device as claimed in claim 2, characterized in that: The primary voltage transformation signal processing circuit includes a transistor Q3, a two-wire current loop transmitter, a capacitor C12, a voltage stabilizing diode D6 and a transient suppression diode TVS1; There are eight pins on the two-wire current loop transmitter, namely Vreg pin, Vregf pin, Iin pin, Iret pin, V+ pin, B pin, E pin and Io pin; The V+ pin is used to input DC24V, the Vreg pin is used to output DC5V, and the Vregf pin is used to output DC2.5V; The Iin pin is electrically connected to the microcontroller unit and has a series resistor R14 for inputting a concentration voltage signal; the Io pin is electrically connected to an external data receiving terminal for outputting a concentration current signal; the Iret pin is grounded; The three pins of the transistor Q3 are a base-collector pin, a collector pin and an emitter pin, respectively. The base-collector pin is electrically connected to the B pin of the two-wire current loop transmitter, the collector pin is electrically connected to the V+ pin of the two-wire current loop transmitter, and the emitter pin is electrically connected to the E pin of the two-wire current loop transmitter. The capacitor C12, the voltage stabilizing diode D6 and the transient suppression diode TVS1 are respectively connected in parallel between the V+ pin and the Io pin of the two-wire current loop transmitter.
4. A two-wire output oxygen detection device as claimed in claim 2, characterized in that: The secondary voltage transformation circuit includes: a voltage stabilizing chip U1, a voltage stabilizing diode D5, a voltage stabilizing diode D3, a voltage stabilizing diode D1, a voltage stabilizing diode D4, a capacitor C1 and a capacitor C2; The voltage regulator chip U1 is provided with four pins, namely, IN pin, OUT pin, PD pin and GND pin; Both the PD pin and GND are grounded; The IN pin is electrically connected to the DC5V voltage, and the voltage zener diode D5, the voltage zener diode D3 and the capacitor C1 are connected in parallel between the IN pin and the GND pin respectively; The voltage regulator chip U1 is used to reduce the DC5V voltage to DC3.3V; The OUT pin is used to output DC3.3V, and the Zener diode D1, the Zener diode D4 and the capacitor C2 are connected in parallel between the OUT pin and the GND pin respectively.
5. A two-wire output oxygen detection device as claimed in claim 1, characterized in that: A P-channel junction field effect transistor is arranged between the output end of the DC5V voltage and the oxygen sensor; The oxygen sensor is provided with a working electrode Sens and a counter electrode Cnt; The source and drain of the P-channel junction field effect transistor are connected to the working electrode Sens and the counter electrode Cnt of the oxygen sensor respectively; the gate of the P-channel junction field effect transistor is connected to a DC5V potential through a resistor R25; After the oxygen detection device is powered on, the P-channel junction field effect transistor is powered on, and the working electrode Sens and the counter electrode Cnt of the oxygen sensor are disconnected; When the oxygen detection device stops working, the working electrode Sens and the counter electrode Cnt of the oxygen sensor are short-circuited.
6. A two-wire output oxygen detection device as claimed in any one of claims 1 to 5, characterized in that: A two-wire output oxygen detection device also includes a temperature acquisition module, which is used to collect temperature data of the gas to be tested and transmit the temperature data to the data processing module; The microcontroller unit of the data processing module is embedded with a temperature compensation algorithm, which can compensate the calculation of the oxygen concentration according to the received temperature data of the gas to be measured.
7. A two-wire output oxygen detection device as claimed in claim 6, characterized in that: The electrical processing module provides a DC2.5V voltage to the temperature acquisition module.
8. A two-wire output oxygen detection device as claimed in claim 7, characterized in that: The temperature acquisition module includes a thermistor RT1 and a resistor R4, which are connected in series between a 2.5V potential and a 0 potential (i.e., ground), and an intermediate potential between the thermistor RT1 and the resistor R4 is electrically connected to the microcontroller unit; the microcontroller unit can obtain the temperature data of the gas to be measured by obtaining the resistance value of the thermistor RT1.
9. A two-wire output oxygen detection device as claimed in claim 8, characterized in that: The housing includes an upper cover, an intermediate shell and a base; the upper cover, the intermediate shell and the base are coaxially connected in sequence; the direction where the upper cover is located is upward, and the direction where the base is located is downward; A stuffing box is arranged on the top of the upper cover, and the wiring port is arranged on the stuffing box; a data line passes through the wiring port, and the data line has five cores, two of which are used for DC24V input and concentration current signal output respectively, and the other three cores are TTL data transmission lines for software program downloading and debugging; Two radial blind holes are arranged on the side of the base, namely, an air inlet blind hole and an air outlet blind hole; a mounting groove is arranged on the top of the base; The oxygen sensor includes an oxygen sensor body and a probe plate; the oxygen sensor body is fixedly arranged in the mounting groove, an air inlet and an air outlet are arranged at the bottom of the oxygen sensor body, the air inlet is connected to the air inlet blind hole of the base, and the air outlet is connected to the air outlet blind hole of the base; explosion-proof plates are arranged at the air inlet and the air outlet of the oxygen sensor body; an O-ring I is arranged at the outer periphery of the bottom end of the oxygen sensor body in contact with the mounting groove; The upper end of the oxygen sensor body is fixedly arranged on the intermediate shell, and the probe plate is fixedly arranged on the top of the oxygen sensor body. The probe plate is provided with two groups of probes, and the two groups of probes penetrate into the sensor body; the end of one group of probes is the working electrode Sens, and the end of the other group of probes is the counter electrode Cnt; The electrical processing module and the data processing module are integrated on one or more PCB boards, and the PCB boards are fixed in the housing; the probe board is electrically connected to the PCB board; A temperature collection hole is provided at the top of the base, the temperature collection hole is connected to the air inlet blind hole of the base, a thermistor fixing plate is provided at the top of the temperature collection hole, the thermistor RT1 is fixedly provided on the thermistor fixing plate, and is used to obtain the temperature of the gas to be measured; an O-ring II is provided between the temperature collection hole and the thermistor fixing plate.
10. A two-wire output oxygen detection device as claimed in claim 6, characterized in that: The temperature compensation algorithm is a mathematical model obtained through a large number of temperature tests. The true value of oxygen concentration is calculated by reverse calculation through the oxygen concentration data and the temperature data of the gas to be tested. The mathematical model is obtained by obtaining oxygen concentration data of the oxygen sensor at different temperatures while keeping the oxygen concentration constant, and then performing curve fitting on the detection data to establish a mathematical model of oxygen detection data changing with temperature.
