Blowout preventer control device gas tube bundle detection device and detection method

By cascaded two 74HC595 chips and circuit connection methods using components such as STC89C52 microcontrollers, the control of the 64-channel relay array is achieved, solving the problems of high cost of tracheal beam detection and low code efficiency in the prior art, and an efficient and automated detection process is achieved.

CN119937359APending Publication Date: 2025-05-06CNPC BOHAI DRILLING ENG +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311440128.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The detection cost of existing tracheal beam detection devices is too high and the code efficiency is inefficient, so multiple IO ports cannot be effectively controlled.

Method used

By using the cascaded circuit connection method of two 74HC595 chips, the control of the 64-channel relay array is realized, and components such as the STC89C52 microcontroller and PCF8591 chip are used, combined with the tracheal bundle group detection method, the detection cost is reduced and the code efficiency is improved.

Benefits of technology

It realizes safe, fast, efficient, accurate and automated tracheal beam detection, reducing detection costs and resource losses, and improving detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937359A_ABST
    Figure CN119937359A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of detection equipment, and particularly relates to a device and a method for detecting a gas tube bundle of a blowout preventer control device. The problems that an existing gas tube bundle detection device is too high in detection cost and low in code efficiency are solved. The device comprises a power supply module, a control module, a relay array, a shift register, a pneumatic element pipeline, an ADC and conditioning circuit, a display module and a storage module. Coding the pneumatic element pipeline to be detected to obtain a coded pneumatic element; setting a detection sequence based on the encoded pneumatic elements; controlling a relay array to be sequentially switched on and switched off based on the detection sequence, recording a sensor analog signal of the pneumatic element pipeline, and obtaining the sensor analog signal; converting the sensor analog signal into an airtight digital signal; analyzing and acquiring an air tightness analysis result of the corresponding air path based on the air tightness digital model; and displaying the air tightness analysis result.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the prior art, a Chinese invention patent with publication number CN 105425687 B discloses a control circuit that uses a 74HC595 chip to expand multiple IO ports. The circuit is a circuit that uses a 74HC595 chip to cascade relays. The displacement buffer has a serial input terminal and a serial standard output terminal for cascading. The data output mode is low level and high impedance state. The optocoupler can play an isolation role to protect the stability of the data. The signal output by the displacement buffer turns on the transistor to energize the coil of the relay to realize the operation of the relay. Cascade control of multiple relays is realized.

[0003] The above-mentioned prior art still has defects: the existing solution uses one 74HC595 chip to expand multiple IO ports to control 8 external devices, but adding one more 74HC595 chip can expand and control 8 more external devices, and the detection cost is too high. Summary of the invention

[0004] In order to solve the above-mentioned problems in the prior art, namely, the problems that the existing air tube bundle detection device has too high detection cost and low code efficiency, the present invention provides an air tube bundle detection device for a blowout preventer control device, and the circuit connection method proposed in the present application uses two 74HC595 chips in cascade to control a 64-channel relay array to work according to the air tube bundle grouping detection method, which has lower cost and higher code efficiency when executing the air tube bundle grouping detection method of the technical solution of the present application.

[0005] The detection device comprises: a power module, a control module, a relay array, a shift register, a pneumatic element pipeline, an ADC and a conditioning circuit, a display module and a storage module;

[0006] The power supply module is used to provide a stable operating voltage for the detection device according to the external power supply;

[0007] The control module is used to generate control information according to the set working command, and receive the airtightness digital signal to generate the airtightness result;

[0008] The shift register is used to generate a relay control instruction according to the control information;

[0009] The relay array is used to realize the switching on and off of specific relays according to the relay control instructions;

[0010] The pneumatic element pipeline is used to obtain the sensor analog signal of the target tracheal bundle;

[0011] The ADC and conditioning circuit are used to convert the sensor analog signal into an airtight digital signal;

[0012] The storage module is used to store the airtightness digital signal and the airtightness result;

[0013] The display module is used to display the airtightness display result.

[0014] In some preferred embodiments, the control module is implemented using a STC89C52 single-chip microcomputer;

[0015] The second end of the fifth key switch K5 is connected to the RST pin of the STC89C52 microcontroller and the first end of the pull-down resistor in parallel, and the second end of the pull-down resistor is connected to GND; the first end of the fifth key switch K5 is connected to VCC;

[0016] The XTAL1 and XTAL2 pins of the STC89C52 microcontroller are connected to the external crystal oscillator;

[0017] The P34 pin of the STC89C52 microcontroller is connected to the base of the transistor VT17;

[0018] The P35 pin of the STC89C52 microcontroller is connected to the base of the transistor VT18;

[0019] The P31 pin of the STC89C52 single-chip microcomputer is connected to the first key switch K1;

[0020] The P32 pin of the STC89C52 microcontroller is connected to the second key switch K2;

[0021] The P33 pin of the STC89C52 microcontroller is connected to the third key switch K3;

[0022] The P31 pin of the STC89C52 microcontroller is connected to the fourth key switch K4;

[0023] The P21 pin of the STC89C52 microcontroller, the P22 pin of the STC89C52 microcontroller, the P20 pin of the STC89C52 microcontroller, and the P23 pin of the STC89C52 microcontroller are respectively connected to the shift register;

[0024] The P24 pin of the STC89C52 single-chip microcomputer is connected to the first common node and connected to the VCC power supply via the SCL signal line through a pull-up resistor; the P25 pin of the STC89C52 single-chip microcomputer is connected to the first common node and connected to the VCC power supply via the SDA signal line through a pull-up resistor;

[0025] The P26 pin of the STC89C52 microcontroller and the P27 pin of the STC89C52 microcontroller are connected to the display module respectively;

