Method, system and storage medium for one-key start-stop split injection of long pipeline
By communicating with the central control device and station control device through the water jet programmable logic controller, one-button start-stop distribution and injection of long-distance pipelines can be realized, which solves the problems of complex operation and high accident risk in the existing technology and realizes safe and efficient pipeline operation.
Patent Information
- Application Number
- CN202210905213.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2042-07-29
AI Technical Summary
In existing technologies, the start-up, shutdown, distribution, or injection operations of long-distance pipelines rely on manual control, resulting in complex operation processes, low fault tolerance, and high accident risks.
The water-driven programmable logic controller (PLC) communicates with the central control device and the station control device to realize one-button start/stop distribution injection. The central control device sends instructions and pre-selected data, and the water-driven PLC instructs the station control device to perform start/stop operations and provides feedback on the execution results.
It has enabled the safe, stable and efficient operation of long-distance pipelines, reduced operational complexity and accident risks, and improved the system's fault tolerance.
Smart Images

Figure CN115204727B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of oil and gas storage and transportation, in particular to a method and system for one-key start-stop split injection of long-distance pipelines and a storage medium. BACKGROUND
[0002] Currently, in the daily operation process of liquid pipelines, start-stop split injection is the most frequent operation. In 2019, the West Oil Products Pipeline performed start-stop split injection or injection operation a total of 924 times. Taking start split injection as an example, each operation needs to be performed according to the operation ticket, and each valve needs to be opened from low pressure to high pressure. After confirming that the split injection process is connected, the split injection regulating valve is gradually opened, the split injection flow is slowly increased, and the target flow is reached. During this period, about 50 commands are issued, and it takes 10-15 minutes. In the prior art, start-stop split injection or injection is completed by manual operation. However, the current manual start-stop split injection or injection method has a large number of dispatching commands and a large amount of work, and is prone to human error, especially for new dispatchers who have less experience in control and do not fully understand the performance of the split injection regulating valve. When controlling the split injection regulating valve, it is easy to cause the split injection flow or pressure to be too large due to the large adjustment range, which may cause overpressure or even pressure relief accidents, affecting the safety of pipeline operation. Therefore, the manual control start-stop split injection or injection method adopted in the prior art has the problems of low fault tolerance and high accident risk. SUMMARY
[0003] The purpose of the embodiments of the present application is to provide a method and system for one-key start-stop split injection of long-distance pipelines and a storage medium, to solve the problem of low fault tolerance and high accident risk of the method for implementing start-stop split injection of long-distance pipelines by manual operation in the prior art.
[0004] To achieve the above-mentioned purpose, the first aspect of the present application provides a method for one-key start-stop split injection of long-distance pipelines, applied to a water hammer programmable logic controller, the water hammer programmable logic controller being in communication with a central control device and a station control device respectively, and the method comprising:
[0005] receiving an instruction and preselected data sent by the central control device;
[0006] in the case of receiving an instruction as a start split injection instruction, instructing the station control device to perform start split injection according to the preselected data;
[0007] in the case of receiving an instruction as a stop split injection instruction, instructing the station control device to perform stop split injection;
[0008] in the case of receiving an instruction as a start injection instruction, instructing the station control device to perform start injection according to the preselected data;
[0009] in the case of receiving an instruction as a stop injection instruction, instructing the station control device to perform stop injection.
[0010] In the embodiment of the present application, the method further comprises:
[0011] Receiving the execution result of the station control device feedback, and feeding back the execution result to the central control device.
[0012] In the embodiment of the present application, in the case that the instruction is the start distribution instruction, the preselected data comprises: the distribution oil variety, the distribution amount and the start distribution number of ways;
[0013] In the case that the instruction is the start injection instruction, the preselected data comprises: the oil variety, the injection amount and the start injection number of ways.
[0014] The second aspect of the present application provides a method for one-key start-stop distribution and injection of long-distance pipeline, applied to a station control device, the station control device being in communication with a water hammer programmable logic controller, the water hammer programmable logic controller being in communication with a central control device and the station control device, the station control device comprising a distribution station on-off process module, a start distribution module, a stop distribution module, an injection on-off process module, a start injection module and a stop injection module, and the method comprising:
[0015] Obtaining an instruction of the water hammer programmable logic controller;
[0016] In the case that a start distribution instruction sent by the water hammer programmable logic controller is received, the distribution station on-off process module and the start distribution module are called;
[0017] In the case that a stop distribution instruction sent by the water hammer programmable logic controller is received, the stop distribution module is called;
[0018] In the case that a start injection instruction sent by the water hammer programmable logic controller is received, the injection on-off process module and the start injection module are called;
[0019] In the case that a stop injection instruction sent by the water hammer programmable logic controller is received, the stop injection module is called.
[0020] In the embodiment of the present application, the method further comprises:
[0021] Receiving an on-off process instruction sent by the water hammer programmable logic controller;
[0022] According to the on-off process instruction, the distribution station field on-off process module is called;
[0023] The execution result of the distribution station field on-off process module is fed back to the water hammer programmable logic controller.
[0024] In the embodiment of the present application, calling the stop distribution module comprises:
[0025] Setting each distribution regulating valve to PID valve position control;
[0026] obtaining an opening value of each sub-distribution regulating valve;
[0027] closing each sub-distribution regulating valve and sub-distribution valve according to a preset condition;
[0028] closing all inlet valves when the sub-distribution valve is in a fully closed state;
[0029] feeding back an execution result of the stop-distribution module to the water hammer programmable logic controller according to an execution condition.
[0030] In the embodiments of the present application, the method further comprises:
[0031] receiving a conduction flow instruction sent by the water hammer programmable logic controller;
[0032] calling an injection conduction flow module according to the conduction flow instruction;
[0033] feeding back an execution result of the injection conduction flow module to the water hammer programmable logic controller.
[0034] In the embodiments of the present application, calling the stop-injection module comprises:
[0035] obtaining a current injection flow value;
[0036] adjusting an injection regulating valve according to the injection flow value;
[0037] closing all downstream valves of the regulating valve when the injection regulating valve is fully closed;
[0038] feeding back an execution result of the stop-injection module to the water hammer programmable logic controller according to an execution condition.
[0039] The third aspect of the present application provides a system for one-key start-stop sub-distribution injection of a long-distance pipeline, comprising:
[0040] a memory configured to store instructions; and
[0041] a processor configured to call the instructions from the memory and capable of realizing the method for one-key start-stop sub-distribution injection of a long-distance pipeline according to the above when executing the instructions.
[0042] The fourth aspect of the present application provides a machine-readable storage medium, which stores instructions for causing a machine to execute the method for one-key start-stop sub-distribution injection of a long-distance pipeline according to the above.
[0043] Through the technical solution, the water hammer programmable logic controller receives the one-key start and stop distribution instruction sent by the central control device, obtains the preselected data sent by the central control device, sends the start and distribution or injection instruction and the preselected data to the station control device of the corresponding station yard according to the start and distribution or injection instruction and the preselected data sent by the central control device, and instructs the station control device to execute the start and distribution or start injection; and the water hammer programmable logic controller sends the stop distribution or stop injection instruction to the station control device of the corresponding station yard according to the stop distribution or stop injection instruction sent by the central control device, and instructs the station control device to execute the stop distribution or stop injection instruction. Through the communication among the central control device, the water hammer programmable logic controller and the station control device, the one-key start and stop distribution and injection of the long-distance pipeline are realized, the dispatcher does not need to issue instructions multiple times, the problems of complex operation process, low fault tolerance and high accident risk existing in the manual control method in the prior art are solved, and the safe, stable and efficient operation of the long-distance pipeline is realized.
[0044] Other features and advantages of the embodiments of the present application will be described in detail in the following specific implementation part. BRIEF DESCRIPTION OF DRAWINGS
[0045] The accompanying drawings are used to provide a further understanding of the embodiments of the present application, and constitute a part of the specification, and are used to explain the embodiments of the present application together with the following specific implementation, but do not constitute a limitation on the embodiments of the present application. In the drawings:
[0046] Figure 1 A flowchart of a method for one-key start and stop distribution and injection of a long-distance pipeline provided by the embodiments of the present application;
[0047] Figure 2 A flowchart of a method for one-key start and stop distribution and injection of a long-distance pipeline provided by another embodiment of the present application;
[0048] Figure 3 A structure block diagram of a system for one-key start and stop distribution and injection of a long-distance pipeline provided by the embodiments of the present application. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical scheme and advantages of the embodiments of the present application more clear, the technical scheme in the embodiments of the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiments of the present application, and is not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
[0050] It should be noted that if the application embodiments have directionality indications (such as up, down, left, right, front, back, etc.), the directionality indications are only used to explain the relative position relationship, movement condition, etc. between components in a certain posture (as shown in the drawings), and if the certain posture changes, the directionality indications also change accordingly.
[0051] In addition, if the application embodiments have descriptions of "first", "second", etc., the "first", "second", etc. descriptions are only for description purposes, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of indicated technical features. Therefore, the features limited by "first", "second" can explicitly or implicitly include at least one of the features. In addition, the technical solutions of each embodiment can be combined with each other, but it must be based on the realization of ordinary skilled in the art, when the combination of technical solutions appears contradictory or unachievable, it should be considered that the combination of technical solutions does not exist, nor within the protection scope claimed by the application.
[0052] Figure 1 A flowchart of a method for one-key start-stop split injection of a long pipeline provided by the application embodiment. As shown in Figure 1 The application embodiment provides a method for one-key start-stop split injection of a long pipeline, which is applied to a water hammer programmable logic controller, the water hammer programmable logic controller is in communication with a central control device and a station control device respectively, and the method can include the following steps:
[0053] Step 101, receiving an instruction and preselected data sent by the central control device;
[0054] Step 102, in the case of receiving an instruction as a start split injection instruction, instructing the station control device to execute start split injection according to the preselected data;
[0055] Step 103, in the case of receiving an instruction as a stop split injection instruction, instructing the station control device to execute stop split injection;
[0056] Step 104, in the case of receiving an instruction as a start injection instruction, instructing the station control device to execute start injection according to the preselected data;
[0057] Step 105, in the case of receiving an instruction as a stop injection instruction, instructing the station control device to execute stop injection.
[0058] In the embodiment of the present application, the pipeline is a device for conveying gas, liquid or fluid with solid particles, which is composed of pipes, pipe connectors and valves and the like; the long pipeline refers to a long-distance pipeline for conveying commodity medium (oil, gas, etc.) between production sites, storage depots and use units, which crosses or spans rivers, roads and the like and has intermediate oil pressurizing pump stations, and generally the entire pipeline length is greater than 50 km. Since the control of the long pipeline is currently performed in a manual manner, the entire process relies on dispatchers to manually confirm and operate step by step, and the operation steps are many, the operation frequency is high, and the operation time is long, which not only requires the dispatchers to be extremely high, but also has obvious disadvantages of manual operation, such as low fault tolerance and high accident risk. Therefore, it is necessary to realize automatic control of the pipeline operation of the system.
[0059] A programmable logic controller (PLC) is a digital operation and electronic system specially designed for application in an industrial environment, which uses a programmable memory to store instructions for performing logic operation, sequential control, timing, counting and arithmetic operation, and controls various types of mechanical equipment or production processes through digital or analog input and output.
[0060] In the embodiment of the present application, the center control device is arranged in the main control center of the long pipeline, communicates with the water hammer programmable logic controller, and is used to issue start-stop injection instructions to the programmable logic controller; the water hammer programmable logic controller is arranged in a station of the long pipeline, generally the first station, respectively communicates with the center control device and the station control device, is used to receive the start-stop injection instructions sent by the center control device, sends instructions to the station control device according to the built-in program to instruct the station control to execute the start-stop injection task, and receives the execution result fed back by the station control device and feeds back the execution result to the center control device; the station control device is arranged in the station control device, communicates with the water hammer programmable logic controller, is used to receive the instructions sent by the water hammer programmable logic controller, executes the start-stop injection task according to the built-in program to call the related modules, and feeds back the execution result to the water hammer programmable logic controller.
[0061] The water hammer programmable logic controller receives an instruction sent by the central control device, and executes corresponding operations according to the built-in program. In the case of an abnormal event occurring in the process of executing the built-in program by the station control device, the station control device feeds back alarm prompt information to the water hammer programmable logic controller. In an example, the types of abnormal events can include: too small pressure margin, pump tripping / power failure, in / out station pressure variation failure, regulating valve failure, pump start / stop failure, etc. After receiving the alarm information sent by the station control device, the water hammer programmable logic control device executes safety protection measures according to the built-in program. In an example, the safety protection measures executed by the water hammer programmable logic controller can be water hammer advance protection. The water hammer advance protection system adopts the method of pump stopping and valve cutting off for advance protection to protect the pipeline trunk. That is, in the case of abnormal working conditions such as sudden pump stopping or trunk valve sudden closing at a station, if the dispatcher does not take intervention measures within a specified time, the system automatically triggers the water hammer protection instruction to perform emergency shutdown of the whole line to prevent overpressure of the pipeline. In another example, the long-distance pipeline can also be protected by in / out station pressure relief protection, pressure switch protection, emergency shutdown protection and other protection measures, which is beneficial to the stable operation of the long-distance pipeline.
[0062] Firstly, the dispatcher inputs preselected data and selects one-key start of split transmission or start of injection through the central control device, and the central control device sends a start of split transmission or start of injection instruction to the water hammer programmable logic controller. In the case that the water hammer programmable logic controller receives the start of split transmission or start of injection instruction sent by the central control device, the built-in program calls a built-in basic flow rate start-up module, and sends the preselected data and the start of split transmission or start of injection instruction to the station control device to instruct the station control device to execute the start of split transmission or start of injection instruction. The basic flow rate start-up module is a first-level module built in the water hammer programmable logic controller, which can execute the start of split transmission or start of injection instruction by calling a second-level module corresponding to the basic flow rate start-up module built in the station control device.
[0063] The central control device sends a stop of split transmission or stop of injection instruction to the water hammer programmable logic controller. In the case that the water hammer programmable logic controller receives the stop of split transmission or stop of injection instruction sent by the central control device, the built-in program calls a built-in basic flow rate stop module of the water hammer programmable logic controller, and sends the stop of split transmission or stop of injection instruction to the corresponding station control device to instruct the station control device to execute the stop of split transmission or stop of injection instruction. The basic flow rate stop module is a first-level module built in the water hammer programmable logic controller, which can execute the stop of split transmission or stop of split transmission instruction by calling a second-level module corresponding to the basic flow rate stop module built in the station control device.
[0064] Through the technical solution, the water hammer programmable logic controller receives the one-key start and stop distribution instruction sent by the central control device, obtains the preselected data sent by the central control device, sends the start and distribution or injection instruction and the preselected data to the station control device of the corresponding station yard according to the start and distribution or injection instruction and the preselected data sent by the central control device, and instructs the station control device to execute the start and distribution or start injection; the water hammer programmable logic controller sends the stop distribution or stop injection instruction to the station control device of the corresponding station yard according to the stop distribution or stop injection instruction sent by the central control device, and instructs the station control device to execute the stop distribution or stop injection instruction. Through the communication among the central control device, the water hammer programmable logic controller and the station control device, the one-key start and stop distribution and injection of the long-distance pipeline are realized, the dispatcher does not need to issue instructions multiple times, the problems of complex operation process, low fault tolerance and high accident risk existing in the manual control method in the prior art are solved, and the safe, stable and efficient operation of the long-distance pipeline is realized.
[0065] In the embodiment of the application, the method can further include:
[0066] Receiving the execution result fed back by the station control device and feeding the execution result to the central control device.
[0067] Specifically, the water hammer programmable logic control device sends an instruction to the station control device, the station control device executes the built-in program according to the received instruction, after the program is executed, the station control device feeds the execution result to the water hammer programmable logic controller, and the water hammer programmable controller feeds the execution result of the station control device received to the central control device. In one example, according to the execution result fed back by the water hammer programmable logic controller, the central control device uploads the relevant information to the display so that the dispatcher can master the system operation process in real time and find problems in time to make adjustments.
[0068] In the embodiment of the application, in the case where the instruction is a start and distribution instruction, the preselected data includes: a distribution oil variety, a distribution amount and a start and distribution route number;
[0069] In the case where the instruction is a start and injection instruction, the preselected data includes: an injection oil variety, an injection amount and a start and injection route number.
[0070] Specifically, before starting the split injection, the dispatcher needs to perform the split injection pre-selection operation through the central control device, and the central control device sends the obtained pre-selection data and split injection instruction to the water hammer programmable logic controller; wherein the pre-selection data of the split injection is the type, quantity and number of split injection routes of the injected oil. In an example, taking the western product oil pipeline as an example, the number of split injection routes of the western product oil pipeline is 4, which are 0# diesel oil route, -10# diesel oil route, 92# diesel oil route and 95# diesel oil route. Before starting the injection, the dispatcher needs to perform the injection pre-selection operation through the central control device, and the central control device sends the obtained pre-selection data and injection instruction to the water hammer programmable logic controller; wherein the pre-selection data of the injection is the type, quantity and number of injection routes of the injected oil. In an example, taking the western product oil pipeline as an example, the number of injection routes of the western product oil pipeline is 2, which are diesel oil route and gasoline route.
[0071] Figure 2 A flowchart of a method for one-key starting and stopping split injection of a long-distance pipeline according to another embodiment of the present application is shown in FIG. 6. As shown in FIG. 6, the method for one-key starting and stopping split injection of a long-distance pipeline according to another embodiment of the present application is applied to a station control device, the station control device communicates with a water hammer programmable logic controller, the water hammer programmable logic controller communicates with a central control device and the station control device, the station control device includes a split injection station on-flow process module, a split injection starting module, a split injection stopping module, an injection on-flow process module, an injection starting module and an injection stopping module, and the method can include the following steps: Figure 2
[0072] Step 201, obtaining an instruction of the water hammer programmable logic controller;
[0073] Step 202, in the case that the split injection starting instruction sent by the water hammer programmable logic controller is received, calling the split injection station on-flow process module and the split injection starting module;
[0074] Step 203, in the case that the split injection stopping instruction sent by the water hammer programmable logic controller is received, calling the split injection stopping module;
[0075] Step 204, in the case that the injection starting instruction sent by the water hammer programmable logic controller is received, calling the injection on-flow process module and the injection starting module;
[0076] Step 205, in the case that the injection stopping instruction sent by the water hammer programmable logic controller is received, calling the injection stopping module.
[0077] In the embodiment of the present application, the station control device communicates with the water hammer programmable logic controller, is arranged at each station of the long pipeline, and has built-in secondary modules and tertiary modules according to different conditions of each station. When the station control device receives an instruction sent by the water hammer programmable logic controller, the corresponding secondary module is called to execute the instruction according to the received instruction. The built-in secondary modules of the station control device can include a distribution station on-flow process module, an injection on-flow process module, a distribution start module, a distribution stop module, an injection start module, and an injection stop module.
[0078] When the station control device receives a distribution start instruction sent by the water hammer programmable logic controller, the built-in distribution station on-flow process module and the distribution start module are called to execute the distribution start instruction. The distribution station on-flow process module is called first. When the on-flow process module executes successfully, the distribution start module is called. The distribution start module executes the distribution start instruction according to the built-in program and feeds back the execution result to the station control device. In an example, taking the western product oil pipeline as an example, the built-in program of the distribution start module in the station control device of the distribution station in the western product oil pipeline is as follows: receiving a distribution start instruction sent by the built-in basic flow start module of the water hammer programmable logic controller, receiving a target opening degree set value and a target flow set value of the distribution regulating valve, and opening the preselected distribution valve in the distribution regulating valve chamber; after the distribution cut-off valve is in the fully open position, the opening degree of the distribution regulating valve is set to 2%; subsequently, the opening degree is increased by 2% every 30 seconds until the opening degree set value is greater than or equal to the target opening degree set value, and the target opening degree set value is 20% by default; after successful execution, the valve position control of the regulating valve is switched to PID automatic flow regulation until the target flow set value is reached.
[0079] When the station control device receives a distribution stop instruction sent by the water hammer programmable logic controller, the built-in distribution stop module is called to execute the distribution stop instruction.
[0080] When the station control device receives an injection start instruction sent by the water hammer programmable logic controller, the built-in injection on-flow process module and the injection start module are called to execute the injection start instruction. The injection on-flow process module is called first. When the injection on-flow process module executes successfully, the injection start module is called. The injection start module executes the injection start instruction according to the built-in program. In an example, taking the western product oil pipeline as an example, the built-in program of the injection start module in the station control device of the Yumen injection pump station of the western product oil pipeline is as follows: receiving an injection start instruction sent by the water hammer programmable logic controller, storing an injection regulating valve target flow set value (200 m 3h) and pre-selected injection flow (2 ways, diesel and gasoline, respectively); open the pre-selected injection flow valve (diesel: C10135 or gasoline: C10138) downstream valve; after the downstream valve is fully open, set the pre-selected injection flow valve (diesel: C10134 or gasoline: C10137) to 30m 3 / h; every 30 seconds, increase 30m 3 / h, until the set value is greater than or equal to the target flow set value (allowing ±10m 3 / h error); when the downstream valve of the pre-selected injection flow valve is fully open and the set value reaches the target flow set value, display success information and upload to the water hammer PLC or the central control; if the downstream valve is not fully open or the set value does not reach the target flow set value within 7 minutes, display an alarm and exit the injection start program.
[0081] In the case that the station control device receives the stop injection instruction sent by the water hammer programmable logic controller, the built-in stop injection module is called to execute the stop injection instruction.
[0082] In one example, in the case that the central control device and the water hammer programmable logic controller fail, or in the case that a certain station needs to perform a certain operation alone, the built-in logic program corresponding to the station is directly executed to realize the corresponding operation; the built-in program is the same as the above method, in the case that a certain distribution station needs to perform start distribution or stop distribution, the built-in start distribution module or stop distribution module of the station control device of the station is directly called, and the start distribution or stop distribution operation is completed according to the built-in logic program; in the case that a certain injection station needs to perform start injection or stop injection, the built-in start injection module or stop injection module of the station control device of the station is directly called, and the start injection or stop injection operation is completed according to the built-in program.
[0083] Taking the logic module as a basic unit technology, the control and adjustment modes of single devices in each station in the long-distance pipeline, the control modes of the stations, and the operation modes of the pipeline are classified and arranged in levels to form various control logic modules, and then the entire control system achieves the purpose of one-key start and stop distribution and injection of the long-distance pipeline through flexible calling and data transmission between the modules, which is conducive to the maintenance and upgrading of the system in the later period.
[0084] In the embodiment of the application, the method can further include:
[0085] Receiving the conduction flow instruction sent by the water hammer programmable logic controller;
[0086] Calling the distribution station conduction flow module according to the conduction flow instruction;
[0087] Feeding the execution result of the distribution station conduction flow module to the water hammer programmable logic controller.
[0088] Specifically, before starting the distribution, the dispatcher first performs a pre-selection operation through the central control device, the central control device sends a start-up distribution process instruction and pre-selection data to the water hammer programmable logic controller, the water hammer programmable logic controller sends the start-up distribution process instruction and pre-selection data to the station control device, and the station control device calls a distribution station start-up process module to execute the start-up distribution process instruction according to the pre-selection data. In the case of successful execution of the start-up distribution process instruction, the central control device sends a start-up distribution instruction to the water hammer programmable logic controller. In an example, taking the western pipeline as an example, the built-in program of the distribution station start-up process module in the station control device of the western pipeline distribution station is as follows: receiving the start-up distribution process instruction and pre-selected start-up distribution channel number sent by the water hammer programmable logic controller, wherein the pre-selected start-up distribution channel number is determined according to the type of oil product and the distribution process; at the same time, the following procedures are performed: (1) checking whether the valve downstream of the pre-selected distribution regulation valve is in a fully open state, and if not, opening the valve to the fully open position; (2) checking whether the diesel oil and gasoline connecting valve is in a fully closed position, and if not, closing the valve to the fully closed position; (3) checking whether the pre-selected channel metering area back pressure regulation valve is at 50% opening, and if not, setting the back pressure regulation valve opening to 50% (the final opening of 45% to 55% is considered to be successfully set); (4) setting the pre-selected distribution regulation valve to PID valve position control adjustment and to 0 opening, and setting the initial value to 0 opening; after the above procedures are successfully executed, the pre-selected metering station inlet valve is opened; the distribution station start-up process module sends a successful start-up information to the water hammer programmable logic controller after successful execution; after 5 minutes of executing the distribution station start-up process instruction, if any of (1) to (3) is not satisfied, a distribution station start-up process failure information is uploaded to the water hammer programmable logic controller.
[0089] In the embodiment of the present application, calling the stop distribution module includes:
[0090] setting each distribution regulation valve to PID valve position control;
[0091] obtaining the opening value of each distribution regulation valve;
[0092] closing each distribution regulation valve and distribution valve according to a preset condition;
[0093] in the case that the distribution valve is in a fully closed state, closing all inlet valves;
[0094] feeding back the execution result of the stop distribution module to the water hammer programmable logic controller according to the execution result.
[0095] Specifically, the stop transmission module is arranged in the station control device, and is configured to receive the stop transmission instruction sent by the water hammer programmable logic controller and execute the stop transmission instruction according to the built-in program. In an example, taking the West Oil Pipeline as an example, the built-in program of the stop transmission module of the Hami, Liuyuan and Jiuquan transmission stations is as follows: receiving the stop transmission instruction sent by the water hammer programmable logic controller; setting each transmission regulating valve as a PID valve position control, and reading the opening value of each transmission regulating valve; delaying for 5 seconds, skipping the regulating valve with the opening of 0, setting the opening set value of the regulating valve with the opening not being 0 to be 2% lower than the current opening value, reducing the subsequent opening set value by 2% in 10 seconds, until the opening set value is less than or equal to 2%; waiting for 10 seconds, and setting the opening of the transmission regulating valve to 0; after the transmission regulating valve is fully closed, closing all transmission valves in the transmission valve chamber; after the above program is successfully executed, uploading the stop transmission module execution success information to the water hammer programmable logic controller; if the transmission metering station outlet valves are not fully closed within 7 minutes, uploading the alarm information to the water hammer programmable logic controller and jumping out of the stop transmission program.
[0096] In the embodiment of the present application, the method further comprises:
[0097] receiving the start-up flow instruction sent by the water hammer programmable logic controller;
[0098] calling the injection start-up flow module according to the start-up flow instruction;
[0099] feeding back the execution result of the injection start-up flow module to the water hammer programmable logic controller.
[0100] Specifically, before the injection is started, the dispatcher first performs the injection start-up pre-selection operation through the central control device, the central control device sends the start-up injection flow instruction and the pre-selected data to the water hammer programmable logic controller, the water hammer programmable logic controller receives the start-up injection flow instruction and the pre-selected data sent by the central control device and sends them to the station control device, and the station control device calls the injection start-up flow module according to the pre-selected data; in the case that the injection start-up flow module is successfully executed, the central control device sends the injection start-up instruction to the water hammer programmable logic controller; the station control device receives the injection start-up instruction sent by the water hammer programmable logic controller, and calls the injection start-up module to execute the injection start-up instruction according to the built-in program. In an example, taking the West Oil Pipeline as an example, the built-in program of the injection start-up flow module of the Yumen injection pump station in the West Oil Pipeline is as follows: receiving the start-up injection flow instruction and the pre-selected injection route (2 routes, diesel route and gasoline route) sent by the water hammer programmable logic controller; detecting whether the valve upstream of the pre-selected injection regulating valve is in the fully open state, if not, opening to the fully open position, setting the pre-selected injection regulating valve to 0 opening, and setting the PID automatic flow control, the initial set value being 0 m 3 / h; after successful execution, send the on success information to the water hammer programmable logic controller; execute the injection station field on flow process instruction for 5 minutes, if the above any state is not satisfied, upload the injection station on flow process module execution failure information to the water hammer programmable logic controller.
[0101] In the embodiment of the application, the stop injection module comprises:
[0102] Obtaining the current injection flow value;
[0103] Adjusting the injection regulating valve according to the injection flow value;
[0104] In the case of full closing of the injection regulating valve, closing all downstream valves of the regulating valve;
[0105] According to the execution, the execution result of the stop injection module is fed back to the water hammer programmable logic controller.
[0106] Specifically, the stop injection module is arranged in the station control device, and is used for receiving the stop injection instruction sent by the water hammer programmable logic controller and executing the stop injection instruction according to the built-in program. In an example, taking the western crude oil pipeline as an example, the built-in program of the stop injection module of the Yumen injection pump station is as follows: receiving the stop injection command issued by the central control or the water hammer programmable logic controller; storing the current injection flow value; delaying for 5 seconds, detecting the opening value of two injection regulating valves, and skipping the regulating valve with the opening value of 0; setting the flow set value of the injection regulating valve with the opening value not being 0 to be 50m 3 / h lower than the current injection flow value; subsequently reducing the set value by 50m 3 / h every 10 seconds, until the set value is less than or equal to 50m 3 / h; waiting for 10 seconds, and setting the flow set value of the injection regulating valve to 0m 3 / h; after full closing of the injection regulating valve, closing all downstream valves of the regulating valve; after successful execution of the above program, uploading the stop injection module execution success information to the water hammer programmable logic controller; if all downstream valves of the regulating valve are not fully closed within 6 minutes, uploading the alarm information to the water hammer programmable logic controller, and the stop injection module fails, and the stop injection program is exited.
[0107] Figure 3A structural block diagram of a system for one-key start-stop split injection of a long-distance pipeline is provided in the embodiments of the present application. The system comprises a central control device, a water hammer programmable logic controller and a station control device; the central control device is arranged at a master control center of the long-distance pipeline and is configured to send an instruction to the water hammer programmable logic controller; the water hammer programmable logic controller is in communication with the central control device and is arranged at a certain station of the long-distance pipeline, generally the first station, and is configured to instruct the station control device to perform start-stop split injection according to a built-in program of the water hammer programmable logic controller when receiving the instruction sent by the central control device; and the station control device is in communication with the water hammer programmable logic controller and is arranged at each station of the long-distance pipeline and is configured to control the corresponding station to perform start-stop split injection according to the instruction of the water hammer programmable logic controller. As shown in Figure 3 The system for one-key start-stop split injection of a long-distance pipeline provided in the embodiments of the present application can comprise:
[0108] The memory 310 is configured to store instructions; and
[0109] The processor 320 is configured to call the instructions from the memory 310 and can implement the method for one-key start-stop split injection of a long-distance pipeline when executing the instructions.
[0110] Specifically, in the embodiments of the present application, the processor 320 can be configured to:
[0111] receive the instruction sent by the central control device and preselected data;
[0112] in a case where the received instruction is a start split injection instruction, instruct the station control device to perform start split injection according to the preselected data;
[0113] in a case where the received instruction is a stop split injection instruction, instruct the station control device to perform stop split injection;
[0114] in a case where the received instruction is a start injection instruction, instruct the station control device to perform start injection according to the preselected data;
[0115] in a case where the received instruction is a stop injection instruction, instruct the station control device to perform stop injection.
[0116] Further, the processor 320 can also be configured to:
[0117] receive the execution result fed back by the station control device and feed the execution result back to the central control device.
[0118] Further, the processor 320 can also be configured to:
[0119] in a case where the instruction is a start split injection instruction, the preselected data comprises: split injection oil variety, split injection amount and start split injection route number;
[0120] In the case that the instruction is the start injection instruction, the preselected data comprises: oil type, injection amount and injection path number.
[0121] Further, the processor 320 can be further configured to:
[0122] obtain the instruction of the water hammer programmable logic controller;
[0123] In the case that the start distribution instruction sent by the water hammer programmable logic controller is received, the distribution station on-flow process module and the start distribution module are called;
[0124] In the case that the stop distribution instruction sent by the water hammer programmable logic controller is received, the stop distribution module is called;
[0125] In the case that the start injection instruction sent by the water hammer programmable logic controller is received, the injection on-flow process module and the start injection module are called;
[0126] In the case that the stop injection instruction sent by the water hammer programmable logic controller is received, the stop injection module is called.
[0127] Further, the processor 320 can be further configured to:
[0128] receive the on-flow process instruction sent by the water hammer programmable logic controller;
[0129] call the distribution station field on-flow process module according to the on-flow process instruction;
[0130] feed back the execution result of the distribution station field on-flow process module to the water hammer programmable logic controller.
[0131] Further, the processor 320 can be further configured to:
[0132] calling the stop distribution module comprises:
[0133] setting each distribution regulation valve as a PID valve position control;
[0134] obtaining the opening value of each distribution regulation valve;
[0135] closing each distribution regulation valve and distribution valve according to a preset condition;
[0136] in the case that the distribution valve is in a full-closed state, closing all inlet station valves;
[0137] feeding back the execution result of the stop distribution module to the water hammer programmable logic controller according to the execution condition.
[0138] Further, the processor 320 can be further configured to:
[0139] receiving the on-flow process instruction sent by the water hammer programmable logic controller;
[0140] According to the on-flow process instruction, the injection on-flow process module is called;
[0141] The execution result of the injection on-flow process module is fed back to the water hammer programmable logic controller.
[0142] Further, the processor 320 can also be configured to:
[0143] The calling of the injection stop module includes:
[0144] The current injection flow value is obtained;
[0145] The injection adjusting valve is adjusted according to the injection flow value;
[0146] In the case that the injection adjusting valve is fully closed, all downstream valves of the adjusting valve are closed;
[0147] The execution result of the injection stop module is fed back to the water hammer programmable logic controller according to the execution.
[0148] Through the above technical solution, the water hammer programmable logic controller receives the one-key start-stop distribution instruction sent by the central control device, obtains the pre-selected data sent by the central control device, sends the start-distribution or injection instruction and the pre-selected data to the station control device of the corresponding station according to the start-distribution or injection instruction and the pre-selected data sent by the central control device, and instructs the station control device to execute the start-distribution or start-injection. The water hammer programmable logic controller sends the stop-distribution or stop-injection instruction to the station control device of the corresponding station according to the stop-distribution or stop-injection instruction sent by the central control device, and instructs the station control device to execute the stop-distribution or stop-distribution instruction. Through the communication among the central control device, the water hammer programmable logic controller, and the station control device, the one-key start-stop distribution and injection of the long-distance pipeline are realized, and the dispatcher does not need to issue instructions multiple times, thereby solving the problems of complex operation process, low fault tolerance, and high accident risk in the prior art, and realizing the safe, stable, and efficient operation of the long-distance pipeline.
[0149] The embodiment of the present application also provides a machine readable storage medium, which stores instructions for causing a machine to execute the method of one-key start-stop distribution and injection of the long-distance pipeline.
[0150] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0151] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0152] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0153] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 means for functionally implementing the steps listed in the flowchart block or blocks.
[0154] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0155] The memory can include non-persistent memory and / or volatile memory, such as a random access memory (RAM) including a cache area for the temporary storage of data. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), or electrically erasable programmable read only memory (EEPROM), for the storage of software that is read during runtime. The memory is an example of computer readable media.
[0156] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0157] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0158] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.
Claims
1. A method for one-key start-stop split injection of a long pipeline, characterized in that, The method is applied to a water hammer programmable logic controller, the water hammer programmable logic controller is in communication with a central control device and a station control device respectively, and the method comprises the following steps of: receiving an instruction and preselected data sent by the central control device; in the case that the received instruction is a start distribution instruction, instructing the station control device to execute start distribution according to the preselected data, wherein the preselected data comprises oil distribution variety, distribution quantity and start distribution route number in the case that the instruction is a start distribution instruction; in the case that the received instruction is a stop distribution instruction, instructing the station control device to execute stop distribution; in the case that the received instruction is a start injection instruction, instructing the station control device to execute start injection according to the preselected data, wherein the preselected data comprises oil variety, injection quantity and start injection route number in the case that the instruction is a start injection instruction; in the case that the received instruction is a stop injection instruction, instructing the station control device to execute stop injection.
2. The method of claim 1, wherein, The method further comprises the following steps of: receiving an execution result fed back by the station control device and feeding back the execution result to the central control device.
3. A method for one-key start-stop split injection of a long pipeline, characterized in that, The method is applied to a station control device, the station control device is in communication with a water hammer programmable logic controller, the water hammer programmable logic controller is in communication with a central control device and the station control device, and the station control device comprises a distribution station conduction flow process module, a start distribution module, a stop distribution module, an injection conduction flow process module, a start injection module and a stop injection module, and the method comprises the following steps of: obtaining an instruction and preselected data of the water hammer programmable logic controller; in the case that a start distribution instruction sent by the water hammer programmable logic controller is received, calling the distribution station conduction flow process module and the start distribution module, wherein the preselected data comprises oil distribution variety, distribution quantity and start distribution route number in the case that the instruction is a start distribution instruction; in the case that a stop distribution instruction sent by the water hammer programmable logic controller is received, calling the stop distribution module; in the case that a start injection instruction sent by the water hammer programmable logic controller is received, calling the injection conduction flow process module and the start injection module, wherein the preselected data comprises oil variety, injection quantity and start injection route number in the case that the instruction is a start injection instruction; in the case that a stop injection instruction sent by the water hammer programmable logic controller is received, calling the stop injection module.
4. The method of claim 3, wherein, The method further comprises the following steps of: receiving a conduction flow process instruction sent by the water hammer programmable logic controller; calling the distribution station conduction flow process module according to the conduction flow process instruction; feeding back an execution result of the distribution station conduction flow process module to the water hammer programmable logic controller.
5. The method of claim 3, wherein, The calling of the stop distribution module comprises the following steps of: setting each distribution regulation valve as a PID valve position control; obtaining an opening degree value of each distribution regulation valve; closing the distribution regulation valve and a distribution valve according to a preset condition; in the case that the distribution valve is in a full-closed state, closing all inlet station valves; feeding back an execution result of the stop distribution module to the water hammer programmable logic controller according to an execution condition.
6. The method of claim 3, wherein, The method further comprises the following steps of: receiving a conduction flow process instruction sent by the water hammer programmable logic controller; calling the injection priming flow module according to the priming flow instruction; feeding back an execution result of the injection priming flow module to the water hammer programmable logic controller.
7. The method of claim 3, wherein, the calling the injection priming flow module includes: acquiring a current injection flow value; adjusting an injection adjusting valve according to the injection flow value; in a case that the injection adjusting valve is fully closed, closing all downstream valves of the injection adjusting valve; feeding back an execution result of the injection priming flow module to the water hammer programmable logic controller according to an execution condition.
8. A system for one-key start-stop split injection of a long pipeline, characterized in that, comprise: a memory configured to store instructions; and a processor configured to call the instructions from the memory and implement the method of one-key start-stop injection of long-distance pipelines according to any one of claims 1 to 7 when the instructions are executed.
9. A machine-readable storage medium, characterized in that, The machine readable storage medium has instructions stored thereon for causing a machine to perform the method of one-key start-stop injection of long-distance pipelines according to any one of claims 1 to 7.
Citation Information
Patent Citations
One-key start-stop control method for oil pipeline
CN114777024A