Corrosion control system for intelligent filling of corrosion inhibitor

By adopting a monitoring system for comprehensively judging corrosion conditions in the corrosion inhibitor intelligent filling corrosion control system, the problem of inaccurate judgment of pipeline corrosion conditions and controlling the corrosion inhibitor release rate in the prior art is solved, and accurate monitoring of pipeline corrosion conditions and precise control of corrosion inhibitor filling rate is achieved.

CN119806220APending Publication Date: 2025-04-11SOUTHWEST PETROLEUM UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411797105.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The prior art cannot accurately judge the corrosion conditions of pipelines, and thus cannot effectively control the release rate of corrosion inhibitors.

Method used

The corrosion inhibitor intelligent filling corrosion control system is adopted, including the corrosion inhibitor tank, motor, metering pump, control system, control box and monitoring system. The monitoring system conducts a comprehensive evaluation of the corrosion area of ​​the test board and the turbidity of the liquid to control the corrosion inhibitor filling rate.

Benefits of technology

Accurate monitoring of pipeline corrosion conditions and precise control of corrosion inhibitor filling rate are achieved, improving the accuracy and effectiveness of corrosion control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806220A_ABST
    Figure CN119806220A_ABST
Patent Text Reader

Abstract

According to the corrosion inhibitor intelligent filling corrosion control system, the corrosion inhibitor intelligent filling corrosion control system comprises a corrosion inhibitor tank body, a motor, a metering pump, a control system, a control box and a monitoring system, and the corrosion condition of a transmission pipeline is comprehensively judged by adopting two monitoring modes; on the other hand, the turbidity of liquid near the test board is tested through the light source emitter and the light intensity sensor, the corrosion inhibitor filling rate is controlled by integrating the corrosion area and the light intensity signal attenuation degree, an image enhancement algorithm and a signal processing circuit are added, the monitoring precision can be improved, and then the monitoring accuracy is improved through a test value. And the filling rate of the corrosion inhibitor can be obtained more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of testing, and in particular to a corrosion control system for intelligent filling of corrosion inhibitors. Background Art

[0002] The actual effect of the corrosion inhibitor is closely related to the on-site working conditions, such as water chemistry, flow rate, temperature, pressure and the surface condition of the inner wall of the pipeline. There is a considerable gap between the indoor evaluation results in production and the actual performance on site. Only through on-site measurements can the authenticity of the corrosion inhibitor be confirmed.

[0003] In the prior art, the main corrosion monitoring methods include: resistance probe, linear polarization, etc. Among them, the resistance probe is based on the principle that corrosion reduces the cross-sectional area of ​​the sensitive metal element, resulting in an increase in its resistance to achieve continuous monitoring of the amount of corrosion, mainly reflecting the overall corrosion information. Since the measurement process is based on Ohm's law, it can adapt to any corrosive environment such as oil, water, and gas. However, due to the influence of thermoelectric potential and contact potential, its measurement results are easily affected by changes in ambient temperature. Linear polarization is an electrochemical method that calculates the polarization resistance by applying a small linear change or a constant polarization potential to the working electrode, and finally calculates the corrosion rate of the electrode material according to the equation, and cannot provide information on local corrosion. It can be seen that the prior art cannot accurately judge the corrosion of the pipeline, and thus cannot effectively control the release rate of the corrosion inhibitor. Summary of the invention

[0004] The intelligent corrosion inhibitor filling corrosion control system provided by the present invention includes a corrosion inhibitor tank, a motor, a metering pump, a control system, a control box, and a monitoring system; wherein the corrosion inhibitor tank releases the corrosion inhibitor into the oil pipeline, the metering pump is used to measure the dosage of the corrosion inhibitor, the motor controls the release dosage of the corrosion inhibitor tank through the metering pump, the operation of the motor is controlled by the controller, the monitoring system is used to monitor the corrosion conditions in the oil pipeline, the monitoring system transmits the corrosion conditions in the oil pipeline to the controller through the control box, the controller controls the motor according to the received corrosion conditions in the oil pipeline, and then controls the metering pump through the motor to realize the slow-release tank to fill the corrosion inhibitor into the oil pipeline according to the preset dosage.

