Method, system and storage medium for one-key start and stop station of long-distance pipeline

Through the communication between the water hammer programmable logic controller and the station control device, the start and stop station tasks of the long-distance pipeline are automatically executed, which solves the problems of low fault tolerance and low safety under manual control and realizes the safe and efficient operation of the long-distance pipeline. .

CN115164107BActive Publication Date: 2024-09-20PIPECHINA SOUTH CHINA CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210905216.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2024-09-20
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

In the existing technology, the start and stop operations of long-distance pipelines rely on manual control, resulting in low fault tolerance, low safety, and complicated operations, which can easily lead to high accident risks.

Method used

The water hammer programmable logic controller is used to communicate with the central control device and the station control device, and the station start and stop tasks are automatically executed through the built-in program, which reduces the number of instructions issued by the dispatcher and realizes the function of starting and stopping the station with one click.

Benefits of technology

It improves the safety and operating efficiency of long-distance pipelines, reduces the risk of accidents, and achieves safe, stable and efficient operation of pipelines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115164107B
    Figure CN115164107B
Patent Text Reader

Abstract

The present application discloses a method, system and storage medium for one-key start and stop of a long-distance pipeline, which is applied to a water hammer programmable logic controller, and the water hammer programmable logic controller communicates with a central control device and a station control device respectively. The method includes: receiving instructions sent by the central control device; in the case of receiving a single-station conduction process instruction, instructing the station control device to execute the single-station conduction process instruction; in the case of receiving a single-station start instruction, instructing the station control device to execute the single-station start instruction; in the case of receiving a single-station increment instruction, instructing the station control device to execute the single-station increment instruction; in the case of receiving a single-station stop instruction, instructing the station control device to execute the single-station stop instruction. The present application instructs the station control device to realize one-key start and stop of a long-distance pipeline according to a built-in program through a water hammer programmable logic controller, which solves the problem of low fault tolerance and low safety of the method of manually controlling the start and stop of a long-distance pipeline, and is conducive to the safe, stable and efficient operation of the long-distance pipeline.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of oil and gas storage and transportation, and specifically to a method, system and storage medium for a one-button start and stop station for a long-distance pipeline. Background Art

[0002] At present, in the daily control and operation of long-distance liquid pipelines, affected by the upstream oil source and downstream market as well as maintenance and inspection operations, the start-up and shutdown operations of the entire pipeline are relatively frequent. When starting and stopping the transmission, the central control dispatcher needs to operate each station along the entire line one by one according to the operation ticket sequence. Specifically for each station, it is necessary to operate multiple pumps, furnaces, valves and other single equipment in the station one by one according to the planned sequence, and then confirm the flow conduction, and adjust the regulating valve or speed regulating pump of the station in time according to the upstream and downstream pressures and flows to ensure that the pressure of each station is within the operating range and the flow can reach the target flow as soon as possible. During the start-up and shutdown process, the parameters of the entire line change frequently and with a large amplitude, there are many focus points and a large amount of operations, and the tacit cooperation of two dispatchers is required to ensure the safety of the operation.

[0003] According to the existing method of manual start and stop of transmission by the central control dispatcher, it is necessary to confirm and operate each station and each device in turn, and set the control parameters for each station in steps according to the changes in working conditions. This not only requires the central control dispatcher to have a high level of professionalism and strong psychological quality, but also requires the dispatcher to concentrate and devote himself to the operation. Frequent issuance of operation commands is a large workload, which can easily cause the dispatcher to be highly nervous and unable to take all aspects into consideration. There are a large number of human uncertainties and safety hazards of accidents, especially for pumping stations with close distances and stations with both pumps and distribution / injection. The disadvantages of manual operation are more obvious.

[0004] Therefore, the existing technology has the problems of low fault tolerance and low safety in manual operation. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a method, system and storage medium for one-key start and stop stations of long-distance pipelines, so as to solve the problems of low fault tolerance and low safety of the method of manually controlling the start and stop stations of long-distance pipelines in the prior art.

[0006] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for starting and stopping a long-distance pipeline with one key, which is applied to a water hammer programmable logic controller, and the water hammer programmable logic controller communicates with a central control device and a station control device respectively, and the method comprises:

[0007] Receive instructions sent by the central control device;

[0008] In case the received instruction is a single-station conduction process instruction, instructing the station control device to execute the single-station conduction process instruction;

[0009] In case the received instruction is a single station start instruction, instructing the station control device to execute the single station start instruction;

[0010] In case the received instruction is a single-station increment instruction, instructing the station control device to execute the single-station increment instruction;

[0011] When the received instruction is a single-station stop instruction, the station control device is instructed to execute the single-station stop instruction.

[0012] In an embodiment of the present application, the method further includes:

[0013] Receive the execution results fed back by the station control device and feed the execution results back to the central control device.

[0014] A second aspect of the present application provides a one-key start and stop method for a long-distance pipeline, which 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 respectively, the station control device includes a secondary module and a tertiary module, the secondary module calls the corresponding tertiary module, the secondary module includes a single-station conduction process module, a single-station start module, a single-station stop module and a single-station increment module, the method includes:

[0015] Get the instructions sent by the water hammer programmable logic controller;

[0016] In case of receiving an instruction to execute a single-station conduction process sent by a water hammer programmable logic controller, calling a single-station conduction process module;

[0017] In case of receiving the single station start instruction sent by the water hammer programmable logic controller, calling the single station start module;

[0018] In case of receiving an execution single-station increment instruction sent by the water hammer programmable logic controller, calling the single-station increment module;

[0019] When receiving the single-station stop command sent by the water hammer programmable logic controller, the single-station stop module is called.

[0020] In the embodiment of the present application, calling the single-station conduction process module includes:

[0021] The single-station conduction process module receives the single-station conduction process instruction and calls the third-level module corresponding to the single-station conduction process module;

[0022] Receive the execution results fed back by the third-level module;

[0023] The execution results of the third-level module feedback are fed back to the water hammer programmable logic controller.

[0024] In the embodiment of the present application, the three-level modules corresponding to the single-station conduction process module include:

[0025] Filtration system conduction module, regulation system conduction module, main pump conduction module and other valve conduction modules.

[0026] In the embodiment of the present application, the three-level modules corresponding to the single-station start module include a sequential pump start module, a start-transfer regulating valve setting module, and a start-transfer variable frequency pump setting module. Calling the single-station start module includes:

[0027] Obtain the pump start unit number and the outlet pressure target setting value sent by the water hammer programmable logic controller, and call the sequential pump start module;

[0028] When the sequential pump start module is executed successfully, the start-transmission regulating valve setting module or the start-transmission variable frequency pump setting module is called;

[0029] The execution result of the single-station start instruction is fed back to the water hammer programmable logic controller.

[0030] In the embodiment of the present application, the three-level module corresponding to the single-station incremental module includes a sequential pump start module, and calling the single-station incremental module includes:

[0031] When no additional startup pump is needed at the current station, the target set value of the station's outlet pressure is obtained, and the station's outlet pressure is adjusted according to the target set value of the outlet pressure;

[0032] When a new pump needs to be started at the station, the target set value of the station's outlet pressure and the pump start unit number are obtained, and the sequential pump start module is called;

[0033] The execution result of the single-station incremental instruction is fed back to the water hammer programmable logic controller.

[0034] In the embodiment of the present application, the three-level module corresponding to the single-station stop module includes a sequential pump stop module and an interlocking pump stop module, and calling the single-station stop module includes:

[0035] Check the pump-on status of each pump in the current station;

[0036] Get the running pump unit number;

[0037] Call the sequential pump stop module according to the running pump unit number to execute the single station stop instruction;

[0038] The execution result of the single-station stop instruction is fed back to the water hammer programmable logic controller.

[0039] A third aspect of the present application provides a system for one-key start and stop stations of long-distance pipelines, comprising:

[0040] a memory configured to store instructions; and

[0041] The processor is configured to call instructions from the memory and implement the above-mentioned method of one-key start and stop station of a long-distance pipeline when executing the instructions.

[0042] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the above-mentioned method for one-key starting and stopping of a long-distance pipeline station.

[0043] Through the above technical solution, the water hammer programmable logic controller receives the one-key start and stop station command sent by the central control device, and sends the single-station start or stop station command to the station control device of the corresponding station field according to the built-in program according to the single-station start or stop station command sent by the central control device, instructing the station control device to perform the single-station start or stop station task. This application further realizes the one-key start and stop station of the long-distance pipeline through communication between the central control device, the water hammer programmable logic controller and the station control device, and instructs the station control device to execute the start and stop station according to the built-in program of the water hammer programmable logic controller, without the need for the dispatcher to issue instructions multiple times, solving the problems of complex operation process, low fault tolerance and high accident risk in the manual control method of the prior art, and realizing safe, stable and efficient operation of the long-distance pipeline.

[0044] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE 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. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0046] Figure 1 A schematic flow chart of a method for one-key start and stop of a long-distance pipeline provided in one embodiment of the present application;

[0047] Figure 2 A schematic flow chart of a method for one-key start and stop of a long-distance pipeline provided in another embodiment of the present application;

[0048] Figure 3 A schematic diagram of a built-in program flow chart of a western refined oil pipeline single-station conduction process module provided in an embodiment of the present application;

[0049] Figure 4 A schematic diagram of a built-in program flow of a single-station startup module of a western refined oil pipeline provided in an embodiment of the present application;

[0050] Figure 5 A schematic diagram of a built-in program flow of a single-station incremental module of a western refined oil pipeline provided in an embodiment of the present application;

[0051] Figure 6A schematic diagram of a built-in program flow of a single-station stop module for a western refined oil pipeline provided in an embodiment of the present application;

