Portable chemical oxygen demand analyzer and integrated circuit thereof

By designing an integrated circuit for a portable chemical oxygen demand analyzer, the problems of complicated operation, large volume, and high cost of the electrochemical workstation are solved, and the small-volume, low-cost, and portable chemical oxygen demand analysis function is realized, and the detection accuracy is improved. .

CN221667663UActive Publication Date: 2024-09-06XIAMEN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323658959.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-09-06
Estimated Expiration
2033-12-29

AI Technical Summary

Technical Problem

Existing electrochemical workstations used for chemical oxygen demand analysis have complex operations, high prices, large volumes, and are not portable, and cannot meet the needs of portable detection equipment.

Method used

An integrated circuit for a portable chemical oxygen demand analyzer is designed, including an isolated voltage source module, a reference voltage source module, a microcontroller module, a D/A conversion module, an operational amplifier circuit module, a three-electrode sensor module, and an I/V The conversion module and A/D conversion module provide accurate voltage through the reference voltage source module, and the isolation voltage source module isolates external interference, simplifying the circuit structure and improving measurement accuracy.

Benefits of technology

A small-volume, low-cost, easy-to-operate and portable chemical oxygen demand analyzer has been realized, which can accurately measure the reaction current during electrochemical reactions, improve detection accuracy, and reduce production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221667663U
    Figure CN221667663U
Patent Text Reader

Abstract

The embodiment of the utility model provides a portable chemical oxygen demand analyzer and an integrated circuit thereof, and relates to the technical field of chemical oxygen demand analyzers. The integrated circuit comprises an isolation voltage source module, a power supply module, a reference voltage source module, and a microcontroller module, a D / A conversion module, an operational amplification circuit module, a three-electrode sensor module, an I / V conversion module, a transimpedance amplification circuit module and an A / D conversion module which are connected in sequence. The output end of the isolation power supply is electrically connected with the input end of the power supply module. And the output end of the power supply module is electrically connected to the reference voltage source module, the microcontroller module, the D / A conversion module and the A / D conversion module. And the output end of the reference voltage source module is electrically connected to the D / A conversion module and the A / D conversion module. The reaction current during electrochemical reaction can be accurately measured. And the circuit structure is relatively simple, the size of the analyzer is greatly reduced, and the analyzer is more portable and has very good practical significance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of chemical oxygen demand analyzers, in particular to a portable chemical oxygen demand analyzer and an integrated circuit thereof. Background Art

[0002] Chemical Oxygen Demand (COD) refers to the amount of oxidant consumed when potassium dichromate is used as an oxidant to treat water samples under strong acid and heating conditions, expressed in mg / L of oxygen. Chemical oxygen demand reflects the degree of pollution by reducing substances in water and is one of the important control indicators for the total amount of sewage discharge in my country.

[0003] Chemical oxygen demand requires various parameters to be tested by an electrochemical workstation during the experiment. In the prior art, the electrochemical workstation is powerful but complicated to operate. In addition, the electrochemical workstation is expensive, large in size, not portable, and has limited application scenarios.

[0004] When using an electrochemical workstation, only some of its functions are often needed, especially the function of collecting the reaction current during the electrochemical reaction (equivalent to: chemical oxygen demand analyzer), and the demand for portable use of this part of the function is more urgent. A portable detection device that can realize this function is needed.

[0005] In view of this, the applicant filed this application after studying the existing technology. Utility Model Content

[0006] The utility model provides a portable chemical oxygen demand analyzer and an integrated circuit thereof, so as to improve at least one of the above technical problems.

[0007] In a first aspect, an embodiment of the utility model provides an integrated circuit of a portable chemical oxygen demand analyzer. The integrated circuit comprises: an isolation voltage source module, a power supply module, a reference voltage source module, a microcontroller module, a D / A conversion module, an operational amplifier circuit module, a three-electrode sensor module, an I / V conversion module, a transimpedance amplifier circuit module and an A / D conversion module.

