A simulation testing system, method, medium and device for oil and gas pipelines
By designing an oil and gas pipeline simulation test system, the challenges of industrial-grade application verification of new sensors, logic controllers, and actuators were solved, enabling effective testing and verification of new equipment and ensuring its safe and reliable operation in oil and gas pipelines.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PIPECHINA SOUTH CHINA CO
- Filing Date
- 2023-05-19
- Publication Date
- 2026-05-01
AI Technical Summary
Existing technologies have failed to effectively conduct industrial-level application testing and verification of new sensors, logic controllers, and actuators, and cannot meet the safety and reliability requirements of oil and gas pipelines.
Design a simulation testing system for oil and gas pipelines, including a host computer and a simulation device. The simulation device tests the target physical components, generates test results, and displays them on the host computer. This simulates the industrial control environment of an oil and gas pipeline station and verifies the performance and function of the new equipment.
It provides effective testing and verification capabilities to ensure the safe and reliable operation of new equipment in oil and gas pipeline industrial applications, and to meet the performance and functional verification requirements of sensors, logic controllers and actuators.
Smart Images

Figure CN116677926B_ABST
Abstract
Description
A simulation testing system, method, medium, and equipment for oil and gas pipelines. Technical Field
[0001] This invention belongs to the field of oil and gas pipeline testing, and particularly relates to a simulation testing system, method, medium and equipment for oil and gas pipelines. Background Technology
[0002] The sensing, control, and execution of oil and gas pipeline stations are mainly achieved through sensors, controllers (SIS), and actuators. The effectiveness of sensors and systems is fundamental to ensuring the normal execution of logic control and safety functions in oil and gas pipelines. With the gradual formation of a nationwide pipeline network, the network scale will continue to expand. According to the "Medium and Long-Term Oil and Gas Pipeline Network Plan," the national trunk pipeline network will reach 240,000 kilometers by 2025. Therefore, the requirements for the research and development and localization of new equipment (sensors, logic controllers, and actuators) will continue to increase. At the same time, with the increasing demands for national safety and environmental protection regulations, and the increasingly stringent requirements for enterprises' own safety management capabilities, higher requirements are placed on the reliability and availability of new equipment. Sensor and system testing and evaluation are crucial means to ensure the safe, reliable, and efficient operation of the "sensors, brain, and limbs" of the oil and gas pipeline network.
[0003] To ensure that new equipment can meet the industrial application requirements of long-distance oil and gas pipelines, and to ensure the safety, reliability, and suitability of its sensors, logic controllers, and actuators for industrial applications in the pipeline industry, it is necessary to establish a scientific and reasonable sensor and system simulation test system to verify the sensing, logic control, and execution capabilities of the new equipment from the perspective of industrial applications.
[0004] Currently, the oil and gas pipeline industry has not yet established simulation testing systems for individual equipment and the entire circuit, making it impossible to effectively conduct industrial-level application testing and verification of new sensors, logic controllers, and actuators to verify whether they can meet the needs of field applications. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a simulation test system, method, medium and equipment for oil and gas pipelines.
[0006] The technical solution of the present invention to solve the above-mentioned technical problems is as follows: a simulation test system for oil and gas pipelines, comprising: a host computer and a simulation device for simulating oil and gas pipelines, wherein the simulation device comprises: multiple physical components associated with the oil and gas pipelines;
[0007] The target physical component in the simulation device is tested using the simulation device, and test results are generated.
[0008] The test results are displayed on the host computer.
[0009] The beneficial effects of this invention are: it can be used to simulate the industrial control operating environment of oil and gas stations, and to verify the product performance and function of any device in the test circuit, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that it can provide effective testing and verification capabilities for the industrial application of new equipment.
[0010] Based on the above technical solution, the present invention can be further improved as follows.
[0011] Furthermore, the simulation device includes:
[0012] At least one of a pressure sensor, a logic controller, and an actuator.
[0013] Furthermore, when the target physical component is a pressure sensor, the process of testing the target physical component in the simulation device is as follows:
[0014] The pressure signal generator repeatedly sends out fixed signals. The pressure sensor senses each fixed signal and transmits all fixed signals to the logic controller in a time sequence. The logic controller converts each fixed signal to obtain multiple conversion results. Based on the error judgment condition, it determines whether each conversion result is consistent with the corresponding fixed signal and generates a judgment result. If the judgment result is yes, it is determined that the pressure sensor has no problem.
[0015] Furthermore, when the target physical component is a logic controller, the process of testing the target physical component in the simulation device is as follows:
[0016] According to the preset mapping table, the pressure signal generating device is controlled to emit an analog signal. The pressure sensor senses the analog signal and transmits all analog signals to the logic controller. The logic controller analyzes and processes the analog signal to obtain the first analysis result corresponding to the analog signal. It then determines whether the preset analysis result corresponding to the analog signal in the preset mapping table is consistent with the first analysis result corresponding to the analog signal. If they are consistent, it is determined that the logic controller has no problem.
[0017] Furthermore, when the target physical component is an actuator, the process of testing the target physical component in the simulation device is as follows:
[0018] The pressure signal generator is controlled to emit the same signal multiple times. The pressure sensor senses each identical signal and transmits all identical signals to the logic controller in a time sequence. The logic controller analyzes and processes each identical signal to obtain multiple second analysis results. The actuator controls the air source switch according to the second analysis results. If the state of the air source switch is consistent, it is determined that there is no problem with the actuator.
[0019] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: a simulation test method for oil and gas pipelines, comprising:
[0020] The target physical component in the simulation device is tested using a simulation device, and test results are generated.
[0021] The test results are displayed on the host computer.
[0022] The simulation device includes multiple physical components associated with oil and gas pipelines.
[0023] The beneficial effects of this invention are: it can be used to simulate the industrial control operating environment of oil and gas stations, and to verify the product performance and function of any device in the test circuit, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that it can provide effective testing and verification capabilities for the industrial application of new equipment.
[0024] Furthermore, the simulation device includes:
[0025] At least one of a pressure sensor, a logic controller, and an actuator.
[0026] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: a storage medium storing instructions, wherein when a computer reads the instructions, the computer executes the method described in any of the above-mentioned methods.
[0027] The beneficial effects of this invention are: it can be used to simulate the industrial control operating environment of oil and gas stations, and to verify the product performance and function of any device in the test circuit, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that it can provide effective testing and verification capabilities for the industrial application of new equipment.
[0028] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: an electronic device, including the above-mentioned storage medium and a processor that executes the instructions in the above-mentioned storage medium.
[0029] The beneficial effects of this invention are: it can be used to simulate the industrial control operating environment of oil and gas stations, and to verify the product performance and function of any device in the test circuit, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that it can provide effective testing and verification capabilities for the industrial application of new equipment. Attached Figure Description
[0030] Figure 1 is a structural framework diagram of an embodiment of a simulation test system for oil and gas pipelines according to the present invention;
[0031] Figure 2 is a schematic diagram of the process provided by an embodiment of the present invention for simulation testing of oil and gas pipelines. Detailed Implementation
[0032] The principles and features of the present invention are described below. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.
[0033] As shown in Figure 1, a simulation test system for oil and gas pipelines includes: a host computer 200 and a simulation device 100 for simulating oil and gas pipelines. The simulation device 100 includes: multiple physical components associated with the oil and gas pipelines.
[0034] The target physical component in the simulation device 100 is tested using the simulation device 100, and test results are generated.
[0035] The test results are displayed on the host computer 200.
[0036] In some possible implementations, it can be used to simulate the industrial control environment of oil and gas stations, and to verify the product performance and function of any device in the test loop, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that effective testing and verification capabilities are provided for the industrial application of new equipment.
[0037] It should be noted that the simulation device 100 in this solution includes four components: a pressure signal generator, a pressure sensor, a logic controller, and an actuator. These four components can be physical parts used in actual scenarios or physical parts manufactured in a production line. That is, the multiple physical parts associated with oil and gas pipelines proposed in this solution can be either already in use in the field or newly manufactured parts not yet in use. Furthermore, for ease of testing, this solution may also include a cabinet, an experimental device mounting platform, etc., with the simulation device mounted on the experimental device mounting platform, which is housed within the cabinet. The four components in this solution constitute a complete processing loop. In practical applications, components can be added or removed from this loop, as long as it remains a complete processing loop.
[0038] The testing process for the circuit under test adopted the controlled variable method. In other words, each test only tested one device, while the rest were operated using devices that had no problems.
[0039] In this solution, regardless of which device is being tested, it is always done using a pressure sensor.
[0040] Specifically, this plan can include three types of test schemes:
[0041] When testing a pressure sensor, the pressure source is first calibrated to simulate the input pressure within the transmitter's measurement range. Calibration checks are performed at 0%, 50%, and 100% ranges. This means the preset signal is transmitted within these ranges, and the logic controller converts the electrical signal into a digital signal, which is then sent to the host computer. The host computer reads and displays the digital signal, typically decreasing from 100% down to 0%. This process is repeated, and the pressure values at different ranges are recorded to verify the sensor's measurement accuracy. In other words, the displayed data is verified. If the displayed data matches the input pressure or falls within the error judgment condition, the pressure sensor is considered to be working correctly. The error judgment condition is a manually set error range; if the displayed digital signal value is within the error range of the input pressure, the sensor is considered to be working correctly.
[0042] When the logic controller needs to be tested, the control pressure signal generator sends a preset signal. At this time, the pressure sensor senses the preset signal and transmits it to the logic controller. The logic controller analyzes and processes the preset signal to obtain the first analysis result. The actuator controls the air source switch according to the first analysis result. When the air source switch operates normally, it is determined that there is no problem with the pressure signal generator.
[0043] The analysis and processing may include: when the pressure signal generator simulates the pressure output of liquid being transported from an upstream station to a downstream station, the analysis and processing involves determining whether the remaining pressure value upon reaching the downstream station exceeds a threshold. Specifically, a scheme for calculating the lost pressure is pre-embedded in the logic controller, which directly calculates the remaining pressure value upon reaching the downstream station. If it exceeds the threshold, appropriate devices or schemes are needed to release some pressure so that the pressure value flowing into the downstream station is within the threshold range.
[0044] At this point, the first analysis result is the treatment plan corresponding to the remaining pressure value when the downstream station is reached. This treatment plan is stored in the logic controller in advance, and the control plan for the gas source can be obtained by retrieving the corresponding data in the preset plan table.
[0045] The analysis and processing may also include: when simulating the low-pressure interlocking pump shutdown logic control program of the oil pump inlet at the oil and gas pipeline station, that is, when the above control program is embedded in the logic controller, the control pressure signal generator sends a preset signal. After reading the preset signal, the logic controller simulates the pump inlet pressure falling below the low-pressure interlocking pump shutdown threshold through the embedded control program. When the low-pressure interlocking pump shutdown threshold is reached, the host computer observes whether the scheme stored in the preset scheme table in the logic controller is triggered, that is, whether the interlocking protection pump shutdown logic is triggered. It should be noted that the above logic is all manually defined based on actual applications. This solution does not protect the specific logic, but rather the test method.
[0046] At this point, the first analysis result is the corresponding handling scheme when the pump inlet pressure is lower than the low-low interlock pump stop threshold. This handling scheme is also pre-stored in the logic controller. The corresponding content can be retrieved from the preset scheme table to trigger the switch control of the gas source corresponding to the interlock protection pump stop logic.
[0047] 3. When it is necessary to test the actuator, the control pressure signal generator sends out multiple identical signals. The pressure sensor senses these signals and sends them to the logic controller. The logic controller analyzes the signals and obtains multiple second analysis results. The second analysis results are used to control the air source switch of the actuator. When the states of the air source switches are all consistent or exceed the preset percentage, it can be determined that the actuator is not faulty. The actuator can be a cylinder.
[0048] The second analysis result can be: based on the 0%, 50%, and 100% stroke opening commands given to the actuator by the host computer, the above stroke opening commands can make the valve reach different stroke openings. Therefore, the pressure signals corresponding to different stroke opening commands are generated by a pressure signal generator, and the pressure signals are sent to the logic controller by a pressure sensor. The logic controller generates the control of the actuator opening size according to the pre-stored preset scheme table, controls the air source switch of the actuator according to the opening size, and observes whether the valve reaches the set opening command during actual execution.
[0049] It should be noted that the preset scheme table represents different processing schemes corresponding to different input signals. For example, when testing a pressure sensor, the processing scheme for the input signal is simply to convert the input signal into a digital signal for the operator to check if it matches the input data. When testing a logic controller, the scheme for the input signal is a pre-embedded algorithm or calculation scheme. When testing an actuator, the scheme for the input signal is a table of correspondences for controlling the opening degree of the actuator. However, it is not limited to the above-mentioned schemes; any scheme that can control and test the device to be tested through a logic controller is acceptable.
[0050] Example 1: This invention proposes a semi-physical simulation test system for oil and gas pipeline sensors, control systems, and actuators. The device includes a logic control cabinet, a host computer 200, an experimental device mounting platform, pressure sensors, a pressure signal generator, a logic control system, and an actuator.
[0051] First, the logic controller, pressure sensor, and actuator are linked into a loop simulating an oil and gas station for process control or safety functions, such as pressure relief protection at the inlet and outlet of an oil transfer station. The pressure sensor detects pressure signals, the logic controller receives these signals and transmits them to the actuator, and the actuator receives the signals from the logic controller and performs corresponding functions, such as opening or closing valves.
[0052] The experimental setup mounting frame is used to install and fix the pressure sensor and actuator, while reserving installation positions for the pressure signal generator and pressure sensor, as well as the air source for the actuator.
[0053] The pressure signal generating device and logic control system are used to generate pressure signals, enabling pressure sensors to detect the pressure signals and transmit them to the logic control cabinet and actuators. At the same time, different frequencies and types of pressure signals can be set to meet the testing requirements of individual equipment or the entire loop.
[0054] The host computer 200 is used to observe the connection status of the equipment circuit and test data information.
[0055] The hardware-in-the-loop testing system for oil and gas pipeline pressure sensors, control systems, and actuators has the following functions: conducting performance-level functional tests on industrial application-grade products such as new intelligent pressure transmitters, logic controllers, and actuators.
[0056] The simulation device 100 includes:
[0057] At least one of a pressure sensor, a logic controller, and an actuator.
[0058] Preferably, in any of the above embodiments, when the target physical component is a pressure signal generating device, the testing process of the simulation device 100 is as follows:
[0059] The pressure signal generator repeatedly sends out fixed signals. The pressure sensor senses each fixed signal and transmits all fixed signals to the logic controller in a time sequence. The logic controller converts each fixed signal to obtain multiple conversion results. Based on the error judgment condition, it determines whether each conversion result is consistent with the corresponding fixed signal and generates a judgment result. If the judgment result is yes, it is determined that the pressure sensor has no problem.
[0060] Preferably, in any of the above embodiments, when the target physical component is a pressure sensor, the testing process of the simulation device 100 is as follows:
[0061] The simulation device 100 repeatedly controls the pressure signal generator to emit fixed signals. The pressure sensor senses each fixed signal and transmits all fixed signals to the logic controller in a time sequence. The logic controller analyzes and processes each fixed signal to obtain multiple first analysis results. It judges all first analysis results according to error judgment conditions. If the error judgment conditions are met, it is determined that the pressure sensor has no problem.
[0062] Preferably, in any of the above embodiments, when the target entity component is a logic controller, the testing process of the simulation device 100 is as follows:
[0063] The simulation device 100 controls the pressure signal generator to emit multiple simulation signals according to a preset mapping table. The pressure sensor senses each simulation signal and transmits all simulation signals to the logic controller in a time sequence. The logic controller analyzes and processes each simulation signal to obtain a second analysis result corresponding to each simulation signal. It then determines whether the preset analysis result corresponding to each simulation signal in the preset mapping table is consistent with the second analysis result corresponding to that simulation signal. If they are consistent, it is determined that the logic controller has no problem.
[0064] Preferably, in any of the above embodiments, when the target entity component is an actuator, the testing process of the simulation device 100 is as follows:
[0065] The simulation device 100 repeatedly controls the pressure signal generator to emit the same signal. The pressure sensor senses each identical signal and transmits all identical signals to the logic controller in a time sequence. The logic controller analyzes and processes each identical signal to obtain multiple fourth analysis results. The actuator controls the gas source switch according to the fourth analysis results. If the states of the gas source switches are all consistent, it is determined that there is no problem with the actuator.
[0066] As shown in Figure 2, a simulation test method for oil and gas pipelines includes:
[0067] The simulation device 100 tests multiple physical components associated with the oil and gas pipeline and generates test results;
[0068] The host computer 200 displays the test results;
[0069] The simulation device 100 includes multiple physical components associated with oil and gas pipelines.
[0070] In some possible implementations, it can be used to simulate the industrial control environment of oil and gas stations, and to verify the product performance and function of any device in the test loop, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that effective testing and verification capabilities are provided for the industrial application of new equipment.
[0071] Preferably, in any of the above embodiments, the simulation device 100 includes:
[0072] At least one of a pressure sensor, a logic controller, and an actuator.
[0073] Preferably, in any of the above embodiments, when the target physical component is a pressure signal generating device, the testing process of the simulation device 100 is as follows:
[0074] The pressure signal generator repeatedly sends out fixed signals. The pressure sensor senses each fixed signal and transmits all fixed signals to the logic controller in a time sequence. The logic controller converts each fixed signal to obtain multiple conversion results. Based on the error judgment condition, it determines whether each conversion result is consistent with the corresponding fixed signal and generates a judgment result. If the judgment result is yes, it is determined that the pressure sensor has no problem.
[0075] Preferably, in any of the above embodiments, when the target physical component is a pressure sensor, the testing process of the simulation device 100 is as follows:
[0076] The simulation device 100 repeatedly controls the pressure signal generator to emit fixed signals. The pressure sensor senses each fixed signal and transmits all fixed signals to the logic controller in a time sequence. The logic controller analyzes and processes each fixed signal to obtain multiple first analysis results. It judges all first analysis results according to error judgment conditions. If the error judgment conditions are met, it is determined that the pressure sensor has no problem.
[0077] Preferably, in any of the above embodiments, when the target entity component is a logic controller, the testing process of the simulation device 100 is as follows:
[0078] The simulation device 100 controls the pressure signal generator to emit multiple simulation signals according to a preset mapping table. The pressure sensor senses each simulation signal and transmits all simulation signals to the logic controller in a time sequence. The logic controller analyzes and processes each simulation signal to obtain a second analysis result corresponding to each simulation signal. It then determines whether the preset analysis result corresponding to each simulation signal in the preset mapping table is consistent with the second analysis result corresponding to that simulation signal. If they are consistent, it is determined that the logic controller has no problem.
[0079] Preferably, in any of the above embodiments, when the target entity component is an actuator, the testing process of the simulation device 100 is as follows:
[0080] The simulation device 100 repeatedly controls the pressure signal generator to emit the same signal. The pressure sensor senses each identical signal and transmits all identical signals to the logic controller in a time sequence. The logic controller analyzes and processes each identical signal to obtain multiple fourth analysis results. The actuator controls the gas source switch according to the fourth analysis results. If the states of the gas source switches are all consistent, it is determined that there is no problem with the actuator.
[0081] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: a storage medium storing instructions, wherein when a computer reads the instructions, the computer executes a moving target tracking method as described in any of the above claims.
[0082] In some possible implementations, it can be used to simulate the industrial control environment of oil and gas stations, and to verify the product performance and function of any device in the test loop, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that effective testing and verification capabilities are provided for the industrial application of new equipment.
[0083] Another technical solution of the present invention to solve the above-mentioned technical problems is as follows: an electronic device, including the above-mentioned storage medium and a processor that executes the instructions in the above-mentioned storage medium.
[0084] In some possible implementations, it can be used to simulate the industrial control environment of oil and gas stations, and to verify the product performance and function of any device in the test loop, such as new pressure sensors, logic controllers and actuators, from the perspective of industrial applications, so as to ensure that effective testing and verification capabilities are provided for the industrial application of new equipment.
[0085] Readers should understand that in the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the method embodiments described above are merely illustrative. For instance, the division of steps is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple steps may be combined or integrated into another step, or some features may be ignored or not executed.
[0087] If the above methods are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0088] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A simulation testing system for oil and gas pipelines, characterized in that, include: A host computer and a simulation device for simulating oil and gas pipelines are provided. The simulation device includes multiple physical components associated with the oil and gas pipelines. The target physical components in the simulation device are tested, and test results are generated. The test results are displayed on the host computer. The simulation device includes at least one of a pressure sensor, a logic controller, and an actuator. When the target physical component is a pressure sensor, the testing process for the target physical component in the simulation device is as follows: a pressure signal generator repeatedly emits fixed signals; the pressure sensor senses each fixed signal and transmits all fixed signals to the logic controller in a time sequence; the logic controller processes each fixed signal... A fixed signal is converted to obtain multiple conversion results. Based on an error judgment condition, it is determined whether each conversion result is consistent with the corresponding fixed signal, generating a judgment result. If the judgment result is yes, the pressure sensor is determined to be without problems. When the target entity component is a logic controller, the process of testing the target entity component in the simulation device is as follows: According to a preset mapping table, the pressure signal generator is controlled to emit a simulated signal. The pressure sensor senses the simulated signal and transmits all simulated signals to the logic controller. The logic controller analyzes and processes the simulated signal to obtain a first analysis result corresponding to the simulated signal, and determines whether the simulated signal corresponds to the fixed signal in the preset mapping table. The analysis process involves checking whether the preset analysis result matches the first analysis result corresponding to the simulated signal. If both match, the logic controller is deemed to have no problem. The analysis process includes: when the pressure signal generator simulates the pressure output of liquid being transported from the upstream station to the downstream station, determining whether the remaining pressure value upon reaching the downstream station exceeds a threshold. Specifically, the logic controller is pre-embedded with a scheme to calculate the pressure loss, which calculates the remaining pressure value upon reaching the downstream station. If it exceeds the threshold, a suitable device or scheme is needed to release some pressure so that the pressure value flowing into the downstream station is within the threshold range. At this point, the first analysis result is the processing scheme corresponding to the remaining pressure value upon reaching the downstream station. The control scheme is pre-stored in the logic controller. The control scheme for the gas source is obtained by retrieving the corresponding data in the preset scheme table. The analysis and processing also includes: when simulating the low-low interlocking pump stop logic control program of the oil pump inlet pressure of the oil pipeline station, that is, when the logic controller is implanted with the low-low interlocking pump stop logic control program of the oil pump inlet pressure of the oil pipeline station, the control pressure signal generator sends a preset signal. After reading the preset signal, the logic controller simulates the pump inlet pressure being lower than the low-low interlocking pump stop threshold through the implanted control program. When the low-low interlocking pump stop threshold is reached, the host computer observes whether the scheme stored in the preset scheme table in the logic controller is triggered, that is, whether the interlocking protection pump stop logic is triggered.At this point, the first analysis result is the corresponding handling scheme when the pump inlet pressure is lower than the low-low interlock pump stop threshold. This handling scheme is pre-stored in the logic controller. By retrieving the corresponding content from the preset scheme table, the switching control of the air source corresponding to the interlock protection pump stop logic is triggered.
2. The simulation testing system for oil and gas pipelines according to claim 1, characterized in that, When the target physical component is an actuator, the process of testing the target physical component in the simulation device is as follows: the pressure signal generator is repeatedly controlled to emit the same signal. The pressure sensor senses each same signal and transmits all the same signals to the logic controller in sequence. The logic controller analyzes and processes each same signal to obtain multiple second analysis results. The actuator controls the air source switch according to the second analysis results. If the state of the air source switch is consistent, it is determined that the actuator has no problem.
3. A simulation testing method for oil and gas pipelines, applied to the simulation testing system for oil and gas pipelines as described in claim 1, characterized in that, include: The target physical component in the simulation device is tested using a simulation device, and test results are generated. The test results are displayed on the host computer. The simulation device includes multiple physical components associated with oil and gas pipelines.
4. A storage medium, characterized in that, The medium stores instructions that, when read by a computer, cause the computer to execute the method as described in claim 3.
5. An electronic device, characterized in that, Includes the storage medium as described in claim 4 and a processor that executes instructions within the storage medium.
Citation Information
Patent Citations
Test device for pressure sensors
CN104776956A