[0005] Preferably, the monitoring system includes a transmission pipeline and a monitoring module, the monitoring module is used to test the corrosion of the pipeline by the liquid in the pipeline, and the monitoring module transmits the corrosion condition to the controller, wherein the monitoring module includes a telescopic rod, a test board, a light source emitter, a light beam, and a light intensity sensor, the light source emitter and the light intensity sensor are respectively arranged on both sides of the transmission pipeline, the material of the test board is the same as that of the transmission pipeline, and the test board is arranged in the transmission pipeline through the telescopic rod.

[0006] Preferably, in the corrosion area test of the test plate, the test plate 4 is divided into 15 areas, namely a, b, c, d, e, f, g, h, i, j, k, l, m, n, o areas, wherein a, b, c, d, f, g, i, j, l, m, n, o areas are the first areas, e and k areas are the second areas, and h is the third area. The images of the 15 areas of the test plate are collected by an image acquisition device, and the corrosion area of ​​the test plate is comprehensively evaluated according to the corrosion areas of each area of ​​the collected images.

[0007] Preferably, the corrosion area of ​​the first area obtained at a certain sampling moment of the image acquisition device is S1, the corrosion area of ​​the second area is S2, and the corrosion area of ​​the third area is S3, then the corrosion area of ​​the test plate 4 is S=(A1×S1)+(A2×S2)+(A3×S3), wherein A1, A2, and A3 are weights, A1<A2<A3, and A1+A2+A3=1.

[0008] Preferably, the test of the turbidity of the liquid near the test plate is calculated based on the intensity of the light beam monitored by the light intensity sensor. If the intensity of the light beam emitted by the light source emitter is G, and the intensity of the light beam collected by the light intensity sensor at a certain sampling moment is G1, then the light intensity signal attenuation △G = (G-G1) / G.

[0009] Preferably, the monitoring module transmits the corrosion area S of the test plate and the light intensity signal attenuation △G at each sampling moment to the controller, and the controller calculates the corrosion inhibitor filling rate V according to the received corrosion area S of the test plate and the light intensity signal attenuation △G, then:

[0010] V=[(S / S')+△G+1]×V'

[0011] Wherein, S' is the total area of ​​the test board (4), and V' is the preset rated speed.

[0012] Preferably, the image acquisition device further includes an image processing device, which performs image processing on the acquired image. The grayscale value of the acquired image ranges from [1,255]. The maximum grayscale value H of the image before the image contrast transformation is max and the minimum value H min , for any pixel j in the image, then:

[0013] H(j) new =255×[(H(j) old -H min ) / (H max -H min )+(H max -H(j) old ) / (H max -Hmin )]

[0014] Among them, H(j) new It represents the gray value of the pixel after contrast transformation. After image enhancement, the enhanced image is subjected to edge extraction operation, and the area within the extracted edge is the erosion area of ​​each region.

[0015] Preferably, the light intensity sensor further includes a first signal processing circuit and a second signal processing circuit, and the collected light intensity signal is transmitted to the controller after being processed by the first signal processing circuit and the second signal processing circuit in sequence.

[0016] Preferably, the collected light intensity signal is connected to one end of a 30kΩ resistor, the other end of the 30kΩ resistor is connected to the inverting end of an operational amplifier μA741, the other end of the 30kΩ resistor is also connected to one end of a sliding rheostat W1 (0-50kΩ), the output end of the operational amplifier μA741 is connected to one end of a 2.2kΩ resistor, the other end of the sliding rheostat W1 is connected to the other end of the 2.2kΩ resistor, the collected light intensity signal is also connected to one end of another 30kΩ resistor, the other end of the other 30kΩ resistor is connected to the operational amplifier μA74 1, the other end of another 30kΩ resistor is connected to the drain of a field effect tube, the negative power supply terminal of the operational amplifier μA741 is connected to the -15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier μA741, one end of a 33μF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier μA741, the positive power supply terminal of the operational amplifier μA741 is connected to the +15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier μA741 , one end of a 33μF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier μA741, a reference signal is connected to the inverting input terminal of the operational amplifier LM311, the non-inverting terminal of the operational amplifier LM311 is grounded, the negative power supply terminal of the operational amplifier LM311 is connected to the -15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier LM311, one end of a 33μF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier LM311, the positive power supply terminal of the operational amplifier LM311 Connected to a +15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier LM311, one end of a 33μF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier LM311, the output end of the operational amplifier LM311 is connected to one end of an 8.2kΩ resistor, and the other end of the 8.2kΩ resistor is grounded, the output end of the operational amplifier LM311 is connected to the gate of the field effect tube, and the source of the field effect tube is grounded, and the operational amplifier μA741 is connected to the second signal processing circuit through a 2.2kΩ resistor.

[0017] Preferably, the input end of the first signal processing circuit is connected to one end of the resistor R1, the other end of the resistor R1 is connected to one end of the capacitor C1, the other end of the capacitor C1 is grounded, one end of the capacitor C1 is connected to the non-inverting input end of the first operational amplifier, the inverting input end of the first operational amplifier is connected to the output end of the first operational amplifier, the output end of the first operational amplifier is connected to the input end of the resistor R2, the other end of the resistor R2 is connected to one end of the resistor R3, one end of the resistor R3 is connected to one end of the capacitor C3, the other end of the capacitor C3 is grounded, the other end of the resistor R3 is connected to the non-inverting input end of the second operational amplifier, one end of the capacitor C2 is connected to the other end of the resistor R2, the other end of the capacitor C2 is connected to the output end of the second operational amplifier, one end of the resistor R6 is grounded, the other end of the resistor R6 is connected to one end of the resistor R7, and the other end of the resistor R6 is connected to the second operational amplifier. The inverting input terminal of the first operational amplifier is connected to the inverting input terminal of the second operational amplifier, the other end of the resistor R7 is connected to the other end of the capacitor C2, the other end of the resistor R7 is also connected to the output terminal of the second operational amplifier, the output terminal of the second operational amplifier is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the non-inverting input terminal of the third operational amplifier, one end of the capacitor C5 is grounded, the other end of the capacitor C5 is connected to the non-inverting input terminal of the third operational amplifier, one end of the capacitor C4 is connected to one end of the resistor R5, the other end of the capacitor C4 is connected to the output terminal of the third operational amplifier, one end of the resistor R8 is grounded, the other end of the resistor R8 is connected to one end of the resistor R9, the other end of the resistor R9 is connected to the output terminal of the third operational amplifier, the other end of the resistor R9 is also connected to the other end of the capacitor C4, and the third operational amplifier transmits the output signal to the controller through the transmission device.

[0018] In the present invention, the monitoring module adopts two monitoring methods to comprehensively judge the corrosion condition of the transmission pipeline. On the one hand, the corrosion area of ​​the test plate is tested, and on the other hand, the turbidity of the liquid near the test plate is tested by the light source emitter and the light intensity sensor. The corrosion area and the attenuation of the light intensity signal are combined to control the corrosion inhibitor filling rate, and the image enhancement algorithm and the signal processing circuit are added to improve the monitoring accuracy, and then the corrosion inhibitor filling rate can be obtained more accurately through the test value. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a structural diagram of the corrosion control system for intelligent injection of corrosion inhibitors of the present invention;

[0020] Figure 2 It is a structural diagram of the monitoring system of the present invention;

[0021] Figure 3 This is an example diagram of the test board area division of the present invention;

[0022] Figure 4is a first signal processing circuit of the present invention;

[0023] Figure 5 is a second signal processing circuit of the present invention;

[0024] Figure 6 is the original image;

[0025] Figure 7 is the image after image processing;

[0026] Figure 8 It is the monitoring display interface of the present invention.

[0027] Figure numerals: 1 - transmission pipeline, 2 - monitoring module, 3 - telescopic rod, 4 - test board, 5 - light source transmitter, 6 - light beam, 7 - light intensity sensor. DETAILED DESCRIPTION

[0028] The corrosion control system for intelligent injection of corrosion inhibitors provided by the present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0029] First, the same marks involved in the embodiments and drawings represent the same or similar components or structural features. Secondly, when describing that a component is disposed on another component, it means that one component is directly disposed on another component, or one component is indirectly disposed on another component, that is, one or more components are disposed between the two components. When describing that a component is directly disposed on another component, it means that there are no other components between the two components.

[0030] like Figure 1 As shown, the corrosion control system for intelligent corrosion inhibitor filling of the present invention includes a corrosion inhibitor tank, a motor, a metering pump, a control system, a control box, and a monitoring system; wherein, the corrosion inhibitor tank releases the corrosion inhibitor into the oil pipeline, the metering pump is used to measure the dosage of the corrosion inhibitor, the motor controls the dosage released by the corrosion inhibitor tank through the metering pump, the operation of the motor is controlled by the controller, the monitoring system is used to monitor the corrosion condition in the oil pipeline, the monitoring system transmits the corrosion condition in the oil pipeline to the controller through the control box, the controller controls the motor according to the received corrosion condition in the oil pipeline, and then controls the metering pump through the motor to realize the slow-release tank to fill the corrosion inhibitor into the oil pipeline according to the preset dosage.

[0031] In the specific implementation, the power supply part of the corrosion control system for intelligent filling of corrosion inhibitors uses a 30W monocrystalline silicon solar panel, and the measurement data is uploaded to the server through the GPRS transceiver on the top, so that users can view the real-time and historical corrosion conditions, as well as the statistics of the daily and monthly filling amount of corrosion inhibitors.

[0032] like Figure 2As shown, the core of the corrosion control system for intelligent corrosion inhibitor filling of the present invention lies in the monitoring system which is different from the prior art. The monitoring system includes a transmission pipeline 1 and a monitoring module 2. The monitoring module 2 is used to test the corrosion of the pipeline by the liquid in the pipeline. The monitoring module 2 transmits the corrosion condition to the controller, wherein the monitoring module 2 includes a telescopic rod 3, a test plate 4, a light source emitter 5, a light beam 6, and a light intensity sensor 7. The light source emitter 5 and the light intensity sensor 7 are respectively arranged on both sides of the transmission pipeline 1. The material of the test plate 4 is the same as that of the transmission pipeline 1. The test plate 4 is arranged in the transmission pipeline 1 through the telescopic rod 3.

[0033] In a specific implementation, the light source emitter 5 and the light intensity sensor 7 are arranged near the test board 4 , more specifically, the horizontal positions are no more than 1 m apart.

[0034] The monitoring module 2 adopts two monitoring methods to comprehensively judge the corrosion condition of the transmission pipeline 1. Since the material of the test plate 4 is the same as that of the transmission pipeline 1, the corrosion condition of the test plate 4 can represent the corrosion condition of the transmission pipeline 1. Therefore, the monitoring module 2 tests the corrosion area of ​​the test plate 4 on the one hand, and tests the turbidity of the liquid near the test plate 4 through the light source emitter 5 and the light intensity sensor 7 on the other hand. The light source emitter 5 mainly emits a light beam 6 of fixed intensity, and the light intensity sensor 7 tests the intensity of the received light beam 6. The corrosion area and the attenuation of the light intensity signal are combined to control the corrosion inhibitor filling rate.

[0035] Specifically, in the corrosion area test of the test plate 4, as Figure 3 As shown, the test plate 4 is divided into 15 areas, namely a, b, c, d, e, f, g, h, i, j, k, l, m, n, and o areas, wherein a, b, c, d, f, g, i, j, l, m, n, and o areas are the first areas (peripheral areas), e and k areas are the second areas (key areas), and h is the third area (core area). The images of the 15 areas of the test plate are collected by an image acquisition device, and the corrosion area of ​​the test plate 4 is comprehensively evaluated according to the corrosion area of ​​each area of ​​the collected image.

[0036] Specifically, the corrosion area of ​​the first area obtained by the image acquisition device at a certain sampling moment is S1, the corrosion area of ​​the second area is S2, and the corrosion area of ​​the third area is S3. Then the corrosion area of ​​the test plate 4 is S=(A1×S1)+(A2×S2)+(A3×S3), wherein A1, A2, and A3 are weights, A1<A2<A3, and A1+A2+A3=1.

[0037] One of the simulation values ​​is: A1 = 0.2, A2 = 0.3, A3 = 0.5. A1, A2, A3 can be set by the staff according to the specific situation.

[0038] Specifically, the test of the turbidity of the liquid near the test plate 4 is calculated based on the intensity of the light beam 6 monitored by the light intensity sensor 7. If the intensity of the light beam 6 emitted by the light source emitter 5 is G, and the intensity of the light beam 6 collected by the light intensity sensor 7 at a certain sampling moment is G1, then the light intensity signal attenuation △G = (G-G1) / G.

[0039] In the specific monitoring process, the sampling time of the image acquisition device and the light intensity sensor 7 is set to the same time, that is, the two are sampled synchronously.

[0040] The monitoring module 2 transmits the corrosion area S of the test plate 4 and the light intensity signal attenuation △G at each sampling moment to the controller. The controller calculates the corrosion inhibitor filling rate V according to the received corrosion area S of the test plate 4 and the light intensity signal attenuation △G. Then,

[0041] V=[(S / S')+△G+1]×V'

[0042] Wherein, S' is the total area of ​​the test board 4, and V' is the preset rated speed.

[0043] Specifically, the image acquisition device also includes an image processing device, which performs image processing on the acquired image to make the corrosion area clearer, thereby being able to more accurately obtain the corrosion area of ​​each region.

[0044] The image of the test board 4 in the transmission pipeline 1 has the characteristics of low contrast and high noise. To improve the clarity of the image, the image needs to be enhanced. In the present invention, the pixels in the image are transformed through the distribution characteristics of each area of ​​the image and the attenuation characteristics of light propagation in the pipeline to achieve the purpose of image enhancement.

[0045] The collected images (such as Figure 6 The grayscale value range of the image is [1,255]. For the image in the transmission pipeline 1, its grayscale value is only distributed in a certain sub-interval. The contrast transformation process transforms the grayscale value distributed in the sub-interval to the [1,255] interval, so that the image is enhanced. The maximum grayscale value H in the image before the image contrast transformation max and the minimum value H min , for any pixel j in the image, it can be defined as:

[0046] H(j) new =255×[(H(j) old -H min ) / (H max -H min )+(H max -H(j) old ) / (H max -Hmin )]

[0047] Among them, H(j) new Represents the gray value of the pixel after contrast transformation. Figure 7 As shown, by comparing the grayscale before and after processing, it can be seen that the grayscale value span of the processed image becomes larger. It can be seen that after the contrast transformation, the image becomes clearer.

[0048] It can be seen that the above-mentioned image grayscale transformation can improve the color cast problem of the image, and the contrast of the image is significantly improved, thereby making the details of the image clearer. Therefore, it is suitable for processing the image collected in the transmission pipeline 1.

[0049] After image enhancement, edge extraction is performed on the enhanced image, and the area within the extracted edge is the corrosion area of ​​each region.

[0050] In order to improve the detection accuracy of light intensity attenuation, the light intensity sensor 7 also includes a first signal processing circuit and a second signal processing circuit. The collected light intensity signal is sequentially processed by the first signal processing circuit and the second signal processing circuit and then transmitted to the controller.

[0051] like Figure 4As shown, the collected light intensity signal is connected to one end of a 30kΩ resistor, the other end of the 30kΩ resistor is connected to the inverting end of an operational amplifier μA741, the other end of the 30kΩ resistor is also connected to one end of a sliding rheostat W1 (0-50kΩ), the output end of the operational amplifier μA741 is connected to one end of a 2.2kΩ resistor, the other end of the sliding rheostat W1 is connected to the other end of the 2.2kΩ resistor, the collected light intensity signal is also connected to one end of another 30kΩ resistor, the other end of the other 30kΩ resistor is connected to the output end of the operational amplifier μA741 The in-phase terminal is connected, the other end of another 30kΩ resistor is connected to the drain of a field effect tube, the negative power supply terminal of the operational amplifier μA741 is connected to the -15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier μA741, one end of a 33μF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier μA741, the positive power supply terminal of the operational amplifier μA741 is connected to the +15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier μA741, One end of a 33μF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier μA741. A reference signal is connected to the inverting input terminal of the operational amplifier LM311. The non-inverting terminal of the operational amplifier LM311 is grounded. The negative power supply terminal of the operational amplifier LM311 is connected to the -15V power supply. One end of a 6800pF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier LM311. One end of a 33μF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier LM311. The positive power supply terminal of the operational amplifier LM311 Connected to a +15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier LM311, one end of a 33μF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier LM311, the output end of the operational amplifier LM311 is connected to one end of an 8.2kΩ resistor, and the other end of the 8.2kΩ resistor is grounded, the output end of the operational amplifier LM311 is connected to the gate of the field effect tube, and the source of the field effect tube is grounded, and the operational amplifier μA741 is connected to the second signal processing circuit through a 2.2kΩ resistor.

[0052] The main task of the first signal processing circuit is to realize signal rectification. It consists of two-stage operational amplifiers (LM311 and μA741), a field effect transistor (2SK170) and several peripheral circuits such as resistors and capacitors.

[0053] The second-stage operational amplifier circuit realizes the rectification of the measured signal by controlling the on-off of the control point. The on-off of the control point is the key. The field effect transistor 2SK170 is selected for control. The rated current of 2SK170 is 10mA and the maximum drain voltage is 40V, which can adapt to high current and high voltage transmission.

[0054] An input end of the first signal processing circuit is connected to one end of the resistor R1, the other end of the resistor R1 is connected to one end of the capacitor C1, the other end of the capacitor C1 is grounded, one end of the capacitor C1 is connected to the non-inverting input end of the first operational amplifier, the inverting input end of the first operational amplifier is connected to the output end of the first operational amplifier, the output end of the first operational amplifier is connected to the input end of the resistor R2, the other end of the resistor R2 is connected to one end of the resistor R3, one end of the resistor R3 is connected to one end of the capacitor C3, the other end of the capacitor C3 is grounded, the other end of the resistor R3 is connected to the non-inverting input end of the second operational amplifier, one end of the capacitor C2 is connected to the other end of the resistor R2, the other end of the capacitor C2 is connected to the output end of the second operational amplifier, one end of the resistor R6 is grounded, the other end of the resistor R6 is connected to one end of the resistor R7, the other end of the resistor R6 is connected to the inverting input end of the second operational amplifier. The output terminal of the second operational amplifier is connected to the input terminal, the other end of the resistor R7 is connected to the other end of the capacitor C2, the other end of the resistor R7 is also connected to the output terminal of the second operational amplifier, the output terminal of the second operational amplifier is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the non-inverting input terminal of the third operational amplifier, one end of the capacitor C5 is grounded, the other end of the capacitor C5 is connected to the non-inverting input terminal of the third operational amplifier, one end of the capacitor C4 is connected to one end of the resistor R5, the other end of the capacitor C4 is connected to the output terminal of the third operational amplifier, one end of the resistor R8 is grounded, the other end of the resistor R8 is connected to one end of the resistor R9, the other end of the resistor R9 is connected to the output terminal of the third operational amplifier, the other end of the resistor R9 is also connected to the other end of the capacitor C4, and the third operational amplifier transmits the output signal to the controller through the transmission device.

[0055] The second signal processing circuit is a filter circuit, wherein:

[0056] C1=C2=C3=C4=C5=0.2μF;

[0057] R1=R2=R3=R4=R5=20kΩ;

[0058] R6=R8=5.1kΩ, R7=2kΩ, R9=7kΩ.

[0059] Here, the core contents of the embodiments of the present invention and the comparison with the prior art have been explained. The control of the corrosion inhibitor filling rate depends on the effective monitoring of the degree of pipeline corrosion. In the present invention, the monitoring module 2 adopts two monitoring methods to comprehensively judge the corrosion condition of the transmission pipeline 1. On the one hand, the corrosion area of ​​the test plate 4 is tested, and on the other hand, the turbidity of the liquid near the test plate 4 is tested by the light source emitter 5 and the light intensity sensor 7. The corrosion area and the attenuation of the light intensity signal are combined to control the corrosion inhibitor filling rate, and the image enhancement algorithm and the signal processing circuit are added to improve the monitoring accuracy, and then the corrosion inhibitor filling rate can be obtained more accurately through the test value.

[0060] Finally, it is stated again that the constituent elements / components described in the aforementioned embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of the present invention. Replacements or changes to other equivalent components should be within the scope of protection of the present invention.

Claims

1. A corrosion control system for intelligent injection of corrosion inhibitors, characterized in that: The corrosion control system for intelligent corrosion inhibitor filling includes a corrosion inhibitor tank, a motor, a metering pump, a control system, a control box, and a monitoring system; wherein, the corrosion inhibitor tank releases the corrosion inhibitor into the oil pipeline, the metering pump is used to measure the dosage of the corrosion inhibitor, the motor controls the dosage released by the corrosion inhibitor tank through the metering pump, the operation of the motor is controlled by the controller, the monitoring system is used to monitor the corrosion conditions in the oil pipeline, the monitoring system transmits the corrosion conditions in the oil pipeline to the controller through the control box, the controller controls the motor according to the received corrosion conditions in the oil pipeline, and then controls the metering pump through the motor to realize the slow-release tank to fill the corrosion inhibitor into the oil pipeline according to the preset dosage.

2. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 1 is characterized in that: The monitoring system comprises a transmission pipeline (1) and a monitoring module (2), wherein the monitoring module (2) is used to test the corrosion condition of the pipeline caused by liquid in the pipeline, and the monitoring module (2) transmits the corrosion condition to a controller, wherein the monitoring module (2) comprises a telescopic rod (3), a test board (4), a light source transmitter (5), a light beam (6), and a light intensity sensor (7), wherein the light source transmitter (5) and the light intensity sensor (7) are respectively arranged on two sides of the transmission pipeline (1), the material of the test board (4) is the same as that of the transmission pipeline (1), and the test board (4) is arranged in the transmission pipeline (1) via the telescopic rod (3).

3. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 2 is characterized in that: In a corrosion area test of a test plate (4), the test plate 4 is divided into 15 regions, namely regions a, b, c, d, e, f, g, h, i, j, k, l, m, n, and o, wherein regions a, b, c, d, f, g, i, j, l, m, n, and o are first regions, regions e and k are second regions, and h is a third region. Images of the 15 regions of the test plate are collected by an image collection device, and the corrosion area of ​​the test plate (4) is comprehensively evaluated based on the corrosion areas of each region of the collected images.

4. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 3 is characterized in that: The corrosion area of ​​the first area obtained at a certain sampling moment of the image acquisition device is S1, the corrosion area of ​​the second area is S2, and the corrosion area of ​​the third area is S3. Then the corrosion area of ​​the test plate 4 is S=(A1×S1)+(A2×S2)+(A3×S3), wherein A1, A2, and A3 are weights, A1<A2<A3, and A1+A2+A3=1.

5. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 4 is characterized in that: The turbidity of the liquid near the test plate (4) is tested by calculating the intensity of the light beam (6) monitored by the light intensity sensor (7). If the intensity of the light beam (6) emitted by the light source transmitter (5) is G, and the intensity of the light beam (6) collected by the light intensity sensor (7) at a certain sampling time is G1, then the light intensity signal attenuation △G=(G-G1) / G.

6. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 5 is characterized in that: The monitoring module (2) transmits the corrosion area S and the light intensity signal attenuation △G of the test plate (4) at each sampling moment to the controller, and the controller calculates the corrosion inhibitor filling rate V according to the received corrosion area S and the light intensity signal attenuation △G of the test plate (4), and then: V=[(S / S')+△G+1]×V' Wherein, S' is the total area of ​​the test board (4), and V' is the preset rated speed.

7. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 6 is characterized in that: The image acquisition device also includes an image processing device, which performs image processing on the acquired image. The grayscale value of the acquired image ranges from [1,255]. The maximum grayscale value H of the image before the image contrast transformation is max and the minimum value H min , for any pixel j in the image, then: H(j) new =255×[(H(j) old -H min ) / (H max -H min )+(H max -H(j) old ) / (H max -H min )] Among them, H(j) new It represents the gray value of the pixel after contrast transformation. After image enhancement, the enhanced image is subjected to edge extraction operation, and the area within the extracted edge is the erosion area of ​​each region.

8. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 7 is characterized in that: The light intensity sensor (7) also includes a first signal processing circuit and a second signal processing circuit. The collected light intensity signal is sequentially processed by the first signal processing circuit and the second signal processing circuit before being transmitted to the controller.

9. The corrosion control system for intelligent injection of corrosion inhibitor according to claim 8, characterized in that: The collected light intensity signal is connected to one end of a 30kΩ resistor, the other end of the 30kΩ resistor is connected to the inverting end of the operational amplifier μA741, the other end of the 30kΩ resistor is also connected to one end of the sliding variable resistor W1, the output end of the operational amplifier μA741 is connected to one end of a 2.2kΩ resistor, the other end of the sliding variable resistor W1 is connected to the other end of the 2.2kΩ resistor, the collected light intensity signal is also connected to one end of another 30kΩ resistor, the other end of the other 30kΩ resistor is connected to the inverting end of the operational amplifier μA741, and the other The other end of the 30kΩ resistor is connected to the drain of a field effect tube, the negative power supply terminal of the operational amplifier μA741 is connected to the -15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier μA741, one end of a 33μF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier μA741, the positive power supply terminal of the operational amplifier μA741 is connected to the +15V power supply, one end of a 6800pF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier μA741, and a 33μF One end of the capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier μA741. A reference signal is connected to the inverting input terminal of the operational amplifier LM311. The non-inverting terminal of the operational amplifier LM311 is grounded. The negative power supply terminal of the operational amplifier LM311 is connected to the -15V power supply. One end of a 6800pF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier LM311. One end of a 33μF capacitor is grounded, and the other end is connected to the negative power supply terminal of the operational amplifier LM311. The positive power supply terminal of the operational amplifier LM311 is connected to +1 5V power supply connection, one end of a 6800pF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier LM311, one end of a 33μF capacitor is grounded, and the other end is connected to the positive power supply terminal of the operational amplifier LM311, the output end of the operational amplifier LM311 is connected to one end of an 8.2kΩ resistor, and the other end of the 8.2kΩ resistor is grounded, the output end of the operational amplifier LM311 is connected to the gate of the field effect tube, and the source of the field effect tube is grounded, and the operational amplifier μA741 is connected to the second signal processing circuit through the 2.2kΩ resistor; An input end of the first signal processing circuit is connected to one end of the resistor R1, the other end of the resistor R1 is connected to one end of the capacitor C1, the other end of the capacitor C1 is grounded, one end of the capacitor C1 is connected to the non-inverting input end of the first operational amplifier, the inverting input end of the first operational amplifier is connected to the output end of the first operational amplifier, the output end of the first operational amplifier is connected to the input end of the resistor R2, the other end of the resistor R2 is connected to one end of the resistor R3, one end of the resistor R3 is connected to one end of the capacitor C3, the other end of the capacitor C3 is grounded, the other end of the resistor R3 is connected to the non-inverting input end of the second operational amplifier, one end of the capacitor C2 is connected to the other end of the resistor R2, the other end of the capacitor C2 is connected to the output end of the second operational amplifier, one end of the resistor R6 is grounded, the other end of the resistor R6 is connected to one end of the resistor R7, the other end of the resistor R6 is connected to the inverting input end of the second operational amplifier. The output terminal of the second operational amplifier is connected to the input terminal, the other end of the resistor R7 is connected to the other end of the capacitor C2, the other end of the resistor R7 is also connected to the output terminal of the second operational amplifier, the output terminal of the second operational amplifier is connected to one end of the resistor R4, the other end of the resistor R4 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the non-inverting input terminal of the third operational amplifier, one end of the capacitor C5 is grounded, the other end of the capacitor C5 is connected to the non-inverting input terminal of the third operational amplifier, one end of the capacitor C4 is connected to one end of the resistor R5, the other end of the capacitor C4 is connected to the output terminal of the third operational amplifier, one end of the resistor R8 is grounded, the other end of the resistor R8 is connected to one end of the resistor R9, the other end of the resistor R9 is connected to the output terminal of the third operational amplifier, the other end of the resistor R9 is also connected to the other end of the capacitor C4, and the third operational amplifier transmits the output signal to the controller through the transmission device.