[0008] The output end of the isolation voltage source module is electrically connected to the input end of the power supply module, so as to connect an external power supply to supply power to the power supply module. The output end of the power supply module is electrically connected to the reference voltage source module, the microcontroller module, the D / A conversion module and the A / D conversion module, so as to provide electric energy. The output end of the reference voltage source module is electrically connected to the D / A conversion module and the A / D conversion module, so as to provide a reference voltage.

[0009] The output end of the microcontroller module is electrically connected to the input end of the D / A conversion module for outputting a control signal. The input end of the microcontroller module is electrically connected to the output end of the A / D conversion module for receiving a detection signal.

[0010] The output end of the D / A conversion module is electrically connected to the input end of the operational amplifier circuit. The output end of the operational amplifier circuit module is electrically connected to the reference electrode end RE and the counter electrode end CE of the three-electrode sensor module. The working electrode end WE of the three-electrode sensor module is electrically connected to the input end of the I / V conversion module. The output end of the I / V conversion module is electrically connected to the input end of the transimpedance amplifier circuit module. The output end of the transimpedance amplifier circuit module is electrically connected to the input end of the A / D conversion module.

[0011] In a second aspect, an embodiment of the present utility model provides a portable chemical oxygen demand analyzer, wherein the portable chemical oxygen demand analyzer comprises an integrated circuit of a portable chemical oxygen demand analyzer as described in any paragraph of the first aspect.

[0012] By adopting the above technical solution, the utility model can achieve the following technical effects:

[0013] The portable chemical oxygen demand analyzer of the embodiment of the utility model provides reference voltages for the D / A conversion module and the A / D conversion module respectively through the reference voltage source module to make the conversion more accurate, and provides power to the power module through the isolation voltage source module, isolating external interference, greatly improving the overall measurement accuracy, and being able to accurately measure the reaction current during the electrochemical reaction. In addition, the circuit structure is relatively simple, which greatly reduces the size of the analyzer, making it more portable and having good practical significance. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the utility model and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying creative work.

[0015] Figure 1 It is the overall block diagram of the integrated circuit.

[0016] Figure 2 This is the circuit diagram of the power chip part of the power module.

[0017] Figure 3 This is the circuit diagram of the voltage regulator part of the power module.

[0018] Figure 4It is the circuit diagram of the reference voltage source module.

[0019] Figure 5 is the circuit diagram of the microcontroller module.

[0020] Figure 6 This is the circuit diagram of the D / A conversion module.

[0021] Figure 7 It is the circuit diagram of the operational amplifier circuit module.

[0022] Figure 8 It is the circuit diagram of the transimpedance amplifier circuit module.

[0023] Fig. 9 This is the circuit diagram of the A / D conversion module. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the utility model.

[0025] Embodiment 1

[0026] See also Figures 1 to 9 The first embodiment of the utility model provides an integrated circuit of a portable chemical oxygen demand analyzer. The integrated circuit comprises: an isolation voltage source module, a power supply module, a reference voltage source module, a microcontroller module, a D / A conversion module, an operational amplifier circuit module, a three-electrode sensor module, an I / V conversion module, a transimpedance amplifier circuit module and an A / D conversion module.

[0027] The output end of the isolation voltage source module is electrically connected to the input end of the power supply module, so as to connect an external power supply to supply power to the power supply module. The output end of the power supply module is electrically connected to the reference voltage source module, the microcontroller module, the D / A conversion module and the A / D conversion module, so as to provide electric energy. The output end of the reference voltage source module is electrically connected to the D / A conversion module and the A / D conversion module, so as to provide a reference voltage.

[0028] The output end of the microcontroller module is electrically connected to the input end of the D / A conversion module for outputting a control signal. The input end of the microcontroller module is electrically connected to the output end of the A / D conversion module for receiving a detection signal.

[0029] The output end of the D / A conversion module is electrically connected to the input end of the operational amplifier circuit. The output end of the operational amplifier circuit module is electrically connected to the reference electrode end RE and the counter electrode end CE of the three-electrode sensor module. The working electrode end WE of the three-electrode sensor module is electrically connected to the input end of the I / V conversion module. The output end of the I / V conversion module is electrically connected to the input end of the transimpedance amplifier circuit module. The output end of the transimpedance amplifier circuit module is electrically connected to the input end of the A / D conversion module.

