Wearable detection circuit for electrochemical oxygen sensor
By collaboratively designing a transimpedance amplification module, an active low-pass filter module, and a temperature calibration module, and combining them with a microcontroller's dynamic sampling strategy, the shortcomings of wearable electrochemical oxygen sensors in terms of high precision, low power consumption, and dynamic environmental interference resistance have been addressed. This has enabled high-precision, low-power oxygen sensor detection, suitable for various scenarios such as intensive care and sports medicine.
Patent Information
- Application Number
- CN202511387506.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-26
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2045-09-26
AI Technical Summary
Existing wearable electrochemical oxygen sensors are insufficient in terms of high precision, low power consumption, and dynamic environmental interference resistance, and cannot meet the needs of intensive care and chronic disease management, especially in terms of noise suppression, dynamic range, environmental compensation, and power consumption accuracy.
The design employs a collaborative approach involving a transimpedance amplifier module, an active low-pass filter module, a temperature calibration module, and a microcontroller. By switching the feedback resistor via an analog switch, performing real-time filtering, and applying temperature calibration, combined with sliding window standard deviation calculation and Fourier transform, dynamic sampling mode switching is achieved, optimizing signal processing and power consumption management.
It achieves high-precision, low-power oxygen sensor detection, can output stably in complex environments, and is suitable for multiple applications such as intensive care and sports medicine, improving the signal-to-noise ratio and detection accuracy.
Smart Images