[0052] Figure 7 A structural block diagram of a system for a one-button start and stop station for a long-distance pipeline provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0054] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), such directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0055] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0056] Figure 1 A flow chart of a method for one-key start and stop of a long-distance pipeline provided in an embodiment of the present application. Figure 1 As shown, the embodiment of the present application provides a method for one-key start and stop station of a long-distance pipeline, which is applied to a water hammer programmable logic controller, and the water machine programmable logic controller communicates with a central control device and a station control device respectively. The method may include the following steps:

[0057] Step 101, receiving instructions sent by a central control device;

[0058] Step 102: when the received instruction is a single-station conduction process instruction, instruct the station control device to execute the single-station conduction process instruction;

[0059] Step 103: when the received instruction is a single station start instruction, instruct the station control device to execute the single station start instruction;

[0060] Step 104: when the received instruction is a single-station increment instruction, instruct the station control device to execute the single-station increment instruction;

[0061] Step 105: When the received instruction is a single-station stop instruction, instruct the station control device to execute the single-station stop instruction.

[0062] In the embodiment of the present application, a pipeline is a device connected by pipes, pipe connectors, valves and other components for transporting gas, liquid or fluid with solid particles; a long-distance pipeline refers to a long-distance pipeline used to transport commodity media (oil, gas, etc.) between production places, storage warehouses, and user units, and crosses provinces and cities, crosses or crosses rivers, roads, etc., and has intermediate oil booster pump stations. The total length of the pipeline is generally greater than 50km. Since the control of long-distance pipelines is currently carried out manually, the entire process relies on the dispatcher to manually confirm and operate step by step, and there are many operating steps, high operation frequency, and long operation time. Not only is the requirement for the dispatcher extremely high, but the disadvantages of manual operation are also very obvious, with low fault tolerance and high accident risk. Therefore, it is necessary to realize the system automation control of pipeline operation.

[0063] A programmable logic controller (PLC) is a digital computing electronic system designed specifically for use in industrial environments. It uses a programmable memory to store instructions for performing logical operations, sequential control, timing, counting, and arithmetic operations, and controls various types of mechanical equipment or production processes through digital or analog input and output.

[0064] In an embodiment of the present application, a central control device is arranged at a main control center of a long-distance pipeline, communicates with a water hammer programmable logic controller, and is used to issue start-stop station instructions to the programmable logic controller; a water hammer programmable logic controller is arranged at a station field of the long-distance pipeline, generally the first station field, and communicates with the central control device and the station control device respectively, and is used to receive the start-stop station instructions sent by the central control device, send instructions to the station control device according to a built-in program to instruct the station control device to perform the start-stop station tasks, and receive the execution results fed back by the station control device, and feed back the execution results to the central control device; the station control device is arranged in the station control device, communicates with the water hammer programmable logic controller, and is used to receive the instructions sent by the water hammer programmable logic controller, call the relevant modules according to the built-in program to perform the start-stop station tasks, and feed back the execution results to the central control device.

[0065] After receiving the instruction sent by the central control device, the water hammer programmable logic controller instructs the station control device to perform the corresponding operation according to the built-in program. When an abnormal event occurs during the execution of the built-in program by the station control device, the station control device feeds back an alarm prompt information to the water hammer programmable logic controller; in an example, the types of abnormal events may include: too small pressure margin, pump dumping / power failure, inlet and outlet pressure transformer 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 controller 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 uses the method of stopping pumps and closing valves to perform advance protection to protect the pipeline trunk line. That is, when a station suddenly stops pumps or the trunk valves are suddenly closed, etc., if the dispatcher does not take intervention measures within the specified time, the system automatically triggers the water hammer protection instruction and performs an emergency stop of the entire line to prevent pipeline overpressure. In another example, the long-distance pipeline can also be protected by measures such as inlet and outlet pressure relief protection, pressure switch protection, emergency stop protection and other protection measures, which is conducive to the smooth operation of the long-distance pipeline.

[0066] First, the dispatcher inputs the pre-selected data through the central control device and selects one-key station start, and the central control device sends the station start instruction to the water hammer programmable logic controller; when the water hammer programmable logic controller receives the station start instruction sent by the central control device, it calls the built-in basic output start module according to the built-in program, and sends the station start instruction to the station control device, instructing the station control device to execute the station start instruction; among them, the basic output start module is a built-in first-level module of the water hammer programmable logic controller, and the station start instruction can be executed by calling the built-in second-level module of the station control device corresponding to the basic output start module.

[0067] The central control device sends a stop command to the water hammer programmable logic controller; when the water hammer programmable logic controller receives the stop command sent by the central control device, it calls the basic output stop module built into the water hammer programmable logic controller according to the built-in program, and sends the stop command to the corresponding station control device, instructing the station control device to execute the stop command; wherein, the basic output stop module is a first-level module built into the water hammer programmable logic controller, and the stop command can be executed by calling the second-level module built into the station control device corresponding to the basic output stop module.