[0026] Pin 40 of the STC89C52 microcontroller is connected to the VCC power supply and is also connected to GND via the first capacitor.

[0027] In some preferred embodiments, the relay array is an 8*8 relay array;

[0028] The 8*8 relay array includes 8 rows and 8 columns of relays, the pin 13 of the relays in the same row is connected in parallel to the first relay collection node, and the pin 14 of the relays in the same column is connected in parallel to the second relay collection node;

[0029] All the first relay collection nodes are connected to the emitter of the first NPN transistor through a current limiting resistor; the collector of each first NPN transistor is connected in parallel to a 24V DC power supply; the base of each first NPN transistor is connected to a shift register;

[0030] All the second relay collection nodes are connected to the collector of the second NPN transistor; the emitter of each second NPN transistor is connected in parallel and then grounded; and the base of each second NPN transistor is connected to the shift register.

[0031] In some preferred implementations, the shift register is implemented using two 74HC595 shift registers;

[0032] The first shift register U21 is cascaded with the second shift register U22;

[0033] The Q0 pin of the first shift register U21, the Q1 pin of the first shift register U21, the Q2 pin of the first shift register U21, the Q3 pin of the first shift register U21, the Q4 pin of the first shift register U21, the Q5 pin of the first shift register U21, the Q6 pin of the first shift register U21 and the Q7 pin of the first shift register U21 are respectively connected to the base of the first NPN transistor in sequence;

[0034] The DS pin of the first shift register U21 is connected to the P22 pin of the STC89C52 microcontroller;

[0035] The Q7' pin of the first shift register U21 is connected to the DS pin of the second shift register U22;

[0036] The VCC pin of the first shift register U21 and the MR pin of the first shift register U21 are both connected to the VCC power supply;

[0037] The STCP pin of the first shift register U21 is connected to the P21 pin of the STC89C52 single chip microcomputer; the SHCP pin of the first shift register U21 is connected to the P20 pin of the STC89C52 single chip microcomputer; the OE pin of the first shift register U21 is connected to the P23 pin of the STC89C52 single chip microcomputer;

[0038] The Q1 pin of the second shift register U22, the Q2 pin of the second shift register U22, the Q3 pin of the second shift register U22, the Q4 pin of the second shift register U22, the Q5 pin of the second shift register U22, the Q6 pin of the second shift register U22 and the Q7 pin of the second shift register U22 are respectively connected to the base of the first NPN transistor in sequence;

[0039] The VCC pin of the second shift register U22 and the MR pin of the second shift register U22 are both connected to the VCC power supply;

[0040] The STCP pin of the second shift register U22 is connected to the P21 pin of the STC89C52 microcontroller; the SHCP pin of the second shift register U22 is connected to the P20 pin of the STC89C52 microcontroller; and the OE pin of the second shift register U22 is connected to the P23 pin of the STC89C52 microcontroller.

[0041] In some preferred embodiments, the ADC and conditioning circuit are implemented using a PCF8591 chip U3 and a conditioning circuit;

[0042] The SCL pin of PCF8591 chip U3 is connected to the P24 pin of STC89C52 microcontroller;

[0043] The SDA pin of PCF8591 chip U3 is connected to the P25 pin of STC89C52 microcontroller;

[0044] The A0 pin of the PCF8591 chip U3, the A1 pin of the PCF8591 chip U3, the A2 pin of the PCF8591 chip U3, the VSS pin of the PCF8591 chip U3, the AGND pin of the PCF8591 chip U3, the internal clock EXT pin of the PCF8591 chip U3, the external clock OSC pin of the PCF8591 chip U3 and the analog output AOUT pin of the PCF8591 chip U3 are grounded;

[0045] The analog input AIN0 pin of the PCF8591 chip U3 is connected to the conditioning circuit;

[0046] The conditioning circuit is connected to the pressure sensor;

[0047] The analog input AIN1 pin of the PCF8591 chip U3, the analog input AIN2 pin of the PCF8591 chip U3, and the analog input AIN3 pin of the PCF8591 chip U3 are grounded.

[0048] In some preferred embodiments, the display module is implemented by an LCD12864 liquid crystal screen;

[0049] The VDD pin of LCD12864 LCD screen is connected to the VCC power supply;

[0050] The address pin A0 of LCD12864 and the address pin A1 of LCD12864 are grounded;

[0051] The GND pin of LCD12864 is connected to ground;

[0052] The SCL pin of LCD12864 is connected to the P24 pin of STC89C52 microcontroller, and the SDA pin of LCD12864 is connected to the P25 pin of STC89C52 microcontroller;

[0053] The RST pin of LCD12864 LCD screen is connected to the P27 pin of STC89C52 microcontroller;

[0054] The BUSY pin of LCD12864 LCD screen is connected to the P26 pin of STC89C52 microcontroller.

[0055] In some preferred embodiments, the storage module is implemented by an AT24C02 chip;

[0056] The GND pin of the AT24C02 chip is grounded;

[0057] The address pin A0 of the AT24C02 chip, the address pin A1 of the AT24C02 chip, and the address pin A2 of the AT24C02 chip are grounded;

[0058] The write protection WP pin of the AT24C02 chip is grounded;

[0059] The VCC pin of the AT24C02 chip is connected to the VCC power supply;

[0060] The SCL pin of the AT24C02 chip is connected to the P24 pin of the STC89C52 microcontroller, and the SDA pin of the AT24C02 chip is connected to the P25 pin of the STC89C52 microcontroller.

[0061] Another aspect of the present invention provides a detection method for a blowout preventer control device air pipe bundle detection device, the method is implemented based on the above-mentioned blowout preventer control device air pipe bundle detection device, the method comprises:

[0062] Step S100, encoding the pipeline of the pneumatic component to be detected to obtain the encoded pneumatic component; the step S100 specifically includes:

[0063] Encoding the air tube bundle gas path of the pneumatic component pipeline according to binary code to obtain the binary-coded air tube bundle gas path;

[0064] The 32 gas paths whose lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the first group, the 32 gas paths whose second lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the second group, the 32 gas paths whose third lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the third group, the 32 gas paths whose fourth lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the fourth group, the 32 gas paths whose second highest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the fifth group, and the 32 gas paths whose highest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the sixth group;

[0065] The tracheal bundle airways not included in the first group were grouped as the seventh group, the tracheal bundle airways not included in the second group were grouped as the eighth group, the tracheal bundle airways not included in the third group were grouped as the ninth group, the tracheal bundle airways not included in the fourth group were grouped as the tenth group, the tracheal bundle airways not included in the fifth group were grouped as the eleventh group, and the tracheal bundle airways not included in the sixth group were grouped as the twelfth group;

[0066] Group 1 and Group 7, Group 2 and Group 8, Group 3 and Group 9, Group 4 and Group 10, Group 5 and Group 11, and Group 6 and Group 12 are complementary groups.

[0067] Step S200, setting a detection sequence based on the coded pneumatic components;

[0068] Step S300, based on the detection sequence, the relay array is controlled to be turned on and off in sequence, and the sensor analog signal of the pneumatic component pipeline is recorded to obtain the sensor analog signal;

[0069] Step S400, converting the sensor analog signal into an airtightness digital signal;

[0070] Step S500, obtaining an air tightness analysis result of a corresponding gas path based on the air tightness digital model analysis;

[0071] In some preferred implementations, the step S500 specifically includes:

[0072] If the test is performed in the order of groups 1, 2, 3, 4, 5 and 6, the first airtightness analysis result includes case 1 and case 2;

[0073] Case 1: the first airtightness analysis results of all groups 1, 2, 3, 4, 5 and 6 are qualified;

[0074] Case 2: the first airtightness analysis results of some groups in groups 1, 2, 3, 4, 5 and 6 are unqualified, and the unqualified group of case 2 is obtained;

[0075] When situation 2 occurs, the complementary groups of the unqualified group in situation 2 are tested in sequence, including situation 3 and situation 4;

[0076] Case 3: The second airtightness analysis results of all groups in the complementary group of the unqualified group in Case 2 are qualified;

[0077] Case 4: The second airtightness analysis results of some groups in the complementary group of the unqualified group in Case 2 are unqualified;

[0078] When situation three occurs, it means that the gas path with the binary digit 1 corresponding to the number of the unqualified group in situation two from low to high is unqualified, and the other gas paths are qualified;

[0079] When situation four occurs, the gas circuit with the binary digit of 1 corresponding to the number of the unqualified group in situation two is unqualified, and the gas circuit with the binary digit of 0 corresponding to the group with unqualified second airtightness analysis result is unqualified, and the rest of the gas circuits are qualified.

[0080] Step S600: displaying the air tightness analysis result.

[0081] Beneficial effects of the present invention:

[0082] (1) This application achieves safe, fast, efficient, accurate and automated tracheal bundle detection by setting up a unique connection method, thereby reducing detection costs and detection resource loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0084] Figure 1 Schematic diagram of the connection mode of the STC89C52 single-chip microcomputer in an embodiment of the present invention;

[0085] Figure 2 Schematic diagram of the connection mode of the 74HC595 shift register in the embodiment of the present invention;

[0086] Figure 3 Schematic diagram of the connection mode of the 8*8 relay array in the embodiment of the present invention;

[0087] Figure 4 is a schematic diagram of a key switch connected to a single chip microcomputer in an embodiment of the present invention;

[0088] Figure 5 is a schematic diagram of the connection between the air pump motor and the automatic unloading solenoid valve in an embodiment of the present invention;

[0089] Figure 6 is a connection diagram of an ADC and a conditioning circuit in an embodiment of the present invention;

[0090] Figure 7 is a connection diagram of a display module in an embodiment of the present invention;

[0091] Figure 8 is a connection diagram of a storage module in an embodiment of the present invention;

[0092] Fig. 9 is a hydraulic principle diagram of a tracheal bundle detection device in an embodiment of the present invention;

[0093] Fig.10 It is a flow chart of a detection method of an air pipe bundle detection device of a blowout preventer control device in an embodiment of the present invention. DETAILED DESCRIPTION

[0094] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0095] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0096] In order to more clearly explain the air pipe bundle detection device of the blowout preventer control device of the present invention, the following is combined with Figure 1 Each component in the embodiment of the present invention is described in detail.

[0097] In the prior art, the inspection of the air pipe bundle requires manual inspection of each bundle, and at least two people are required to cooperate during the inspection process. One person presses the air source pipeline on the hole of the aluminum plate of the air pipe cable, and the other person blocks the corresponding outlet at the other end of the air pipe cable with his fingers to achieve air tightness detection. Then, after connecting the air pipe bundle to the equipment, test whether the driller's console can control the remote console action, and observe whether the accumulator, manifold, and annular pressure gauge on the driller's console are displayed correctly. The prior art manual inspection method has low inspection efficiency and there is a risk of injury from high-pressure gas leakage.

[0098] The present invention is proposed in order to achieve safe, rapid, efficient, accurate and fully automatic tracheal bundle detection.

[0099] The blowout preventer control device air pipe bundle detection device of the first embodiment of the present invention includes a power module, a control module, a relay array, a shift register, a pneumatic element pipeline, an ADC and a conditioning circuit, a display module and a storage module. The components are described in detail as follows:

