A circuit for detecting oxygen concentration in water with high precision
By using a high-precision, low-temperature drift operational amplifier and operational amplifier follower structure, combined with a multi-stage filtering circuit, the problem of unstable detection results in complex environments of traditional oxygen concentration detection circuits is solved, achieving high-precision and long-term stable oxygen concentration detection.
Patent Information
- Application Number
- CN202522629845.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-12-11
AI Technical Summary
Traditional oxygen concentration detection circuits exhibit large fluctuations in measured values under complex electromagnetic environments and lack effective noise filtering and anti-interference capabilities, resulting in unstable detection results.
It adopts a high-precision, low-temperature drift op-amp and op-amp follower structure, combined with a multi-stage filtering circuit, to dynamically correct the op-amp offset voltage and temperature drift, providing high input impedance and low output impedance to ensure stable signal transmission.
It achieves mV-level signal capture and long-term stability, improving the accuracy and temperature stability of detection results, and is suitable for quality control of precision control and high value-added products.
Smart Images

Figure CN225018174U_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of oxygen concentration technology, and more specifically, relates to a circuit for high-precision detection of oxygen concentration in water. Background Technology
[0002] Oxygen concentration detection in water is a core requirement in fields such as industrial process control, environmental safety monitoring, medical respiratory equipment, and aquaculture. The key technology lies in how to convert the weak and easily interfered raw signal output by the oxygen concentration sensor into a stable, accurate electrical signal that can be read by a microcontroller with high fidelity. Many small devices on the market use simplified single or dual operational amplifier solutions, usually containing only a basic conversion circuit or only one stage of amplification. Such circuits lack effective noise filtering and anti-interference capabilities, and are only suitable for low-precision applications. Some even use integrated dedicated chip solutions, directly inputting the weak low-voltage signal collected into the chip. This chip integrates a programmable amplifier, filter, and ADC. The circuit parameters of this type of circuit lack flexibility, making it difficult for developers to optimize or upgrade for specific application scenarios.
[0003] However, traditional oxygen concentration detection circuits often have obvious limitations. Most oxygen concentration detection circuits may only use simple RC filtering, which is susceptible to external interference and the measured value fluctuates greatly in complex electromagnetic environments. There is an urgent need for an oxygen concentration detection circuit with stable detection results. Utility Model Content
[0004] To address the aforementioned technical problems, this invention provides a high-precision circuit for detecting oxygen concentration in water, thereby resolving the issue of unstable detection results in traditional oxygen concentration detection circuits in the prior art.
[0005] This utility model discloses a circuit for high-precision detection of oxygen concentration in water, achieved through the following specific technical means: A high-precision circuit for detecting oxygen concentration in water includes a lithium battery charging circuit, a 5V voltage regulator circuit, a microcontroller control circuit, a digital tube display circuit, an oxygen concentration detection circuit, a temperature detection circuit, and a water flow detection circuit. The lithium battery charging circuit includes a TYPE-C terminal, a power chip U1, and a battery interface J1. The 5V voltage regulator circuit includes a PMOS transistor Q3, a step-up / step-down chip U3, and a diode D1. The microcontroller control circuit includes a pin header J3, a main microcontroller U2, and a high-frequency crystal oscillator Y1. The digital tube display circuit includes a driver chip U4, a capacitor C10, and an electrolytic capacitor EC1. The oxygen concentration detection circuit includes a BNC terminal J4, and high-precision and low-temperature drift operational amplifiers U5, U6, and U7. The temperature detection and water flow detection circuit includes a detection terminal J5, an input terminal J2, and a resistor R23.
[0006] According to a preferred embodiment, the lithium battery charging circuit further includes resistors R3 and R4. The CC1 and CC2 pins of the TYPE-C terminal are connected to resistors R3 and R4 respectively. Resistors R3 and R4 are connected to ground (GND). The VBUS pin of the TYPE-C terminal is connected to the VIN pin of the power chip U1. The power chip U1 is connected to the power inductor L2, which is connected to resistor R1. The power chip U1 is connected to indicator lights LED1 and LED2 respectively. Both indicator lights LED1 and LED2 are connected to resistor R5. Pin 8 of the power chip U1 is connected to ground (GND).
[0007] According to a preferred embodiment, the 5V voltage regulator circuit further includes the battery positive terminal BAT+, the PMOS transistor Q3 is connected to the battery positive terminal BAT+, the PMOS transistor Q3 is connected to resistors R6 and R7 respectively, the resistor R6 is connected to the ground terminal GND, the resistor R7 is connected to the +5V input pin of the TYPE-C terminal, the diode D1 is disposed between the PMOS transistor Q3 and the +5V input pin of the TYPE-C terminal, the cathode of the diode D1 is connected to capacitor C7 and inductor L1 respectively, the inductor L1 is connected to the buck-boost chip U3, the GND pin of the buck-boost chip U3 is connected to the ground terminal GND, and the VOUT pin of the buck-boost chip U3 is connected to capacitor C8 and the power supply voltage terminal VCC respectively.
[0008] According to a preferred embodiment, the microcontroller control circuit further includes a button SW1. Pin 11 of the main control microcontroller U2 is connected to the button SW1. The pin header J3 is connected to the power supply voltage terminal VCC and the ground terminal GND, respectively. The SDA pin and SCL pin of the main control microcontroller U2 are connected to the pins 5 and 6 of the main control microcontroller U2, respectively. The two ends of the high-frequency crystal oscillator Y1 are connected to the capacitors C4 and C5, respectively. The TX pin and RX pin of the main control microcontroller U2 are connected to the RX communication pin and TX communication pin of the driver chip U4, respectively. The power supply voltage terminal VCC is connected to the buzzer BZ1. The buzzer BZ1 is connected to the collector of the transistor Q1. The transistor Q1 is connected to the resistor R46. The emitter of the transistor Q1 is connected to the ground terminal GND.
[0009] According to a preferred embodiment, the digital tube display circuit includes resistors R8 and R9, pins 2 and 3 of the driver chip U4 are connected to resistors R9 and R8 respectively, and the DIGI pin of the driver chip U4 is connected to the 4-digit digital tube DSPI respectively.
[0010] According to a preferred embodiment, the oxygen concentration detection circuit further includes resistors R20, R21, and R22. Resistor R20, resistors R21, and resistor R22 are connected between the BNC terminal J4 and pin 5 of the high-precision and low-temperature drift U5. Pin 7 of the high-precision and low-temperature drift U5 is connected to resistor R37. Pin 8 of the high-precision and low-temperature drift U5 is connected to the power supply voltage terminal VCC. Pin 8 of the high-precision and low-temperature drift U5 is connected to capacitor C26. Capacitor C26 is connected to the ground terminal GND. Capacitor C25 is connected between pin 8 of the high-precision and low-temperature drift U5 and the ground terminal GND. Resistors R32, R31, and R26 are connected between the BNC terminal J4 and pin 3 of the high-precision and low-temperature drift U5. Pin 1 of the high-precision and low-temperature drift U5 is connected to resistor R36.
[0011] According to a preferred embodiment, resistors R36 and R37 are connected to pins 2 and 3 of the high-precision and low-temperature drift U6, respectively; pin 1 of the high-precision and low-temperature drift U6 is connected to resistor R40; resistor R40 is connected to pin 5 of the high-precision and low-temperature drift U6; pin 6 of the high-precision and low-temperature drift U6 is connected to resistor R41; pins 6 and 7 of the high-precision and low-temperature drift U6 are connected to resistor R42; pin 7 of the high-precision and low-temperature drift U6 is connected to resistor R43; and resistor R43 is connected to pin 3 of the high-precision and low-temperature drift U7 and resistor R44, respectively.
[0012] According to a preferred embodiment, the resistor R44 is connected to pin 6 of the high-precision and low-temperature drift U7, pin 4 of the high-precision and low-temperature drift U7 is connected to the ground terminal GND, and pin 5 of the high-precision and low-temperature drift U7 is connected to the voltage regulator chip U8.
[0013] According to a preferred embodiment, the temperature detection and water flow detection circuit further includes a resistor R22, the input terminal J2 is connected to the resistor R22 and the resistor R23 respectively, the input terminal J2 is connected to the ground terminal GND, a capacitor C20 is connected between the ground terminal GND and the resistor R23, and the detection terminal J5 is connected to the resistor R10 and the resistor R11 respectively.
[0014] Compared with the prior art, the present invention has the following beneficial effects: 1. By using three high-precision, low-temperature drift operational amplifiers, extremely weak voltage signals can be detected, achieving the capture of "mV-level" signals. Ordinary circuits will drift with temperature changes and the passage of time, resulting in different test results. This circuit has a compensation circuit that can dynamically correct the offset voltage and temperature drift of the operational amplifier itself, and can partially compensate for the sensitivity of the sensor, thereby providing long-term stability and temperature stability, extending the calibration cycle, and solving the problem of unstable detection results in traditional oxygen concentration detection circuits.
[0015] 2. By employing an operational amplifier follower structure, high input impedance and low output impedance are provided, reducing the load impact on the front-end sensor signal and ensuring that the signal can be transmitted to the subsequent data acquisition system without loss. This improves the accuracy of the system, upgrading oxygen concentration detection from a rough reference tool to a reliable metrological means that can be used for precision control, safety interlocks, scientific discovery, and quality control of high-value-added products. It also solves the problem of inaccurate detection results in traditional oxygen concentration detection circuits. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the present invention. Figure 2 This is the lithium battery charging circuit of this utility model; Figure 3 This is the 5V voltage regulator circuit in this utility model; Figure 4 This is the microcontroller control circuit in this utility model; Figure 5 This is the digital tube display circuit in this utility model; Figure 6 This is the oxygen concentration detection circuit in this utility model; Figure 7 This is the temperature detection and water flow detection circuit in this utility model. Detailed Implementation
[0017] The embodiments of this utility model will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and should not be construed as limiting the scope of this utility model.
[0018] Example:
[0019] As attached Figure 1 To be continued Figure 7 As shown: This utility model provides a high-precision circuit for detecting oxygen concentration in water, including a lithium battery charging circuit, a 5V voltage regulator circuit, a microcontroller control circuit, a digital tube display circuit, an oxygen concentration detection circuit, and a temperature and water flow detection circuit. The lithium battery charging circuit includes a TYPE-C terminal, a power chip U1, and a battery interface J1. The 5V voltage regulator circuit includes a PMOS transistor Q3, a step-up / step-down chip U3, and a diode D1. The microcontroller control circuit includes a pin header J3, a main control microcontroller U2, and a high-frequency crystal oscillator Y1. The digital tube display circuit includes a driver chip U4, a capacitor C10, and an electrolytic capacitor EC1. The oxygen concentration detection circuit includes a BNC terminal J4, high-precision and low-temperature drift capacitors U5, U6, and U7. The temperature and water flow detection circuit includes a detection terminal J5, an input terminal J2, and a resistor R23.
[0020] Please refer to, for example Figure 2 As shown, the lithium battery charging circuit also includes resistors R3 and R4. The CC1 and CC2 pins of the TYPE-C terminal are connected to resistors R3 and R4 respectively. Resistors R3 and R4 are connected to the ground terminal GND to identify the fast charging protocol, ensuring a stable 5V voltage even when using a fast charging adapter. The VBUS pin of the TYPE-C terminal is connected to the VIN pin of the power chip U1. The power chip U1 is connected to the power inductor L2, which is connected to resistor R1, supporting a maximum charging current of 2.5A. Adjusting the value of resistor R1 sets the charging current. The power chip U1 is connected to indicator lights LED1 and LED2 respectively. Both indicator lights LED1 and LED2 are connected to resistor R5. During charging, indicator light LED1 is lit, and indicator light LED2 is off. When fully charged, indicator light LED1 is off, and indicator light LED2 is lit. Pin 8 of the power chip U1 is connected to the ground terminal GND, shielding the temperature detection function. If temperature detection is required, an NTC resistor can be connected to this pin.
[0021] Please refer to, for example Figure 3As shown, the 5V voltage regulator circuit also includes a battery positive terminal BAT+ as the power supply starting point. PMOS transistor Q3 is connected to the battery positive terminal BAT+, forming the core power supply path of the circuit. The gate of PMOS transistor Q3 is connected to resistors R6 and R7 respectively. The other end of resistor R6 is connected to ground GND, providing a stable gate potential reference for PMOS transistor Q3. The other end of resistor R7 is connected to the +5V input pin of the TYPE-C terminal. The input state of the TYPE-C terminal controls the conduction and turn-off of PMOS transistor Q3. A diode D1 is placed between PMOS transistor Q3 and the +5V input pin of the TYPE-C terminal. The anode of diode D1 faces the +5V input pin of the TYPE-C terminal, and the cathode is connected to one end of the input filter capacitor C7 and one end of the inductor L1 respectively. The other end of C7 is connected to ground GND to filter out noise signals in the input voltage. The other end of inductor L1 is connected to... The buck-boost chip U3 is connected, with its GND pin connected to ground to ensure stable potential during chip operation. The VOUT pin of U3 serves as the output terminal, connected to one end of the output filter capacitor C8 and the power supply voltage VCC. The other end of capacitor C8 is connected to ground to optimize output voltage stability. When there is no 5V input at the TYPE-C terminal, PMOS transistor Q3 is turned on, and the voltage output from the battery positive terminal BAT+ is transmitted to the buck-boost chip U3 via Q3. The buck-boost chip U3 can stably output 5V to the power supply voltage VCC within the lithium battery input voltage range of 2.7V-4.2V, providing power to the microcontroller. When there is 5V input at the TYPE-C terminal, PMOS transistor Q3 is turned off, and the input 5V voltage is directly transmitted to the buck-boost chip U3 through diode D1. The buck-boost chip U3 also stably outputs the power supply voltage VCC, ensuring continuous power supply.
[0022] Please refer to, for example Figure 4 As shown, the microcontroller control circuit also includes a button SW1. Pin 11 of the main microcontroller U2 is connected to SW1. Pin J3 is connected to the power supply voltage terminal VCC and the ground terminal GND respectively. The SDA and SCL pins of the main microcontroller U2 are connected for debugging and programming the product. The two ends of the high-frequency crystal oscillator Y1 are connected to pins 5 and 6 of the main microcontroller U2 respectively. The two ends of the high-frequency crystal oscillator Y1 are connected to capacitors C4 and C5 respectively to provide a reference for the microcontroller's internal time. The TX and RX pins of the main microcontroller U2 are connected to the RX and TX communication pins of the driver chip U4 respectively. The power supply voltage terminal VCC is connected to the buzzer BZ1. The buzzer BZ1 is connected to the collector of transistor Q1. Transistor Q1 is connected to resistor R46. The emitter of transistor Q1 is connected to the ground terminal GND for alarming when the battery is low or when the oxygen concentration is too low or too high. The digital tube displays the abnormal function code simultaneously, making it convenient for users to know the abnormal problem.
[0023] Please refer to, for example Figure 5 As shown, the digital tube display circuit includes resistors R8 and R9. Pins 2 and 3 of the driver chip U4 are connected to resistors R9 and R8 respectively. The DIGI pin of the driver chip U4 is connected to the DSPI of the 4-digit digital tube, which can directly drive the 4-digit digital tube display, saving the microcontroller's I / O ports.
[0024] Please refer to, for example Figure 6 As shown, in the oxygen concentration detection circuit, BNC terminal J4 is used to connect the oxygen concentration probe. The probe chemically converts the detected oxygen concentration into a low-voltage signal, which is transmitted in two paths: one path passes through a third-order filter circuit composed of resistors R20, R21, and R22, and is connected to pin 5 of the high-precision cryogenic drift U5 (the high-precision cryogenic drift can be an RS6332P model); the other path passes through a third-order filter circuit composed of resistors R32, R31, and R26, and is connected to pin 3 of U5 to filter out noise. Pins 6 and 2 of the high-precision cryogenic drift U5 follow the corresponding sampling voltage, and the output is then output from pins 7 and 1. The inverting input is directly connected to the output to form an operational amplifier follower. The output of pin 7 of the high-precision cryogenic drift U5 is connected to resistor R37. Connect pin 1 to resistor R36. R37 and R36 are connected to pins 3 and 2 of the high-precision cryogenic drift U6, forming a 1:1 differential circuit. The differential signal is transmitted to pins 5 and 6 of the high-precision cryogenic drift U6, amplified by 2.5 times, and output from pin 7 of U6. It is then connected to pin 5 of the high-precision cryogenic drift U6 through resistor R40 to form a signal path. Pin 6 of U6 is connected to resistor R41, and resistor R42 is connected between pins 6 and 7 to cooperate with the amplification function. The voltage regulator chip U8 outputs a 2.5V regulated voltage. The voltage regulator chip U8 can be a CJ431 model. It is connected to pin 5 of the high-precision cryogenic drift U7. At the same time, this voltage is also connected to pin 3 of U5 to widen the detection voltage range, and is output through pin 2 of U5. The output of pin 7 of U6 is connected to pin 3 of op-amp U7 and pin 44 of op-amp U7 via resistor R43. R44 is connected to pin 6 of op-amp U7. Pin 4 of U7 is connected to ground GND. Finally, the signal processed by the relevant circuit of U7 is transmitted to the microcontroller for detection.
[0025] Please refer to, for example Figure 7 As shown, the temperature detection and water flow detection circuit also includes resistor R22. Input terminal J2 is connected to resistors R22 and R23 respectively. Input terminal J2 is connected to ground terminal GND. A capacitor C20 is connected between ground terminal GND and resistor R23. Input terminal J2 is used to detect the water temperature. Detection terminal J5 is connected to resistors R10 and R11 respectively. Terminal J5 uses a float switch. When water is detected, terminal J5 is approximately short-circuited. When there is no water, terminal J5 is approximately open-circuited. The microcontroller can identify whether there is water by detecting the voltage level.
[0026] The embodiments of this utility model are given for illustrative and descriptive purposes only, and are not intended to be exhaustive or to limit the utility model to the forms disclosed. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to better illustrate the principles and practical applications of this utility model, and to enable those skilled in the art to understand this utility model and design various embodiments with various modifications suitable for a particular purpose.
Claims
1. A circuit for high-precision detection of oxygen concentration in water, characterized in that: It includes a lithium battery charging circuit, a 5V voltage regulator circuit, a microcontroller control circuit, a digital tube display circuit, an oxygen concentration detection circuit, a temperature detection circuit, and a water flow detection circuit. The lithium battery charging circuit includes a TYPE-C terminal, a power chip U1, and a battery interface J1. The 5V voltage regulator circuit includes a PMOS transistor Q3, a step-up / step-down chip U3, and a diode D1. The microcontroller control circuit includes a pin header J3, a main microcontroller U2, and a high-frequency crystal oscillator Y1. The digital tube display circuit includes a driver chip U4, a capacitor C10, and an electrolytic capacitor EC1. The oxygen concentration detection circuit includes a BNC terminal J4, and high-precision and low-temperature drift operational amplifiers U5, U6, and U7. The temperature detection and water flow detection circuit includes a detection terminal J5, an input terminal J2, and a resistor R23.
2. The circuit for high-precision detection of oxygen concentration in water according to claim 1, characterized in that: The lithium battery charging circuit also includes resistors R3 and R4. The CC1 and CC2 pins of the TYPE-C terminal are connected to resistors R3 and R4 respectively. Resistors R3 and R4 are connected to ground (GND). The VBUS pin of the TYPE-C terminal is connected to the VIN pin of the power chip U1. The power chip U1 is connected to the power inductor L2, which is connected to resistor R1. The power chip U1 is connected to indicator lights LED1 and LED2 respectively. Both indicator lights LED1 and LED2 are connected to resistor R5. Pin 8 of the power chip U1 is connected to ground (GND).
3. The circuit for high-precision detection of oxygen concentration in water according to claim 1, characterized in that: The 5V voltage regulator circuit also includes the battery positive terminal BAT+. The PMOS transistor Q3 is connected to the battery positive terminal BAT+. The PMOS transistor Q3 is connected to resistors R6 and R7. Resistor R6 is connected to the ground terminal GND. Resistor R7 is connected to the +5V input pin of the TYPE-C terminal. A diode D1 is disposed between the PMOS transistor Q3 and the +5V input pin of the TYPE-C terminal. The cathode of the diode D1 is connected to capacitor C7 and inductor L1. Inductor L1 is connected to the buck-boost chip U3. The GND pin of the buck-boost chip U3 is connected to the ground terminal GND. The VOUT pin of the buck-boost chip U3 is connected to capacitor C8 and the power supply voltage terminal VCC.
4. The circuit for high-precision detection of oxygen concentration in water according to claim 1, characterized in that: The microcontroller control circuit also includes a button SW1. Pin 11 of the main microcontroller U2 is connected to SW1. The header J3 is connected to the power supply voltage terminal VCC and the ground terminal GND. The SDA and SCL pins of the main microcontroller U2 are connected to the main microcontroller U2. The two ends of the high-frequency crystal oscillator Y1 are connected to pins 5 and 6 of the main microcontroller U2. The two ends of the high-frequency crystal oscillator Y1 are connected to capacitors C4 and C5. The TX and RX pins of the main microcontroller U2 are connected to the RX and TX communication pins of the driver chip U4, respectively. The power supply voltage terminal VCC is connected to the buzzer BZ1. The buzzer BZ1 is connected to the collector of transistor Q1. Transistor Q1 is connected to resistor R46. The emitter of transistor Q1 is connected to the ground terminal GND.
5. The circuit for high-precision detection of oxygen concentration in water according to claim 1, characterized in that: The digital tube display circuit includes resistors R8 and R9. Pins 2 and 3 of the driver chip U4 are connected to resistors R9 and R8, respectively. The DIGI pin of the driver chip U4 is connected to the 4-digit digital tube DSPI.
6. The circuit for high-precision detection of oxygen concentration in water according to claim 1, characterized in that: The oxygen concentration detection circuit also includes resistors R20, R21, and R22. Resistor R20, R21, and R22 are connected between the BNC terminal J4 and pin 5 of the high-precision and low-temperature drift U5. Pin 7 of the high-precision and low-temperature drift U5 is connected to resistor R37. Pin 8 of the high-precision and low-temperature drift U5 is connected to the power supply voltage terminal VCC. Pin 8 of the high-precision and low-temperature drift U5 is connected to capacitor C26. Capacitor C26 is connected to the ground terminal GND. Capacitor C25 is connected between pin 8 of the high-precision and low-temperature drift U5 and the ground terminal GND. Resistors R32, R31, and R26 are connected between the BNC terminal J4 and pin 3 of the high-precision and low-temperature drift U5. Pin 1 of the high-precision and low-temperature drift U5 is connected to resistor R36.
7. The circuit for high-precision detection of oxygen concentration in water according to claim 6, characterized in that: Resistors R36 and R37 are connected to pins 2 and 3 of the high-precision and low-temperature drift U6, respectively. Pin 1 of the high-precision and low-temperature drift U6 is connected to resistor R40. Capacitor R40 is connected to pin 5 of the high-precision and low-temperature drift U6. Pin 6 of the high-precision and low-temperature drift U6 is connected to resistor R41. Pins 6 and 7 of the high-precision and low-temperature drift U6 are connected to resistor R42. Pin 7 of the high-precision and low-temperature drift U6 is connected to resistor R43. Resistor R43 is connected to pin 3 of the high-precision and low-temperature drift U7 and resistor R44, respectively.
8. The circuit for high-precision detection of oxygen concentration in water according to claim 7, characterized in that: The resistor R44 is connected to pin 6 of the high-precision and low-temperature drift U7, pin 4 of the high-precision and low-temperature drift U7 is connected to the ground terminal GND, and pin 5 of the high-precision and low-temperature drift U7 is connected to the voltage regulator chip U8.
9. The circuit for high-precision detection of oxygen concentration in water according to claim 1, characterized in that: The temperature detection and water flow detection circuit also includes a resistor R22. The input terminal J2 is connected to the resistor R22 and the resistor R23 respectively. The input terminal J2 is connected to the ground terminal GND. A capacitor C20 is connected between the ground terminal GND and the resistor R23. The detection terminal J5 is connected to the resistor R10 and the resistor R11 respectively.
