Oil and gas pipeline corrosion wall thickness intelligent monitoring device
By combining ultrasonic thickness measurement technology with microcontroller control systems in oil and gas pipelines, rapid and sensitive detection of corrosion wall thickness is achieved, solving the problem of corrosion monitoring of oil and gas pipelines in complex environments, and providing efficient real-time monitoring capabilities.
Patent Information
- Application Number
- CN202322243079.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-21
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2033-08-21
AI Technical Summary
Oil and gas pipelines are susceptible to corrosion damage in complex geographical environments, and it is difficult to effectively monitor and detect corrosion wall thickness in real time with existing technology, especially in the presence of water, oxygen, carbon dioxide, and microorganisms.
An intelligent monitoring device for the corrosion wall thickness of oil and gas pipelines is designed. It adopts ultrasonic thickness measurement technology and utilizes a potential-triggered Schmitt trigger to form a self-excited oscillation circuit. Combined with a single-chip microcomputer control system, it includes an ultrasonic transmission drive circuit and a receiving echo conditioning circuit. circuit, counting circuit and auxiliary circuit to realize regular and real-time detection of pipeline corrosion wall thickness.
It achieves rapid and sensitive detection of the corrosion wall thickness of oil and gas pipelines, has high anti-interference ability, is suitable for thickness measurement of homogeneous materials under various working conditions, and has the ability to monitor corrosion conditions online in real time.
Smart Images