[0100] The power supply module is used to provide a stable operating voltage for the detection device according to an external power supply.

[0101] The control module is used to generate control information according to the set working command, and receive the airtightness digital signal to generate the airtightness result.

[0102] In this embodiment, the control module is implemented using a STC89C52 single-chip microcomputer;

[0103] The second end of the fifth key switch K5 is connected to the RST pin of the STC89C52 microcontroller and the first end of the pull-down resistor in parallel, and the second end of the pull-down resistor is connected to GND; the first end of the fifth key switch K5 is connected to VCC; in this embodiment, when the key K5 is turned on, the RST pin is pulled high, and the microcontroller enters the reset state. When the RST pin is pulled back to a low level, the microcontroller ends the reset state and starts to work normally from the user program area 0000H.

[0104] The XTAL1 and XTAL2 pins of the STC89C52 microcontroller are connected to the external crystal oscillator;

[0105] The P34 pin of the STC89C52 microcontroller is connected to the base of the transistor VT17; it is used to control the pull-in of the relay KA65 in the air pump motor, and then control the start of the air pump motor M1; the circuit diagram of the air pump motor M1 is as follows Figure 5 As shown;

[0106] The P35 pin of the STC89C52 microcontroller is connected to the base of the transistor VT18; it is used to control the pull-in of the solenoid valve YV65, thereby realizing the automatic pressure relief of the tracheal bundle detection device;

[0107] The schematic diagram of the key switch connected to the STC89C52 microcontroller is as follows Figure 4 As shown;

[0108] The P31 pin of the STC89C52 single-chip microcomputer is connected to the first key switch K1;

[0109] The P32 pin of the STC89C52 microcontroller is connected to the second key switch K2;

[0110] The P33 pin of the STC89C52 microcontroller is connected to the third key switch K3;

[0111] The P31 pin of the STC89C52 microcontroller is connected to the fourth key switch K4;

[0112] Switches K1, K2, K3 and K4 are used to control the operating menu of the system.

[0113] The P21 pin of the STC89C52 microcontroller, the P22 pin of the STC89C52 microcontroller, the P20 pin of the STC89C52 microcontroller, and the P23 pin of the STC89C52 microcontroller are respectively connected to the shift register;

[0114] The P24 pin of the STC89C52 microcontroller is connected to the first common node via the SCL signal line and connected to the VCC power supply; the P25 pin of the STC89C52 microcontroller is connected to the first common node via the SDA signal line and connected to the VCC power supply;

[0115] The P26 pin of the STC89C52 microcontroller and the P27 pin of the STC89C52 microcontroller are connected to the display module respectively;

[0116] Pin 40 of the STC89C52 microcontroller is connected to the VCC power supply and is also connected to GND via the first capacitor.

[0117] The shift register is used to generate a relay control instruction according to the control information.

[0118] In this embodiment, if Figure 2 As shown, the shift register is implemented by using two 74HC595 shift registers;

[0119] The first shift register U21 is cascaded with the second shift register U22;

[0120] The Q0 pin of the first shift register U21, the Q1 pin of the first shift register U21, the Q2 pin of the first shift register U21, the Q3 pin of the first shift register U21, the Q4 pin of the first shift register U21, the Q5 pin of the first shift register U21, the Q6 pin of the first shift register U21 and the Q7 pin of the first shift register U21 are respectively connected to the relay array in sequence;

[0121] The DS pin of the first shift register U21 is connected to the P22 pin of the STC89C52 microcontroller;

[0122] The Q7' pin of the first shift register U21 is connected to the DS pin of the second shift register U22;

[0123] In this embodiment, the DS pin in the shift register is used to receive serial signal data;

[0124] The VCC pin of the first shift register U21 and the MR pin of the first shift register U21 are both connected to the VCC power supply;

[0125] The STCP pin of the first shift register U21 is connected to the P21 pin of the STC89C52 microcontroller; the SHCP pin of the first shift register U21 is connected to the P20 pin of the STC89C52 microcontroller; the OE pin of the first shift register U21 is connected to the P23 pin of the STC89C52 microcontroller; in this embodiment, when a rising edge signal is received, the data of the first shift register enters the storage register, and when a rising edge signal is received, the data of the first shift register is shifted.

[0126] The Q1 pin of the second shift register U22, the Q2 pin of the second shift register U22, the Q3 pin of the second shift register U22, the Q4 pin of the second shift register U22, the Q5 pin of the second shift register U22, the Q6 pin of the second shift register U22 and the Q7 pin of the second shift register U22 are respectively connected to the relay array in sequence; in this embodiment, the Q7 pin of the shift register is used to control the on and off of the triode;

[0127] The VCC pin of the second shift register U22 and the MR pin of the second shift register U22 are both connected to the VCC power supply;

[0128] The STCP pin of the second shift register U22 is connected to the P21 pin of the STC89C52 microcontroller; the SHCP pin of the second shift register U22 is connected to the P20 pin of the STC89C52 microcontroller; the OE pin of the second shift register U22 is connected to the P23 pin of the STC89C52 microcontroller. In this embodiment, the OE pin is effective at low level and high at high level.

[0129] In this embodiment, the 74HC595 shift register used has the characteristics of high-speed shift clock frequency, low power consumption, wide operating voltage range, and high noise resistance. The CMOS serial output can be used for cascading multiple devices, and is particularly suitable for controlling an 8*8 relay array. The 74HC595 shift register has a serial input terminal and a serial output terminal for cascading, and can realize serial data input and parallel data output. The data output mode is low level and high impedance. This embodiment realizes the control of the on and off of the transistor by outputting high and low levels through two shift registers, thereby controlling the on and off of each row and each column of the 8*8 relay array, thereby realizing the group detection of 64 gas paths.