Figure CN120870295A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrochemical signal processing, and in particular to a wearable detection circuit for electrochemical oxygen sensors. Background Technology
[0002] Partial pressure of oxygen (PtO2), as a key physiological indicator directly reflecting the oxygen supply level in tissue microcirculation, has irreplaceable clinical value in fields such as intensive care, chronic wound healing monitoring, sports medicine, and high-altitude medicine. For example, in assessing tissue perfusion in shock patients, real-time PtO2 monitoring can accurately reflect the degree of tissue hypoxia; in monitoring the healing of diabetic foot ulcers, its changes can visually reflect the improvement in microcirculation.
[0003] Traditional PtO2 detection relies on invasive Clark electrodes or fluorescent optical probes, requiring insertion into subcutaneous tissue or implantation of sensors. This presents limitations such as high trauma risk, complex operation, high cost, and the ability to collect data only once. As wearable medical devices evolve towards continuous monitoring, high-precision, low-invasive continuous PtO2 monitoring technology has become an urgent need for critical care and chronic disease management.
[0004] The performance improvement of current wearable electrochemical PtO2 monitoring devices is limited by the design of signal acquisition and conversion circuits. The core bottlenecks include: insufficient front-end noise suppression, where traditional transimpedance amplifiers lack anti-interference design, causing weak nanoampere current signals to be overwhelmed by thermal noise (4kTR), motion artifact noise (0.1-10Hz), and power frequency interference (50Hz / 60Hz); narrow dynamic range, where fixed gain transimpedance amplifier circuits (TIAs) have insufficient resolution (>1 mmHg / LSB) at low PtO2 (<20 mmHg) and are prone to saturation at high PtO2 (>100 mmHg); lack of real-time environmental compensation, with no integrated temperature / humidity sensor to correct electrode drift, resulting in large errors across different scenarios; and an imbalance between power consumption and accuracy, where the contradiction between high-precision analog-to-digital converters (ADCs) and the limited battery capacity of wearable devices is prominent, making it difficult to meet the requirements for battery life.
[0005] Currently, there is an electrochemical signal detection device on the market, consisting of a controller module, an excitation signal module, a potentiostat module, a signal acquisition module, and a power supply module, which can detect electrochemical signals. The controller module is responsible for hardware initialization and data processing; the excitation signal module generates a bipolar excitation signal; the potentiostat module maintains a constant potential between the working electrode and the reference electrode; the signal acquisition module achieves ranged detection through feedback resistors of different resistance values (1GΩ for nA, 100kΩ for μA, and 1kΩ for mA); and the power supply module provides a bipolar power supply and a reference voltage.
[0006] However, this technical solution has significant drawbacks in wearable scenarios: First, its power consumption is too high and difficult to adapt to wearable devices. Its complex circuit design results in a static power consumption of over 500μA, while the button batteries commonly used in wearable devices (capacity ≤500mAh) cannot meet the battery life requirements (less than 7 days). Second, the temperature drift problem is not resolved. In the detection of weak currents at the nA level, fluctuations in ambient temperature will lead to an increase in detection error. Third, the range switching mechanism is imperfect. It only mentions that range switching is achieved through resistor grading, without disclosing the specific switching logic and failing to address the signal jump problem during switching. Fourth, the filtering design is not designed for wearable scenario noise and does not specifically address motion artifacts, power frequency interference, and other specific noises, resulting in a low signal-to-noise ratio (SNR). Fifth, the actual performance limitations of the operational amplifier are not considered. When the working electrode voltage is less than the counter electrode voltage, a large current input will cause the transimpedance amplifier circuit to enter the nonlinear region, resulting in unreliable output results.
[0007] In summary, traditional electrochemical detection circuits are designed for laboratory scenarios and cannot solve the core contradictions of high precision, low power consumption, and dynamic environmental interference resistance in wearable scenarios. There is an urgent need for a dedicated electrochemical oxygen sensor detection circuit adapted to wearable devices. Summary of the Invention
[0008] This invention provides a wearable detection circuit for electrochemical oxygen sensors that is high-precision, low-power, and reduces environmental interference.
[0009] To solve the above-mentioned technical problems, this application provides the following technical solution: A wearable detection circuit for an electrochemical oxygen sensor includes: The transimpedance amplifier module includes an analog switch S1 and at least two feedback resistors with different resistance values. The feedback resistors are connected in parallel, and the analog switch S1 is connected in series with the feedback resistors. It is used to control the feedback resistors connected to the circuit and output a first voltage signal. An active low-pass filter module is used to filter the first voltage signal, removing thermal noise, power frequency interference and motion artifact noise, to obtain the second voltage signal; Temperature calibration module, used to collect temperature information; The microcontroller is used to provide drive voltages to the transimpedance amplifier module and the active low-pass filter module respectively, and to receive temperature information and a second voltage signal. The microcontroller receives the second voltage signal and compares it with a preset value. Then, based on the comparison result, it controls the analog switch S1 to switch between different feedback resistor connections. The microcontroller also stores current-voltage linear regression coefficients for different temperature ranges. Based on the temperature information, the microcontroller calls the corresponding regression coefficients to calibrate the second voltage signal, obtains the calibrated current signal, and analyzes the calibrated current signal through sliding window standard deviation calculation, first-order linear difference, and fast Fourier transform to identify the rapid change stage of oxygen partial pressure. Based on the change stage, it switches between coarse sampling mode and high-speed sampling mode.
[0010] The basic principle and beneficial effects of this invention are as follows: This invention utilizes a multi-module collaborative design to acquire and process signals from an electrochemical oxygen sensor in wearable scenarios. The microcontroller uses sliding window standard deviation calculation, first-order linear difference, and fast Fourier transform to identify rapid changes in oxygen partial pressure in real time, dynamically switching between coarse sampling and high-speed sampling modes. When the oxygen partial pressure is stable, low-frequency coarse sampling reduces ineffective energy consumption, while high-frequency sampling captures key signals during rapid changes. This design avoids the continuous high power consumption of timed sampling.
[0011] The temperature calibration module acquires ambient temperature in real time, and the segmented calibration unit pre-stores current-voltage linear regression coefficients at different temperatures. The microcontroller calls the corresponding coefficients based on the real-time temperature to counteract the nonlinear effects of temperature. The analog switch of the transimpedance amplifier module switches the feedback resistor under the control of the microcontroller. The microcontroller monitors the filtered voltage signal through a voltage comparator, and automatically switches to the matched resistor when the signal approaches a threshold (high resistance for small currents to ensure resolution, and low resistance for large currents to prevent saturation). This explicit switching logic (based on voltage threshold determination) reduces signal jumps and achieves adaptive range matching.
[0012] The active low-pass filter module is specifically designed for noise in wearable scenarios. By utilizing its low-pass characteristics, it preserves the DC / slowly varying target signal from the oxygen sensor, significantly attenuating thermal noise, power frequency interference, and motion artifacts, thereby improving the signal-to-noise ratio (SNR) and ensuring effective extraction of weak signals at the nanoampere level. The microcontroller compares the filtered voltage signal in real time to avoid circuit nonlinear distortion caused by high current input, ensuring reliable output results. Through Fast Fourier Transform and first-order differential algorithms, the microcontroller can identify rapid changes in oxygen partial pressure and promptly switch to high-speed sampling mode. This improved response speed compared to timed sampling schemes makes it suitable for real-time monitoring of acute and critical conditions such as shock and respiratory failure.
[0013] The optimization of detection accuracy and recognition accuracy, the synergistic effect of temperature calibration, low noise filtering and adaptive range switching, improve the detection accuracy of oxygen partial pressure, and based on this, improve the recognition accuracy of tissue hypoxia.
[0014] Temperature calibration range and anti-motion artifact design enable the circuit to maintain stable output under complex scenarios such as motion and temperature fluctuations, making it suitable for multiple applications such as intensive care and sports medicine.
[0015] In summary, this invention achieves high precision, low power consumption, and reduces environmental interference.
[0016] Furthermore, it also includes a Bluetooth transmission module, which is used to receive the calibrated current signal, temperature information and device status processed by the microcontroller and transmit them to an external terminal.
[0017] Furthermore, the transimpedance amplification module also includes an operational amplifier U1A and a capacitor C1. The inverting input terminal of the operational amplifier U1A is connected to the working electrode WE of the oxygen sensor and one end of the capacitor C1. The feedback resistors are connected in parallel, and the analog switch S1 is connected in series with the feedback resistors and is used to control the feedback resistors of the access circuit. The other end of the capacitor C1 and the feedback resistors are both connected to the output terminal of the operational amplifier U1A. The output terminal of the operational amplifier U1A outputs a first voltage signal.
[0018] Furthermore, the active low-pass filter module includes resistors R3 and R4, capacitors C2 and C3, and operational amplifier U2A. Resistors R3, R4, and C2 are connected in series with the output terminal of operational amplifier U1A, and capacitor C2 is grounded. The input terminal of capacitor C3 is connected to the output terminal of R3, and the output terminal of capacitor C3 is connected to the inverting input terminal and the output terminal of operational amplifier U2A. The non-inverting input terminal of operational amplifier U2A is connected to the output terminal of resistor R4, and the output terminal of operational amplifier U2A outputs a second voltage signal.
[0019] Furthermore, it also includes a voltage follower module, comprising an operational amplifier U3A and a capacitor C4. The inverting input terminal of the operational amplifier U3A is connected to the input terminal of the capacitor C4, the output terminal of the operational amplifier U3A is connected to the output terminal of the capacitor C4, the two ends of the capacitor C4 are shorted, and the output terminal of the operational amplifier U3A is connected to the counter electrode CE of the oxygen sensor.
[0020] Furthermore, the microcontroller includes a DAC_WE terminal, a DAC_CE terminal, and an ADC input terminal; the DAC_WE terminal is connected to the non-inverting input terminal of operational amplifier U1A, the ADC input terminal is connected to the output terminal of operational amplifier U2A, and the DAC_CE terminal is connected to the non-inverting input terminal of operational amplifier U3A.
[0021] Furthermore, the feedback resistors of the transimpedance amplifier module are two, namely resistor R1 and resistor R2, and the resistance value of resistor R1 is less than the resistance value of resistor R2; the voltage at the DAC_WE terminal is lower than the voltage at the DAC_CE terminal.
[0022] Furthermore, resistor R3 is 4.7KΩ, resistor R4 is 100KΩ, capacitor C2 is 4.7uF, capacitor C3 is 22uF, and the cutoff frequency is 0.72Hz; the period of the coarse sampling mode is t1, the period of the high-speed sampling mode is t2, and t2 < t1.
[0023] Furthermore, the specific method for the dynamic sampling function to identify the rapid change stage of oxygen partial pressure is as follows: set the sliding window width to m, and calculate the standard deviation of the data within the window; when the standard deviation is between threshold 1 and threshold 2 for 3 consecutive times, enter the sampling mode judgment; after entering the judgment, first calculate the first-order difference; if the n difference values within the window are greater than threshold 4, or the sum of the spectral intensity above the critical frequency F after FFT calculation is greater than threshold 3, then switch to high-speed sampling mode.
[0024] Furthermore, the minimum output swing of the operational amplifier U2A is V_OL. When the second voltage signal is <V_OL, the microcontroller outputs an invalid warning, which includes an invalid identifier for the current sampled data. The temperature calibration module includes an NTC resistor and a fixed resistor R5. The microcontroller calculates the NTC resistor value by voltage division and then queries a preset temperature-resistance table to obtain the temperature information. Attached Figure Description
[0025] Figure 1 This is a circuit diagram of a transimpedance amplifier module and an active low-pass filter module in a wearable detection circuit for an electrochemical oxygen sensor. Figure 2 This is a circuit diagram of a voltage follower module in a wearable detection circuit for an electrochemical oxygen sensor. Figure 3 This is a flowchart illustrating the dynamic sampling function implemented by a microcontroller in a wearable detection circuit for an electrochemical oxygen sensor. Detailed Implementation
[0026] The following detailed description illustrates the specific implementation method: A wearable detection circuit for an electrochemical oxygen sensor includes: a transimpedance amplifier module, a voltage follower module, an active low-pass filter module, a temperature calibration module, a microcontroller, and a Bluetooth transmission module.
[0027] Transimpedance amplifier module (such as) Figure 1The circuit (shown) includes an operational amplifier U1A, a capacitor C1, an analog switch S1, and two feedback resistors with different resistance values. The feedback resistors are connected in parallel, and the analog switch S1 is connected in series with the feedback resistors to control the feedback resistors connected to the circuit and output a first voltage signal. The inverting input terminal of the operational amplifier U1A is connected to the working electrode WE of the oxygen sensor and one end of the capacitor C1. The feedback resistors are connected in parallel, and the analog switch S1 is connected in series with the feedback resistors to control the feedback resistors connected to the circuit. The other end of the capacitor C1 and the feedback resistors are both connected to the output terminal of the operational amplifier U1A. The output terminal of the operational amplifier U1A outputs the first voltage signal.
[0028] An active low-pass filter module is used to filter the first voltage signal, removing thermal noise, power frequency interference, and motion artifact noise to obtain the second voltage signal. Specifically, the active low-pass filter module includes resistors R3 and R4, capacitors C2 and C3, and operational amplifier U2A. Resistors R3, R4, and C2 are connected in series with the output of operational amplifier U1A, and capacitor C2 is grounded. The input of capacitor C3 is connected to the output of R3, and the output of capacitor C3 is connected to both the inverting input and the output of operational amplifier U2A. The non-inverting input of operational amplifier U2A is connected to the output of resistor R4. The output of operational amplifier U2A outputs the second voltage signal. Resistor R3 is 4.7KΩ, resistor R4 is 100KΩ, capacitor C2 is 4.7uF, capacitor C3 is 22uF, and the cutoff frequency is 0.72Hz. The period of the coarse sampling mode is t1, and the period of the high-speed sampling mode is t2, where t2 < t1.
[0029] The minimum output swing of operational amplifier U2A is V_OL. When the second voltage signal is less than V_OL, the microcontroller outputs an invalid warning, which includes an invalid identifier for the current sampled data.
[0030] Voltage follower module (such as) Figure 2 (As shown) includes an operational amplifier U3A and a capacitor C4. The inverting input terminal of the operational amplifier U3A is connected to the input terminal of the capacitor C4. The output terminal of the operational amplifier U3A is connected to the output terminal of the capacitor C4. The two ends of the capacitor C4 are shorted. The output terminal of the operational amplifier U3A is connected to the counter electrode CE of the oxygen sensor.
[0031] The temperature calibration module is used to acquire temperature information. It includes an NTC resistor and a fixed resistor R5. The microcontroller calculates the NTC resistor value using a voltage divider method and then looks up the temperature information in a preset temperature-resistance table.
[0032] The microcontroller is used to provide drive voltages to the transimpedance amplifier module and the active low-pass filter module respectively, and to receive temperature information and a second voltage signal. The microcontroller includes a DAC_WE terminal, a DAC_CE terminal and an ADC input terminal. The DAC_WE terminal is connected to the non-inverting input terminal of operational amplifier U1A, the ADC input terminal is connected to the output terminal of operational amplifier U2A, and the DAC_CE terminal is connected to the non-inverting input terminal of operational amplifier U3A.
[0033] The microcontroller receives the second voltage signal and compares it with a preset value. Then, based on the comparison result, it controls the analog switch S1 to switch between different feedback resistor connections. The microcontroller also stores current-voltage linear regression coefficients for different temperature ranges. The microcontroller calls the corresponding regression coefficients based on the temperature information to calibrate the second voltage signal, obtains the calibrated current signal, and analyzes the calibrated current signal through sliding window standard deviation calculation, first-order linear difference, and fast Fourier transform to identify the rapid change stage of oxygen partial pressure. Based on the change stage, it switches between coarse sampling mode and high-speed sampling mode.
[0034] The specific method for identifying rapid changes in oxygen partial pressure using dynamic sampling is as follows: Set the sliding window width to m and calculate the standard deviation of the data within the window; when the standard deviation is between threshold 1 and threshold 2 for three consecutive times, enter the sampling mode for judgment; after entering the judgment, first calculate the first-order difference; if the n difference values within the window are greater than threshold 4, or the sum of the spectral intensities above the critical frequency F after FFT calculation is greater than threshold 3, then switch to high-speed sampling mode.
[0035] The Bluetooth transmission module is used to receive the calibrated current signal, temperature information and device status processed by the microcontroller and transmit them to an external terminal.
[0036] In practical applications: It is mainly compatible with oxygen sensors based on electrochemical principles, especially oxygen sensors operating under negative potential conditions (i.e., sensors where the working electrode voltage is less than the counter electrode voltage), enabling constant potential drive, signal acquisition and processing, and data transmission for this type of sensor.
[0037] The signal flow of this detection circuit is as follows: the working electrode (WE) of the electrochemical oxygen sensor outputs a nanoampere-level current signal; the transimpedance amplification module converts the current signal into a first voltage signal; the active low-pass filter module filters the first voltage signal to obtain a second voltage signal; the microcontroller processes the second voltage signal (including range switching, over-range warning, and temperature calibration); after adjusting the sampling mode through a dynamic sampling strategy, the data is output through the Bluetooth transmission module.
[0038] like Figure 1As shown, the non-inverting input of operational amplifier U1A is connected to the DAC_WE terminal of the DAC peripheral output of the microcontroller (MCU) to receive the bias voltage of the working electrode; the inverting input is connected to the working electrode (WE) of the oxygen sensor to receive the nanoampere current signal output by WE.
[0039] Analog switch S1 is connected in series with feedback resistors R1 and R2 (the feedback resistors are connected in parallel) to control the feedback resistors in the circuit. The resistance value R1 < R2. When resistor R1 is connected, the range is larger but the resolution is lower; when resistor R2 is connected, the range is smaller but the resolution is higher.
[0040] One end of capacitor C1 is connected to the inverting input of operational amplifier U1A, and the other end is connected to its output terminal to suppress high-frequency noise.
[0041] Based on the virtual short characteristic of the operational amplifier, the voltage at the WE terminal and the voltage at the DAC_WE terminal (denoted as...) They are equal. Let the input feedback resistor be... The oxygen sensor outputs a current of The output voltage of the transimpedance amplifier module (the first voltage signal, denoted as...) )satisfy: .
[0042] like Figure 2 As shown, the voltage follower module drives the counter electrode, including operational amplifier U3A and capacitor C4. The non-inverting input of operational amplifier U3A is connected to the DAC_CE output of the microcontroller's DAC peripheral to receive the counter electrode bias voltage; the output terminal is connected to the counter electrode (CE) of the oxygen sensor, and the inverting input is shorted to the output terminal (the two ends of capacitor C4 are shorted to stabilize the output). Its function is to stabilize the CE terminal voltage. By setting the DAC_WE terminal voltage to be less than the DAC_CE terminal voltage, it ensures that the sensor operates under negative potential conditions (WE voltage < CE voltage), meeting the operating requirements of the electrochemical oxygen sensor.
[0043] like Figure 1 As shown, the active low-pass filter module includes an operational amplifier U2A, resistors R3 and R4, and capacitors C2 and C3. Its input terminal is connected to the output terminal of the transimpedance amplifier module (receiving the first voltage signal u_out1) and is used to filter out thermal noise, power frequency interference (50Hz / 60Hz) and motion artifact noise (0.1-10Hz) in the signal.
[0044] The cutoff frequency ω0 of the filter satisfies:
[0045] In this embodiment, R3=4.7KΩ, R4=100KΩ, C2=4.7uF, and C3=22uF are selected, and the calculated cutoff frequency is 0.72Hz. These parameters effectively preserve the DC / gradually varying target signal (frequency < 0.72Hz) output by the oxygen sensor and significantly attenuate high-frequency interference signals (frequency > 0.72Hz), resulting in a filtered second voltage signal. .
[0046] The microcontroller (MCU) is the core control unit of the circuit. Its peripherals include a DAC (providing DAC_WE and DAC_CE voltages) and an ADC (acquiring the second voltage signal). ) and voltage comparator interface.
[0047] The microcontroller's voltage comparator interface (a built-in functional module) receives the second voltage signal. And preset two threshold voltages ( , ).
[0048] when near (In high current scenarios) the microcontroller controls analog switch S1 to switch to feedback resistor R1 to expand the range (to avoid signal saturation). when near (For low-current scenarios) the signal is switched to feedback resistor R2 to improve resolution (meeting the requirements for low oxygen partial pressure detection). The principle of range switching is based on the conversion relationship between current and voltage: assuming the ADC reference voltage is... If the number of bits is N, then the maximum measurable current is... Current resolution .
[0049] Since R1 < R2, when connecting R1 Larger range (larger measurement range), larger LSB (lower resolution); the opposite is true when connected to R2, thus achieving adaptive matching of "large range anti-saturation - small range high resolution".
[0050] Because operational amplifiers have a minimum output swing (denoted as...) When the input current is too large, it causes the second voltage signal to be affected. < At this time, operational amplifiers U1A and U2A will enter the nonlinear operating region, and the output results will be unreliable. The microcontroller will then... and In comparison, when < If the data is invalid, an invalid warning (including an invalid identifier for the current sampled data) should be output immediately to ensure the reliability of subsequent data.
[0051] The microcontroller provides a reference voltage (DACVREF) through the DAC peripheral, which is applied to the voltage divider circuit composed of the NTC resistor and the fixed resistor R5. By acquiring the voltage at the NTC_ADC terminal (i.e., the pin or port of the microcontroller is connected to the voltage divider circuit), the real-time resistance value of the NTC resistor is calculated using the voltage divider formula. Then, the current ambient temperature is obtained by consulting the preset "NTC Resistance-Temperature Reference Table" (provided by the manufacturer or calibrated by the user).
[0052] Since parameters such as the feedback resistor value and operational amplifier bias current are non-linearly affected by temperature, this invention employs segmented calibration: The calibration range covers the common operating temperature of wearable devices (0℃-40℃), with a calibration interval set every 5℃ (a total of 8 intervals: 0-5℃, 5-10℃, ..., 35-40℃). Calibration method: Select a high-precision, low-ppm resistance R_CA analog sensor input current (analog current) At each temperature point, input six current values: 0, 1 / 5 range, 2 / 5 range, ..., full scale, and measure the corresponding second voltage signal. ; For each temperature range, the linear coefficients of the current-voltage relationship within that range are calculated using linear regression. and intercept (For example, 0-5℃ corresponds to k0 and b0, 5-10℃ corresponds to k1 and b1, and so on). When the sensor is working, the microcontroller calls the corresponding range based on the ambient temperature collected by the NTC. and Through formula Calculate the calibrated current signal to offset the effects of temperature drift.
[0053] The dynamic sampling function is executed by the microcontroller. It identifies rapid changes in oxygen partial pressure through sliding window standard deviation calculation, first-order linear difference, and Fast Fourier Transform (FFT), adaptively switching between coarse sampling mode (period t1) and high-speed sampling mode (period t2, where t2 < t1) to achieve compatibility between low power consumption and high response speed. The specific judgment logic is as follows (e.g.) Figure 3 (as shown) Coarse sampling mode (default), low sampling frequency (e.g., t1 = 10 seconds / time), set a sliding window with a width of m, and calculate the standard deviation of the data within the window after each sampling; The sampling mode is triggered when the standard deviation is between threshold 1 and threshold 2 for three consecutive times; if the standard deviation is greater than threshold 2 for three consecutive times, the sensor is determined to be abnormal and an alarm is triggered. High-speed sampling mode switching conditions: ① After entering the judgment, first calculate the first-order difference. If the n difference values in the window are greater than the threshold 4, it indicates that the oxygen partial pressure is changing rapidly, and switch to high-speed sampling (e.g., t2 = 1 second / time). ② If ① is not satisfied, perform FFT calculation: perform FFT on the window data and normalize it. If the sum of the spectral intensities above the critical frequency F is greater than the threshold 3, switch to high-speed sampling. Restore coarse sampling mode: After entering high-speed sampling, if the standard deviation is less than the threshold 1 for 3 consecutive times, it indicates that the oxygen partial pressure is stable, and the coarse sampling mode is restored; if neither of the above two conditions is met, it is determined to be a fluctuation interference, and coarse sampling is also restored.
[0054] The above are merely embodiments of the present invention. The invention is not limited to the fields covered by these embodiments. Commonly known structures and characteristics in the solutions are not described in detail here. Those skilled in the art are aware of all common technical knowledge in the field prior to the application date or priority date, are able to access all existing technologies in that field, and have the ability to apply conventional experimental methods prior to that date. Those skilled in the art can, under the guidance of this application, improve and implement this solution in combination with their own capabilities. Some typical known structures or methods should not be obstacles for those skilled in the art to implement this application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the structure of the present invention. These should also be considered within the scope of protection of the present invention, and will not affect the effectiveness of the implementation of the present invention or the practicality of the patent. The scope of protection claimed in this application should be determined by the content of its claims, and the specific embodiments described in the specification can be used to interpret the content of the claims.
Claims
1. A wearable detection circuit for an electrochemical oxygen sensor, characterized in that, include: The transimpedance amplifier module includes an analog switch S1 and at least two feedback resistors with different resistance values. The feedback resistors are connected in parallel, and the analog switch S1 is connected in series with the feedback resistors. It is used to control the feedback resistors connected to the circuit and output a first voltage signal. An active low-pass filter module is used to filter the first voltage signal, removing thermal noise, power frequency interference and motion artifact noise, to obtain the second voltage signal; Temperature calibration module, used to collect temperature information; The microcontroller is used to provide drive voltages to the transimpedance amplifier module and the active low-pass filter module respectively, and to receive temperature information and a second voltage signal. The microcontroller receives the second voltage signal and compares it with a preset value. Then, based on the comparison result, it controls the analog switch S1 to switch between different feedback resistor connections. The microcontroller also stores current-voltage linear regression coefficients for different temperature ranges. Based on the temperature information, the microcontroller calls the corresponding regression coefficients to calibrate the second voltage signal, obtains the calibrated current signal, and analyzes the calibrated current signal through sliding window standard deviation calculation, first-order linear difference, and fast Fourier transform to identify the rapid change stage of oxygen partial pressure. Based on the change stage, it switches between coarse sampling mode and high-speed sampling mode.
2. The wearable detection circuit for an electrochemical oxygen sensor according to claim 1, characterized in that, It also includes a Bluetooth transmission module, which is used to receive the calibrated current signal, temperature information and device status processed by the microcontroller and transmit them to an external terminal.
3. A wearable detection circuit for an electrochemical oxygen sensor according to claim 2, characterized in that, The transimpedance amplification module also includes an operational amplifier U1A and a capacitor C1. The inverting input terminal of the operational amplifier U1A is connected to the working electrode WE of the oxygen sensor and one end of the capacitor C1. The feedback resistors are connected in parallel. The analog switch S1 is connected in series with the feedback resistor and is used to control the feedback resistor of the circuit. The other end of the capacitor C1 and the feedback resistor are both connected to the output terminal of the operational amplifier U1A. The output terminal of the operational amplifier U1A outputs a first voltage signal.
4. A wearable detection circuit for an electrochemical oxygen sensor according to claim 3, characterized in that, The active low-pass filter module includes resistors R3 and R4, capacitors C2 and C3, and operational amplifier U2A. Resistors R3, R4, and C2 are connected in series with the output of operational amplifier U1A, and capacitor C2 is grounded. The input of capacitor C3 is connected to the output of R3, and the output of capacitor C3 is connected to the inverting input and the output of operational amplifier U2A. The non-inverting input of operational amplifier U2A is connected to the output of resistor R4. The output of operational amplifier U2A outputs a second voltage signal.
5. A wearable detection circuit for an electrochemical oxygen sensor according to claim 4, characterized in that, It also includes a voltage follower module, comprising an operational amplifier U3A and a capacitor C4. The inverting input of the operational amplifier U3A is connected to the input of the capacitor C4, the output of the operational amplifier U3A is connected to the output of the capacitor C4, the two ends of the capacitor C4 are shorted, and the output of the operational amplifier U3A is connected to the counter electrode CE of the oxygen sensor.
6. A wearable detection circuit for an electrochemical oxygen sensor according to claim 5, characterized in that, The microcontroller includes a DAC_WE terminal, a DAC_CE terminal, and an ADC input terminal; the DAC_WE terminal is connected to the non-inverting input terminal of operational amplifier U1A, the ADC input terminal is connected to the output terminal of operational amplifier U2A, and the DAC_CE terminal is connected to the non-inverting input terminal of operational amplifier U3A.
7. A wearable detection circuit for an electrochemical oxygen sensor according to claim 6, characterized in that, The transimpedance amplifier module has two feedback resistors, R1 and R2, with the resistance value of R1 being less than that of R2; the voltage at the DAC_WE terminal is lower than the voltage at the DAC_CE terminal.
8. A wearable detection circuit for an electrochemical oxygen sensor according to claim 7, characterized in that, R3 is 4.7KΩ, R4 is 100KΩ, C2 is 4.7uF, C3 is 22uF, and the cutoff frequency is 0.72Hz. The period of the coarse sampling mode is t1, and the period of the high-speed sampling mode is t2, and t2 < t1.
9. A wearable detection circuit for an electrochemical oxygen sensor according to claim 8, characterized in that, The specific method for identifying the rapid change phase of oxygen partial pressure using the dynamic sampling function is as follows: set the sliding window width to m, and calculate the standard deviation of the data within the window; when the standard deviation is between threshold 1 and threshold 2 for 3 consecutive times, enter the sampling mode for judgment; after entering the judgment, first calculate the first-order difference; if the n difference values within the window are greater than threshold 4, or the sum of the spectral intensity above the critical frequency F after FFT calculation is greater than threshold 3, then switch to high-speed sampling mode.
10. A wearable detection circuit for an electrochemical oxygen sensor according to claim 9, characterized in that, The minimum output swing of the operational amplifier U2A is V_OL. When the second voltage signal is <V_OL, the microcontroller outputs an invalid warning, which includes an invalid identifier for the current sampled data. The temperature calibration module includes an NTC resistor and a fixed resistor R5. The microcontroller calculates the NTC resistor value by voltage division and then queries a preset temperature-resistance table to obtain the temperature information.
Citation Information
Patent Citations
High precision portable electrochemical detection terminal
CN104330446A
Oxygen battery sensor performance detection circuit
CN105572205A
Measuring device and method for rapidly detecting oxygen content of penicillin bottle
CN115575351A
Touch sensing system
CN115981507A
Portable electrochemical detection device
CN119804601A
Cited By
Electrochemical sensor control circuit and system
CN121678791A
