An intelligent control system for multiple oil and gas parameters based on PLC and real-time data processing
Through the PLC-based multi-parameter intelligent control system for oil and gas, the liquid level changes are monitored in real time and the pumping speed is dynamically adjusted, which solves the problem of response lag and insufficient control accuracy of the oil and gas storage and transportation system, and improves the safety and efficiency of the storage and transportation process.
Patent Information
- Application Number
- CN202510450435.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-04-11
AI Technical Summary
The existing oil and gas storage and transportation systems have lagged responses and insufficient pumping control accuracy, making them difficult to adapt to complex working conditions, and lack of multi-parameter comprehensive analysis and decision-making capabilities, resulting in a high risk of liquid level overflow in the storage tank.
The multi-parameter oil and gas control system based on PLC and real-time data processing is adopted. The liquid level change is monitored in real time through the liquid level acquisition module, the state judgment module analyzes the liquid level feedback information, the threshold setting module dynamically adjusts the pumping speed threshold, the PLC control module performs real-time comparison and logic operations, and the pumping and regulation module dynamically adjusts the pumping equipment speed.
Significantly reduce the time delay between liquid level data acquisition and pumping control, improve the real-time response ability of liquid level changes, prevent the storage tank from exceeding the range, realize intelligent dynamic regulation of pumping rate, improve the safety and efficiency of the storage and transportation system, and reduce the risk of manual operation errors.
Smart Images