[0130] The relay array is used to realize the switching on and off of specific relays according to the relay control instruction.

[0131] In this embodiment, if Figure 3 As shown, the relay array adopts an 8*8 relay array;

[0132] The 8*8 relay array includes 8 rows and 8 columns of relays, and pin 13 of the relays in the same row is connected in parallel to the first relay collection node, and pin 14 of the relays in the same column is connected in parallel to the second relay collection node; if a single relay in the 8*8 relay array needs to be controlled, the relay can be controlled to be closed by turning on the transistors corresponding to pins 13 and 14 of the target relay.

[0133] All the first relay collection nodes are connected to the emitter of the first NPN transistor through a current limiting resistor; the collector of each first NPN transistor is connected in parallel to a 24V DC power supply; the base of each first NPN transistor is connected to a shift register;

[0134] All the second relay collection nodes are connected to the collector of the second NPN transistor; the emitter of each second NPN transistor is connected in parallel and then grounded; and the base of each second NPN transistor is connected to the shift register.

[0135] The pneumatic element pipeline is used to obtain the sensor analog signal of the target airway bundle.

[0136] In this embodiment, the pneumatic component pipeline includes: air pump M1, manual stop valve S1, check valve DL1-DL66, air source processing component, solenoid valve YV1-YV65, 20-hole air tube bundle aluminum plate (FKQ640-6), 22-hole air tube bundle aluminum plate (FKQ640-7, FKQ800-7), manual pressure relief valve, pressure sensor Y1, air source pressure gauge Y2, system pressure gauge Y3 and sensor, etc. The pneumatic component pipeline realizes air tightness detection of the air tube bundle under the control of the control circuit.

[0137] The pneumatic component pipeline can be supplied by an air pump or by opening the stop valve S1 and connecting to an external air source. The gas enters the air source processing element through the check valve DL66 or DL65, and reaches the solenoid valve YV1-YV64 after being processed and decompressed. The solenoid valve is controlled by the 8*8 relay array, in which each relay controls the corresponding solenoid valve switch action according to the number. After passing through each air pipe of the air pipe bundle to be tested, the gas passes through the check valve DL1-DL64 and is connected to the sensor Y1, the pressure gauge Y3, the manual unloading valve S2, and the solenoid unloading valve YV65. When the system completes the test or resets in case of a fault, the solenoid unloading valve YV65 is controlled by the single-chip microcomputer to release the pressure. If the circuit control fails, the manual unloading valve S2 is manually operated to release the pressure.

[0138] The ADC and conditioning circuit are used to convert the sensor analog signal into an airtight digital signal.

[0139] In this embodiment, if Figure 6As shown, the ADC and conditioning circuit are implemented using the PCF8591 chip U3 and the conditioning circuit; PCF8591 can convert the analog signal of the pressure sensor into a digital signal;

[0140] The SCL pin of PCF8591 chip U3 is connected to the P24 pin of STC89C52 microcontroller;

[0141] The SDA pin of PCF8591 chip U3 is connected to the P25 pin of STC89C52 microcontroller; the P24 and P25 pins are connected as the clock line and data line of I2 C bus;

[0142] The A0 pin of the PCF8591 chip U3, the A1 pin of the PCF8591 chip U3, the A2 pin of the PCF8591 chip U3, the VSS pin of the PCF8591 chip U3, the AGND pin of the PCF8591 chip U3, the internal clock EXT pin of the PCF8591 chip U3, the external clock OSC pin of the PCF8591 chip U3 and the analog output AOUT pin of the PCF8591 chip U3 are grounded;

[0143] The analog input AIN0 pin of the PCF8591 chip U3 is connected to the conditioning circuit;

[0144] The conditioning circuit is connected to the pressure sensor;

[0145] The analog input AIN1 pin of the PCF8591 chip U3, the analog input AIN2 pin of the PCF8591 chip U3, and the analog input AIN3 pin of the PCF8591 chip U3 are grounded.

[0146] The storage module is used to store the airtightness digital signal and the airtightness result.

[0147] In this embodiment, if Figure 8 As shown, the storage module is implemented by an AT24C02 chip and is used to store test process data, and the data will not be lost when power is off;

[0148] The GND pin of the AT24C02 chip is grounded;

[0149] The address pins A0, A1, and A2 of the AT24C02 chip are grounded; that is, the device reads the address 0×91.

[0150] The write protection WP pin of the AT24C02 chip is grounded, that is, the device address is 0xA0;

[0151] The VCC pin of the AT24C02 chip is connected to the VCC power supply;

[0152] The SCL pin of the AT24C02 chip is connected to the P24 pin of the STC89C52 microcontroller, and the SDA pin of the AT24C02 chip is connected to the P25 pin of the STC89C52 microcontroller.

[0153] The display module is used to display the airtightness display result. In this embodiment, the display module is used to display the detection system operation menu and the test process information in addition to the test result.

[0154] In this embodiment, if Figure 7 As shown, the display module is implemented by LCD12864 liquid crystal screen;

[0155] The VDD pin of LCD12864 LCD screen is connected to the VCC power supply;

[0156] The address pin A0 of LCD12864 and the address pin A1 of LCD12864 are grounded, that is, the device address is 0x00;

[0157] The GND pin of LCD12864 LCD screen is grounded;

[0158] The SCL pin of LCD12864 is connected to the P24 pin of STC89C52 microcontroller, and the SDA pin of LCD12864 is connected to the P25 pin of STC89C52 microcontroller;