[0030] The portable chemical oxygen demand analyzer of the embodiment of the utility model provides reference voltages for the D / A conversion module and the A / D conversion module respectively through the reference voltage source module to make the conversion more accurate, and provides power to the power module through the isolation voltage source module, isolating external interference, greatly improving the overall measurement accuracy, and being able to accurately measure the reaction current during the electrochemical reaction. In addition, the portable chemical oxygen demand analyzer of the embodiment of the utility model uses a three-electrode electrochemical system method to detect the detection occasion of chemical oxygen demand in water quality, and has the advantages of small size, low cost, easy to use and carry, and high measurement accuracy.

[0031] The embodiment of the utility model simplifies the original heavy and clumsy electrochemical workstation, extracts the function of collecting the reaction current during the electrochemical reaction (equivalent to: a portable chemical oxygen demand analyzer). The overall circuit structure is greatly simplified, so that it has a relatively simple circuit and can be integrated into a miniature circuit board to reduce production costs. Thus, a small-sized, low-cost, easy-to-operate and portable chemical oxygen demand analyzer can be provided, which has great practical significance.

[0032] like Figure 2 and Figure 3 As shown, based on the above embodiment, in an optional embodiment of the present invention, the power module includes a power switch J1, a power chip U1, a voltage regulator U2, and a filter circuit.

[0033] The filter circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R6, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9 and an inductor L1. Preferably, the power chip U1 of the power module is a LMR14020SDDAR chip for outputting a voltage of 5V. The voltage regulator U2 of the power module is an AS1117 chip for outputting a voltage of 3V.

[0034] The two ends of the resistor R1 are electrically connected to the VIN end of the power chip U1 and the power switch J1, respectively. The two ends of the resistor R2 are electrically connected to the VIN end and the EN end of the power chip U1, respectively. The two ends of the capacitor C7 are electrically connected to the VIN end and the ground of the power chip U1, respectively. The two ends of the resistor R4 are electrically connected to the RT end and the ground of the power chip U1, respectively. The two ends of the capacitor C9 are electrically connected to the SS end and the ground of the power chip U1, respectively. The capacitor C1 and the inductor L1 are connected in series between the BOOT end of the power chip U1 and the input end of the voltage regulator U2. The two ends of the resistor R3 are electrically connected between the FB end of the power chip U1 and the input end of the voltage regulator U2, respectively. The two ends of the resistor R6 are electrically connected to the FB end of the power chip U1 and the ground, respectively. The two ends of the capacitor C8 and the capacitor C3 are electrically connected to the input end and the ground of the voltage regulator U2, respectively. The first end of the capacitor C6 is electrically connected to the GND end and the output end of the voltage regulator U2, and the second end is grounded. The two ends of the capacitor C2 are electrically connected to the output end of the voltage regulator U2 and the ground respectively.

[0035] Specifically, the power switch J1 is used to control the switch state of the voltage signal supply. The power chip U1 is used to control the various functions of the power module. The voltage regulator U2 is used to stabilize the changes or fluctuations of the input voltage signal and provide a constant output voltage to the entire circuit system. The voltage regulator U2 is a linear voltage regulator, which uses a transistor to achieve the stability of the output voltage signal. The filter circuit is used to remove the noise and ripple in the voltage signal given by the power supply, and provide a clean voltage signal to the entire circuit system.

[0036] The LMR14020SDDAR power chip uses SPO-8 packaging, which has good heat dissipation, high power and low price, and is used to power the entire circuit. The AS1117 voltage regulator chip has a good power stabilization effect. Among them, the 5V output interface of the power chip U1 is connected to the IN port of the voltage regulator U2.

[0037] An isolated voltage source module is set between the power module and the external power supply to step down the power supply of the external power supply and rectify it into a negative current of 2A for use in the circuit. The isolated voltage source module is used to isolate the interference of the external power supply to make the power supply more stable. The power module is used to provide a stable power supply to the entire integrated circuit.

