Resistance probe corrosion monitoring probe with temperature compensation function
By introducing detection elements, reference elements and temperature measurement elements into the resistance probe, combined with a constant current circuit and a temperature measurement circuit, the temperature compensation of the resistance probe is realized, which solves the accuracy problem under the influence of temperature changes in the existing technology and improves Improve the stability and accuracy of corrosion detection.
Patent Information
- Application Number
- CN202420424232.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2034-03-04
AI Technical Summary
In an environment with large temperature changes, the accuracy of monitoring results of existing resistance probes is affected, and the temperature difference potential and contact potential cannot be effectively compensated. The measurement accuracy is generally within 1/1000, making it difficult to meet the needs of high-precision corrosion detection.
A resistance probe corrosion monitoring probe including a detection element, a reference element, a temperature measurement element, a constant current circuit and a temperature measurement circuit is designed. Through voltage difference measurement and temperature compensation between the detection element and the reference element, the resistance ratio is calculated to accurately detect Corrosion extent, using extremely thin encapsulation layers to reduce temperature effects.
The temperature compensation capability of the resistance probe is improved, the impact of temperature changes on measurement accuracy is reduced, and higher detection stability and accuracy are achieved.
Smart Images

Figure CN221899041U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of online monitoring of material corrosion, and more specifically, to a resistance probe corrosion monitoring probe with a temperature compensation function. Background Art
[0002] The corrosion of oil and gas pipelines is often monitored online using resistance probes. The resistance probe corrosion monitoring technology measures the total amount of corrosion by measuring the increase in resistance of a metal wire or metal sheet due to the decrease in the cross-sectional area of the metal conductor during the corrosion process, and calculates the corresponding corrosion rate by differentiating the time. The resistance probe technology can be measured in liquid phase (electrolyte or non-electrolyte) and gas phase media. It has the characteristics of relatively simple operation, easy maintenance, and easy data analysis. It can realize real-time corrosion data collection and transmission. Compared with other monitoring methods, it has high reliability and good economy, so it has been widely used in oil and gas production, pipelines, chemicals, cultural relics preservation, power generation and other industries.
[0003] However, for systems with large temperature changes, the monitoring results are greatly affected by temperature, which will affect the accuracy of corrosion measurement results. At present, there are also high-temperature resistant compensation resistor probes in China, such as patent application CN1409101A, which uses a temperature compensation element with the same length and diameter as the detection element in series and is connected to the detection device. It is assumed that the detection element and the temperature compensation element have the same temperature coefficient, and temperature compensation is performed by measuring the voltage difference between the two. However, this solution cannot compensate for the thermoelectric potential and contact potential, and the measurement accuracy is generally within 1 / 1000. In order to further improve the measurement accuracy and reduce the negative impact of ambient temperature on the measurement accuracy of the probe, it is necessary to develop a more accurate temperature compensation resistor corrosion detection probe. Utility Model Content
[0004] The utility model aims at the technical problems existing in the prior art and provides a resistance probe corrosion monitoring probe with a temperature compensation function, which is less affected by temperature changes, has good detection stability and high measurement accuracy.
[0005] The utility model provides a resistance probe corrosion monitoring probe with temperature compensation function, comprising a detection element, a reference element, a temperature measuring element, a constant current circuit and a temperature measuring circuit, wherein the detection element, the reference element and the temperature measuring element are arranged adjacent to each other and one end thereof is connected to the ground in parallel, and a packaging layer is arranged on the reference element;
[0006] The other end of the detection element and the other end of the reference element are connected in parallel to the output end of the constant current circuit, and the other end of the detection element and the other end of the reference element are also provided with voltage detection ends respectively;
[0007] The other end of the temperature measuring element is connected to the temperature measuring circuit for detecting the temperature signal.
[0008] On the basis of the above technical solution, the present invention can also make the following improvements.
[0009] Optionally, the detection element and the reference element are made of the same material, and before detection, the detection element and the reference element have the same geometrical dimensions.
[0010] Optionally, the packaging layer of the reference element is thermally conductive adhesive.
[0011] Optionally, it also includes a control module and an ADC sampling module.
[0012] The ADC sampling module is connected to the temperature measurement circuit and the voltage detection end respectively, and is used to collect the temperature signal detected by the temperature measurement circuit, the voltage signal of the detection element and the voltage signal of the reference element;
[0013] The control module is connected to the constant current circuit and is used to control the constant current circuit to output a constant current to the detection element and the reference element respectively;
[0014] The control module is also connected to the ADC sampling module, and is used to calculate the resistance ratio of the detection element to the reference element based on the current value of the detection element, the voltage value of the detection element, the current value of the reference element, and the voltage value of the reference element, and is also used to perform temperature compensation on the resistance ratio based on the temperature signal.
[0015] Optionally, the constant current circuit includes a transistor Q1, a current sensing resistor R1, operational amplifiers U1-U2, resistors R2-R4, capacitors C1-C2 and switching elements Q2-Q5, the collector of the transistor Q1 is connected to a current source, the emitter of the transistor Q1 is connected in series with the current sensing resistor R1, one end of the current sensing resistor R1 is connected in series with a resistor R2 and then grounded, and the other end of the current sensing resistor R1 is connected in series with a resistor R3 and then grounded;
[0016] The two ends of the current detection resistor R1 are connected to the non-inverting input and the inverting input of the operational amplifier U1 in a one-to-one correspondence, the output of the operational amplifier U1 is connected to the inverting input of the operational amplifier U2, the non-inverting input of the operational amplifier U2 is connected to a preset reference voltage, the output of the operational amplifier U2 is connected in series with the capacitor C1 and then connected to the inverting input of the operational amplifier U2, the output of the operational amplifier U2 is connected in series with the resistor R4 and then connected to the base of the transistor Q1, and the base of the transistor Q1 is also connected in series with the capacitor C2 and then grounded;
[0017] The switch element Q2 and the switch element Q3 are connected in parallel to one end of the current detection resistor R1 away from the transistor Q1, the switch element Q2 is connected in series with the switch element Q4 and then grounded, the common node of the switch element Q2 and the switch element Q4 is connected to the current input end of the reference element, the switch element Q3 is connected in series with the switch element Q5 and then grounded, and the common node of the switch element Q3 and the switch element Q5 is connected to the current input end of the detection element; the control ends of the switch elements Q2 to Q5 are connected to the constant current output control signal, the switch element Q3 is linked to the switch element Q4, and the switch element Q2 is linked to the switch element Q5.
[0018] Optionally, the constant current circuit further includes resistors R5 to R6.
[0019] The control end of the switch element Q3 and the control end of the switch element Q4 are connected in parallel to one end of the resistor R5, and the other end of the resistor R5 is grounded;
[0020] The control end of the switch element Q2 and the control end of the switch element Q5 are connected in parallel to one end of the resistor R6, and the other end of the resistor R6 is grounded.
[0021] Optionally, the constant current circuit further includes a current sensing resistor R7, and the current sensing resistor R7 is arranged in parallel with the current sensing resistor R1.
[0022] Optionally, the constant current circuit further includes a debugging port, and the debugging port is arranged at a common node between the output end of the operational amplifier U2 and the resistor R4.
[0023] Optionally, the temperature measurement circuit includes resistors R8-R10 and capacitors C3-C4;
[0024] The resistor R8 is connected in series with the temperature measuring element and then grounded, the common node of the resistor R8 and the temperature measuring element is connected in series with the resistor R10 and the capacitor C4 in sequence and then grounded, and the common node of the resistor R10 and the capacitor C4 serves as the temperature signal output terminal;
[0025] The end of the resistor R8 away from the temperature measuring element is connected in series with the resistor R9 and the capacitor C3 and then grounded. The original pulse width signal is injected into the common node of the resistor R8 and the resistor R9, and the common node of the resistor R9 and the capacitor C3 serves as the pulse width signal output end.
[0026] Optionally, the temperature measurement circuit further includes operational amplifiers U3A-U3B,
[0027] The operational amplifier U3A is arranged between the resistor R8 and the resistor R9, the original pulse width signal is input to the in-phase input terminal of the operational amplifier U3A, the output terminal of the operational amplifier U3A is connected to the common node of the resistor R8 and the resistor R9, and the output terminal of the operational amplifier U3A is connected to the inverting input terminal of the operational amplifier U3A;
[0028] The operational amplifier U3B is arranged between the resistor R8 and the resistor R10, the in-phase input terminal of the operational amplifier U3B is connected to the common node of the resistor R8 and the temperature measuring element, the inverting input terminal of the operational amplifier U3B is connected to the output terminal of the operational amplifier U3B, and the output terminal of the operational amplifier U3B is connected to the resistor R10.
[0029] The utility model provides a resistance probe corrosion monitoring probe with temperature compensation function. During the detection process, the detection element and the reference element are adjacently arranged and placed in the same measured environment. The detection element is exposed in the measured environment, and the outer surface of the reference element is covered with an extremely thin packaging layer. It can be considered that the reference element is not corroded in this measured environment, but the temperature, air pressure and other environments that affect the resistance change of the detection element and the reference element are basically the same. Therefore, it can be considered that the main factor causing the difference in resistance between the two is the volume change / cross-sectional area change of the detection element caused by corrosion. Since the current flowing through the two is the same constant current, by measuring the voltage difference between the detection element and the reference element respectively, according to Ohm's law, the resistance ratio of the two can be calculated, and the resistance ratio can be understood as the degree of corrosion of the detection element. Since the detection element and the reference element are placed in the same external environment, the degree of their being affected by temperature is the same, and the temperature value detected by the temperature measuring element can represent the temperature value of the detection element and the reference element. By compensating the resistance value of the detection element and the resistance value of the reference element by the detected ambient temperature value, a more accurate resistance value change can be obtained. By comparing the resistance value of the detection element after temperature compensation with the resistance value of the reference element, a more accurate corrosion detection result of the corrosion detection probe in the measured environment can be obtained. The utility model provides a resistance probe corrosion monitoring probe with temperature compensation function, which is less affected by temperature changes, has good detection stability and high measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a structural block diagram of a resistance probe corrosion monitoring probe with temperature compensation function provided by the utility model;
[0031] Figure 2 A schematic diagram of the wiring principle of a resistance probe corrosion monitoring probe with temperature compensation function provided by the utility model;
[0032] Figure 3 A constant current circuit schematic diagram provided for a certain embodiment;
[0033] Figure 4 A temperature measurement circuit schematic diagram provided for a certain embodiment;
[0034] Figure 5 A graph showing the change of resistance ratio with temperature in a certain embodiment;
[0035] Figure 6 This is a comparison diagram of resistance ratios before and after temperature compensation in a certain embodiment.
[0036] In the accompanying drawings, the components represented by the reference numerals are listed as follows:
[0037] 1. Detection element, 2. Reference element, 2a. Packaging layer, 3. Temperature measurement element, 4. Constant current circuit, 5. Temperature measurement circuit, 6. Control module, 7. ADC sampling module. DETAILED DESCRIPTION
[0038] The following is a further detailed description of the specific implementation of the present invention in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0039] Figure 1 This is a structural diagram of a resistance probe corrosion monitoring probe with temperature compensation function provided by the utility model. Figure 2 This is a schematic diagram of some wiring principles of the detection probe.
[0040] Combination Figure 1 and Figure 2 As shown, this embodiment provides a resistance probe corrosion monitoring probe with temperature compensation function, including a detection element 1, a reference element 2, a temperature measuring element 3, a constant current circuit 4 and a temperature measuring circuit 5, wherein the detection element 1, the reference element 2 and the temperature measuring element 3 are arranged adjacent to each other and one end of each of the detection element 1, the reference element 2 and the temperature measuring element 3 are connected to the ground in parallel (such as Figure 2 Point C) shown, the reference element 2 is provided with a packaging layer 2a;
[0041] The other end of the detection element 1 (such as Figure 2 Point A shown), the other end of the reference element 2 (as shown Figure 2 The point F shown in FIG. 1 is connected in parallel to the output end of the constant current circuit 4 to receive the constant current output by the constant current circuit 4, and the other end of the detection element 1 (such as Figure 2 point B shown), the other end of the reference element 2 (as shown Figure 2 Point E) shown in the figure is also provided with a voltage detection terminal to obtain the real-time voltage value of the detection element 1 and the real-time voltage value of the reference element 2 respectively;
[0042] The other end of the temperature measuring element 3 (such as Figure 2 Point D) shown is connected to the temperature measuring circuit 5 for outputting the detected temperature signal.
[0043] It can be understood that, based on the defects in the background technology, the embodiment of the utility model proposes a resistance probe corrosion monitoring probe with temperature compensation function. During the detection process, the detection element 1 and the reference element 2 are arranged adjacent to each other and placed in the same measured environment. The detection element 1 is exposed to the measured environment, and the outer surface of the reference element 2 is covered with an extremely thin packaging layer 2a. It can be considered that the reference element 2 is not corroded in this measured environment, but the temperature, air pressure and other environments that affect the resistance change of the detection element 1 and the reference element 2 are basically the same. Therefore, it can be considered that the main factor causing the difference in resistance between the two is the volume change / cross-sectional area change of the detection element 1 caused by corrosion. Since the current flowing through the two is the same constant current, by measuring the voltage difference between the detection element 1 and the reference element 2 respectively, according to Ohm's law, the resistance ratio of the two can be calculated. This resistance ratio can be understood as the degree of corrosion of the detection element 1.
[0044] More specifically, the resistance value of the element can be calculated according to Ohm's law by detecting the voltage of the corresponding element and the constant current value input thereto. The exposed part of the detection element 1 is corroded more and more over time, causing its resistance value to change; while the reference element 2 is encapsulated in the encapsulation layer 2a and isolated from the measured environment by the encapsulation layer 2a, so it is not corroded by the measured environment, and its resistance value is basically not affected by the corrosive medium in the measured environment, but may be affected by changes in ambient temperature. Since the detection element 1 and the reference element 2 are placed in the same external environment, the degree of their being affected by temperature is the same, and the temperature value detected by the temperature measuring element 3 can represent the temperature values of the detection element 1 and the reference element 2. By compensating the resistance values of the detection element 1 and the reference element 2 with the detected ambient temperature value, a more accurate change in resistance value can be obtained. By comparing the resistance value of the temperature-compensated detection element 1 with the resistance value of the reference element 2, a more accurate corrosion degree detection result of the corrosion detection probe in the measured environment can be obtained. The present embodiment provides a resistance probe corrosion monitoring probe with a temperature compensation function, which is less affected by temperature changes, has good detection stability and high measurement accuracy.
[0045] Based on the above technical solution, the present embodiment may also be improved as follows.
[0046] In a possible implementation manner, the detection element 1 and the reference element 2 are made of the same material, and before detection, the detection element 1 and the reference element 2 have the same geometrical dimensions.
[0047] It can be understood that the detection element 1 and the reference element 2 are made of the same material, and the material is related to the resistivity, so the two have the same resistivity. According to the resistance calculation formula R=ρL / S, it can be obtained that when the resistivity ρ is the same, the factors that determine the resistance value R are mainly its geometric dimensions, such as its length L and cross-sectional area S. Before detection, the initial geometric dimensions of the detection element 1 and the reference element 2 are consistent, such as their length, width, and thickness are consistent, that is, the initial resistance values of the detection element 1 and the reference element 2 are the same. During the detection process, the surface of the detection element 1 in the length and width directions is exposed to the measured environment. As the degree of surface corrosion increases, the thickness of the detection element 1 changes, thereby causing the resistance of the detection element 1 to change. Therefore, it can be simply understood that the main factor causing the difference in resistance between the detection element 1 and the reference element 2 is the decrease in the cross-sectional area S of the detection element 1 caused by corrosion. The setting of this embodiment simplifies the calculation process of corrosion detection.
[0048] In a possible embodiment, the packaging layer 2a of the reference element 2 is an insulating thermally conductive adhesive, such as epoxy resin adhesive.
[0049] It is understandable that thermal conductive adhesive has the advantages of good ductility, good flexibility and excellent thermal conductivity. By using an extremely thin thermal conductive adhesive as the encapsulation layer 2a, the temperature and air pressure inside and outside the encapsulation layer are basically the same. While effectively encapsulating the reference element 2, the reference element 2 and the detection element 1 are subjected to the same environment, such as temperature and air pressure, which affect the resistance change, thereby reducing interference factors that affect the resistance change and improving detection accuracy.
[0050] In a possible embodiment, Figure 1 As shown, the corrosion monitoring probe also includes a control module 6 and an ADC sampling module 7;
[0051] The ADC sampling module 7 is connected to the temperature measuring circuit 5 and the voltage detection terminal respectively, and is used to collect the temperature signal detected by the temperature measuring circuit 5, the voltage signal of the detection element 1 and the voltage signal of the reference element 2;
[0052] The control module 6 is connected to the constant current circuit 4, and is used to control the constant current circuit 4 to output a constant current to the detection element 1 and the reference element 2 respectively;
[0053] The control module 6 is also connected to the ADC sampling module 7, and is used to calculate the resistance ratio of the detection element 1 to the reference element 2 based on the current value of the detection element 1, the voltage value of the detection element 1, the current value of the reference element 2, and the voltage value of the reference element 2, and is also used to perform temperature compensation on the resistance ratio based on the temperature signal.
[0054] It can be understood that the voltage signal of the detection element 1 detected is the potential difference between the two ends of the detection element 1, and the voltage signal of the reference element 2 is the potential difference between the two ends of the reference element 2. Since the constant current circuit 4 outputs a consistent constant current to the detection element 1 and the reference element 2 respectively, according to Ohm's law, the resistance of the detection element 1 and the resistance of the reference element 2 can be calculated respectively, and the resistance ratio of the detection element 1 and the reference element 2 can be calculated. By using the detected temperature value to perform temperature compensation on the resistance ratio of the detection element 1 and the reference element 2, the resistance deviation caused by temperature change can be eliminated, thereby improving the detection accuracy.
[0055] In a possible embodiment, the constant current circuit 4 includes a transistor Q1, a current sensing resistor R1, operational amplifiers U1-U2, resistors R2-R4, capacitors C1-C2 and switch elements Q2-Q5. The collector of the transistor Q1 is connected to a current source, the emitter of the transistor Q1 is connected in series with the current sensing resistor R1, one end of the current sensing resistor R1 is connected in series with a resistor R2 and then grounded, and the other end of the current sensing resistor R1 is connected in series with a resistor R3 and then grounded;
[0056] The two ends of the current detection resistor R1 are connected to the non-inverting input and the inverting input of the operational amplifier U1 in a one-to-one correspondence, the output of the operational amplifier U1 is connected to the inverting input of the operational amplifier U2, the non-inverting input of the operational amplifier U2 is connected to a preset reference voltage, the output of the operational amplifier U2 is connected in series with the capacitor C1 and then connected to the inverting input of the operational amplifier U2, the output of the operational amplifier U2 is connected in series with the resistor R4 and then connected to the base of the transistor Q1, and the base of the transistor Q1 is also connected in series with the capacitor C2 and then grounded;
[0057] The switch element Q2 and the switch element Q3 are connected in parallel to one end of the current detection resistor R1 away from the transistor Q1, the switch element Q2 is connected in series with the switch element Q4 and then grounded, the common node of the switch element Q2 and the switch element Q4 is connected to the current input end of the reference element 2, the switch element Q3 is connected in series with the switch element Q5 and then grounded, and the common node of the switch element Q3 and the switch element Q5 is connected to the current input end of the detection element 1; the control ends of the switch elements Q2 to Q5 are connected to the constant current output control signal, the switch element Q3 is linked to the switch element Q4, and the switch element Q2 is linked to the switch element Q5.
[0058] It can be understood that the constant current circuit 4 can output a stable current to the detection element 1 and the reference element 2. The transistor Q1 can preferably use the model MJD44H11T4G, the operational amplifier U1 can preferably use the model INA333AIDGKR, and the operational amplifier U2 can preferably use the model OPA320AIDBVR. Figure 3As shown, in normal operation, the collector c of the transistor Q1 is connected to the current source to input a stable +2V positive voltage; a 200mV reference voltage is input to the non-inverting input terminal of the operational amplifier U2. When there is no input signal at the inverting input terminal of the operational amplifier U2, the output terminal of the operational amplifier U2 inputs a control signal sufficient to turn on the transistor Q1 to the base b of the transistor Q1 through the resistor R4. At this time, the collector c and emitter e of the transistor Q1 are turned on, and the emitter e of the transistor Q1 outputs current to the current-sense resistor R1.
[0059] Operational amplifier U1, operational amplifier U2 and resistor R4 together form the negative feedback regulation of the constant current circuit 4. The non-inverting input and the inverting input of the operational amplifier U1 detect the voltage difference across the current sensing resistor R1, and amplify the voltage difference across the current sensing resistor R1. Resistors R2 and R3 are connected to the ground as pull-down resistors, making the voltage levels across the current sensing resistor R1 (equivalent to the non-inverting input and the inverting input of the operational amplifier U1) more stable. When the current flowing through the current sensing resistor R1 is stable, the voltage difference across the current sensing resistor R1 is also a stable value. The output of the operational amplifier U1 inputs the amplified voltage difference to the inverting input of the operational amplifier U2. The operational amplifier U2 inputs the preset reference voltage (for example Figure 3 The voltage difference between the input voltage (200mV) and the inverting input terminal is calculated, such as difference and amplification, and then a control signal is output to adjust the amplification factor of the transistor Q1, thereby adjusting the current flowing through the current detection resistor R1 to keep the current value at a stable value. Resistor R4 is connected in series to the output terminal of the operational amplifier U2 to prevent the output from short-circuiting and failing. Capacitor C1 is a decoupling capacitor that filters out interference components in the output signal of the operational amplifier U2. Capacitor C2 filters out interference components in the control signal input to the base b of the transistor Q1.
[0060] The constant current circuit 4 outputs a constant current after passing through the current detection resistor R1, and then is divided into two outputs through the switch elements Q2 to Q5. The switch elements Q2 to Q5 can be MOSFET, such as N-channel MOSFET model DMN3051L-7. Specifically, Figure 3 As shown, the switch element Q3 and the switch element Q4 receive the control signal ERMeas_ExcitCurCtrA from the control module 6, the switch element Q2 and the switch element Q5 receive the control signal ERMeas_ExcitCurCtrB from the control module 6, and the common node IA of the switch element Q3 and the switch element Q4 is connected Figure 2 Point A of the detection element 1 shown is used to output a current signal to the detection element 1; the common node IF of the switch element Q2 and the switch element Q4 is connected Figure 2 Point F of reference element 2 is shown as outputting a current signal to reference element 2. The specific switch control logic of switch elements Q2 to Q5 is:
[0061] When ERMeas_ExcitCurCtrA is at a high level and ERMeas_ExcitCurCtrB is at a low level, switch elements Q3 and Q4 are turned on, switch elements Q2 and Q5 are turned off, and the current direction is from point IA to point A;
[0062] When ERMeas_ExcitCurCtrA is low and ERMeas_ExcitCurCtrB is high, the current direction is from point IF to point F.
[0063] When ERMeas_ExcitCurCtrA is at a low level and ERMeas_ExcitCurCtrB is at a low level, all the switch elements Q2 to Q5 are turned off and the constant current is not output.
[0064] In a possible embodiment, Figure 3 As shown, the constant current circuit 4 also includes resistors R5-R6;
[0065] The control end of the switch element Q3 and the control end of the switch element Q4 are connected in parallel to one end of the resistor R5, and the other end of the resistor R5 is grounded;
[0066] The control end of the switch element Q2 and the control end of the switch element Q5 are connected in parallel to one end of the resistor R6, and the other end of the resistor R6 is grounded.
[0067] It can be understood that the resistors R5 and R6 are used as pull-down resistors to limit the two control signal inputs (ERMeas_ExcitCurCtrA, ERMeas_ExcitCurCtrB) of the constant current circuit 4 to a fixed level to ensure the reliability of the control of the switch elements Q2 to Q5.
[0068] In a possible implementation manner, the constant current circuit 4 further includes a current sensing resistor R7, and the current sensing resistor R7 is connected in parallel with the current sensing resistor R1.
[0069] It is understandable that the current sensing resistor R7 is used as a spare current sensing resistor in the constant current circuit 4, which is connected in parallel with the current sensing resistor R1, but is not welded during normal use (for example Figure 3 The NPD (Do Not Populate) marked at the current sensing resistor R7 only reserves a welding position. When the current sensing resistor R1 fails, the current sensing resistor R7 can be connected by welding or jumper at the reserved position of the current sensing resistor R7 to ensure the operation of the constant current circuit 4.
[0070] In a possible embodiment, Figure 3As shown, the constant current circuit 4 is further provided with a debugging port ExcitCurrOut1, which is provided at a common node between the output end of the operational amplifier U2 and the resistor R4, and an external debugging signal can be input through a plug-in terminal or a jumper.
[0071] It is understandable that the debugging port ExcitCurrOut1 can be used by the staff to debug the constant current circuit 4 to eliminate circuit faults or find more optimal component parameters.
[0072] In a possible embodiment, Figure 4 As shown, the temperature measurement circuit 5 includes resistors R8-R10 and capacitors C3-C4;
[0073] The resistor R8 is connected in series with the temperature measuring element 3 and then grounded. The common node of the resistor R8 and the temperature measuring element 3 is connected in series with the resistor R10 and the capacitor C4 in sequence and then grounded. The common node of the resistor R10 and the capacitor C4 is connected to an input terminal PT1000_Meas_Channel10 of the ADC sampling module 7 as a temperature signal output terminal, and is used to sample a voltage signal that changes with temperature.
[0074] One end of the resistor R8 facing away from the temperature measuring element 3 is connected in series with the resistor R9 and the capacitor C3 and then grounded. The common node of the resistor R8 and the resistor R9 is connected to an output end of the control module 6 for injecting the original pulse width signal DAC_OUT. The common node of the resistor R9 and the capacitor C3 serves as the pulse width signal output end, and is connected to an input end DAC_OUT_Voltage_Meas_Channel9 of the ADC sampling module 7 for sampling the original pulse width signal DAC_OUT provided by the control module 6.
[0075] It is understandable that the temperature measuring element 3 can be a temperature-sensitive component such as a thermal resistor or a thermocouple. When the temperature changes, the resistance of the temperature measuring element 3 changes accordingly, so the voltage at both ends of the temperature measuring element 3 changes synchronously. By identifying the amplitude change of the voltage at both ends of the temperature measuring element 3, the temperature change of the measured environment can be detected.
[0076] For example, the temperature measuring element 3 may be a thermal resistor PT1000. Figure 2 and Figure 4 The temperature measuring circuit 5 is connected to the Figure 2 The temperature measuring element 3 (thermal resistor PT1000), detection element 1, reference element 2 and Figure 1The ADC sampling module 7 shown is connected. More specifically, one end PT1000_A of the thermal resistor PT1000 is grounded, and the other end PT1000_B of the thermal resistor PT1000 is connected to the resistor R8 through the terminal J1. The resistor R8 is used as a detection resistor. The resistor R8 is connected in series with the thermal resistor PT1000 and then grounded. The control module 6 injects the original pulse width signal DAC_OUT into the end of the resistor R8 that is away from the thermal resistor PT1000. Since the other end of the resistor R8 is connected in series with the thermal resistor PT1000, when the thermal resistor PT1000 detects a temperature change, its resistance value changes, causing the voltage amplitude at both ends of itself to change. Since the resistor R8 is connected in series with the thermal resistor PT1000 and the resistance value of the resistor R8 is fixed, the voltage amplitude change at both ends of the detection resistor R8 can obtain the temperature signal of the measured environment, that is, the temperature change. The resistors R9 and 10 are used as protection resistors to protect the ADC sampling module 7 connected to the temperature measurement circuit 5; the capacitors C3 and C4 are used as filter capacitors to filter out noise in the voltage signal detected across the resistor R8.
[0077] On the basis of the above embodiment, further, the temperature measurement circuit 5 also includes operational amplifiers U3A-U3B, and the operational amplifiers U3A-U3B can use two independent operational amplifiers or an integrated operational amplifier module, such as model OPA2320AIDR, which has two independent channels;
[0078] The operational amplifier U3A is arranged between the resistor R8 and the resistor R9, the in-phase input terminal of the operational amplifier U3A is connected to an output terminal of the control module 6 and is used to input the original pulse width signal DAC_OUT, the output terminal of the operational amplifier U3A is connected to the common node of the resistor R8 and the resistor R9, and the output terminal of the operational amplifier U3A is connected to the inverting input terminal of the operational amplifier U3A;
[0079] The operational amplifier U3B is arranged between the resistor R8 and the resistor R10, the in-phase input terminal of the operational amplifier U3B is connected to the common node of the resistor R8 and the temperature measuring element 3, the inverting input terminal of the operational amplifier U3B is connected to the output terminal of the operational amplifier U3B, and the output terminal of the operational amplifier U3B is connected to the resistor R10.
[0080] It can be understood that the operational amplifier U3A and the operational amplifier U3B function as voltage followers to improve the anti-interference capability of their output voltage.
[0081] The process of calculating the corrosion degree using the data collected by the corrosion monitoring probe is now illustrated through a specific implementation scenario.
[0082] The instrument of this embodiment adopts Figure 2 The six-wire method shown in the figure can be used to measure the voltage difference between the detection element 1 and the reference element 2 in the probe. Figure 2As shown, in the actual system, the resistance detection element 1 will be affected by the environment and corroded, resulting in a change in resistance value. Because the reference element 2 is covered by a very thin layer of thermal conductive adhesive, but the temperature, air pressure and other environments that affect the resistance change of the detection element 1 and the reference element 2 are basically the same, it can be considered that the reference element 2 is not corroded in this environment. Therefore, it can be considered that the main factor causing the difference in resistance between the detection element 1 and the reference element 2 is the decrease in the cross-sectional area of the detection element 1 caused by corrosion. Figure 2 As shown, the A and F terminals are applied with excitation constant current, and the potential values of the resistance detection element 1 at the B and C terminals and the potential values of the resistance reference element 2 at the C and E terminals are measured respectively. According to the current and potential values at the B and C terminals and the C and E terminals, the resistance values of the resistance detection element 1 and the resistance reference element 2 are calculated by Ohm's law. The C and D terminals are connected with the temperature sensor PT1000, which is used to measure the surface temperature of the detection element 1 and perform temperature compensation calculation.
[0083] This implementation scenario uses the following calculation method to perform temperature compensation for the thermoelectric potential and the contact potential. By calculating the change curve of the resistance ratio λ of the detection element 1 and the reference element 2 in the probe with temperature, the temperature compensation coefficient σ is calculated, such as Figure 5 The figure shows the change of resistance ratio λ with temperature. Figure 5 It can be seen that the resistance ratio λ changes with the change of temperature, and the temperature compensation coefficient σ can be calculated based on the relationship between the resistance ratio λ and the temperature change T.
[0084] Assuming the relative rate of change of the resistance ratio λ Temperature coefficient The resistance ratio λ(T℃) at any temperature is converted to the resistance ratio λ(25℃) at normal temperature (e.g. 25℃). The calculation formula is as follows:
[0085] λ(25℃)=λ(T℃)+σ(25-T)℃ (1),
[0086] Wherein, T is the current temperature value detected, λ(T℃) is the resistance ratio under the temperature value T, and σ is the temperature compensation coefficient;
[0087] The resistance ratios at different temperatures are converted into resistance ratios at a constant 25°C, thereby avoiding the negative impact of temperature on the accuracy of the resistance ratio. The resistance ratio λ is calculated using formula (2), and then the corrosion amount and corrosion rate are calculated using formulas (3) and (4).
[0088] For the flat-plate detection element 1 and the reference element 2,
[0089] (2)
[0090] Wherein, Lx, wx, dx are respectively the length, width and thickness of the exposed detection element 1, and Lf, wf, df are respectively the length, width and thickness of the encapsulated reference element 2;
[0091] Considering that the width of the flat-plate detection element 1 is consistent with the width of the reference element 2, that is, wx = wf, and will not change during the entire measurement process, and the length of the flat-plate detection element 1 and the length of the reference element 2 will not change over time, that is, Lx = Lf, we have:
[0092] in,
[0093] Then the remaining thickness of the detection element 1 at time t is:
[0094] Wherein, λ(t) is the resistance ratio of the detection element 1 to the reference element 2 at time t.
[0095] In summary, the corrosion monitoring result of the detection element 1 in the corrosion monitoring probe is obtained. Figure 6 This is a comparison diagram of the resistance ratio before and after temperature compensation in this embodiment. Figure 6 It can be seen that under normal circumstances, the resistance ratio will change with the temperature trend, but after temperature compensation, the resistance ratio will not change with the temperature change, thereby reducing the impact of temperature changes on measurement accuracy.
[0096] The present invention provides a resistance probe corrosion monitoring probe with temperature compensation function. During the detection process, the detection element 1 and the reference element 2 are arranged adjacent to each other and placed in the same measured environment. The detection element 1 is exposed in the measured environment, and the outer surface of the reference element 2 is covered with an extremely thin encapsulation layer 2a. It can be considered that the reference element 2 is not corroded in this measured environment, but the temperature, air pressure and other environments that affect the resistance change of the detection element 1 and the reference element 2 are basically the same. Therefore, it can be considered that the main factor causing the difference in resistance between the two is the volume change / cross-sectional area change of the detection element 1 caused by corrosion. Since the current flowing through the two is the same constant current, by measuring the voltage difference between the detection element 1 and the reference element 2 respectively, according to Ohm's law, the resistance ratio of the two can be calculated, and the resistance ratio can be understood as the degree of corrosion of the detection element 1. Since the detection element 1 and the reference element 2 are placed in the same external environment, the degree of their being affected by temperature is the same, and the temperature value detected by the temperature measuring element 3 can represent the temperature value of the detection element 1 and the reference element 2. By compensating the resistance value of the detection element 1 and the resistance value of the reference element 2 by the detected ambient temperature value, a more accurate resistance value change can be obtained. By comparing the resistance value of the temperature compensated detection element 1 with the resistance value of the reference element 2, a more accurate corrosion detection result of the corrosion detection probe in the measured environment can be obtained. The utility model provides a resistance probe corrosion monitoring probe with temperature compensation function, which is less affected by temperature changes, has good detection stability and high measurement accuracy.
[0097] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0098] Although the preferred embodiments of the utility model have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the utility model.
[0099] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A resistance probe corrosion monitoring probe with temperature compensation function, characterized in that: The invention comprises a detection element (1), a reference element (2), a temperature measuring element (3), a constant current circuit (4) and a temperature measuring circuit (5), wherein the detection element (1), the reference element (2) and the temperature measuring element (3) are arranged adjacent to each other and one end of the detection element (1), the reference element (2) and the temperature measuring element (3) are connected to the ground in parallel, and a packaging layer (2a) is provided on the reference element (2); The other end of the detection element (1) and the other end of the reference element (2) are connected in parallel to the output end of the constant current circuit (4), and the other end of the detection element (1) and the other end of the reference element (2) are also provided with voltage detection ends respectively; The other end of the temperature measuring element (3) is connected to the temperature measuring circuit (5) for detecting a temperature signal.
2. The resistance probe corrosion monitoring probe with temperature compensation function according to claim 1, characterized in that: The detection element (1) and the reference element (2) are made of the same material, and before detection, the detection element (1) and the reference element (2) have the same geometrical dimensions.
3. The resistance probe corrosion monitoring probe with temperature compensation function according to claim 1, characterized in that: The packaging layer (2a) of the reference element (2) is thermally conductive glue.
4. The resistance probe corrosion monitoring probe with temperature compensation function according to claim 1, characterized in that: It also includes a control module (6) and an ADC sampling module (7), The ADC sampling module (7) is connected to the temperature measurement circuit (5) and the voltage detection terminal respectively, and is used to collect the temperature signal detected by the temperature measurement circuit (5), the voltage signal of the detection element (1) and the voltage signal of the reference element (2); The control module (6) is connected to the constant current circuit (4) and is used to control the constant current circuit (4) to output a constant current to the detection element (1) and the reference element (2) respectively; The control module is also connected to the ADC sampling module 7, and is used to calculate the resistance ratio of the detection element (1) and the reference element (2) based on the current value of the detection element (1), the voltage value of the detection element (1), the current value of the reference element (2), and the voltage value of the reference element (2), and is also used to perform temperature compensation on the resistance ratio based on the temperature signal.
5. The resistance probe corrosion monitoring probe with temperature compensation function according to claim 1, characterized in that: The constant current circuit (4) comprises a transistor Q1, a current detection resistor R1, operational amplifiers U1-U2, resistors R2-R4, capacitors C1-C2 and switch elements Q2-Q5, the collector of the transistor Q1 is connected to a current source, the emitter of the transistor Q1 is connected in series with the current detection resistor R1, one end of the current detection resistor R1 is connected in series with a resistor R2 and then grounded, and the other end of the current detection resistor R1 is connected in series with a resistor R3 and then grounded; The two ends of the current detection resistor R1 are connected to the non-inverting input and the inverting input of the operational amplifier U1 in a one-to-one correspondence, the output of the operational amplifier U1 is connected to the inverting input of the operational amplifier U2, the non-inverting input of the operational amplifier U2 is connected to a preset reference voltage, the output of the operational amplifier U2 is connected in series with the capacitor C1 and then connected to the inverting input of the operational amplifier U2, the output of the operational amplifier U2 is connected in series with the resistor R4 and then connected to the base of the transistor Q1, and the base of the transistor Q1 is also connected in series with the capacitor C2 and then grounded; The switch element Q2 and the switch element Q3 are connected in parallel to the end of the current detection resistor R1 away from the transistor Q1, the switch element Q2 is connected in series with the switch element Q4 and then grounded, the common node of the switch element Q2 and the switch element Q4 is connected to the current input end of the reference element (2), the switch element Q3 is connected in series with the switch element Q5 and then grounded, and the common node of the switch element Q3 and the switch element Q5 is connected to the current input end of the detection element (1); the control ends of the switch elements Q2 to Q5 are connected to the constant current output control signal, the switch element Q3 is linked with the switch element Q4, and the switch element Q2 is linked with the switch element Q5.
6. The resistance probe corrosion monitoring probe with temperature compensation function according to claim 5, characterized in that: The constant current circuit (4) further includes resistors R5-R6, The control end of the switch element Q3 and the control end of the switch element Q4 are connected in parallel to one end of the resistor R5, and the other end of the resistor R5 is grounded; The control end of the switch element Q2 and the control end of the switch element Q5 are connected in parallel to one end of the resistor R6, and the other end of the resistor R6 is grounded.
7. A resistance probe corrosion monitoring probe with temperature compensation function according to claim 5 or 6, characterized in that: The constant current circuit (4) further comprises a current detection resistor R7, and the current detection resistor R7 is arranged in parallel with the current detection resistor R1.
8. A resistance probe corrosion monitoring probe with temperature compensation function according to claim 5 or 6, characterized in that: The constant current circuit (4) further comprises a debugging port, which is arranged at a common node between the output end of the operational amplifier U2 and the resistor R4.
9. A resistance probe corrosion monitoring probe with temperature compensation function according to any one of claims 1 to 6, characterized in that: The temperature measurement circuit (5) comprises resistors R8-R10 and capacitors C3-C4; The resistor R8 is connected in series with the temperature measuring element (3) and then grounded, a common node between the resistor R8 and the temperature measuring element (3) is connected in series with the resistor R10 and the capacitor C4 in sequence and then grounded, and the common node between the resistor R10 and the capacitor C4 serves as a temperature signal output terminal; The end of the resistor R8 that is away from the temperature measuring element (3) is connected in series with the resistor R9 and the capacitor C3 and then grounded. The original pulse width signal is injected into the common node of the resistor R8 and the resistor R9, and the common node of the resistor R9 and the capacitor C3 serves as the pulse width signal output end.
10. The resistance probe corrosion monitoring probe with temperature compensation function according to claim 9, characterized in that: The temperature measurement circuit (5) further includes operational amplifiers U3A-U3B, The operational amplifier U3A is arranged between the resistor R8 and the resistor R9, the original pulse width signal is input to the in-phase input terminal of the operational amplifier U3A, the output terminal of the operational amplifier U3A is connected to the common node of the resistor R8 and the resistor R9, and the output terminal of the operational amplifier U3A is connected to the inverting input terminal of the operational amplifier U3A; The operational amplifier U3B is arranged between the resistor R8 and the resistor R10, the in-phase input terminal of the operational amplifier U3B is connected to the common node of the resistor R8 and the temperature measuring element (3), the inverting input terminal of the operational amplifier U3B is connected to the output terminal of the operational amplifier U3B, and the output terminal of the operational amplifier U3B is connected to the resistor R10.