[0068] Through the above technical solution, the water hammer programmable logic controller receives the one-key start and stop station command sent by the central control device, and sends the single-station start or stop station command to the station control device of the corresponding station field according to the built-in program according to the single-station start or stop station command sent by the central control device, instructing the station control device to perform the single-station start or stop station task. This application further realizes the one-key start and stop station of the long-distance pipeline through communication between the central control device, the water hammer programmable logic controller and the station control device, and instructs the station control device to execute the start and stop station according to the built-in program of the water hammer programmable logic controller, without the need for the dispatcher to issue instructions multiple times, solving the problems of complex operation process, low fault tolerance and high accident risk in the manual control method of the prior art, and realizing safe, stable and efficient operation of the long-distance pipeline.

[0069] In an embodiment of the present application, the method may further include:

[0070] Receive the execution results fed back by the station control device and feed the execution results back to the central control device.

[0071] Specifically, the water hammer programmable logic control device sends instructions to the station control device, and the station control device executes the built-in program according to the received instructions. After the program is executed, the station control device feeds back the execution result to the water hammer programmable logic controller, and the water hammer programmable controller feeds back the execution result of the station control device 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 grasp the system operation process in real time and find problems in time to make adjustments.

[0072] Figure 2 This is a flow chart of a method for one-key start and stop of a long-distance pipeline provided by another embodiment of the present application. Figure 2 As shown, another embodiment of the present application provides a method for starting and stopping a long-distance pipeline with one key, which 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 a station control device respectively, the station control device includes a secondary module and a tertiary module, the secondary module calls the corresponding tertiary module, the secondary module includes a single-station conduction process module, a single-station start module, a single-station stop module and a single-station increment module, the method may include the following steps:

[0073] Step 201, obtaining instructions sent by a water hammer programmable logic controller;

[0074] Step 202: upon receiving an instruction to execute a single-station conduction process sent by the water hammer programmable logic controller, calling a single-station conduction process module;

[0075] Step 203: upon receiving the single station start instruction sent by the water hammer programmable logic controller, calling the single station start module;

[0076] Step 204, when receiving the single-station increment instruction sent by the water hammer programmable logic controller, calling the single-station increment module;

[0077] Step 205: upon receiving a single-station stop instruction sent by the water hammer programmable logic controller, calling a single-station stop module.

[0078] In an embodiment of the present application, the station control device communicates with the water hammer programmable logic controller and is arranged in each station of the long-distance pipeline. According to the different conditions of each station, a secondary module and a tertiary module are built in. When the station control device receives an instruction sent by the water hammer programmable logic controller, the corresponding secondary module is called according to the received instruction to execute the instruction; wherein the secondary module built into the station control device may include a single-station conduction process module, a single-station start module, a single-station increment module, and a single-station stop module.

[0079] The station control device receives the instructions sent by the water hammer programmable logic controller. When receiving the single-station conduction process instructions sent by the built-in basic input start-up module of the water hammer programmable logic controller, the built-in single-station conduction process module is called. The single-station conduction process module calls the corresponding third-level module according to the built-in program to execute the single-station conduction process instructions and feeds back the execution results to the water hammer programmable logic controller.

[0080] When receiving the single-station start instruction sent by the built-in basic input start module of the water hammer programmable logic controller, the built-in single-station start module is called, and the single-station start module calls the corresponding third-level module according to the built-in program to execute the single-station start instruction and feed back the execution result to the water hammer programmable logic controller.

[0081] When receiving the single-station stop command sent by the built-in basic output stop module of the water hammer programmable logic controller, the built-in single-station stop module is called, and the single-station stop module calls the corresponding third-level module according to the built-in program to execute the single-station stop command and feed back the execution result to the water hammer programmable logic controller.

[0082] When receiving the single-station incremental instruction sent by the built-in incremental module of the water hammer programmable logic controller, the built-in single-station incremental module is called, and the single-station incremental module calls the corresponding three-level module according to the built-in program to execute the single-station incremental instruction and feed back the execution result to the water hammer programmable logic controller.

[0083] In one example, when the central control device and the water hammer programmable logic controller fail, or when a station field needs to perform a certain operation separately, the built-in logic program corresponding to the station field is directly executed to implement the corresponding operation; the built-in program is the same as the above method. When a station field needs to perform a single-station start-up, the built-in single-station start-up module of the station field control device is directly called, and the single-station start-up operation is completed according to the built-in logic program; when a station field needs to perform a single-station stop, the built-in single-station stop module of the station field control device is directly called, and the single-station stop operation is completed according to the built-in program.

[0084] Taking the logic module as the basic unit technology, the control and adjustment methods of individual equipment in each station in the long-distance pipeline, the control methods of the station, and the operation methods of the pipeline are classified and organized to form various control logic modules. Then, the entire control system achieves the purpose of one-key start and stop of the long-distance pipeline through flexible calling and data transmission between modules, which is beneficial to the later maintenance and upgrade of the system.

[0085] In the embodiment of the present application, calling the single-station conduction process module includes:

[0086] The single-station conduction process module receives the single-station conduction process instruction and calls the third-level module corresponding to the single-station conduction process module;

[0087] Receive the execution results fed back by the third-level module;

[0088] The execution results of the third-level module feedback are fed back to the water hammer programmable logic controller.