[0038] like Figure 4As shown, based on the above embodiment, in an optional embodiment of the utility model, the reference voltage source module includes a reference voltage chip U3, a capacitor C10, a capacitor C12 and a capacitor C13. Preferably, the reference voltage chip U3 of the reference voltage source module is a REF5025AIDR chip, which is used to output a reference voltage of 2.5V.

[0039] The VIN input terminal of the reference voltage chip U3 is electrically connected to the IN input terminal of the voltage regulator U2 of the power module. The Vout output terminal of the reference voltage chip U3 is electrically connected to the D / A conversion module and the A / D conversion module to provide a reference voltage. The GND terminal of the reference voltage chip U3 is electrically connected to the analog ground terminal.

[0040] The two ends of capacitor C10 are electrically connected to the VIN input terminal and the analog ground terminal of the reference voltage chip U3. The two ends of capacitor C13 are electrically connected to the TRIM terminal and the analog ground terminal of the reference voltage chip U3. The two ends of capacitor C12 are electrically connected to the Vout output terminal and the analog ground terminal of the reference voltage chip U3.

[0041] Specifically, the reference voltage chip U3 uses the REF5025AIDR chip, which can output a voltage of 3V. The advantage is that its voltage reference noise is extremely low, and another advantage is its extremely high accuracy, which provides a reference voltage for the D / A conversion module and the A / D conversion module, ensuring that the voltage collected by the D / A conversion part and the A / D conversion part is very accurate.

[0042] like Figure 5 As shown, based on the above embodiment, in an optional embodiment of the utility model, the microcontroller module is a single-chip microcontroller U5. The single-chip microcontroller U5 is specifically a STM32F103RCT6 chip, which is used to control the normal operation of the entire circuit system.

[0043] Specifically, the STM32F103RCT6 chip is a 32-bit microcontroller based on ARM, which has rich peripheral interfaces and high-performance processing capabilities. The microcontroller control port is provided with an A / D conversion interface, a D / A conversion interface and a communication interface. Preferably, the PB0 port of the single-chip microcontroller U5 is electrically connected to the output port of the operational amplifier U6A of the transimpedance amplifier circuit module through the A / D conversion module.

[0044] like Figure 6 As shown, based on the above embodiment, in an optional embodiment of the present utility model, the D / A conversion module includes an operational amplifier U6B, a resistor R17, a resistor R18, a capacitor C29, and a capacitor C26. Preferably, the model of the operational amplifier U6B of the D / A conversion module is ADA4001-2.

[0045] The two ends of the resistor R17 are electrically connected to the PA4 end of the microcontroller module and the non-inverting input end of the operational amplifier U6B. The two ends of the capacitor C29 are electrically connected to the non-inverting input end of the operational amplifier U6B and the analog ground end.

[0046] The inverting input terminal of the operational amplifier U6B is electrically connected to the output terminal of the operational amplifier U6B. The power supply voltage terminal of the operational amplifier U6B is electrically connected to the reference voltage source module.

[0047] The two ends of the resistor R18 are electrically connected to the output end of the operational amplifier U6B and the input end of the operational amplifier circuit module, respectively. The two ends of the capacitor C29 are electrically connected to the input end of the operational amplifier circuit module and the analog ground end, respectively.

[0048] like Figure 7 As shown, based on the above embodiment, in an optional embodiment of the present invention, the operational amplifier circuit module includes an operational amplifier U9A, an operational amplifier U9B, a resistor R22 and a resistor R25.

[0049] The two ends of the resistor R25 are electrically connected to the output end of the D / A conversion module and the inverting input end of the operational amplifier U9B respectively. The non-inverting input end of the operational amplifier U9B is electrically connected to the analog ground end. The output end of the operational amplifier U9B is electrically connected to the counter electrode end CE of the three-electrode sensor module.

[0050] Two ends of the resistor R22 are electrically connected to the inverting input terminal of the operational amplifier U9B and the inverting input terminal of the operational amplifier U9A, respectively.

[0051] The inverting input terminal of the operational amplifier U9A is electrically connected to the output terminal of the operational amplifier U9A. The non-inverting input terminal of the operational amplifier U9A is electrically connected to the reference electrode terminal RE of the three-electrode sensor module.