[0159] The RST pin of LCD12864 LCD screen is connected to the P27 pin of STC89C52 microcontroller;

[0160] The BUSY pin of the LCD12864 LCD screen is connected to the P26 pin of the STC89C52 microcontroller. When the level is high, it means that the LCD screen is in a busy state and does not receive any instructions.

[0161] In this embodiment, the LCD12864 liquid crystal screen is used to display the system operation menu, test process information and test results.

[0162] In this embodiment, if Fig. 9 As shown, the hydraulic principle of the tracheal bundle detection device is connected according to the diagram.

[0163] It should be noted that the blowout preventer control device air pipe bundle detection device provided in the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the modules or steps in the embodiments of the present invention can be decomposed or combined. For example, the modules in the above embodiment can be combined into one module, or further divided into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps, and are not regarded as improper limitations of the present invention.

[0164] The detection method of the air pipe bundle detection device of the blowout preventer control device of the second embodiment of the present invention is as follows: Fig.10 As shown, the method is implemented based on the above-mentioned blowout preventer control device air pipe bundle detection device, and the method includes:

[0165] Before executing this method, connect the air tube bundle to the corresponding aluminum plate, seal the unused aluminum plate with a blind plate, and select an external air source or a built-in air pump for testing by operating the button of the detection device. During the detection process, the control circuit automatically controls the air tube bundle to perform group detection, and the LCD screen displays the test results after the detection is completed.

[0166] Step S100, encoding the pipeline of the pneumatic component to be detected to obtain the coded pneumatic component; for example, the No. 1 gas path is 000000, the No. 2 gas path is 000001, ..., the No. 64 gas path is 111111;

[0167] In this embodiment, the step S100 specifically includes:

[0168] Encoding the air tube bundle gas path of the pneumatic component pipeline according to binary code to obtain the binary-coded air tube bundle gas path;

[0169] The 32 gas paths whose lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the first group, the 32 gas paths whose second lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the second group, the 32 gas paths whose third lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the third group, the 32 gas paths whose fourth lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the fourth group, the 32 gas paths whose second highest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the fifth group, and the 32 gas paths whose highest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the sixth group;

[0170] The tracheal bundle airways not included in the first group were grouped as the seventh group, the tracheal bundle airways not included in the second group were grouped as the eighth group, the tracheal bundle airways not included in the third group were grouped as the ninth group, the tracheal bundle airways not included in the fourth group were grouped as the tenth group, the tracheal bundle airways not included in the fifth group were grouped as the eleventh group, and the tracheal bundle airways not included in the sixth group were grouped as the twelfth group;

[0171] Group 1 and Group 7, Group 2 and Group 8, Group 3 and Group 9, Group 4 and Group 10, Group 5 and Group 11, and Group 6 and Group 12 are complementary groups.

[0172] Step S200, setting a detection sequence based on the coded pneumatic components;

[0173] Step S300, based on the detection sequence, the relay array is controlled to be turned on and off in sequence, and the sensor analog signal of the pneumatic component pipeline is recorded to obtain the sensor analog signal;

[0174] Step S400, converting the sensor analog signal into an airtightness digital signal;

[0175] Step S500, obtaining an air tightness analysis result of a corresponding gas path based on the air tightness digital model analysis;

[0176] In this embodiment, the step S500 specifically includes:

[0177] If the test is performed in the order of groups 1, 2, 3, 4, 5 and 6, the first airtightness analysis result includes case 1 and case 2;

[0178] Case 1: the first airtightness analysis results of all groups 1, 2, 3, 4, 5 and 6 are qualified;

[0179] Case 2: the first airtightness analysis results of some groups in groups 1, 2, 3, 4, 5 and 6 are unqualified, and the unqualified group of case 2 is obtained;

[0180] When situation 2 occurs, the complementary groups of the unqualified group in situation 2 are tested in sequence, including situation 3 and situation 4;

[0181] Case 3: The second airtightness analysis results of all groups in the complementary group of the unqualified group in Case 2 are qualified;

[0182] Case 4: The second airtightness analysis results of some groups in the complementary group of the unqualified group in Case 2 are unqualified;

[0183] When situation three occurs, it means that the gas path with the binary code of 1 corresponding to the binary digit of the unqualified group numbered from low to high in situation two is unqualified, and the other gas paths are qualified;

[0184] When situation four occurs, the binary-coded gas path with the binary bit number of 1 corresponding to the number of the unqualified group in situation two is unqualified, and the binary-coded gas path with the binary bit number of 0 corresponding to the group with unqualified second airtightness analysis results is unqualified, and the rest of the gas paths are qualified.

[0185] For example, if the first 6 groups are all qualified, the 7th group will be tested. If the 7th group is qualified, all 64 channels are qualified. If the 7th group is unqualified, the No. 1 gas channel is unqualified, and the other gas channels are qualified. If there is an unqualified group among the 1st to 6th groups, continue to test the group with the unqualified group number plus 6, and the number of the unqualified pipeline can be found.

[0186] The group detection can complete 64-way detection in 7-12 times, which is about 5-10 times more efficient. The detection results are automatically judged by the sensor and control system, and the accuracy is higher than that of manual detection. During the detection process, personnel can interrupt the test by pressing the emergency stop button, and the system will automatically release the pressure. The pressure can also be released by using a manual pressure relief valve. During the whole process, personnel do not touch the tracheal bundle, which improves safety.

[0187] Step S600: displaying the air tightness analysis result.

[0188] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0189] The terms "first", "second", etc. are used to distinguish similar objects rather than to describe or indicate a particular order or sequence.

[0190] The term "comprise" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus / device that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus / device.