Figure CN119960374B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automated control for oil and gas storage and transportation, and particularly to an intelligent multi-parameter control system for oil and gas based on PLC and real-time data processing. Background Art
[0002] In existing oil and gas storage and transportation systems, monitoring and control technologies based on liquid level sensors are usually adopted to collect the liquid level information in storage tanks, and the start and stop of pumping equipment are controlled by set threshold parameters to ensure the safe operation of the storage tanks. The structure of such systems is relatively simple, mainly relying on a single sensor to feedback liquid level data and achieving basic automatic control through a predetermined logic. However, this control method has great limitations and is difficult to adapt to complex and changeable working conditions.
[0003] First of all, the existing systems generally have the problem of response lag. Due to a certain time delay between the liquid level data collection and the control signal, the system cannot respond quickly to the liquid level change in time, resulting in the liquid level in the storage tank may exceed the safe range in a short time, increasing the risk of overflow. Secondly, most of the existing pumping control methods are based on fixed threshold strategies, with insufficient regulation accuracy. Especially in scenarios where the oil and gas have strong fluidity and frequent liquid level fluctuations, the dynamic adjustment of the pumping speed cannot be achieved, easily causing problems where the pumping rate does not match the actual demand. In addition, most of the existing systems lack the ability of multi-parameter comprehensive analysis and decision-making. Usually, only a single liquid level parameter is relied on as the control basis, and other key operating parameters such as pumping flow rate, storage tank pressure, and environmental temperature are not effectively integrated. This single control mode limits the intelligent level of the system and cannot realize the dynamic optimization of the pumping strategy according to the comprehensive data under different working states, resulting in a reduction in the safety and efficiency of the oil and gas storage and transportation process. Summary of the Invention
[0004] The purpose of the present invention is to provide an intelligent multi-parameter control system for oil and gas based on PLC and real-time data processing, which regulates the pumping speed according to the liquid level feedback information under different working states to solve the problem of the overflow risk of the storage tank.
[0005] To achieve the above purpose, the present invention provides the following technical solution: An intelligent multi-parameter control system for oil and gas based on PLC and real-time data processing, the system includes:
[0006] A liquid level acquisition module, used to collect the liquid level feedback information of the storage tank in real time;
[0007] A status judgment module connected to the liquid level acquisition module is used to judge the current working status of the storage tank according to the liquid level feedback information, including analyzing the factors causing the status change based on the liquid level feedback information, assigning the probability of causing an abnormal status to this factor based on the system operation experience library or data model, calculating the event intensity of the current working status, and setting a threshold. If the event intensity of the current working status exceeds this threshold, it is judged as an abnormal status;
[0008] A threshold setting module connected to the status judgment module is used to set the corresponding pumping speed threshold range according to the current working status, including setting the upper and lower limits of the pumping speed under the current working condition, the change period in the liquid level signal feedback, determining the change amplitude of the pumping speed adjustment, and dynamically adjusting the adjustment amplitude of the pumping speed threshold interval;
[0009] A PLC control module connected to the threshold setting module is used to receive the pumping speed threshold range and perform real-time comparison and logical operations;
[0010] A pumping control module connected to the PLC control module is used to dynamically control the operating speed of the pumping equipment based on the operation result of the PLC control module;
[0011] The calculation formula for the event intensity A of the current working status calculated by the status judgment module when judging the current working status of the storage tank according to the liquid level feedback information is: A = E × B;
[0012] Where, A represents the event intensity of the current working status, E represents the change value of the factor causing the status change, and B represents the probability of this factor causing an abnormal status;
[0013] The calculation formula for determining the change amplitude G of the pumping speed adjustment in the corresponding pumping speed threshold range set by the threshold setting module according to the current working status is:
[0014] G = ;
[0015] Where, G represents the change amplitude of the pumping speed adjustment, represents the lowest allowable pumping speed of the current storage tank, represents the highest allowable pumping speed of the current storage tank, and T represents the change period in the liquid level signal feedback;
[0016] The calculation formula for the change value E of the factor causing the status change when the status judgment module judges the current working status of the storage tank according to the liquid level feedback information is:
[0017] E = ;
[0018] Among them, E represents the change value of the factor causing the state change, D represents the change rate of the liquid level in the storage tank between two sampling moments, W1 represents the weight coefficient of D, P represents the change rate of the internal pressure of the storage tank, W2 represents the weight coefficient of P, Q represents the change rate of the liquid temperature, and W3 represents the weight coefficient of Q.
[0019] Preferably, the liquid level acquisition module's real-time acquisition of the liquid level feedback information of the storage tank includes obtaining the liquid level data of the storage tank in real time and calculating the change rate of the liquid level in the storage tank between two sampling moments. The specific formula is: D = ;
[0020] Among them, D represents the change rate of the liquid level in the storage tank between two sampling moments, H2 represents the liquid level height at the later moment, H1 represents the liquid level height at the previous moment, and Δt represents the time interval between two liquid level samplings;
[0021] A preset safety threshold is set. If D exceeds this safety threshold, it is fed back to the state judgment module.
[0022] Preferably, the PLC control module receives the pumping speed threshold range and performs real-time comparison and logical operations, including setting the processing duration of the fast response signal and the normal control processing duration of the PLC control process, and calculating the control priority ratio. The specific formula is: P = t x / t s ;
[0023] Among them, P represents the control priority ratio, t x represents the processing duration of the fast response signal, and t s represents the normal control processing duration;
[0024] Execute the control signal according to the control priority ratio from high to low.
[0025] Preferably, the pumping regulation module dynamically regulates the operating speed of the pumping equipment based on the operation result of the PLC control module, including counting the current load demand, setting the control rhythm according to the cycle of the pumping speed adjustment action of the regulation system, and calculating the adjustment range of the pumping speed. The specific formula is:
[0026] U = V × Z;
[0027] Among them, U represents the adjustment range of the pumping speed, V represents the current load demand, and Z represents the cycle of the system's pumping speed adjustment action.
[0028] Preferably, the liquid level acquisition module's real-time acquisition of the liquid level feedback information of the storage tank further includes judging whether the working state of the storage tank is high liquid level alarm based on the real-time acquired liquid level height through the following formula: H > H3;
[0029] Among them, H represents the current liquid level of the storage tank, and H3 represents the set high liquid level alarm threshold value;
[0030] If it is determined to be a high liquid level, the high liquid level alarm signal is transmitted to the PLC control module, and the maximum limit of the corresponding pumping speed is set to 80% of the maximum output capacity of the pump, and it continues to run within the set standard speed range during normal operation.
[0031] Preferably, when receiving the high liquid level alarm signal, the PLC control module also performs the following control operations: calculate the available volume of the current storage tank, and judge whether it is necessary to enable a standby storage tank for overflow treatment, trigger an alarm device, including an audible and visual alarm or a remote alarm signal is sent to the monitoring terminal to prompt the operator to take corresponding measures, record the liquid level abnormal event and store it in the data log.
[0032] Preferably, the liquid level acquisition module's real-time acquisition of the liquid level feedback information of the storage tank also includes adjusting the high liquid level alarm threshold value H3 in combination with the environmental sensor data. Specifically: if the environmental temperature rises and causes the liquid to expand, then dynamically increase H3 to avoid false alarms; if the pressure in the storage tank rises abnormally, then decrease H3 and give priority to triggering the pressure reduction control measures.
[0033] From the above technical solutions, it can be seen that the present invention has the following beneficial effects:
[0034] The intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing can collect the liquid level feedback information of the storage tank in real time through the liquid level acquisition module. The state judgment module judges the current working state of the storage tank according to the liquid level feedback information. The threshold setting module sets the corresponding pumping speed threshold range according to the current working state. The PLC control module receives the pumping speed threshold range and performs real-time comparison and logical operations. The pumping regulation module dynamically regulates the running speed of the pumping equipment based on the operation result of the PLC control module, which can significantly reduce the time delay between liquid level data acquisition and pumping control and improve the real-time response ability of the system to liquid level changes. The system can quickly execute regulation operations when the liquid level is close to the high-level alarm threshold, reduce the risk that the liquid level of the storage tank exceeds the safe range in a short time, effectively prevent the occurrence of oil and gas overflow accidents, can accurately set the pumping speed threshold range according to real-time data, realize the intelligent dynamic regulation of the pumping rate, avoid the problem that the pumping rate does not match the actual demand, improve the stability and regulation accuracy of the operation of the storage and transportation system, can optimize the intelligent regulation strategy based on comprehensive data, adapt to different working states, improve the safety and operation efficiency of the oil and gas storage and transportation process, realize the automation and intelligence of the pumping regulation process, reduce the dependence on manual operation, and reduce the risk of human operation errors. The system runs more efficiently and reliably, ensures that the liquid level of the storage tank is within the safe range, guarantees the overall safety and economy of the oil and gas storage and transportation system, and regulates the pumping speed according to the liquid level feedback information in different working states to solve the problem of the overflow risk of the storage tank. Brief Description of the Drawings
[0035] Figure 1 It is a connection diagram of the system modules of the present invention. Detailed Embodiments
[0036] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0037] As Figure 1 shown, the present invention provides a technical solution: an intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing, the system includes:
[0038] A liquid level acquisition module for collecting the liquid level feedback information of the storage tank in real time;
[0039] A status judgment module connected to the liquid level acquisition module, which is used to judge the current working status of the storage tank according to the liquid level feedback information, including analyzing the factors causing the status change based on the liquid level feedback information, assigning the probability of causing an abnormal status to this factor based on the system operation experience library or data model, calculating the event intensity of the current working status, and setting a threshold. If the event intensity of the current working status exceeds this threshold, it is judged as an abnormal status;
[0040] A threshold setting module connected to the status judgment module, which is used to set the corresponding pumping speed threshold range according to the current working status, including setting the upper and lower limits of the pumping speed under the current working condition, the change period in the liquid level signal feedback, determining the change range of the pumping speed adjustment, and dynamically adjusting the adjustment range of the pumping speed threshold interval;
[0041] A PLC control module connected to the threshold setting module, which is used to receive the pumping speed threshold range and perform real-time comparison and logical operations;
[0042] A pumping regulation module connected to the PLC control module, which is used to dynamically regulate the running speed of the pumping equipment based on the operation result of the PLC control module.
[0043] In this embodiment, the liquid level acquisition module collects the liquid level data in the storage tank in real time to form a continuous liquid level feedback signal. After receiving the liquid level feedback information, the state judgment module analyzes the liquid level fluctuation data and compares it with the system operation experience library or data model to identify the factors affecting the liquid level change and determine whether there is abnormal fluctuation. To achieve accurate judgment, the system assigns a probability value of causing an abnormal state to each type of factor and calculates the event intensity of the current storage tank state based on this. If the event intensity exceeds the preset threshold, the system determines that the current state is abnormal. The threshold setting module dynamically sets the speed threshold range of the corresponding pumping equipment based on the state judgment result, including the upper and lower limits, the allowable adjustment range, and the adjustment period. The PLC control module continuously receives and processes the pumping speed threshold information, determines whether the current pumping speed is within the safe range through logical operations, and outputs a control signal according to the judgment result. The pumping regulation module receives the control instruction of the PLC control module and dynamically adjusts the operation speed of the pumping equipment to achieve precise control and safety management of the liquid level of the oil and gas storage tank. By adopting this embodiment, efficient monitoring of the liquid level of the storage tank and intelligent control of the pumping process can be realized. Through real-time data collection and state judgment, abnormal liquid level fluctuations can be quickly identified and intelligent early warnings can be issued, effectively reducing operation risks. With the support of the system experience library and data model, the judgment is more accurate, reducing the possibility of misjudgment and missed judgment. The cooperation between the threshold setting module and the PLC control module ensures that the pumping speed dynamically adapts to the actual state of the storage tank, improving the safety and stability of the pumping process. In addition, the system realizes dynamic threshold adjustment and pumping control, reduces energy consumption, improves equipment utilization rate, and realizes intelligent and automated management of the oil and gas storage and transportation process.
[0044] The liquid level acquisition module collects the liquid level feedback information of the storage tank in real time, including obtaining the liquid level data of the storage tank in real time and calculating the change rate of the liquid level of the storage tank between two sampling moments. The specific formula is:
[0045] D = ;
[0046] where D represents the change rate of the liquid level of the storage tank between two sampling moments, H2 represents the liquid level height at the latter moment, H1 represents the liquid level height at the former moment, and Δt represents the time interval between two liquid level samplings;
[0047] Preset a safety threshold. If D exceeds this safety threshold, it is fed back to the state judgment module.
[0048] In this embodiment, the liquid level acquisition module collects the internal liquid level of the storage tank in real time and outputs the liquid level height signal through the internal sensor in real time. The system samples the liquid level signal at a fixed time interval and records the sampling moments and corresponding liquid level height and 。By calculating the formula D = , the system obtains the change rate D of the storage tank liquid level between adjacent sampling moments. This change rate can reflect the dynamic fluctuation of the liquid level. When the change rate D exceeds the safety threshold preset by the system, it indicates that the storage tank liquid level has an abnormal fluctuation. The system automatically transmits the abnormal change signal to the status judgment module to further analyze and determine whether the current working state is abnormal, and execute the corresponding control strategy. This process realizes real-time logical operation and feedback control through the PLC to ensure the dynamic response and safe operation of the entire storage tank liquid level management.
[0049] By introducing the real-time calculation and analysis of the liquid level change rate D, this embodiment can more timely and accurately reflect the change trend of the storage tank liquid level, improving the sensitivity of the liquid level monitoring system. Compared with the traditional method of only relying on the absolute value of the liquid level height to judge the state, this method effectively avoids misjudgment and missed judgment of abnormal situations by dynamically analyzing the liquid level change rate. When D exceeds the safety threshold, the system can quickly identify the liquid level abnormality, timely trigger the status judgment and control response, improving the system safety and stability. In addition, this method has a simple calculation, is easy to implement in the existing PLC system, does not increase the hardware complexity, and has a short response time, and can be widely applied to the oil and gas storage and transportation automation control system to improve the overall operation efficiency and safety guarantee ability.
[0050] The formula for calculating the event intensity A of the current working state of the storage tank by the status judgment module according to the liquid level feedback information is: A = E × B;
[0051] Wherein, A represents the event intensity of the current working state, E represents the change value of the factor causing the state change, and B represents the probability of the abnormal state caused by this factor.
[0052] In this embodiment, the status judgment module analyzes the liquid level feedback information transmitted by the liquid level acquisition module to identify the key factors causing changes in the liquid level of the storage tank, such as changes in pumping rate, external pressure fluctuations, temperature changes, etc. The system sets a corresponding change value E for each type of key factor, which can be detected by real-time sensors or obtained through data model analysis. At the same time, relying on the operation experience database or historical big data model, the system presets the probability value B of causing abnormal states of the storage tank for different factors, reflecting the risk impact degree of this factor in past operations. The status judgment module calculates the event intensity A of the impact of this factor on the storage tank state at the current moment based on the formula A = E × B. If the event intensity A exceeds the preset threshold, the system determines that the current working state is an abnormal state and feeds back the abnormal information to the PLC control module to trigger the corresponding control logic and safety warning mechanism. This process realizes the quantitative assessment and dynamic warning of potential risk factors by the system, ensuring the safe and stable operation of the storage tank. By adopting this embodiment, through the introduction of the dynamic calculation method of the event intensity A, the quantitative analysis and accurate judgment of the storage tank state are realized. Compared with the traditional liquid level monitoring means, the system not only considers the absolute value of the liquid level change, but also incorporates the change value of the factor causing the state change and the abnormal probability into the analysis, realizing the comprehensive evaluation of multiple parameters, greatly improving the adaptability of the system to complex working conditions and the scientific nature of judgment. This method can evaluate the potential risks in the operation state of the storage tank in real time, identify the factors that may cause abnormalities in advance, and reduce the probability of system misjudgment and missed judgment. Through the quantitative risk model and event intensity algorithm, the automatic control level and safety management ability of the system are improved, and the safety and intelligent level of the oil and gas storage and transportation process are enhanced.
[0053] The calculation formula for determining the change range G of the pumping speed adjustment in the corresponding pumping speed threshold range set by the threshold setting module according to the current working state is:
[0054] G = ;
[0055] Where G represents the change range of the pumping speed adjustment, represents the minimum pumping speed allowed for the current storage tank, represents the maximum pumping speed allowed for the current storage tank, and T represents the change period in the liquid level signal feedback.
[0056] In this embodiment, the threshold setting module dynamically calculates the adjustment range G of the pumping speed of the pumping equipment by obtaining the current working state parameters analyzed by the status judgment module, combining the liquid level data feedback by the liquid level acquisition module and the system operation model. This module first determines the minimum pumping speed allowed for the current storage tank and the maximum pumping speed , these two values are determined based on the current storage tank liquid level status, equipment capabilities, and safety operation standards. Subsequently, the system dynamically evaluates the frequency and amplitude of the pumping speed adjustment according to the change period T of the liquid level signal feedback data. Through the formula G = The change amplitude of the pumping speed is calculated, so as to guide the PLC control module to adjust the speed according to the G value when controlling the operation speed of the pumping equipment in real time. This process realizes the dynamic regulation of the pumping speed, ensures that the liquid level is kept within a safe range, and improves the adaptability of the system to different working conditions. By adopting this embodiment, through the accurate calculation and real-time application of the change amplitude G of the pumping speed, the dynamic adjustment and intelligent control of the pumping equipment can be realized. The system dynamically determines the pumping rate adjustment interval according to the liquid level signal feedback period, effectively improving the responsiveness and accuracy of the liquid level control. By controlling the change amplitude of the pumping speed, the system fluctuations or response lags caused by too large or too small adjustment amplitude are avoided, and the stability and safety of the storage tank liquid level management are improved. At the same time, this calculation model is simple and efficient, suitable for integration into the existing PLC system, reducing the system complexity and calculation burden. By optimizing the pumping speed adjustment process, the system can achieve more efficient energy utilization and protection of the pumping equipment, extend the service life of the equipment, and reduce the operation and maintenance costs.
[0057] The formula for calculating the change value E of the factor causing the state change in the current working state of the storage tank by the state judgment module according to the liquid level feedback information is:
[0058] E = ;
[0059] Among them, E represents the change value of the factor causing the state change, D represents the change rate of the storage tank liquid level between two sampling moments, W1 represents the weight coefficient of D, P represents the change rate of the internal pressure of the storage tank, W2 represents the weight coefficient of P, Q represents the change rate of the liquid temperature, and W3 represents the weight coefficient of Q.
[0060] In this embodiment, the state judgment module not only based on the liquid level change rate D, but also comprehensively considers the internal pressure change rate P of the storage tank and the liquid temperature change rate Q, and the three together reflect the comprehensive state of the working conditions in the storage tank. The system sets weight coefficients , and for quantifying the influence degree of each parameter on the state change. The formula E = The comprehensive calculation of the influence of different factors is realized, so as to obtain the factor change value E that causes the state change under the current working state of the storage tank. As an important parameter for evaluating the operation state of the storage tank, this value directly participates in the calculation of the event intensity A, and finally judges whether the system has an abnormal state. When the value of E is high, it indicates that a variety of working condition parameters have changed violently. The state judgment module timely triggers the PLC control module to issue a warning instruction or a control action, and realizes the linkage control of the pumping equipment or other related equipment. By introducing a multi-factor weighting model, this embodiment significantly improves the accuracy and comprehensiveness of the storage tank state judgment. Compared with the method that solely relies on the liquid level change rate D, this system incorporates the pressure change rate P and the temperature change rate Q into the analysis, can more comprehensively reflect the actual working condition changes of the storage tank, and reduces the risks of misjudgment and missed judgment. By flexibly setting the weight coefficients W1, W2, and W3, the system sensitivity can be adjusted according to different application environments and working condition requirements, and the ability of the system to adapt to complex operating conditions is enhanced. In addition, the multi-parameter analysis improves the early warning efficiency and response speed of the system to abnormal working conditions, enhances the intelligent level and safety guarantee ability of the oil and gas storage and transportation process, and further optimizes the system energy efficiency management and equipment protection effect.
[0061] The PLC control module receives the pumping speed threshold range, and conducts real-time comparison and logical operations, including setting the processing duration of the fast response signal and the normal control processing duration of the PLC control process, and calculating the control priority ratio. The specific formula is: P = t x / t s ;
[0062] where P represents the control priority ratio, t x represents the processing duration of the fast response signal, and t s represents the normal control processing duration;
[0063] Execute the control signal according to the control priority ratio from high to low.
[0064] In this embodiment, after receiving the pumping speed threshold range transmitted by the threshold setting module, the PLC control module monitors the system operation state in real time and sets the control priority according to different types of control requirements. The system divides the control signals into two categories: fast response signals and normal control signals. Among them, the fast response signal t x has a shorter processing duration and is mainly used for emergency or high-priority control tasks, such as abnormal warning of the storage tank liquid level, emergency stop of pumping, etc.; the normal control signal t s has a relatively longer processing duration and is usually applied to non-emergency control tasks such as daily pumping speed adjustment and pressure compensation. Through the formula P = t x / t s, the system dynamically calculates the priority ratio of the current control task. The smaller the P value, the higher the timeliness requirement for the fast response signal, and the higher its control priority. The PLC sorts all control tasks according to the priority ratio P and executes the control signals in descending order to ensure that emergency tasks are processed first, improving the system response speed and control effectiveness. This mechanism ensures that the system can still operate efficiently and safely under the condition of multi-task parallelism. By introducing the dynamic calculation method of the control priority ratio P, this implementation mode optimizes the scheduling strategy of the PLC control module in multi-task processing. Compared with the traditional sequential execution control method, this system can effectively distinguish fast response signals and conventional control signals, ensure the priority response of key tasks, improve the system's ability to handle sudden abnormal events, and reduce the probability of accidents. The priority control mechanism makes the system regulation more flexible and efficient, improving the safety and stability of the oil and gas storage tank pumping process. In addition, the processing duration parameters t x and t s can be dynamically adjusted according to the system load and operating status, enhancing the adaptive ability of the control system and further improving the efficiency and stability of the overall control process.
[0065] Based on the operation results of the PLC control module, the pumping regulation module dynamically regulates the operating speed of the pumping equipment, including counting the current load demand, setting the control rhythm according to the cycle of the pumping speed adjustment action of the regulation system, and calculating the adjustment range of the pumping speed. The specific formula is: U = V × Z;
[0066] Among them, U represents the adjustment range of the pumping speed, V represents the current load demand, and Z represents the cycle of the pumping speed adjustment action of the system.
[0067] In this embodiment, the pumping control module analyzes the current system load demand V by receiving the real-time operation result transmitted by the PLC control module. This load demand is dynamically calculated based on multiple factors such as the liquid level state of the storage tank, the operating load of downstream equipment, and the overall system flow demand. According to the preset pumping adjustment period Z of the system, the control module sets the control rhythm to avoid overly frequent adjustment or lag in the pumping speed. Subsequently, the system calculates the adjustment amplitude U of the pumping equipment according to the formula U = V×Z, thereby controlling the actual operating speed of the pumping equipment. If the current load demand V is high and the adjustment period Z is short, the system will output a large adjustment amplitude U to achieve a rapid increase in the pumping speed; conversely, if the load demand is low, the system will reduce the adjustment amplitude to achieve stable control. In this way, the system realizes the dynamic and precise adjustment of the operating speed of the pumping equipment, ensuring that the real-time flow demand during oil and gas storage and transportation is met, while avoiding equipment overload or excessive liquid level fluctuations. This embodiment combines the current load demand V and the adjustment period Z to dynamically calculate the adjustment amplitude U of the pumping speed, enabling a more scientific and reasonable pumping control strategy. The system dynamically adapts the pumping rate according to the load demand, effectively improving the response speed and adjustment flexibility of the pumping system. By optimizing the adjustment amplitude of the pumping speed, energy consumption can be significantly reduced, equipment wear can be reduced, and the service life of the pumping equipment can be extended. The adjustment rhythm of the system is controlled, avoiding energy consumption fluctuations and equipment overload caused by frequent adjustment, and enhancing the overall operation safety and stability. In addition, this method is simple to calculate and is convenient to integrate and apply in the existing PLC control architecture without complex hardware modification, having high implementability and popularization value.
[0068] The liquid level acquisition module continuously collects the liquid level feedback information of the storage tank, and also includes judging whether the working state of the storage tank is high liquid level alarm through the following formula based on the real-time collected liquid level height: H>H3;
[0069] wherein, H represents the current liquid level of the storage tank, and H3 represents the set high liquid level alarm threshold;
[0070] If it is determined to be a high liquid level, the high liquid level alarm signal is transmitted to the PLC control module, and the maximum limit of the corresponding pumping speed is set to 80% of the maximum output capacity of the pump, and it continues to operate at the set standard speed range during normal operation.
[0071] In this embodiment, the liquid level acquisition module continuously and real-time monitors the internal liquid level data of the storage tank to obtain the current liquid level height H. The system presets the high liquid level alarm threshold and uses this threshold as the judgment standard. When the liquid level acquisition module detects that the current liquid level H exceeds the threshold When it is, it is determined that the current storage tank is in a high liquid level alarm state. At this time, the liquid level acquisition module immediately transmits the high liquid level alarm signal to the PLC control module. After receiving the high liquid level alarm signal, the PLC control module restricts the operating speed of the pumping equipment according to the preset control logic, limiting the maximum pumping speed to 80% of the maximum output capacity of the pump equipment. By reducing the pumping rate, the further rise of the liquid level in the storage tank is effectively controlled, avoiding the risk of overflow or equipment safety hazards caused by too high a liquid level. At the same time, in the normal working state without triggering the high liquid level alarm, the pumping equipment operates within the standard speed range set by the system, ensuring efficient and safe dynamic adjustment of the system under different states. By introducing the high liquid level alarm judgment and pumping speed limit control mechanism, this embodiment can effectively prevent the liquid overflow problem caused by too high a liquid level in the storage tank. The system ensures timely and accurate alarm through real-time liquid level monitoring and high liquid level threshold judgment, guaranteeing the safe operation of the system. The PLC control module automatically reduces the pumping speed to 80% of the maximum output capacity in the high liquid level alarm state, avoiding uncontrollable risks caused by sudden liquid level abnormalities in the system and enhancing the stability and safety of the overall system. In addition, this control method is simple and efficient, without the need for additional hardware support, suitable for the rapid upgrade and transformation of existing automation systems, and has good engineering application value and promotion prospects.
[0072] When the PLC control module receives the high liquid level alarm signal, it also performs the following control operations: calculates the available volume of the current storage tank, determines whether it is necessary to enable a standby storage tank for overflow treatment, triggers an alarm device, including an audible and visual alarm or a remote alarm signal sent to the monitoring terminal, to prompt the operator to take corresponding measures, records the liquid level abnormal event and stores it in the data log.
[0073] In this embodiment, when the PLC control module receives the high liquid level alarm signal transmitted by the liquid level acquisition module, it first compares the current liquid level H of the storage tank with the total volume of the storage tank to calculate the remaining available volume V a . The system judges the remaining available volume V according to the preset overflow protection strategy aWhether it is below the safety threshold. If it is below the threshold, the overflow handling process of the standby storage tank will be immediately started, the pumping equipment or valve control will be switched, and part of the oil and gas medium in the storage tank will be introduced into the standby storage tank to prevent safety accidents caused by liquid overflow. At the same time, the PLC control module synchronously triggers the alarm device, including the local audible and visual alarm and sending remote alarm signals to the monitoring terminal through the industrial bus or wireless communication method. Through dual local and remote early warnings, on-site operators are reminded to check and handle abnormal conditions in a timely manner. In addition, the system records the liquid level abnormal events in detail, including information such as the alarm trigger time, storage tank number, liquid level height, pumping status, and handling measures, and stores them in the data log for subsequent operation and maintenance analysis, fault troubleshooting, and management auditing. This process realizes the comprehensive processing and information feedback of the high liquid level abnormal state through the automatic execution of the PLC module, ensuring the safe operation of the storage tank system. In this embodiment, by automatically calculating the available volume of the storage tank in the case of a high liquid level alarm, the overflow risk is judged in a timely manner and the standby storage tank is started to receive the overflow, greatly improving the safety protection ability of the oil and gas storage and transportation system. The linkage of the audible and visual alarm and the remote warning signal ensures that the operator can understand the abnormal state in the first time and take measures, significantly reducing the occurrence probability of the overflow accident. The automatic recording and log storage of abnormal events provide detailed data support for subsequent system optimization, equipment maintenance, and safety supervision, improving management efficiency and system traceability. In addition, this function realizes intelligent overflow management and a multi-level alarm system, enhances the automation level of the system, reduces the need for manual intervention, and improves the overall operation efficiency and safety guarantee.
[0074] The liquid level acquisition module continuously acquires the liquid level feedback information of the storage tank and also includes adjusting the high liquid level alarm threshold in combination with the environmental sensor data , specifically: if the environmental temperature rises, causing the liquid to expand, then dynamically increase to avoid false alarms. If the pressure inside the storage tank rises abnormally, then decrease and preferentially trigger the pressure reduction control measures. In this embodiment, in addition to continuously acquiring the liquid level feedback information of the storage tank, the liquid level acquisition module also integrates an environmental sensor module for monitoring the ambient temperature around the storage tank and the internal pressure state of the storage tank. When the system detects that the environmental temperature rises, according to the physical property of the liquid expanding when heated, the high liquid level alarm threshold is dynamically increased to compensate for the liquid level change caused by thermal expansion and contraction and avoid false alarms caused by the natural expansion of the liquid. On the contrary, when the environmental sensor detects that the internal pressure of the storage tank rises abnormally, the system believes that there is a risk of overpressure in the tank, so it actively decreases the high liquid level alarm threshold , improves the system sensitivity to achieve early warning. At the same time, the PLC control module preferentially triggers the pressure reduction control measures, such as opening the ventilation valve or starting the exhaust system, to relieve the pressure inside the storage tank and ensure the safety of the system. This dynamic adjustment logic is calculated and controlled in real time by the PLC module to ensure the high liquid level alarm threshold According to the dynamic changes of the environment and working conditions, ensure the accuracy and reliability of the alarm system, and avoid false alarms or missed alarms. By introducing a dynamic compensation mechanism for environmental factors, the scientific nature and adaptability of the high liquid level alarm threshold setting are significantly improved in this embodiment. The system can automatically adjust the alarm threshold according to the changes in environmental temperature and internal pressure , avoid false alarms caused by liquid expansion, reduce unnecessary manual intervention and misoperations, and improve the stability and intelligent level of system operation. At the same time, by quickly responding to abnormal pressure and preferentially triggering pressure relief measures, the safety of the oil and gas storage tank system is improved, and the risks of overpressure and overflow are effectively prevented. In addition, this method enhances the adaptability of the system to complex working conditions and ensures the continuity and safety of the storage and transportation process.
[0075] Although the embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing, characterized in that The system includes: a liquid level acquisition module for acquiring the liquid level feedback information of the storage tank in real time; a state judgment module connected to the liquid level acquisition module for judging the current working state of the storage tank according to the liquid level feedback information, including analyzing the factors causing the state change according to the liquid level feedback information, assigning the probability of causing an abnormal state to this factor based on the system operation experience library or data model, calculating the event intensity of the current working state, and setting a threshold. If the event intensity of the current working state exceeds this threshold, it is judged as an abnormal state; a threshold setting module connected to the state judgment module for setting the corresponding pumping speed threshold range according to the current working state, including setting the upper and lower limits of the pumping speed under the current working condition, the change period in the liquid level signal feedback, determining the change range of the pumping speed adjustment, and dynamically adjusting the adjustment range of the pumping speed threshold interval; a PLC control module connected to the threshold setting module for receiving the pumping speed threshold range and performing real-time comparison and logical operations; a pumping regulation module connected to the PLC control module for dynamically regulating the operating speed of the pumping equipment based on the operation result of the PLC control module; The formula for calculating the event intensity A of the current working state when the state judgment module judges the current working state of the storage tank according to the liquid level feedback information is: A = E × B; where A represents the event intensity of the current working state, E represents the change value of the factor causing the state change, and B represents the probability of this factor causing an abnormal state; The formula for calculating the change range G of the pumping speed adjustment when the threshold setting module sets the corresponding pumping speed threshold range according to the current working state is: G= ; Among them, G represents the change range of the pumping speed adjustment, represents the minimum pumping speed allowed by the current storage tank, represents the maximum pumping speed allowed by the current storage tank, and T represents the change period in the liquid level signal feedback; The formula for calculating the change value E of the factor causing the state change when the state judgment module judges the current working state of the storage tank according to the liquid level feedback information is: E= ; where E represents the change value of the factor causing the state change, D represents the change rate of the storage tank liquid level between two sampling moments, W1 represents the weight coefficient of D, P represents the change rate of the internal pressure of the storage tank, W2 represents the weight coefficient of P, Q represents the change rate of the liquid temperature, and W3 represents the weight coefficient of Q.
2. The intelligent control system for multi-parameter oil and gas based on PLC and real-time data processing according to claim 1, wherein: The liquid level acquisition module collects the liquid level feedback information of the storage tank in real time, including obtaining the liquid level data of the storage tank in real time and calculating the change rate of the liquid level of the storage tank between two sampling moments. The specific formula is: D = ; where D represents the change rate of the storage tank liquid level between two sampling moments, H2 represents the liquid level height at the later moment, H1 represents the liquid level height at the previous moment, and Δt represents the time interval between two liquid level samplings; A preset safety threshold. If D exceeds this safety threshold, it is fed back to the state judgment module.
3. An intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing according to claim 1, characterized in that: The PLC control module receives the pumping speed threshold range and performs real-time comparison and logical operations, including setting the processing duration of the fast response signal and the normal control processing duration of the PLC control process, and calculating the control priority ratio. The specific formula is: P = t x / t s ; Among them, P represents the control priority ratio, t x represents the processing duration of the fast response signal, t s represents the conventional control processing duration; Execute the control signal according to the control priority ratio from high to low.
4. An intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing according to claim 1, characterized in that: The pumping regulation module dynamically regulates the operating speed of the pumping equipment based on the operation result of the PLC control module, including counting the current load demand, setting the control rhythm according to the period of the pumping speed adjustment action of the regulation system, and calculating the adjustment range of the pumping speed. The specific formula is: U = V × Z; where U represents the adjustment range of the pumping speed, V represents the current load demand, and Z represents the period of the pumping speed adjustment action of the system.
5. The intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing according to claim 1, wherein: The liquid level acquisition module collects the liquid level feedback information of the storage tank in real time, and also includes judging whether the working state of the storage tank is high liquid level alarm based on the real-time collected liquid level height through the following formula: H > H3; Wherein, H represents the current liquid level of the storage tank, and H3 represents the set high liquid level alarm threshold; If it is determined to be high liquid level, the high liquid level alarm signal is transmitted to the PLC control module, and the maximum limit of the corresponding pumping speed is set to 80% of the maximum output capacity of the pump, and it continues to run within the set standard speed range during normal operation.
6. The intelligent control system for multi-parameters of oil and gas based on PLC and real-time data processing according to claim 5, wherein: When the PLC control module receives the high liquid level alarm signal, it also performs the following control operations: calculates the available volume of the current storage tank, judges whether it is necessary to enable a standby storage tank for overflow treatment, triggers an alarm device, including an audible and visual alarm or a remote alarm signal is sent to the monitoring terminal to prompt the operator to take corresponding measures, records the liquid level abnormal event and stores it in the data log.
7. An intelligent control system for multi-parameter oil and gas based on PLC and real-time data processing according to claim 5, characterized in that: The liquid level acquisition module collects the liquid level feedback information of the storage tank in real time, and also includes adjusting the high liquid level alarm threshold H3 in combination with the environmental sensor data. Specifically, if the environmental temperature rises and causes the liquid to expand, H3 is dynamically increased to avoid false alarms. If the pressure in the storage tank rises abnormally, H3 is decreased and the pressure reduction control measure is triggered preferentially.
Citation Information
Patent Citations
Mining emulsion conveying method and system, terminal equipment and storage medium
CN116877396A
Intelligent liquid level detection and analysis system and method for oil supply assembly
CN118462688A