[0052] Specifically, the resistance values ​​of resistor R22 and resistor R25 are 33K and 10K respectively, and they are connected in series. The operational amplifier circuit module is used to amplify the voltage signal input by the external device to 3.3 times. Then, the stable voltage signal is input between the reference electrode terminal RE and the counter electrode terminal CE to control the constant voltage difference between the reference electrode terminal RE and the counter electrode terminal CE.

[0053] like Figure 8As shown, based on the above embodiment, in an optional embodiment of the present invention, the transimpedance amplifier circuit module includes an operational amplifier U6A, a resistor R23, a resistor R24, a resistor R26 and a capacitor C35. Preferably, the model of the operational amplifier U6A of the transimpedance amplifier circuit module is ADA4001-2.

[0054] The inverting input terminal of the operational amplifier U6A is electrically connected to the working electrode terminal WE of the three-electrode sensor through the I / V conversion module. The two ends of the resistor R23 are electrically connected to the inverting input terminal and the output terminal of the operational amplifier U6A, respectively. The two ends of the resistor R26 are electrically connected to the analog ground terminal and the non-inverting input terminal of the operational amplifier U6A, respectively. The two ends of the resistor R24 ​​are electrically connected to the output terminal of the operational amplifier U6A and the input terminal of the A / D conversion module, respectively. The two ends of the capacitor C35 are electrically connected to the analog ground terminal and the input terminal of the A / D conversion module, respectively.

[0055] Specifically, since the electrochemical reaction current signal generated by the working electrode during the three-electrode electrochemical reaction is very weak, it is not easy to measure directly. Therefore, this embodiment converts and amplifies the weak current signal through I / V conversion and transimpedance amplifier circuit, converts it into a voltage signal, and then processes it by the A / D conversion module.

[0056] According to the characteristics of the operational amplifier circuit module, the circuit structure of the transimpedance circuit is used to collect and detect the current signal precipitated by the working electrode. The inverting input terminal of the operational amplifier U6A of the transimpedance amplifier circuit module is connected to the working electrode part of the three-electrode sensor, and at the same time, the operational amplifier U6A and the resistors R23 and R26 form a transimpedance amplifier circuit for amplifying the collected weak electrochemical reaction electrical signals. The feedback resistors R23 and R26 at both ends of the operational amplifier U6A use Ohm's law to convert the current signal into a voltage signal, which is then collected by the A / D conversion module for subsequent processing.

[0057] The advantages of the transimpedance amplifier circuit are: 1. This is a high-gain circuit that can amplify the input signal, that is, the current signal generated by the collected chemical oxygen demand electrochemical reaction, to the required size. 2. Transimpedance amplifiers usually have high input impedance, which is very useful for applications that need to read signals from low-resistance signal sources. Even if the input resistance is very low, the input impedance of the transimpedance amplifier is also high, which can effectively read the electrical signal generated by the electrochemical reaction that needs to be collected;

[0058] like Fig. 9As shown, based on the above embodiment, in an optional embodiment of the utility model, the A / D conversion module includes a circuit chip U7, a capacitor C35, a capacitor C37 and a resistor R20. Among them, the circuit chip U7 is an analog-to-digital conversion chip. Preferably, the model of the circuit chip U7 of the A / D conversion module is ADS1256IDBR.

[0059] The AIN0 port of the circuit chip U7 is electrically connected to the output port of the transimpedance amplifier circuit module to receive the detection signal.

[0060] The RESET# port, DRDY# port, DIN port, DOUT port, SCLK port and CS# port of the circuit chip U7 are respectively electrically connected to the PC7 port, PC6 port, PB15 port, PB14 port, PB13 port and PB12 port of the single-chip microcontroller U5 of the microcontroller module to output detection signals.

[0061] The AVDD port of the circuit chip U7 is electrically connected to the input end of the reference voltage source module. The VREFP port of the circuit chip U7 is electrically connected to the output end of the reference voltage source module to obtain a reference voltage.