[0191] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A blowout preventer control device air pipe bundle detection device, characterized in that: The detection device comprises: a power module, a control module, a relay array, a shift register, a pneumatic element pipeline, an ADC and a conditioning circuit, a display module and a storage module; The power supply module is used to provide a stable operating voltage for the detection device according to the external power supply; The control module is used to generate control information according to the set working command, and receive the airtightness digital signal to generate the airtightness result; The shift register is used to generate a relay control instruction according to the control information; The relay array is used to realize the switching on and off of specific relays according to the relay control instructions; The pneumatic element pipeline is used to obtain the sensor analog signal of the target tracheal bundle; The ADC and conditioning circuit are used to convert the sensor analog signal into an airtight digital signal; The storage module is used to store the airtightness digital signal and the airtightness result; The display module is used to display the airtightness display result.

2. The blowout preventer control device air pipe bundle detection device according to claim 1, characterized in that: The control module is implemented using a STC89C52 single-chip microcomputer; The second end of the fifth key switch K5 is connected to the RST pin of the STC89C52 microcontroller and the first end of the pull-down resistor in parallel, and the second end of the pull-down resistor is connected to GND; the first end of the fifth key switch K5 is connected to VCC; The XTAL1 and XTAL2 pins of the STC89C52 microcontroller are connected to the external crystal oscillator; The P34 pin of the STC89C52 microcontroller is connected to the base of the transistor VT17; The P35 pin of the STC89C52 microcontroller is connected to the base of the transistor VT18; The P31 pin of the STC89C52 single-chip microcomputer is connected to the first key switch K1; The P32 pin of the STC89C52 microcontroller is connected to the second key switch K2; The P33 pin of the STC89C52 microcontroller is connected to the third key switch K3; The P31 pin of the STC89C52 microcontroller is connected to the fourth key switch K4; The P21 pin of the STC89C52 microcontroller, the P22 pin of the STC89C52 microcontroller, the P20 pin of the STC89C52 microcontroller, and the P23 pin of the STC89C52 microcontroller are respectively connected to the shift register; The P24 pin of the STC89C52 single-chip microcomputer is connected to the first common node and connected to the VCC power supply via the SCL signal line through a pull-up resistor; the P25 pin of the STC89C52 single-chip microcomputer is connected to the first common node and connected to the VCC power supply via the SDA signal line through a pull-up resistor; The P26 pin of the STC89C52 microcontroller and the P27 pin of the STC89C52 microcontroller are connected to the display module respectively; Pin 40 of the STC89C52 microcontroller is connected to the VCC power supply and is also connected to GND via the first capacitor.

3. The blowout preventer control device air pipe bundle detection device according to claim 1, characterized in that: The relay array adopts an 8*8 relay array; The 8*8 relay array includes 8 rows and 8 columns of relays, the pin 13 of the relays in the same row is connected in parallel to the first relay collection node, and the pin 14 of the relays in the same column is connected in parallel to the second relay collection node; All the first relay collection nodes are connected to the emitter of the first NPN transistor through a current limiting resistor; the collector of each first NPN transistor is connected in parallel to a 24V DC power supply; the base of each first NPN transistor is connected to a shift register; All the second relay collection nodes are connected to the collector of the second NPN transistor; the emitter of each second NPN transistor is connected in parallel and then grounded; and the base of each second NPN transistor is connected to the shift register.

4. The blowout preventer control device air pipe bundle detection device according to claim 2, characterized in that: The shift register is implemented by using two 74HC595 shift registers; The first shift register U21 is cascaded with the second shift register U22; The Q0 pin of the first shift register U21, the Q1 pin of the first shift register U21, the Q2 pin of the first shift register U21, the Q3 pin of the first shift register U21, the Q4 pin of the first shift register U21, the Q5 pin of the first shift register U21, the Q6 pin of the first shift register U21 and the Q7 pin of the first shift register U21 are respectively connected to the base of the first NPN transistor in sequence; The DS pin of the first shift register U21 is connected to the P22 pin of the STC89C52 microcontroller; The Q7' pin of the first shift register U21 is connected to the DS pin of the second shift register U22; The VCC pin of the first shift register U21 and the MR pin of the first shift register U21 are both connected to the VCC power supply; The STCP pin of the first shift register U21 is connected to the P21 pin of the STC89C52 microcontroller; The SHCP pin of the first shift register U21 is connected to the P20 pin of the STC89C52 single chip microcomputer; the OE pin of the first shift register U21 is connected to the P23 pin of the STC89C52 single chip microcomputer; The Q1 pin of the second shift register U22, the Q2 pin of the second shift register U22, the Q3 pin of the second shift register U22, the Q4 pin of the second shift register U22, the Q5 pin of the second shift register U22, the Q6 pin of the second shift register U22 and the Q7 pin of the second shift register U22 are respectively connected to the base of the second NPN transistor in sequence; The VCC pin of the second shift register U22 and the MR pin of the second shift register U22 are both connected to the VCC power supply; The STCP pin of the second shift register U22 is connected to the P21 pin of the STC89C52 microcontroller; the SHCP pin of the second shift register U22 is connected to the P20 pin of the STC89C52 microcontroller; and the OE pin of the second shift register U22 is connected to the P23 pin of the STC89C52 microcontroller.