[0089] Specifically, the single-station conduction process module is a secondary module set in the station control device of each station, and executes the instructions sent by the water hammer programmable logic controller by calling the corresponding third-level module; the third-level module corresponding to the single-station conduction process module may include a filter system conduction module, a regulating system conduction module, a main pump conduction module and other valve conduction modules. The single-station conduction process module receives the single-station conduction process instruction sent by the water hammer programmable logic controller, calls the corresponding third-level module according to the built-in program to execute the single-station conduction process instruction, receives the execution result fed back by the corresponding third-level module and sends the execution result to the water hammer programmable logic controller.

[0090] In one example, taking the Western Oil Pipeline as an example, Figure 3 A schematic diagram of a built-in program flow chart of a single-station conduction process module for a western refined oil pipeline provided in an embodiment of the present application; Figure 3As shown in the figure, the control logic of the single-station conduction process module in the western refined oil pipeline is as follows: receive the single-station conduction process instruction sent by the water hammer programmable logic controller, and call other valve conduction modules, filter conduction modules, regulation system conduction modules and main pump conduction modules at the same time; execute other valve conduction modules, and when the inlet and outlet valves and other valves are in full open position, the other valve conduction modules are successfully executed; execute the filter conduction module, and when the upstream and downstream valves of the pre-selected filter are all in full open position, the filter conduction module is successfully executed; execute the regulation system conduction module, and when the upstream and downstream valves of the pre-selected regulating valve are all in full open position and in remote manual When the dynamic state opening is 25%, the adjustment system conduction module is executed successfully; when the main pump conduction module is executed, when all the oil pump inlet valves in the station are fully open and the pre-selected pump outlet valve is in the middle state, the main pump conduction module is executed successfully; when the three-level modules corresponding to the single-station conduction process module are all executed successfully, the single-station conduction process module execution success information is uploaded to the water hammer programmable logic controller; when any of the filter system conduction module, the adjustment system conduction module, the main pump conduction module and other valve conduction modules fail to execute, the single-station conduction process module execution failure information is uploaded to the water hammer programmable logic controller. Executing the single-station conduction process instructions through the single-station conduction process module makes the operation process more stable and standardized, which is conducive to the maintenance and upgrade of the program and reduces the risk of accident transmission.

[0091] In the embodiment of the present application, the three-level modules corresponding to the single-station conduction process module include:

[0092] Filtration system conduction module, regulation system conduction module, main pump conduction module and other valve conduction modules.

[0093] Specifically, the filtration system conduction module, the regulation system conduction module, the main pump conduction module and the other valve conduction modules are three-level modules corresponding to the single-station conduction process module, and are all arranged in the station control device.

[0094] In the embodiment of the present application, the three-level modules corresponding to the single-station start module include a sequential pump start module, a start-transfer regulating valve setting module, and a start-transfer variable frequency pump setting module. Calling the single-station start module includes:

[0095] Obtain the pump start unit number and the outlet pressure target setting value sent by the water hammer programmable logic controller, and call the sequential pump start module;

[0096] When the sequential pump start module is executed successfully, the start-transmission regulating valve setting module or the start-transmission variable frequency pump setting module is called;

[0097] The execution result of the single-station start instruction is fed back to the water hammer programmable logic controller.

[0098] Specifically, the single-station start module is a secondary module set in the station control device of each station, and executes the instructions sent by the water hammer programmable logic controller by calling the corresponding third-level module; the third-level module corresponding to the single-station start module can include a sequential pump start module, a start-transport regulating valve setting module, a start-transport variable frequency pump setting module and an interlocking pump start module, wherein the interlocking pump start module is the original module of the station control device, and the sequential pump start module, the start-transport regulating valve setting module, and the start-transport variable frequency pump setting module are newly added modules of the one-button start and stop station control device. The single-station start module receives the single-station start instruction sent by the water hammer programmable logic controller, calls the corresponding third-level module according to the built-in program to execute the single-station start instruction, and sends the execution result to the water hammer programmable logic controller.

[0099] In one example, taking the Western Oil Pipeline as an example, Figure 4 A schematic diagram of a built-in program flow chart of a single-station startup module for a western refined oil pipeline provided in an embodiment of the present application; Figure 4 As shown in the figure, the control logic of the single station start module in the western refined oil pipeline is:

[0100] S401, receiving a single station start instruction and an outlet pressure target setting value issued by a water hammer PLC;

[0101] S402, calling the sequential pump start module and sending the pump start number to it;

[0102] S403, calling a start-transfer regulating valve setting module or a start-transfer variable frequency pump setting module, and sending an outlet pressure target setting value to the two modules.