[0062] The AGND port of the circuit chip U7 is electrically connected to the VREFN port of the circuit chip U7. The VREFN port of the circuit chip U7 is electrically connected to the analog ground terminal. The two ends of the capacitor C35 and the capacitor C37 are electrically connected to the AVDD port of the circuit chip U7 and the VREFN port of the circuit chip U7, respectively. The two ends of the resistor R20 are electrically connected to the AINCOM port of the circuit chip U7 and the analog ground terminal, respectively.

[0063] Specifically, the ADS1256IDBR chip is a conversion chip with extremely low interference noise, which can avoid unnecessary interference signals and external interference during the signal acquisition process. In addition, the ADS1256IDBR chip is a 24-bit A / D conversion chip with extremely high conversion accuracy. In this embodiment, the amplified unknown voltage is collected by the A / D conversion chip.

[0064] On the basis of the above embodiments, in an optional embodiment of the utility model, the microcontroller module is provided with a communication interface for connecting an external device; wherein the communication interface is a parallel port, a USB interface, an Ethernet interface, a wireless communication interface, an SPI interface or an I2C interface. Among them, the parallel port is an interface for transmitting data through parallel communication, which is commonly used to connect printers and other external devices. The USB interface is a common universal serial bus interface in modern computer systems, which is used to connect various external devices, such as keyboards, mice, printers, storage devices, etc. The Ethernet interface is used for data transmission and interconnection between computers in local area networks and wide area networks, and has a high transmission speed and a wide range of applications. The wireless communication interface includes wireless LAN, Bluetooth, radio frequency identification and other wireless communication technologies, which are used to realize wireless data transmission and communication. The SPI interface is a serial peripheral interface, which is commonly used to communicate with external devices such as memory chips and sensors. The I2C interface is a serial data bus interface, which is commonly used to connect microcontrollers and various peripherals, such as sensors, memories, etc.

[0065] Specifically, the communication interface is used for data transmission and communication with external devices. The external device can input an initial voltage signal through the communication interface to control the voltage difference between the reference electrode and the working electrode. It greatly simplifies the circuit structure and has the characteristics of small size, low cost, easy use and portability.

[0066] The working principle of the integrated circuit of the embodiment of the utility model is: the operational amplifier circuit module accurately applies the voltage signal input by the external device between the reference electrode end and the counter electrode end in the three-electrode sensor, and maintains the voltage difference between the reference electrode end and the counter electrode end constant, thereby generating an electrochemical reaction to generate a reaction current. Then the I / V conversion module and the transimpedance amplifier circuit module are used to collect the tiny current signal generated by the electrochemical reaction of the detection object on the working electrode of the three-electrode sensor, convert the current signal and collect the converted voltage signal by the A / D conversion module, and after processing, input it into the single-chip microcontroller circuit for subsequent processing.

[0067] Embodiment 2

[0068] The embodiment of the utility model provides a portable chemical oxygen demand analyzer, which comprises an integrated circuit of a portable chemical oxygen demand analyzer as described in any paragraph of the first embodiment.

[0069] In several embodiments provided by the embodiments of the present utility model, it should be understood that the disclosed apparatus and method can also be implemented in other ways. The apparatus and method embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, method and computer program product according to multiple embodiments of the present utility model. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0070] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0071] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the utility model can be essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the utility model. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk. It should be noted that, in this article, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0072] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0073] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0074] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0075] The "first\second" mentioned in the embodiments is only to distinguish similar objects, and does not represent a specific order for the objects. It is understandable that the "first\second" can be interchanged with the specific order or sequence where permitted. It should be understood that the objects distinguished by "first\second" can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than those illustrated or described herein.

[0076] The above description is only the preferred embodiment of the utility model, and is not intended to limit the utility model. For those skilled in the art, the utility model can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the utility model shall be included in the protection scope of the utility model.

Claims