Figure CN221706466U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of intelligent monitoring of the corrosion wall thickness of oil and gas pipelines, and more specifically to an intelligent monitoring device for the corrosion wall thickness of oil and gas pipelines. Background Art
[0002] The line system of oil and gas pipelines shows that the geographical environment in which the oil and gas pipelines are located is complex. Soils of various geological types, lakes and rivers containing different minerals, organisms and components, arid deserts, changing groundwater levels, and stray electric currents are filled on the outside of the line pipelines. The temperature, water content, minerals, microorganisms and even other organisms in them will cause corrosion damage to the pipelines within a certain period of time.
[0003] Due to the different sources of oil and gas, they may contain water, oxygen, carbon dioxide, sulfide, and even microorganisms, which can cause corrosion damage in the pipeline. With the increasing application of ultrasonic thickness measurement technology in corrosion detection, there is an urgent need for an intelligent monitoring device for oil and gas pipeline corrosion wall thickness using ultrasonic thickness measurement technology. Utility Model Content
[0004] The utility model overcomes the shortcomings of the prior art and provides an intelligent monitoring device for the corrosion wall thickness of an oil and gas pipeline.
[0005] The purpose of the utility model is achieved through the following technical solutions.
[0006] An intelligent monitoring device for corrosion wall thickness of oil and gas pipelines, comprising: an ultrasonic emission drive circuit, a receiving echo conditioning circuit, a counting circuit, a power supply circuit and an auxiliary circuit;
[0007] The ultrasonic emission drive circuit is a self-excited oscillation circuit composed of a Schmitt trigger in a potential-triggered mode, which makes the output ultrasonic digital waveform have steep rising and falling edges. The pulses emitted by the single-chip microcomputer are boosted by the ultrasonic emission drive circuit to reach a high voltage that can excite the probe to emit ultrasonic waves.
[0008] The receiving echo conditioning circuit amplifies the signal received by the probe through the amplifier, which plays the role of signal amplification, rectification, filtering and frequency selection of the whole circuit;
[0009] The counting circuit counts the input pulses;
[0010] The power supply circuit is used to supply power to the microcontroller and each chip;
[0011] The auxiliary circuit is used to realize basic storage, key and display functions;
[0012] The single chip control system is respectively connected with the ultrasonic emission driving circuit, the receiving echo conditioning circuit, the counting circuit, the power supply circuit and the auxiliary circuit to control and process the overall signal.
[0013] The positive pulse signal path of the ultrasonic emission driving circuit includes a first path and a second path, and both ends of the first path and the second path are connected to the main control signal source and the transducer respectively;
[0014] The first path is provided with an amplifier BG2 and a diode D1. The positive pulse signal is amplified by the amplifier BG2 to become a negative pulse, which is transmitted to the transducer through the diode D1, so that the pulse signal starts to oscillate naturally.
[0015] The second path is provided with a delay circuit, an amplifier BG1 and a diode D2. The positive pulse signal is delayed by the delay circuit, then invertedly amplified by the amplifier BG1, and transmitted to the transducer through the diode D2, so that the pulse signal is superimposed with vibration on the basis of the original vibration.
[0016] The ultrasonic emission drive circuit is provided with adjusting potentiometers R1 and R2, which respectively control the relative strength of the pulse signals of the first path and the second path.
[0017] The ultrasonic receiving echo conditioning circuit is provided with three amplifiers and an adjusting potentiometer RK2. The three amplifiers form an amplifying circuit to amplify the signal in three stages. The adjusting potentiometer RK2 is connected to the amplifying circuit. The adjusting potentiometer RK2 utilizes the capacitor for transient charging and discharging to detect the signal peak and filter the interference signal.
[0018] The counting circuit connects multiple ports of the microcontroller to the highest end of the counter.
[0019] The beneficial effects of the utility model are:
[0020] This solution uses ultrasonic thickness measurement technology to conduct regular inspections on pipelines, understand the degree of corrosion, and conduct online real-time inspections to monitor the corrosion situation in real time. It has the advantages of fast inspection speed, high sensitivity, and easy operation.
[0021] On this basis, the utility model adopts a self-excited oscillation circuit composed of a Schmitt trigger in a potential triggering mode, which can make the output ultrasonic digital waveform have steep rising and falling edges. The pulse emitted by the single chip microcomputer is boosted by the hardware circuit to reach a high voltage that can stimulate the probe to emit ultrasonic waves.
[0022] The device is based on the AVR ATmega16A single-chip microcomputer to design and develop a pulse reflection ultrasonic thickness gauge to achieve real-time measurement of the thickness of the material being measured, greatly improving the anti-interference ability of the thickness measurement system, and is suitable for thickness measurement of homogeneous materials under various working conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is the principle diagram of the utility model;
[0024] Figure 2 It is the schematic diagram of ultrasonic current pulse transmitting circuit;
[0025] Figure 3 This is the schematic diagram of the ultrasonic receiving echo conditioning circuit;
[0026] Figure 4 It is the schematic diagram of the power-off and power-on reset circuit;
[0027] Figure 5 is a simplified schematic diagram of the circuit;
[0028] Figure 6 This is the timing diagram of thickness square wave generation;
[0029] Figure 7 It is the LCD display circuit diagram. DETAILED DESCRIPTION
[0030] The technical solution of the utility model is further described below through specific embodiments.
[0031] Example
[0032] The working principle of the utility model is as follows Figure 1 As shown, the device controls the ultrasonic emission drive circuit to operate the probe through the single-chip control system. The signal fed back by the probe is amplified, rectified, filtered and frequency selected by the receiving echo conditioning circuit and then received by the single-chip control system.
[0033] In this embodiment, the single-chip microcomputer control system uses AVR ATmega16A as the main control chip, 16K bytes of in-system programmable Flash with simultaneous read and write capabilities, namely RWW, 512 bytes of EEPROM, 1K bytes of SRAM, 32 general I / O port lines, 32 general working registers, a JTAG interface for boundary scan, support for on-chip debugging and programming, three flexible timers / counters (T / C) with comparison mode, on-chip / external interrupts, programmable serial USART, a universal serial interface with a start condition detector, an 8-channel 10-bit ADC with optional differential input stage programmable gain TQFP package, a programmable watchdog timer with an on-chip oscillator, an SPI serial port, and six power saving modes that can be selected by software.
[0034] The power circuit uses two dry batteries as power supply and adopts MAX858 chip to pass 5.0V voltage. It is a high-efficiency, CMOS, step-up, DC-DC switching regulator suitable for small, low input voltage or battery-powered systems. It accepts positive input voltage between 0.8V and VOU and converts it to a higher pin-selectable output voltage of 3.3V or 5V.
[0035] The data storage unit provided in the auxiliary circuit adopts a flash memory chip of model W25Q128JVSIQ connected to the microcontroller via SPI for local data storage.
[0036] The counting circuit uses a dual 4-bit pulse counter 74HC393D, which has a clock input (nCP), an overriding asynchronous master reset input (nMR) and 4 buffered parallel outputs (nQ0 to nQ3). The counter advances on the high-to-low transition of nCP. The high level of nMR clears the counter stage and forces the output low, regardless of the state of nCP. The input includes a clamping diode. This allows the input interface to be connected to a voltage exceeding VCC using a current limiting resistor.
[0037] like Figure 2 As shown, the specific working process of the ultrasonic current pulse transmitting circuit is as follows:
[0038] The positive pulse signal from the main controller is applied to the transducer through two paths. One path is amplified by BG2 inverting to become a negative pulse, and is immediately added to the transducer through D1, causing it to start to oscillate with its inherent high-frequency thickness harmonic. The other path first passes through the fine-tuning delay circuit composed of inductor coils L1, L2 and variable capacitance diodes D3, D4, delaying the pulse signal for a period of time, and then amplified by BG1 inverting, and added to the transducer through D2, causing it to superimpose a vibration on the original vibration. The relative strength of the two pulse signals can be controlled by adjusting potentiometers R1 and R2. Adjusting R2 changes the reverse voltage on variable capacitance diodes D3 and D4, thereby achieving the purpose of changing their capacitance, so that the delay time of the pulse signal changes within a certain range.
[0039] like Figure 3 As shown, the specific working process of the ultrasonic receiving echo conditioning circuit is as follows:
[0040] The entire circuit of the ultrasonic receiving echo conditioning circuit has the functions of signal amplification, rectification filtering and frequency selection. After receiving the pulse signal from the transmitting circuit, since the signal received by the probe is very small and complex, and contains a lot of interfering noise signals, in order to ensure a sufficiently large gain, three MAX4180 amplifiers are selected to form an amplifier circuit to perform three-stage amplification of the pulse signal. Secondly, the pulse signal is detected through the filter and rectifier module, and the positive echo of the envelope is taken out of the positive cycle of the ultrasonic echo signal by using the rectification performance of the diode. Then, by adjusting the potentiometer RK2, the capacitor is used for transient charging and discharging, and the signal peak is detected to filter out the interference signal. Finally, the filtered and rectified signal is sent to the valve generating circuit.
[0041] The MAX4180 amplifier is used, which has high speed and low distortion characteristics. It works in the smallest package with extremely low power. It has excellent video characteristics and can work on a single power supply of 5V or dual power supplies of ±5V. The maximum output current is ±60mA.
[0042] like Figure 4 As shown, the specific working process of the power-off and power-on reset circuit is as follows:
[0043] In the figure, RES is the reset button; R1 and C2 are power-on reset devices; Vcc2 is the voltage of the battery after stabilization; Vcc1 is the secondary power supply voltage for other components.
[0044] In the initialization program, the SFR of P2.7 and P2.6 on the B031BH model control chip is written to 1 and 0 respectively through software. When the power supply VCC1 box is turned on, the electric reset device C2 provides a power-on reset signal to the CPU. The reset function makes P2.6=P2.7=1. At this time, the transistor Q1 is turned on, and the power supply VCC1 box supplies power (Vcc2) to other circuits through the transistor Q2. After reset, the P2 port starts to output the high byte of the program counter content. At this time, P2.7=P2.6=0. The zero level of P2.7 still ensures that the transistor Q2 is turned on, so Vcc2 still exists. Once the CPU enters the power-off mode, the SFR values of P2.6 and P2.7 appear on the pins of P2.6 and P2.7, which will turn off the transistor Q1 and transistor Q2, cutting off the power supply circuit of the power supply VCC1 box. When the RES key is pressed, the CPU is reset to restore Vcc2.
[0045] The MAX858 chip passes 5.0V voltage and is a high-efficiency, CMOS, step-up, DC-DC switching regulator suitable for small, low input voltage or battery-powered systems. It accepts a positive input voltage between 0.8V and VOU and converts it to a higher pin-selectable output voltage of 3.3V or 5V.
[0046] Figure 5This is a simplified schematic diagram of the circuit of this scheme;
[0047] The synchronization circuits in this device are all composed of monostable multivibrators to coordinate the timing relationship of the transmission, reception, and intermediate processing signals. Potentiometer W is used to shield the interference signal between the transmission pulse and the interface wave. If the delay interval function is executed, P1.6 of the CPU is set to 1 and the CE circuit is selected. During hardware initialization, Q = 0 of the JK trigger (1), then J = K = 1, and the falling edge of the interface wave added to CLK starts the flip of the trigger output, that is, Q = 1, J = K = 0. At this time, even if there is an interference signal on CLK, it will not trigger the trigger again. The transmission signal sensed in the received signal is suppressed by W, and the first echo after the interface signal clears the trigger, that is, Q = 0. The Q end of the JK trigger 1 thus generates a thickness square wave pulse, which is sent to the counter through the CE circuit. If the delay interval function is executed, P1.6 is set to 0 and the DE circuit is selected. When the JK trigger 1 is activated, there is no falling edge signal of CLK in the JK trigger 2, so point E remains at a low level. When the first echo arrives, the Q terminal of trigger 1 changes from 1 to 0, trigger 2 flips, and point E becomes high level; when the second echo arrives, trigger 2 is cleared. Point E returns to low level, forming a two-interval thickness square wave.
[0048] Figure 6 This is the timing diagram of the thickness square wave generation. From the figure, it can be seen that the data lines D0~D7 are directly connected to the CPU's P0 port to receive the display information sent by the CPU instruction EPROM. The LCM has three control lines: R / W (read / write) and RS (instruction / data register). The above control lines are taken from the address lines of 27C64. Since the instructions for the CPU to access the EPROM and the external port address are different, there will be no functional confusion.
[0049] Figure 7 The LCD display circuit diagram in the auxiliary circuit uses the MAX858 chip to pass a 5.0V voltage. It is a high-efficiency, CMOS, step-up, DC-DC switching regulator suitable for small, low input voltage or battery-powered systems. It accepts a positive input voltage between 0.8V and VOU and converts it to a higher pin-selectable output voltage of 3.3V or 5V.
[0050] This system uses the voltage comparator LM393 as the alarm circuit, with a threshold voltage of 2.5V, and the output is connected to the interrupt port of the CPU. Because the output of LM393 is tri-state, a resistor Rs is added to the output. When the battery is powered, if the primary voltage of 7805 is lower than the threshold voltage of the secondary of 7805 after voltage division, the output of LM393 will drop from the high level during normal operation to the low level. The CPU sets the interrupt Into as the highest priority response in advance and opens the interrupt from beginning to end.
[0051] The above is a detailed description of the embodiments of the utility model, but the contents are only preferred embodiments of the utility model and cannot be considered to limit the scope of implementation of the utility model. All equivalent changes and improvements made within the scope of application of the utility model should still fall within the scope of the patent coverage of the utility model.
Claims
1. An intelligent monitoring device for corrosion wall thickness of oil and gas pipelines, characterized in that: include: Ultrasonic transmission drive circuit, receiving echo conditioning circuit, counting circuit, power supply circuit and auxiliary circuit; The ultrasonic emission drive circuit is a self-excited oscillation circuit composed of a Schmitt trigger in a potential-triggered mode, which makes the output ultrasonic digital waveform have steep rising and falling edges. The pulses emitted by the single-chip microcomputer are boosted by the ultrasonic emission drive circuit to reach a high voltage that can excite the probe to emit ultrasonic waves. The receiving echo conditioning circuit amplifies the signal received by the probe through the amplifier, which plays the role of signal amplification, rectification, filtering and frequency selection of the whole circuit; The counting circuit counts the input pulses; The power supply circuit is used to supply power to the microcontroller and each chip; The auxiliary circuit is used to realize basic storage, key and display functions; The single chip control system is respectively connected with the ultrasonic emission driving circuit, the receiving echo conditioning circuit, the counting circuit, the power supply circuit and the auxiliary circuit to control and process the overall signal.
2. The intelligent monitoring device for oil and gas pipeline corrosion wall thickness according to claim 1 is characterized by: The positive pulse signal path of the ultrasonic emission drive circuit includes a first path and a second path, and both ends of the first path and the second path are connected to the main control signal source and the transducer respectively; The first path is provided with an amplifier BG2 and a diode D1. The positive pulse signal is amplified by the amplifier BG2 to become a negative pulse, which is transmitted to the transducer through the diode D1, so that the pulse signal begins to oscillate with inherent high-frequency thickness harmonics. The second path is provided with a delay circuit, an amplifier BG1 and a diode D2. The positive pulse signal passes through a fine-tuning delay circuit composed of inductors L1, L2 and varactor diodes D3, D4 to delay the pulse signal, which is then invertedly amplified by the amplifier BG1 and transmitted to the transducer through the diode D2, so that the pulse signal is superimposed with vibration on the basis of the original vibration.
3. The intelligent monitoring device for oil and gas pipeline corrosion wall thickness according to claim 2 is characterized by: The ultrasonic emission drive circuit is provided with adjusting potentiometers R1 and R2, which respectively control the relative strength of the pulse signals of the first path and the second path. Adjusting R2 changes the reverse voltage on the variable capacitance diodes D3 and D4, thereby achieving the purpose of changing their capacitance, thereby changing the delay time of the pulse signal within a certain range.
4. The intelligent monitoring device for oil and gas pipeline corrosion wall thickness according to claim 1 is characterized by: The ultrasonic receiving echo conditioning circuit is provided with three amplifiers and an adjusting potentiometer RK2. The three amplifiers form an amplifying circuit to perform three-stage amplification on the signal. The adjusting potentiometer RK2 is connected to the amplifying circuit. The adjusting potentiometer RK2 utilizes the capacitor for transient charging and discharging, detects the signal peak value, and filters the interference signal.
5. The intelligent monitoring device for oil and gas pipeline corrosion wall thickness according to claim 1 is characterized by: The counting circuit connects a plurality of ports of the single chip computer with the highest end of the counter.
6. The intelligent monitoring device for oil and gas pipeline corrosion wall thickness according to claim 1 is characterized by: The power supply circuit is provided with a power-off and power-on reset circuit, and the power-off and power-on reset circuit is provided with a control chip. The control chip is connected with RES as a reset button, R1 power-on reset device, C2 power-on reset device and power supply VCC1 box. The control chip adopts B031BH model chip. The P2.7 pin of the control chip is connected with the power supply VCC2 through resistor R2 and transistor Q2, the P2.6 pin of the control chip is connected with transistor Q1 through resistor R3, and transistor Q1 is connected to the path connecting resistor R2 and transistor Q2 through resistor R4.
Citation Information
Cited By
Intelligent pulse ultrasonic fluid measurement method and device
CN120008704A