[0103] Specifically, the single station start command and the target set value of the outbound pressure sent by the water hammer programmable logic controller are received; the pump start unit number sent by the water hammer programmable logic controller is received and the sequential pump start module is called; the start and transfer regulating valve setting module or the start and transfer variable frequency pump setting module is called, and the outbound pressure target set value is sent to the two modules; if the sequential pump start module is executed successfully, the single station start module execution success information is sent to the water hammer programmable logic controller; if the sequential pump start module fails to execute, the single station start module execution failure information is sent to the water hammer programmable logic controller; if the single station start module receives the alarm information sent by any module of the start and transfer regulating valve setting module and the start and transfer variable frequency pump setting module, the alarm information is sent to the water hammer programmable logic controller, and at this time, the dispatcher should pay close attention to the outbound pressure of the station. Executing the single station start command through the single station start module makes the operation process more stable and standardized, which is conducive to the maintenance and upgrade of the program and reduces the risk of accident transmission.

[0104] In the embodiment of the present application, the three-level module corresponding to the single-station incremental module includes a sequential pump start module, and calling the single-station incremental module includes:

[0105] When no additional startup pump is needed at the current station, the target set value of the station's outlet pressure is obtained, and the station's outlet pressure is adjusted according to the target set value of the outlet pressure;

[0106] When a new pump needs to be started at the station, the target set value of the station's outlet pressure and the pump start unit number are obtained, and the sequential pump start module is called;

[0107] The execution result of the single-station incremental instruction is fed back to the water hammer programmable logic controller.

[0108] Specifically, the single-station incremental module is a secondary module set in the station control device of each station, and executes the instructions sent by the water hammer programmable logic controller by calling the corresponding third-level module; the third-level module corresponding to the single-station incremental module can include a sequential pump start module and an interlocking pump start module, wherein the interlocking pump start module is the original module of the station control device, and the sequential pump start module is a new module of the one-button start and stop station control device. The single-station incremental module is a secondary module corresponding to the incremental module in the water hammer programmable logic controller. After the basic input start module is completed, the system will send a single-station incremental instruction to each station control device according to the built-in program after a preset time. The single-station incremental module receives the single-station incremental instruction sent by the water hammer programmable logic controller, calls the corresponding third-level module according to the built-in program to execute the single-station incremental instruction, and sends the execution result to the water hammer programmable logic controller.

[0109] In one example, taking the Western Oil Pipeline as an example, Figure 5 A schematic diagram of a built-in program flow chart of a single-station incremental module of a western refined oil pipeline provided in an embodiment of the present application; Figure 5 As shown in the figure, the control logic of the single-station incremental module in the western refined oil pipeline is:

[0110] S501, receiving the single-station increment instruction, the rated outlet pressure setting value of the station and the pump start number sent by the water hammer PLC;

[0111] S502, calling the sequential pump start module and sending the pump start number to the sequential pump start module;

[0112] S503: After the single pump is started successfully, the outlet pressure setting value is increased or decreased by 0.2MPa every 30s until the target setting value is reached.

[0113] Specifically, the single-station increment instruction, the outlet pressure setting value of the station and the pump start unit number sent by the water hammer programmable logic controller are received; the pump start unit number is sent to the sequential pump start module and the sequential pump start module is called; after the single pump is successfully started (the pump state is running), the outlet pressure setting value is increased or decreased by 0.2MPa every 30s until the target setting value is reached. If the sequential pump start module is executed successfully, the single-station increment module execution success information is sent to the water hammer programmable logic controller; if the sequential pump start module fails to execute, the single-station increment module execution failure information is sent to the water hammer programmable logic controller, and the increment program is exited. Executing the single-station increment instruction through the single-station increment module makes the operation process more stable and standardized, which is conducive to the maintenance and upgrade of the program and reduces the risk of accident transmission.

[0114] In the embodiment of the present application, the three-level module corresponding to the single-station stop module includes a sequential pump stop module and an interlocking pump stop module, and calling the single-station stop module includes:

[0115] Check the pump-on status of each pump in the current station;

[0116] Get the running pump unit number;

[0117] Call the sequential pump stop module according to the running pump unit number to execute the single station stop instruction;

[0118] The execution result of the single-station stop instruction is fed back to the water hammer programmable logic controller.

[0119] Specifically, the single-station stop module is a secondary module set in the station control device of each station, and executes the instructions sent by the water hammer programmable logic controller by calling the corresponding third-level module; the third-level module corresponding to the single-station stop module can include a sequential pump stop module and an interlocking pump stop module, wherein the interlocking pump stop module is an original module of the station control device, and the sequential pump stop module is a new module of the one-button start and stop station control device. The single-station stop module receives the single-station stop instruction sent by the water hammer programmable logic controller, calls the corresponding third-level module according to the built-in program to execute the single-station stop instruction, and sends the execution result to the water hammer programmable logic controller.

[0120] In one example, taking the Western Oil Pipeline as an example, Figure 6 A schematic diagram of a built-in program flow chart of a single-station stop module for a western refined oil pipeline provided in an embodiment of the present application; Figure 6 As shown in the figure, the control logic of the single-station stop module in the western refined oil pipeline is:

[0121] S601, receiving a single station stop instruction;

[0122] S602, detecting the pump-on status of each pump of the station;

[0123] S603, sending the running pump number to the sequential pump stopping module;

[0124] S604, the sequential pump stop module executes the pump stop instruction according to the pump number;