1. An integrated circuit for a portable chemical oxygen demand analyzer, characterized in that: The integrated circuit comprises: an isolation voltage source module, a power supply module, a reference voltage source module, a microcontroller module, a D / A conversion module, an operational amplifier circuit module, a three-electrode sensor module, an I / V conversion module, a transimpedance amplifier circuit module and an A / D conversion module; The output end of the isolation voltage source module is electrically connected to the input end of the power supply module, so as to connect an external power supply to power the power supply module; the output end of the power supply module is electrically connected to the reference voltage source module, the microcontroller module, the D / A conversion module and the A / D conversion module, so as to provide electric energy; The output end of the reference voltage source module is electrically connected to the D / A conversion module and the A / D conversion module to provide a reference voltage; The output end of the microcontroller module is electrically connected to the input end of the D / A conversion module to output a control signal; the input end of the microcontroller module is electrically connected to the output end of the A / D conversion module to receive a detection signal; The output end of the D / A conversion module is electrically connected to the input end of the operational amplifier circuit; the output end of the operational amplifier circuit module is electrically connected to the reference electrode end RE and the counter electrode end CE of the three-electrode sensor module; the working electrode end WE of the three-electrode sensor module is electrically connected to the input end of the I / V conversion module; the output end of the I / V conversion module is electrically connected to the input end of the transimpedance amplifier circuit module; the output end of the transimpedance amplifier circuit module is electrically connected to the input end of the A / D conversion module.

2. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 1, characterized in that: The power module includes a power switch J1, a power chip U1, a voltage regulator U2, and a filter circuit; The filter circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R6, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9 and an inductor L1; The two ends of the resistor R1 are electrically connected to the VIN end of the power chip U1 and the power switch J1 respectively; the two ends of the resistor R2 are electrically connected to the VIN end and the EN end of the power chip U1 respectively; the two ends of the capacitor C7 are electrically connected to the VIN end and the ground of the power chip U1 respectively; the two ends of the resistor R4 are electrically connected to the RT end and the ground of the power chip U1 respectively; the two ends of the capacitor C9 are electrically connected to the SS end and the ground of the power chip U1 respectively; the capacitor C1 and the inductor L1 are connected in series to the BO of the power chip U1 The two ends of the resistor R3 are respectively electrically connected between the FB end of the power chip U1 and the input end of the voltage regulator U2; the two ends of the resistor R6 are respectively electrically connected to the FB end of the power chip U1 and the ground; the two ends of the capacitor C8 and the capacitor C3 are respectively electrically connected to the input end and the ground of the voltage regulator U2; the first end of the capacitor C6 is electrically connected to the GND end and the output end of the voltage regulator U2, and the second end is grounded; the two ends of the capacitor C2 are respectively electrically connected to the output end and the ground of the voltage regulator U2.

3. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 1, characterized in that: The reference voltage source module includes a reference voltage chip U3, a capacitor C10, a capacitor C12 and a capacitor C13; The VIN input terminal of the reference voltage chip U3 is electrically connected to the IN input terminal of the voltage regulator U2 of the power module; the Vout output terminal of the reference voltage chip U3 is electrically connected to the D / A conversion module and the A / D conversion module to provide a reference voltage; The GND terminal of the reference voltage chip U3 is electrically connected to the analog ground terminal; The two ends of capacitor C10 are electrically connected to the VIN input terminal and the analog ground terminal of the reference voltage chip U3; the two ends of capacitor C13 are electrically connected to the TRIM terminal and the analog ground terminal of the reference voltage chip U3; the two ends of capacitor C12 are electrically connected to the Vout output terminal and the analog ground terminal of the reference voltage chip U3.

4. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 1, characterized in that: The D / A conversion module includes an operational amplifier U6B, a resistor R17, a resistor R18, a capacitor C29, and a capacitor C26; The two ends of the resistor R17 are electrically connected to the PA4 end of the microcontroller module and the non-inverting input end of the operational amplifier U6B; the two ends of the capacitor C29 are electrically connected to the non-inverting input end of the operational amplifier U6B and the analog ground end; The inverting input terminal of the operational amplifier U6B is electrically connected to the output terminal of the operational amplifier U6B; the power supply voltage terminal of the operational amplifier U6B is electrically connected to the reference voltage source module; The two ends of the resistor R18 are electrically connected to the output end of the operational amplifier U6B and the input end of the operational amplifier circuit module respectively; the two ends of the capacitor C29 are electrically connected to the input end of the operational amplifier circuit module and the analog ground end respectively.

5. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 1, characterized in that: The A / D conversion module includes a circuit chip U7, a capacitor C35, a capacitor C37 and a resistor R20; The AIN0 port of the circuit chip U7 is electrically connected to the output port of the transimpedance amplifier circuit module; and is used to receive the detection signal; The RESET# port, DRDY# port, DIN port, DOUT port, SCLK port and CS# port of the circuit chip U7 are respectively electrically connected to the PC7 port, PC6 port, PB15 port, PB14 port, PB13 port and PB12 port of the single-chip microcontroller U5 of the microcontroller module to output a detection signal; The AVDD port of the circuit chip U7 is electrically connected to the input end of the reference voltage source module; the VREFP port of the circuit chip U7 is electrically connected to the output end of the reference voltage source module to obtain the reference voltage; The AGND port of the circuit chip U7 is electrically connected to the VREFN port of the circuit chip U7; the VREFN port of the circuit chip U7 is electrically connected to the analog ground terminal; the two ends of the capacitor C35 and the capacitor C37 are respectively electrically connected to the AVDD port of the circuit chip U7 and the VREFN port of the circuit chip U7; the two ends of the resistor R20 are respectively electrically connected to the AINCOM port of the circuit chip U7 and the analog ground terminal.

6. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 1, characterized in that: The operational amplifier circuit module includes an operational amplifier U9A, an operational amplifier U9B, a resistor R22 and a resistor R25; The two ends of the resistor R25 are electrically connected to the output end of the D / A conversion module and the inverting input end of the operational amplifier U9B respectively; The in-phase input terminal of the operational amplifier U9B is electrically connected to the analog ground terminal; the output terminal of the operational amplifier U9B is electrically connected to the counter electrode terminal CE of the three-electrode sensor module; The two ends of the resistor R22 are electrically connected to the inverting input terminal of the operational amplifier U9B and the inverting input terminal of the operational amplifier U9A respectively; The inverting input terminal of the operational amplifier U9A is electrically connected to the output terminal of the operational amplifier U9A; the non-inverting input terminal of the operational amplifier U9A is electrically connected to the reference electrode terminal RE of the three-electrode sensor module.

7. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 1, characterized in that: The transimpedance amplifier circuit module includes an operational amplifier U6A, a resistor R23, a resistor R24, a resistor R26 and a capacitor C35; The inverting input terminal of the operational amplifier U6A is electrically connected to the working electrode terminal WE of the three-electrode sensor through the I / V conversion module; The two ends of the resistor R23 are electrically connected to the inverting input terminal and the output terminal of the operational amplifier U6A respectively; the two ends of the resistor R26 are electrically connected to the analog ground terminal and the non-inverting input terminal of the operational amplifier U6A respectively; The two ends of the resistor R24 ​​are electrically connected to the output end of the operational amplifier U6A and the input end of the A / D conversion module respectively; the two ends of the capacitor C35 are electrically connected to the analog ground terminal and the input end of the A / D conversion module respectively.

8. An integrated circuit for a portable chemical oxygen demand analyzer according to any one of claims 1 to 7, characterized in that: The microcontroller module is a STM32F103RCT6 chip; The power chip U1 of the power module is a LMR14020SDDAR chip, which is used to output a voltage of 5V; The voltage regulator U2 of the power module is an AS1117 chip, which is used to output a voltage of 3V; The reference voltage chip U3 of the reference voltage source module is a REF5025AIDR chip, which is used to output a reference voltage of 2.5V; The operational amplifier U6B of the D / A conversion module and the operational amplifier U6A of the transimpedance amplifier circuit module are both ADA4001-2; The model of the circuit chip U7 of the A / D conversion module is ADS1256IDBR.

9. The integrated circuit of a portable chemical oxygen demand analyzer according to claim 8, characterized in that: The microcontroller module is provided with a communication interface for connecting to an external device; wherein the communication interface is a parallel port, a USB interface, an Ethernet interface, a wireless communication interface, an SPI interface or an I2C interface.

10. A portable chemical oxygen demand analyzer, characterized in that: The portable chemical oxygen demand analyzer comprises the integrated circuit of a portable chemical oxygen demand analyzer according to any one of claims 1 to 9.