5. The blowout preventer control device air pipe bundle detection device according to claim 2, characterized in that: The ADC and conditioning circuit are implemented using the PCF8591 chip U3 and conditioning circuit; The SCL pin of PCF8591 chip U3 is connected to the P24 pin of STC89C52 microcontroller; The SDA pin of PCF8591 chip U3 is connected to the P25 pin of STC89C52 microcontroller; The A0 pin of the PCF8591 chip U3, the A1 pin of the PCF8591 chip U3, the A2 pin of the PCF8591 chip U3, the VSS pin of the PCF8591 chip U3, the AGND pin of the PCF8591 chip U3, the internal clock EXT pin of the PCF8591 chip U3, the external clock OSC pin of the PCF8591 chip U3 and the analog output AOUT pin of the PCF8591 chip U3 are grounded; The analog input AIN0 pin of the PCF8591 chip U3 is connected to the conditioning circuit; The conditioning circuit is connected to the pressure sensor; The analog input AIN1 pin of the PCF8591 chip U3, the analog input AIN2 pin of the PCF8591 chip U3, and the analog input AIN3 pin of the PCF8591 chip U3 are grounded.

6. The blowout preventer control device air pipe bundle detection device according to claim 2, characterized in that: The display module is realized by LCD12864 liquid crystal screen; The VDD pin of LCD12864 LCD screen is connected to the VCC power supply; The address pin A0 of LCD12864 and the address pin A1 of LCD12864 are grounded; The GND pin of LCD12864 LCD screen is grounded; The SCL pin of LCD12864 is connected to the P24 pin of STC89C52 microcontroller, and the SDA pin of LCD12864 is connected to the P25 pin of STC89C52 microcontroller; The RST pin of LCD12864 LCD screen is connected to the P27 pin of STC89C52 microcontroller; The BUSY pin of LCD12864 LCD screen is connected to the P26 pin of STC89C52 microcontroller.

7. The blowout preventer control device air pipe bundle detection device according to claim 2, characterized in that: The storage module is implemented by an AT24C02 chip; The GND pin of the AT24C02 chip is grounded; The address pin A0 of the AT24C02 chip, the address pin A1 of the AT24C02 chip, and the address pin A2 of the AT24C02 chip are grounded; The write protection WP pin of the AT24C02 chip is grounded; The VCC pin of the AT24C02 chip is connected to the VCC power supply; The SCL pin of the AT24C02 chip is connected to the P24 pin of the STC89C52 microcontroller, and the SDA pin of the AT24C02 chip is connected to the P25 pin of the STC89C52 microcontroller.

8. A method for detecting a blowout preventer control device air pipe bundle detection device, characterized in that: The method is implemented based on the air pipe bundle detection device of the blowout preventer control device according to any one of claims 1 to 7, and the method comprises: Step S100, encoding the pipeline of the pneumatic component to be detected to obtain the encoded pneumatic component; Step S200, setting a detection sequence based on the coded pneumatic components; Step S300, based on the detection sequence, the relay array is controlled to be turned on and off in sequence, and the sensor analog signal of the pneumatic component pipeline is recorded to obtain the sensor analog signal; Step S400, converting the sensor analog signal into an airtightness digital signal; Step S500, obtaining an air tightness analysis result of a corresponding gas path based on the air tightness digital model analysis; Step S600: displaying the air tightness analysis result.

9. The detection method of the air pipe bundle detection device of the blowout preventer control device according to claim 8, characterized in that: The step S100 specifically includes: Encoding the air tube bundle gas path of the pneumatic component pipeline according to binary code to obtain the binary-coded air tube bundle gas path; The 32 gas paths whose lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the first group, the 32 gas paths whose second lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the second group, the 32 gas paths whose third lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the third group, the 32 gas paths whose fourth lowest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the fourth group, the 32 gas paths whose second highest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the fifth group, and the 32 gas paths whose highest bit of binary numbers in the binary-coded tracheal bundle gas paths are 1 are grouped as the sixth group; The tracheal bundle airways not included in the first group were grouped as the seventh group, the tracheal bundle airways not included in the second group were grouped as the eighth group, the tracheal bundle airways not included in the third group were grouped as the ninth group, the tracheal bundle airways not included in the fourth group were grouped as the tenth group, the tracheal bundle airways not included in the fifth group were grouped as the eleventh group, and the tracheal bundle airways not included in the sixth group were grouped as the twelfth group; Group 1 and Group 7, Group 2 and Group 8, Group 3 and Group 9, Group 4 and Group 10, Group 5 and Group 11, and Group 6 and Group 12 are complementary groups.

10. The detection method of the air pipe bundle detection device of the blowout preventer control device according to claim 9, characterized in that: The step S500 specifically includes: If the test is performed in the order of groups 1, 2, 3, 4, 5 and 6, the first airtightness analysis result includes case 1 and case 2; Case 1: the first airtightness analysis results of all groups 1, 2, 3, 4, 5 and 6 are qualified; Case 2: the first airtightness analysis results of some groups in groups 1, 2, 3, 4, 5 and 6 are unqualified, and the unqualified group of case 2 is obtained; When situation 2 occurs, the complementary groups of the unqualified group in situation 2 are tested in sequence, including situation 3 and situation 4; Case 3: The second airtightness analysis results of all groups in the complementary group of the unqualified group in Case 2 are qualified; Case 4: The second airtightness analysis results of some groups in the complementary group of the unqualified group in Case 2 are unqualified; When situation three occurs, it means that the gas path with the binary code of 1 corresponding to the binary digit of the unqualified group numbered from low to high in situation two is unqualified, and the other gas paths are qualified; When situation four occurs, the binary-coded gas path with the binary bit number of 1 corresponding to the number of the unqualified group in situation two is unqualified, and the binary-coded gas path with the binary bit number of 0 corresponding to the group with unqualified second airtightness analysis results is unqualified, and the rest of the gas paths are qualified.

Citation Information

Patent Citations

  • A control circuit that expands multiple I / O ports using the 74HC595 chip

    CN105425687B