Disclosure of Invention
The invention provides an automatic control gas well control cabinet and an automatic control method thereof, which overcome the defects of the prior art, can effectively solve the problems of overlong well opening time and well closing time and inflexible well opening and closing control in the control process of the conventional gas well control cabinet, and further solve the problem of large workload of the conventional contact parameter adjustment mode.
One of the technical schemes of the invention is realized by the following measures: the utility model provides an automatic control gas well switch board, includes the switch board main part the inboard upper portion of switch board main part is equipped with the operation district, and fixed mounting has control panel and display module in the operation district, and fixed mounting has master control module, interface module, data storage module, time cycle control module and pressure control module in the switch board main part of operation district bottom, and display module, control panel, data storage module and interface module all are connected with master control module electricity, and master control module respectively with time cycle control module and pressure control module communication connection.
The following are further optimizations and/or improvements to the above-described inventive solution:
the mobile terminal is in communication connection with the short message transmission module; or/and the display module comprises a display screen and an LCD driving circuit, wherein the display screen is electrically connected with the LCD driving circuit, and the LCD driving circuit is electrically connected with the main control module.
The control panel can be fixedly provided with a USB interface, an indicator light, a well opening key, a well closing key, a stop key, a page turning key, a key adding key, a key subtracting key, a confirmation key and a function switching key, wherein the well opening key, the well closing key, the stop key, the page turning key, the key adding key, the key subtracting key, the confirmation key, the function switching key, the USB interface and the indicator light are electrically connected with the main control module; or/and, the front side of the control cabinet main body is provided with a cabinet door, the top of the control cabinet main body is fixedly provided with a fixed plate, and the fixed plate is provided with a fixed through hole.
The control cabinet can further comprise a data acquisition module positioned outside the control cabinet main body, wherein the data acquisition module comprises a sleeve pressure sensor, an oil pressure sensor and a timer, and the sleeve pressure sensor, the oil pressure sensor and the timer are electrically connected with the interface module.
The second technical scheme of the invention is realized by the following measures: the automatic control method for the automatic control gas well control cabinet comprises the following steps:
firstly, a worker inputs parameter information to a main control module through a control panel 3, and then enters a second step;
a second step of entering a third step if the open time, the close time, the temporary change open time and the temporary change close time are input, entering a sixth step if the open oil pressure, the close oil pressure, the open casing pressure and the close casing pressure are input, and entering a ninth step if the open time, the close time, the open oil pressure, the close oil pressure, the open casing pressure and the close casing pressure are input at the same time;
thirdly, the main control module sends the well opening time and the well closing time input by the staff to the time circulation control module, and the time circulation control module sets time parameters according to the received well opening time and the well closing time and then enters the fourth step;
the fourth step, the main control module receives the real-time oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, and sends the time value to the time circulation control module, and then the fifth step is carried out;
fifthly, the time cycle control module analyzes the received time value, judges whether the current time value reaches the well opening time or not, and if the current time value reaches the well opening time, sends a well opening instruction to the main control module, if the current time value reaches the well opening time, sends the well opening instruction to the main control module, enters a thirteenth step, and if the current time value does not reach the well opening time, does not send a control instruction, and returns to a fourth step;
a sixth step, the main control module sends the well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure input by the staff to the pressure control module, and the pressure control module sets pressure parameters according to the received well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure, and then enters a seventh step;
a seventh step, the main control module receives the real-time oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, sends the oil pressure value and the casing pressure value to the pressure control module, and then enters an eighth step;
eighth, the pressure control module analyzes and judges the received oil pressure value and the sleeve pressure value, and the specific process is as follows:
(1) The pressure control module analyzes the received oil pressure value and judges whether the current oil pressure value reaches the well opening oil pressure or not, if the current oil pressure value reaches the well opening oil pressure or not, the well opening instruction is sent to the main control module, if the current oil pressure value reaches the well opening oil pressure or not, the well closing instruction is sent to the main control module, the thirteenth step is carried out, and if the current oil pressure value does not reach the well opening oil pressure or not, the control instruction is not sent, and the seventh step is returned;
(2) The pressure control module analyzes the received casing pressure value, and meanwhile judges whether the current casing pressure value reaches the well opening casing pressure or not, if the current casing pressure value reaches the well closing casing pressure, a well opening instruction is sent to the main control module, if the current casing pressure value reaches the well closing casing pressure, a well closing instruction is sent to the main control module, a thirteenth step is carried out, if the current casing pressure value does not reach the well closing casing pressure, and if the current casing pressure value does not reach the well opening casing pressure, a control instruction is not sent, and the seventh step is returned;
a ninth step, the main control module sends the well opening time, the well closing time, the well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure which are input by the staff to the pressure control module and the time circulation control module, the pressure control module and the time circulation control module set the pressure parameter and the time parameter, and then the tenth step is carried out;
a tenth step, the main control module receives the real-time oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, and respectively sends the oil pressure value, the casing pressure value and the time value to the time circulation control module and the pressure control module, and then the eleventh step is carried out;
eleventh step, the time circulation control module and the pressure control module analyze and judge the received data at the same time, and the method specifically comprises the following steps:
(1) The time circulation control module analyzes the received time value, and meanwhile judges whether the current time value reaches the well opening time or not, if so, the time circulation control module sends a well opening instruction to the main control module, if so, the time circulation control module sends a well closing instruction to the main control module, the twelfth step is carried out, if not, the control instruction is not sent, and the tenth step is returned;
(2) The pressure control module analyzes the received oil pressure value and judges whether the current oil pressure value reaches the well opening oil pressure or not, if the current oil pressure value reaches the well opening oil pressure or not, the well opening instruction is sent to the main control module, if the current oil pressure value reaches the well opening oil pressure or not, the well closing instruction is sent to the main control module, the twelfth step is carried out, if the current oil pressure value does not reach the well opening oil pressure or not, the control instruction is not sent, and the tenth step is returned;
(3) The pressure control module analyzes the received casing pressure value, and meanwhile judges whether the current casing pressure value reaches the casing pressure for opening a well or not, if the current casing pressure value reaches the casing pressure for closing the well, an opening command is sent to the main control module, if the casing pressure for closing the well is reached, a closing command is sent to the main control module, the twelfth step is carried out, if the casing pressure for closing the well is not reached, and if the casing pressure for opening the well is not reached, a control command is not sent, and the tenth step is returned;
twelfth, the main control module judges the received control instruction, and the judging process is as follows:
(1) If the main control module receives a well closing or opening instruction sent by the pressure control module, the twelfth step is entered;
(2) If the main control module receives the well closing or opening instruction sent by the time circulation control module and does not receive the well closing or opening instruction sent by the pressure control module, returning to the eleventh step;
(3) If the main control module does not receive the well closing or opening instruction sent by the time circulation control module and does not receive the well closing or opening instruction sent by the pressure control module, returning to the eleventh step;
and thirteenth step, the main control module executes the well opening or closing action corresponding to the control instruction.
The following are further optimizations and/or improvements to the above-described inventive solution:
in the first step, the staff inputting parameter information to the main control module through the control panel may further include temporarily changing the open time and temporarily changing the close time.
In the second step, the temporary change of the well opening time and the temporary change of the well closing time can replace the well opening time and the well closing time, and the subsequent steps are entered.
In the first step, the staff can also input parameter information to the main control module through the short message transmission module in the form of short message through the mobile terminal, and the short message transmission module verifies the parameter information and then sends the parameter information to the main control module.
In the fourth step, the main control module can analyze the received oil pressure value and the sleeve pressure value, judge whether the current oil pressure value and the sleeve pressure value are in a reasonable range, and if one of the oil pressure value and the sleeve pressure value is not in the reasonable range, the main control module transmits alarm information to the mobile communication equipment through the short message transmission module; or/and, in the seventh step, the main control module can also analyze the received oil pressure value and the sleeve pressure value, judge whether the current oil pressure value and the sleeve pressure value are in a reasonable range, and if one of the oil pressure value and the sleeve pressure value is not in the reasonable range, the main control module transmits alarm information to the mobile communication equipment through the short message transmission module; or/and, in the tenth step, the main control module can also analyze the received oil pressure value and the sleeve pressure value, judge whether the current oil pressure value and the sleeve pressure value are in a reasonable range, and if one of the oil pressure value and the sleeve pressure value is not in the reasonable range, the main control module transmits alarm information to the mobile communication equipment through the short message transmission module.
The invention has reasonable design, convenient use and simple control mode, realizes parameter setting of the well opening time, the well closing time, the well opening pressure, the well closing pressure, the temporary change of the well opening time and the temporary change of the well closing time through the main control module, the time circulation control module and the pressure control module, judges the currently acquired data in real time, timely sends out a well opening or well closing control instruction, solves the problems of overlong well opening time and well closing time and inflexible well opening and closing control in the control process of the existing gas well control cabinet, flexibly carries out well opening and closing operation according to actual conditions, reduces cost, avoids construction and debugging, network maintenance and software maintenance, has high reliability, flexible control and safe operation, is easy to popularize, realizes remote parameter adjustment through the short message transmission module, solves the problem of large work load caused by the traditional contact type parameter adjustment mode, and improves the working efficiency.
Detailed Description
The present invention is not limited by the following examples, and specific embodiments can be determined according to the technical scheme and practical situations of the present invention.
In the present invention, for convenience of description, the description of the relative positional relationship of each component is described according to the layout manner of fig. 1 of the specification, for example: the positional relationship of front, rear, upper, lower, left, right, etc. is determined in accordance with the layout direction of fig. 1 of the specification.
The invention is further described below with reference to examples and figures:
example 1: as shown in fig. 1, 2, 3 and 4, the automatic control gas well control cabinet comprises a control cabinet main body 1, an operation area 2 is arranged at the upper part of the inner side of the control cabinet main body 1, a control panel 3 and a display module are fixedly arranged in the operation area 2, a main control module, an interface module, a data storage module, a time circulation control module and a pressure control module are fixedly arranged in the control cabinet main body 1 at the bottom of the operation area 2, the display module, the control panel 3, the data storage module and the interface module are all electrically connected with the main control module, and the main control module is respectively in communication connection with the time circulation control module and the pressure control module.
As shown in fig. 1, 2, 3 and 4, the main control module and the interface module are all known techniques, and the main control module can be a programmable control chip and is mainly used for receiving, transmitting and executing instructions and analyzing data; the interface module is various interfaces and is used for data transmission between various sensors and the main control module; the time circulation control module can be a programmable control chip, can realize setting of the well opening time, the well closing time, the temporary changing well opening time and the temporary changing well closing time parameters, judges whether the current time value received by the interface module reaches the time parameters, and sends corresponding control instructions to the main control module according to the result; the pressure control module can be a programmable control chip, can realize parameter setting of well opening oil pressure, well closing oil pressure, well opening casing pressure and well closing casing pressure, judges whether the current oil pressure value and the casing pressure value received by the interface module reach the pressure parameters, and sends corresponding control instructions to the main control module according to the result; the control panel 3 is used for manually inputting the well opening time, the well closing time, the temporarily changing well opening time and the temporarily changing well closing time and the well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure which are required to be set by a worker. The temporary change open time and the temporary change close time are only effective once, and cannot participate in the circulation control. The display module is used for displaying data, and is convenient for the staff to look over. The data storage module can be a storage chip and is used for storing the real-time gas well data received by the main control module through the interface module, so that workers can conveniently inquire historical data.
During operation, a worker inputs parameter information through the control panel 3, wherein the parameter information comprises a well opening time, a well closing time, a well opening oil pressure, a well closing oil pressure, a well opening casing pressure, a well closing casing pressure, a temporary changing well opening time and a temporary changing well closing time, the main control module respectively sends parameters input by the worker to the time circulation control module and the pressure control module, the time circulation control module and the pressure control module set the parameters, the main control module receives the oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, the oil pressure value, the casing pressure value and the time value are respectively transmitted to the time circulation control module and the pressure control module, the time circulation control module and the pressure control module analyze the parameters to judge whether the set parameters are reached, and send corresponding control instructions to the main control module, and the main control module executes the control instructions to perform well closing or well opening operation.
The invention has reasonable design, convenient use and simple control mode, realizes parameter setting of the well opening time, the well closing time, the well opening pressure, the well closing pressure, the temporary changing well opening time and the temporary changing well closing time through the main control module, the time circulation control module and the pressure control module, judges the currently acquired data in real time, timely sends out a well opening or well closing control instruction, solves the problems of overlong well opening time and well closing time and inflexible well opening and closing control in the control process of the existing gas well control cabinet, flexibly carries out well opening and closing operation according to actual conditions, reduces cost, avoids construction and debugging, network maintenance and software maintenance, has high reliability, flexible control and safe operation, and is easy to popularize.
The remote gas well control cabinet can be further optimized or/and improved according to actual needs:
as shown in fig. 1 and 2, the control cabinet further comprises a mobile terminal and a short message transmission module fixedly arranged in the control cabinet main body 1, wherein the short message transmission module is electrically connected with the main control module, and the mobile terminal is in communication connection with the short message transmission module. The short message transmission module can be a short message communication module and is used for receiving the well opening time, the well closing time, the well opening oil pressure, the well closing oil pressure, the well opening casing pressure, the well closing casing pressure, the well opening time and the well closing time which are temporarily changed by the mobile terminal in a short message mode, so that a worker can remotely input parameter values such as the well opening time and the well opening pressure, remote parameter adjustment is realized, the problem of large workload caused by the traditional contact type parameter adjustment mode is solved, the working efficiency is improved, and the practicability is improved.
As shown in fig. 1 and 2, the display module comprises a display screen 4 and an LCD driving circuit, wherein the display screen 4 is electrically connected with the LCD driving circuit, and the LCD driving circuit is electrically connected with the main control module. The LCD driving circuit is a well-known technique for driving the display screen 4; the display screen 4 may be a low power consumption non-backlit liquid crystal display screen.
As shown in fig. 1 and 2, the control panel 3 is fixedly provided with a USB interface, an indicator light, a well opening key, a well closing key, a stop key, a page turning key, a key adding key, a key subtracting key, a confirmation key and a function switching key, and the well opening key, the well closing key, the stop key, the page turning key, the key adding key, the key subtracting key, the confirmation key, the function switching key, the USB interface and the indicator light are all electrically connected with the main control module. The functional keys described above can enhance the operability of the present invention and facilitate other operations.
As shown in fig. 1 and 2, a cabinet door 5 is installed on the front side of the control cabinet body 1, a fixing plate 6 is fixedly installed on the top of the control cabinet body 1, and a fixing through hole is formed in the fixing plate 6. The installation cabinet door 5 can prevent dust and water, so that the service life of the invention is prolonged; the fixing plate 6 is used for fixedly mounting the present invention. Here, the cabinet door 5 may be mounted on the front side of the control cabinet body 1 by a hinge.
As shown in fig. 1 and 2, the control cabinet further comprises a data acquisition module positioned outside the control cabinet main body 1, wherein the data acquisition module comprises a sleeve pressure sensor, an oil pressure sensor and a timer, and the sleeve pressure sensor, the oil pressure sensor and the timer are electrically connected with the interface module. The casing pressure sensor, the oil pressure sensor and the timer are all known technologies and are used for collecting data such as oil pressure, casing pressure and time value in a gas well.
Example 2: as shown in fig. 1, 2, 3, 4 and 5, the automatic control method of the automatic control gas well control cabinet comprises the following steps:
firstly, a worker inputs parameter information to a main control module through a control panel 3, and then enters a second step;
a second step of entering a third step if the open time, the close time, the temporary change open time and the temporary change close time are input, entering a sixth step if the open oil pressure, the close oil pressure, the open casing pressure and the close casing pressure are input, and entering a ninth step if the open time, the close time, the open oil pressure, the close oil pressure, the open casing pressure and the close casing pressure are input at the same time;
thirdly, the main control module sends the well opening time and the well closing time input by the staff to the time circulation control module, and the time circulation control module sets time parameters according to the received well opening time and the well closing time and then enters the fourth step;
the fourth step, the main control module receives the real-time oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, and sends the time value to the time circulation control module, and then the fifth step is carried out;
fifthly, the time cycle control module analyzes the received time value, judges whether the current time value reaches the well opening time or not, and if the current time value reaches the well opening time, sends a well opening instruction to the main control module, if the current time value reaches the well opening time, sends the well opening instruction to the main control module, enters a thirteenth step, and if the current time value does not reach the well opening time, does not send a control instruction, and returns to a fourth step;
a sixth step, the main control module sends the well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure input by the staff to the pressure control module, and the pressure control module sets pressure parameters according to the received well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure, and then enters a seventh step;
a seventh step, the main control module receives the real-time oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, sends the oil pressure value and the casing pressure value to the pressure control module, and then enters an eighth step;
eighth, the pressure control module analyzes and judges the received oil pressure value and the sleeve pressure value, and the specific process is as follows:
(1) The pressure control module analyzes the received oil pressure value and judges whether the current oil pressure value reaches the well opening oil pressure or not, if the current oil pressure value reaches the well opening oil pressure or not, the well opening instruction is sent to the main control module, if the current oil pressure value reaches the well opening oil pressure or not, the well closing instruction is sent to the main control module, the thirteenth step is carried out, and if the current oil pressure value does not reach the well opening oil pressure or not, the control instruction is not sent, and the seventh step is returned;
(2) The pressure control module analyzes the received casing pressure value, and meanwhile judges whether the current casing pressure value reaches the well opening casing pressure or not, if the current casing pressure value reaches the well closing casing pressure, a well opening instruction is sent to the main control module, if the current casing pressure value reaches the well closing casing pressure, a well closing instruction is sent to the main control module, a thirteenth step is carried out, if the current casing pressure value does not reach the well closing casing pressure, and if the current casing pressure value does not reach the well opening casing pressure, a control instruction is not sent, and the seventh step is returned;
a ninth step, the main control module sends the well opening time, the well closing time, the well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure which are input by the staff to the pressure control module and the time circulation control module, the pressure control module and the time circulation control module set the pressure parameter and the time parameter, and then the tenth step is carried out;
a tenth step, the main control module receives the real-time oil pressure value, the casing pressure value and the time value of the gas well acquired by the data acquisition module through the interface module, and respectively sends the oil pressure value, the casing pressure value and the time value to the time circulation control module and the pressure control module, and then the eleventh step is carried out;
eleventh step, the time circulation control module and the pressure control module analyze and judge the received data at the same time, and the method specifically comprises the following steps:
(1) The time circulation control module analyzes the received time value, and meanwhile judges whether the current time value reaches the well opening time or not, if so, the time circulation control module sends a well opening instruction to the main control module, if so, the time circulation control module sends a well closing instruction to the main control module, the twelfth step is carried out, if not, the control instruction is not sent, and the tenth step is returned;
(2) The pressure control module analyzes the received oil pressure value and judges whether the current oil pressure value reaches the well opening oil pressure or not, if the current oil pressure value reaches the well opening oil pressure or not, the well opening instruction is sent to the main control module, if the current oil pressure value reaches the well opening oil pressure or not, the well closing instruction is sent to the main control module, the twelfth step is carried out, if the current oil pressure value does not reach the well opening oil pressure or not, the control instruction is not sent, and the tenth step is returned;
(3) The pressure control module analyzes the received casing pressure value, and meanwhile judges whether the current casing pressure value reaches the casing pressure for opening a well or not, if the current casing pressure value reaches the casing pressure for closing the well, an opening command is sent to the main control module, if the casing pressure for closing the well is reached, a closing command is sent to the main control module, the twelfth step is carried out, if the casing pressure for closing the well is not reached, and if the casing pressure for opening the well is not reached, a control command is not sent, and the tenth step is returned;
twelfth, the main control module judges the received control instruction, and the judging process is as follows:
(1) If the main control module receives a well closing or opening instruction sent by the pressure control module, the twelfth step is entered;
(2) If the main control module receives the well closing or opening instruction sent by the time circulation control module and does not receive the well closing or opening instruction sent by the pressure control module, returning to the eleventh step;
(3) If the main control module does not receive the well closing or opening instruction sent by the time circulation control module and does not receive the well closing or opening instruction sent by the pressure control module, returning to the eleventh step;
and thirteenth step, the main control module executes the well opening or closing action corresponding to the control instruction.
The well opening time, the well closing time, the well opening oil pressure, the well closing oil pressure, the well opening casing pressure and the well closing casing pressure can be recycled. In the twelfth step, if the main control module receives the well closing or opening instruction sent by the time cycle control module and does not receive the well closing or opening instruction sent by the pressure control module, returning to the eleventh step, and performing well opening and closing actions when waiting for the pressure well opening and closing parameter value. The 3 cases can be used according to actual situations, and generally, single time control or pressure control is often used, and pressure and time mixed control is used in special cases.
The remote control method of the remote gas well control cabinet can be further optimized or/and improved according to actual needs:
as shown in fig. 2 and 5, in the first step, the staff member inputs parameter information to the main control module through the control panel, and the parameter information further includes temporary change of the open time and temporary change of the close time.
As shown in fig. 2 and 5, in the second step, the open time and the close time are temporarily changed instead of the open time and the close time, and the process proceeds to the subsequent step. The temporary change of the well opening time and the temporary change of the well closing time can only change the current on-off time and the well closing time, namely only one use is limited, and the next well opening time and the next well closing time are restored to the set well opening time and the set well closing time.
As shown in fig. 2 and 5, in the first step, the staff can also input parameter information to the main control module through the short message transmission module in the form of short message through the mobile terminal, and the short message transmission module verifies the parameter information and then sends the parameter information to the main control module. The short message transmission module enables the staff to remotely adjust parameters.
In the fourth step, as shown in fig. 2 and 5, the main control module can analyze the received oil pressure value and the sleeve pressure value, determine whether the current oil pressure value and the sleeve pressure value are within a reasonable range, and if one of the oil pressure value and the sleeve pressure value is not within the reasonable range, the main control module transmits alarm information to the mobile communication device through the short message transmission module.
As shown in fig. 2 and 5, in the seventh step, the main control module can also analyze the received oil pressure value and the sleeve pressure value, determine whether the current oil pressure value and the sleeve pressure value are within a reasonable range, and if one of the oil pressure value and the sleeve pressure value is not within the reasonable range, the main control module transmits alarm information to the mobile communication device through the short message transmission module.
As shown in fig. 2 and 5, in the tenth step, the main control module can also analyze the received oil pressure value and the sleeve pressure value, determine whether the current oil pressure value and the sleeve pressure value are within a reasonable range, and if one of the oil pressure value and the sleeve pressure value is not within the reasonable range, the main control module transmits alarm information to the mobile communication device through the short message transmission module.
The reasonable range is a threshold value preset in the main control module according to actual conditions.
The technical characteristics form the embodiment of the invention, have stronger adaptability and implementation effect, and can increase or decrease unnecessary technical characteristics according to actual needs so as to meet the requirements of different situations.