[0125] S605, after receiving the successful execution information of the stop module, the inlet valve can be closed across the station yard, but the outlet valve cannot be closed across the station yard;

[0126] S606, after the inlet or outlet valves are fully closed, the information that the stop module is successfully executed is displayed;

[0127] S607: If the sequential pump stop fails, the stop module is launched and the subsequent processing is handled by the dispatcher.

[0128] Specifically, receive the single-station stop command sent by the water hammer programmable logic controller; detect the pump-on status of each pump in the station; send the running pump unit number to the sequential pump stop module; the sequential pump stop module executes the pump stop command according to the pump unit number; after receiving the success information of the stop module, the inlet valve can be closed across the station field, but the outlet valve cannot be closed across the station field (except the first station); after the inlet or outlet valves are fully closed, send the single-station stop module execution success information to the water hammer programmable logic controller. If the sequential pump stop fails, exit the stop module, and send the stop failure alarm information to the water hammer programmable logic controller, which will be handled by the dispatcher later. Executing the single-station stop command through the single-station stop module makes the operation process more stable and standardized, which is conducive to the maintenance and upgrade of the program and reduces the risk of accident transmission.

[0129] Figure 7 A structural block diagram of a system for one-touch start and stop stations for long-distance pipelines provided in an embodiment of the present application. The system includes a central control device, a water hammer programmable logic controller, and a station control device; the central control device is disposed in the main control center of the long-distance pipeline, and is configured to send instructions to the water hammer programmable logic controller; the water hammer programmable logic controller communicates with the central control device, and is disposed in a certain station of the long-distance pipeline, generally the first station, and is configured to instruct the station control device to start and stop the station according to the built-in program of the water hammer programmable logic controller upon receiving the instructions sent by the central control device; the station control device communicates with the water hammer programmable logic controller, and is disposed in each station of the long-distance pipeline, and is configured to control the corresponding station to start and stop the station according to the instructions of the water hammer programmable logic controller. Figure 7 As shown, the embodiment of the present application provides a system for a one-key start and stop station of a long-distance pipeline, which may include:

[0130] Memory 710, configured to store instructions; and

[0131] The processor 720 is configured to call instructions from the memory 710 and implement the above-mentioned method of one-key start and stop station of a long-distance pipeline when executing the instructions.

[0132] Specifically, in the embodiment of the present application, the processor 720 may be configured to:

[0133] Receive instructions sent by the central control device;

[0134] In case the received instruction is a single-station conduction process instruction, instructing the station control device to execute the single-station conduction process instruction;

[0135] In case the received instruction is a single station start instruction, instructing the station control device to execute the single station start instruction;

[0136] In case the received instruction is a single-station increment instruction, instructing the station control device to execute the single-station increment instruction;

[0137] When the received instruction is a single-station stop instruction, the station control device is instructed to execute the single-station stop instruction.

[0138] Furthermore, the processor 720 may be further configured to:

[0139] Receive the execution results fed back by the station control device and feed the execution results back to the central control device.

[0140] Furthermore, the processor 720 may be further configured to:

[0141] Get the instructions sent by the water hammer programmable logic controller;

[0142] In case of receiving an instruction to execute a single-station conduction process sent by a water hammer programmable logic controller, calling a single-station conduction process module;

[0143] In case of receiving the single station start instruction sent by the water hammer programmable logic controller, calling the single station start module;

[0144] In case of receiving an execution single-station increment instruction sent by the water hammer programmable logic controller, calling the single-station increment module;

[0145] When receiving the single-station stop command sent by the water hammer programmable logic controller, the single-station stop module is called.

[0146] Furthermore, the processor 720 may be further configured to:

[0147] Calling the single-station conduction process module includes:

[0148] The single-station conduction process module receives the single-station conduction process instruction and calls the third-level module corresponding to the single-station conduction process module;

[0149] Receive the execution results fed back by the third-level module;

[0150] The execution results of the third-level module feedback are fed back to the water hammer programmable logic controller.

[0151] In the embodiment of the present application, the three-level modules corresponding to the single-station conduction process module include:

[0152] Filtration system conduction module, regulation system conduction module, main pump conduction module and other valve conduction modules.

[0153] Furthermore, the processor 720 may be further configured to:

[0154] The three-level modules corresponding to the single-station start module include a sequential pump start module, a start-transmission regulating valve setting module, and a start-transmission variable frequency pump setting module. Calling the single-station start module includes:

[0155] Obtain the pump start unit number and the outlet pressure target setting value sent by the water hammer programmable logic controller, and call the sequential pump start module;

[0156] When the sequential pump start module is executed successfully, the start-transmission regulating valve setting module or the start-transmission variable frequency pump setting module is called;

[0157] The execution result of the single-station start instruction is fed back to the water hammer programmable logic controller.

[0158] Furthermore, the processor 720 may be further configured to:

[0159] The three-level module corresponding to the single-station incremental module includes a sequential pump start module, and calling the single-station incremental module includes:

[0160] When no additional startup pump is needed at the current station, the target set value of the station's outlet pressure is obtained, and the station's outlet pressure is adjusted according to the target set value of the outlet pressure;

[0161] When a new pump needs to be started at the station, the target set value of the station's outlet pressure and the pump start unit number are obtained, and the sequential pump start module is called;

[0162] The execution result of the single-station incremental instruction is fed back to the water hammer programmable logic controller.

[0163] Furthermore, the processor 720 may be further configured to:

[0164] The three-level modules corresponding to the single-station stop module include a sequential pump stop module and an interlocking pump stop module. Calling the single-station stop module includes:

[0165] Check the pump-on status of each pump in the current station;

[0166] Get the running pump unit number;

[0167] Call the sequential pump stop module according to the running pump unit number to execute the single station stop instruction;

[0168] The execution result of the single-station stop instruction is fed back to the water hammer programmable logic controller.

[0169] Through the above technical solution, the water hammer programmable logic controller receives the one-key start and stop station command sent by the central control device, and sends the single-station start or stop station command to the station control device of the corresponding station field according to the built-in program according to the single-station start or stop station command sent by the central control device, instructing the station control device to perform the single-station start or stop station task. This application further realizes the one-key start and stop station of the long-distance pipeline through communication between the central control device, the water hammer programmable logic controller and the station control device, and instructs the station control device to execute the start and stop station according to the built-in program of the water hammer programmable logic controller, without the need for the dispatcher to issue instructions multiple times, solving the problems of complex operation process, low fault tolerance and high accident risk in the manual control method of the prior art, and realizing safe, stable and efficient operation of the long-distance pipeline.

[0170] An embodiment of the present application also provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned method of one-key start and stop station for a long-distance pipeline.

[0171] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may 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.

[0172] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0173] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0174] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0175] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0176] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0177] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0178] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0179] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the present application.

Claims

1. A method for starting and stopping a long-distance pipeline with one key, characterized in that: 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 respectively, the station control device includes a secondary module and a tertiary module, the secondary module calls the corresponding tertiary module, the secondary module includes a single station conduction process module, a single station start module, a single station stop module and a single station increment module, the method includes: Obtaining instructions sent by the water hammer programmable logic controller; In case of receiving an instruction for executing a single-station conduction process sent by the water hammer programmable logic controller, calling the single-station conduction process module; In case of receiving the single station start instruction sent by the water hammer programmable logic controller, calling the single station start module; In case of receiving an execution single-station increment instruction sent by the water hammer programmable logic controller, calling the single-station increment module; In case of receiving a single-station stop instruction sent by the water hammer programmable logic controller, calling the single-station stop module; Among them, the three-level modules corresponding to the single-station start module include a sequential pump start module, a start-transfer regulating valve setting module and a start-transfer variable frequency pump setting module, and the calling of the single-station start module includes: Obtain the pump start unit number and the outlet pressure target setting value sent by the water hammer programmable logic controller, and call the sequential pump start module; In the case where the sequential pump start module is executed successfully, calling the start-transport regulating valve setting module or the start-transport variable frequency pump setting module; The execution result of the single-station start instruction is fed back to the water hammer programmable logic controller.

2. The method according to claim 1, characterized in that The calling of the single-station conduction process module includes: The single-station conduction process module receives the single-station conduction process instruction and calls the third-level module corresponding to the single-station conduction process module; Receive the execution result fed back by the three-level module; The execution result fed back by the three-level module is fed back to the water hammer programmable logic controller.

3. The method according to claim 2, characterized in that The three-level modules corresponding to the single-station conduction process module include: Filtration system conduction module, regulation system conduction module, main pump conduction module and other valve conduction modules.

4. The method according to claim 1, characterized in that: The three-level module corresponding to the single-station incremental module includes a sequential pump start module, and the calling of the single-station incremental module includes: When the current station does not need to add a new startup pump, obtain the target setting value of the outlet pressure of the current station, and adjust the outlet pressure of the current station according to the target setting value of the outlet pressure; When the current station needs to add a new pump, the target setting value of the outlet pressure and the pump start unit number of the current station are obtained, and the sequential pump start module is called; The execution result of the single-station increment instruction is fed back to the water hammer programmable logic controller.

5. The method according to claim 1, characterized in that The three-level modules corresponding to the single-station stop module include a sequential pump stop module and an interlocking pump stop module. The calling of the single-station stop module includes: Check the pumping status of each pump in the current station; Get the running pump unit number; Calling the sequential pump stop module according to the running pump unit number to execute a single station stop instruction; The execution result of the single-station stop instruction is fed back to the water hammer programmable logic controller.

6. A system for one-button start and stop of long-distance pipelines, characterized in that: include: a memory configured to store instructions; as well as A processor is configured to call the instruction from the memory and implement the method for one-key start and stop station of a long-distance pipeline according to any one of claims 1 to 5 when executing the instruction.

7. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions for enabling the machine to execute the method for starting and stopping a long-distance pipeline station with one key according to any one of claims 1 to 5.