Automatic dosing optimization control method, device and system and readable storage medium

By designing an automatic dosing optimization control device during the dehydration of crude oil, and using the fuzzy-proportional integral-Smith compensation controller to adjust the amount of drug replenishment in real time, the problem of poor control effect under the change of moisture content of raw oil is solved, and uniform dosing of drug replenishment and improvement of crude oil dehydration effect is achieved.

CN119902429APending Publication Date: 2025-04-29PETROCHINA CO LTD

Patent Information

Application Number
CN202311404126.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

During the dehydration of crude oil, the existing automatic dosing control system is difficult to effectively deal with changes in the moisture content of raw oil, resulting in poor control effect.

Method used

An automatic dosing optimization control device is designed, including an online water analyzer, an automatic drug refueling unit, a data acquisition and processing and data transmission unit and a control unit. The drug refueling amount is adjusted in real time through the fuzzy-proportional integral-Smith compensation controller, and controlled according to the incoming liquid water content of the raw oil and other interfering data.

Benefits of technology

The uniform and timely injection of medicines during the dehydration of crude oil has been achieved, which not only saves deemulsifiers, but also improves the dehydration effect of crude oil, reduces the labor intensity of on-site employees, and improves work efficiency and the intelligent level of the station.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902429A_ABST
    Figure CN119902429A_ABST
Patent Text Reader

Abstract

The invention provides an automatic chemical adding optimization control method, device and system and a readable storage medium, and the automatic chemical adding optimization control method comprises an online water content analyzer which is arranged in an outlet pipeline of a settling tank and is used for detecting the water content of incoming liquid of raw oil in real time; the automatic medicament filling unit is connected with the on-line water content analyzer, is positioned on a medicament adding pipeline of the settling tank and is used for filling medicaments; the data acquisition processing and data transmission unit is connected with the automatic medicament filling unit and is used for acquiring and transmitting interference data; and the control unit is respectively connected with the online water content analyzer, the automatic medicament filling unit and the data acquisition processing and data transmission unit, and the control unit is used for controlling the automatic medicament filling unit to fill medicaments through the fuzzy-proportional integral-Smith compensation controller according to the water content of the incoming liquid and the interference data. By means of the technical scheme, the demulsifier can be added more evenly and timely, the demulsifier is saved, and the crude oil dehydration effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automatic dosing, and in particular to an automatic dosing optimization control method and device, system, and readable storage medium. Background Art

[0002] In the process of crude oil dehydration, after the demulsifier is added, there is a certain reaction cycle with the water-containing raw oil. The crude oil pipeline passes through the heating furnace, oil-gas separator, stabilization tower, primary sedimentation tank and other equipment in turn. The water content of the oil is measured after the free water is removed in the primary sedimentation tank, resulting in a large time lag. For the control of complex industrial processes with large hysteresis, nonlinearity, and time-varying parameters, it is difficult to establish an accurate mathematical model, and it is difficult to meet the requirements using conventional control methods. In recent years, some oilfield joint stations have also applied automatic dosing control systems, which mainly change the amount of demulsifier added according to the raw oil liquid flow rate. It is a conventional variable ratio control. Its disadvantage is that it is difficult to achieve a good control effect when the water content of the raw oil changes. Summary of the invention

[0003] This application aims to solve or improve the above technical problems.

[0004] To this end, the first objective of the present application is to provide an automatic dosing optimization control device.

[0005] The second objective of the present application is to provide an automatic dosing optimization control method.

[0006] The third object of the present application is to provide an automatic dosing optimization control system.

[0007] The fourth object of the present application is to provide an automatic dosing optimization control system.

[0008] The fifth object of the present application is to provide a readable storage medium.

[0009] To achieve the first purpose of the present application, the technical solution of the first aspect of the present application provides an automatic dosing optimization control device for a settling tank, the automatic dosing optimization control device comprising: an online water content analyzer, arranged in the outlet pipeline of the settling tank, for real-time detection of the incoming liquid water content of the crude oil; an automatic reagent filling unit, connected to the online water content analyzer and located on the dosing pipeline of the settling tank, for filling reagents; a data acquisition, processing and data transmission unit, connected to the automatic reagent filling unit, for collecting and transmitting interference data; a control unit, respectively connected to the online water content analyzer, the automatic reagent filling unit, and the data acquisition, processing and data transmission unit, the control unit being used to control the automatic reagent filling unit to fill reagents according to the incoming liquid water content and interference data through a fuzzy-proportional integral-Smith compensation controller.

[0010] According to the automatic dosing optimization control device provided by the present application, it includes an online water analyzer, an automatic agent filling unit, a data acquisition and processing unit and a control unit. The online water analyzer is installed in the outlet pipeline of the crude oil settling tank in the joint station, and is used to detect the incoming liquid water content of the crude oil in real time. The automatic agent filling unit is installed upstream of the crude oil settling tank dosing pipeline for filling the agent. The data acquisition and processing unit and the data transmission unit are used to collect and transmit interference data. The control unit is respectively connected to the online water analyzer, the automatic agent filling unit, the data acquisition and processing unit and the data transmission unit, and the control unit is used to control the automatic agent filling unit to fill the agent according to the incoming liquid water content and interference data through the fuzzy-proportional integral-Smith compensation controller. By real-time detection of the incoming liquid flow of the crude oil, the dosage of the dosing pump is changed in real time according to a certain ratio, so as to achieve the purpose of saving demulsifiers and improving the dehydration effect of crude oil, and at the same time, it can greatly reduce the labor intensity of on-site employees, improve work efficiency and the overall level of digital intelligence of the station.

[0011] In addition, the technical solution provided by this application may also have the following additional technical features:

[0012] In some technical solutions, optionally, the automatic dosing optimization control device also includes: a remote computer data analysis and processing and real-time monitoring center, which is connected to the data acquisition processing and data transmission unit and is used to analyze and process the interference data and monitor it in real time.

[0013] In this technical solution, the automatic dosing optimization control device also includes a remote computer data analysis and processing and real-time monitoring center. The remote computer data analysis and processing and real-time monitoring center is connected to the data acquisition processing and data transmission unit for analyzing and processing interference data and real-time monitoring.

[0014] In some technical solutions, optionally, the automatic dosing optimization control device also includes: an online water content analyzer sensor, which is connected to the online water content analyzer and is arranged inside the sedimentation tank.

[0015] In the technical solution, the automatic dosing optimization control device also includes an online water content analyzer sensor. The online water content analyzer sensor should be inserted into the pipeline of the settling tank to detect the water content of the incoming liquid of the crude oil.

[0016] In some technical solutions, optionally, the automatic dosing optimization control device also includes: a flow meter, connected to the data acquisition processing and data transmission unit, for detecting the incoming liquid flow of the crude oil.

[0017] In this technical solution, the automatic dosing optimization control device also includes a flow meter, which is connected to the data acquisition processing and data transmission unit and is used to detect the incoming liquid flow of the crude oil.

[0018] In some technical solutions, optionally, the automatic dosing optimization control device also includes: a temperature transmitter, connected to the data acquisition processing and data transmission unit, for detecting the incoming liquid temperature of the crude oil.

[0019] In this technical solution, the automatic dosing optimization control device also includes a temperature transmitter. The temperature transmitter is connected to the data acquisition processing and data transmission unit and is used to detect the incoming liquid temperature of the crude oil.

[0020] In some technical solutions, optionally, the automatic dosing optimization control device also includes: a pressure transmitter, connected to the data acquisition processing and data transmission unit, for detecting the incoming liquid pressure of the crude oil.

[0021] In this technical solution, the automatic dosing optimization control device also includes a pressure transmitter. The pressure transmitter is connected to the data acquisition processing and data transmission unit and is used to detect the incoming liquid pressure of the crude oil.

[0022] In some technical solutions, optionally, the automatic dosing optimization control device also includes: an interface flange, connecting the online water content analyzer and the sedimentation tank.

[0023] In the technical solution, the automatic dosing optimization control device also includes an interface flange. The interface flange is installed on the side of the pipeline and is used to connect and fix the online water content analyzer and the sedimentation tank.

[0024] In some technical solutions, optionally, the automatic dosing optimization control device also includes: an emptying valve, which is arranged on the pipeline of the sedimentation tank.

[0025] In this technical solution, the automatic dosing optimization control device also includes an emptying valve. The emptying valve is arranged at the lowest point of the pipeline flow of the settling tank.

[0026] In some technical solutions, optionally, the interference data includes one of the following or a combination thereof: incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

[0027] In this technical solution, the interference data include incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

[0028] In some technical solutions, optionally, the control unit includes a PLC control cabinet.

[0029] In this technical solution, the control unit includes a PLC control cabinet. All data should be collected in the PLC control cabinet.

[0030] To achieve the second purpose of the present application, the technical solution of the second aspect of the present application provides an automatic dosing optimization control method, including: obtaining interference data of the water content of the oil output of the sedimentation tank; controlling the automatic dosing unit to add chemicals to the sedimentation tank through a feedforward variable ratio control method according to the interference data.

[0031] According to the automatic dosing optimization control method provided by the present application, the interference data of the water content of the oil output from the settling tank is first obtained. Then, according to the interference data, the automatic agent filling unit is controlled to add agents to the settling tank through the feedforward variable ratio control method. By obtaining the interference data of the water content of the oil output from the settling tank, the dosage of the dosing pump is changed in real time according to a certain ratio, thereby achieving the purpose of saving demulsifiers and improving the dehydration effect of crude oil, while greatly reducing the labor intensity of on-site employees, improving work efficiency and the overall level of digital intelligence of the station.

[0032] In some technical solutions, optionally, the feedforward variable ratio control method includes a fuzzy-proportional integral-Smith compensation controller.

[0033] In the technical scheme, the feedforward variable ratio control method includes a fuzzy-proportional integral-Smith compensation controller. It can be understood that since the fuzzy controller is essentially still a PID control, it cannot overcome the influence of the pure lag of the process on the control performance of the system. On the other hand, the Smith predictive compensation has achieved certain results in the system with a large lag link. Therefore, Smith predictive control is introduced into fuzzy control to improve the control ability of the fuzzy controller for the process with pure time lag. The traditional Smith predictive compensation control algorithm is based on the mathematical model of the controlled object. Therefore, when the model of the controlled object is mismatched or the parameters are time-varying, the dynamic performance of the system will be significantly deteriorated. However, the biggest advantage of fuzzy control is that it is insensitive to parameter changes and noise. Therefore, the fuzzy controller is combined with the Smith predictive controller to complement each other to form a fuzzy-proportional integral-Smith compensation controller, which constitutes a fuzzy-proportional integral-Smith compensation control system. This system has a good compensation effect on the pure lag characteristics and a strong adaptability to the parameter changes of the controlled object.

[0034] In some technical schemes, optionally, the automatic filling unit of the reagent is controlled to fill the sedimentation tank with reagents through a feedforward variable ratio control method according to the interference data, including: obtaining the deviation and the deviation change rate according to the interference data; setting the fuzzy subsets of the deviation and the deviation change rate, and quantifying the deviation and the deviation change rate to a preset area; setting the fuzzy subsets of the output variables; obtaining a transition process curve according to the fuzzy subsets of the output variables; obtaining a control rule according to the transition process curve and the deviation and the deviation change rate; and controlling the automatic filling unit of the reagent to fill the sedimentation tank with reagents according to the control rule.

[0035] In this technical solution, the automatic filling unit of the reagent is controlled to fill the sedimentation tank with reagents through the feedforward variable ratio control method according to the interference data. Specifically, the deviation and the deviation change rate are first obtained according to the interference data. Then the fuzzy subsets of the deviation and the deviation change rate are set, and the deviation and the deviation change rate are quantified within a preset area. The fuzzy subsets of the output variables are set. The transition process curve is obtained according to the fuzzy subsets of the output variables. The control rules are obtained according to the transition process curve, the deviation and the deviation change rate. Finally, the automatic filling unit of the reagent is controlled to fill the sedimentation tank with reagents according to the control rules.

[0036] In some technical solutions, optionally, the interference data includes one of the following or a combination thereof: incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

[0037] In this technical solution, the interference data include incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

[0038] To achieve the third purpose of the present application, the technical solution of the third aspect of the present application provides an automatic dosing optimization control system, including: an acquisition module for acquiring interference data of the water content of the oil output of the sedimentation tank; a control module for controlling the automatic dosing unit to add drugs to the sedimentation tank through a feedforward variable ratio control method according to the interference data.

[0039] The automatic dosing optimization control system provided by the present application includes an acquisition module and a control module. Among them, the acquisition module is used to obtain the interference data of the water content of the oil output of the settling tank. The control module is used to control the automatic agent filling unit to add agents to the settling tank through a feedforward variable ratio control method according to the interference data. By obtaining the interference data of the water content of the oil output of the settling tank, the dosage of the dosing pump is changed in real time according to a certain proportion, thereby achieving the purpose of saving demulsifiers and improving the dehydration effect of crude oil, while greatly reducing the labor intensity of on-site employees, improving work efficiency and the overall level of digitalization of the station.

[0040] To achieve the fourth purpose of the present application, the technical solution of the fourth aspect of the present application provides an automatic dosing optimization control system, including: a memory and a processor, wherein the memory stores a program or instruction that can be run on the processor, and when the processor executes the program or instruction, it implements the automatic dosing optimization control method of any one of the technical solutions of the second aspect, and thus has the technical effect of any one of the technical solutions of the second aspect above, which will not be repeated here.

[0041] In order to achieve the fifth purpose of the present application, the technical solution of the fifth aspect of the present application provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by the processor, the steps of the automatic dosing optimization control method of any one of the technical solutions of the second aspect are implemented, and thus the technical effect of any one of the technical solutions of the second aspect is achieved, which will not be repeated here.

[0042] Additional aspects and advantages of the present application will become apparent in the following description or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0044] Figure 1 This is a structural schematic diagram of an automatic dosing optimization control device according to an embodiment of the present application;

[0045] Figure 2 This is a schematic diagram of the steps of the automatic dosing optimization control method according to one embodiment of the present application;

[0046] Figure 3 This is a schematic diagram of the steps of the automatic dosing optimization control method according to one embodiment of the present application;

[0047] Figure 4 This is a schematic block diagram of the structure of an automatic dosing optimization control system according to an embodiment of the present application;

[0048] Figure 5 This is a schematic block diagram of the structure of an automatic dosing optimization control system according to another embodiment of the present application.

[0049] in, Figure 1 , Figure 4 and Figure 5 The corresponding relationship between the reference numerals and component names in the figure is:

[0050] 10: Automatic dosing optimization control device; 110: Online water content analyzer; 120: Automatic drug filling unit; 130: Data acquisition processing and data transmission unit; 140: Control unit; 150: Sedimentation tank; 20: Automatic dosing optimization control system; 210: Acquisition module; 220: Control module; 30: Automatic dosing optimization control system; 300: Memory; 400: Processor. DETAILED DESCRIPTION

[0051] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0052] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0053] Refer to the following Figures 1 to 5 Describe the automatic dosing optimization control method and system and readable storage medium of some embodiments of the present application.

[0054] like Figure 1 As shown, the embodiment of the first aspect of the present application provides an automatic dosing optimization control device 10, which is used for a settling tank 150. The automatic dosing optimization control device 10 includes an online water content analyzer 110, an automatic agent filling unit 120, a data acquisition processing and data transmission unit 130, and a control unit 140. Specifically, the online water content analyzer 110 is arranged in the outlet pipeline of the settling tank 150, and is used to detect the incoming liquid water content of the crude oil in real time. The automatic agent filling unit 120 is connected to the online water content analyzer 110 and is located on the dosing pipeline of the settling tank 150, and is used to add agents. The data acquisition processing and data transmission unit 130 is connected to the automatic agent filling unit 120, and is used to collect and transmit interference data. The control unit 140 is respectively connected to the online water content analyzer 110, the automatic reagent filling unit 120, and the data acquisition processing and data transmission unit 130. The control unit 140 is used to control the automatic reagent filling unit 120 to fill the reagent according to the water content of the incoming liquid and the interference data through the fuzzy-proportional integral-Smith compensation controller.

[0055] The automatic dosing optimization control device 10 provided in this embodiment includes an online water content analyzer 110, an automatic agent filling unit 120, a data acquisition processing and data transmission unit 130 and a control unit 140. The online water content analyzer 110 is installed in the outlet pipeline of the crude oil settling tank 150 in the joint station, and is used to detect the incoming liquid water content of the crude oil in real time. The automatic agent filling unit 120 is installed upstream of the crude oil settling tank 150 dosing pipeline for filling the agent. The data acquisition processing and data transmission unit 130 is used to collect and transmit interference data. The control unit 140 is respectively connected to the online water content analyzer 110, the automatic agent filling unit 120, the data acquisition processing and data transmission unit 130, and the control unit 140 is used to control the automatic agent filling unit 120 to fill the agent according to the incoming liquid water content and interference data through the fuzzy-proportional integral-Smith compensation controller. By real-time detection of the crude oil inflow flow rate, the dosage of the dosing pump can be changed in real time according to a certain ratio, thereby achieving the goal of saving demulsifiers and improving the dehydration effect of crude oil, while also significantly reducing the labor intensity of on-site employees, improving work efficiency and the overall level of digitalization of the station. Among them, the reagents include demulsifiers.

[0056] In some embodiments, the automatic dosing optimization control device 10 may further include a remote computer data analysis and processing and real-time monitoring center, which is connected to the data acquisition and data transmission unit 130 and is used for analyzing and processing the interference data and for real-time monitoring.

[0057] In some embodiments, the automatic dosing optimization control device 10 may further include an online water content analyzer 110 sensor. The online water content analyzer 110 sensor should be inserted into the pipeline of the settling tank 150 to detect the water content of the incoming liquid of the crude oil.

[0058] In some embodiments, optionally, the automatic dosing optimization control device 10 further includes a flow meter, which is connected to the data acquisition processing and data transmission unit 130 and is used to detect the incoming liquid flow of the crude oil.

[0059] In some embodiments, the automatic dosing optimization control device 10 may further include a temperature transmitter, which is connected to the data acquisition processing and data transmission unit 130 and is used to detect the incoming liquid temperature of the crude oil.

[0060] In some embodiments, the automatic dosing optimization control device 10 may further include a pressure transmitter, which is connected to the data acquisition processing and data transmission unit 130 and is used to detect the incoming liquid pressure of the crude oil.

[0061] In some embodiments, the automatic dosing optimization control device 10 may further include an interface flange, which is installed on the side of the pipeline and is used to connect and fix the online water content analyzer 110 and the sedimentation tank 150 .

[0062] In some embodiments, the automatic dosing optimization control device 10 may further include an emptying valve. The emptying valve is disposed at the lowest point of the pipeline flow of the settling tank 150 .

[0063] In some embodiments, the interference data may include the incoming liquid flow rate, the incoming liquid water content, the incoming liquid temperature and the incoming liquid pressure. The control unit 140 includes a PLC control cabinet. All data should be collected in the PLC control cabinet.

[0064] like Figure 2 As shown, the embodiment of the second aspect of the present application provides an automatic dosing optimization control method, comprising the following steps:

[0065] Step S102: Obtaining interference data of the water content of oil output from the settling tank;

[0066] Step S104: Control the automatic reagent filling unit to fill the sedimentation tank with reagents through a feedforward variable ratio control method according to the interference data.

[0067] According to the automatic dosing optimization control method provided in this embodiment, the interference data of the water content of the oil output from the settling tank is first obtained. Then, the automatic dosing unit is controlled to add the agent to the settling tank through the feedforward variable ratio control method according to the interference data. By obtaining the interference data of the water content of the oil output from the settling tank, the dosing amount of the dosing pump is changed in real time according to a certain ratio, thereby achieving the purpose of saving demulsifiers and improving the dehydration effect of crude oil, and at the same time, it can greatly reduce the labor intensity of on-site employees, improve work efficiency and the overall level of digital intelligence of the station.

[0068] In some embodiments, optionally, the feedforward variable ratio control method includes a fuzzy-proportional integral-Smith compensation controller. It can be understood that since the fuzzy controller is essentially still a PID control, it cannot overcome the influence of the pure lag of the process on the control performance of the system. On the other hand, the Smith predictive compensation has achieved certain results in the system containing a large lag link. Therefore, Smith predictive control is introduced into fuzzy control to improve the control ability of the fuzzy controller for processes with pure time lag. The traditional Smith predictive compensation control algorithm is based on the mathematical model of the controlled object. Therefore, when the controlled object model is mismatched or the parameters are time-varying, the dynamic performance of the system will be significantly deteriorated. However, the biggest advantage of fuzzy control is that it is insensitive to parameter changes and noise. Therefore, the fuzzy controller is combined with the Smith predictive controller to complement each other to form a fuzzy-proportional integral-Smith compensation controller, which constitutes a fuzzy-proportional integral-Smith compensation control system. This system has a good compensation effect on the pure lag characteristics and a strong adaptability to the parameter changes of the controlled object.

[0069] like Figure 3 As shown, according to an automatic dosing optimization control method of an embodiment proposed in the present application, the automatic dosing unit is controlled to add the agent to the sedimentation tank through a feedforward variable ratio control method according to interference data, including the following steps:

[0070] Step S202: obtaining a deviation and a deviation change rate according to the interference data;

[0071] Step S204: setting fuzzy subsets of the deviation and the deviation change rate, and quantifying the deviation and the deviation change rate into a preset area;

[0072] Step S206: setting the fuzzy subset of the output variable;

[0073] Step S208: obtaining a transition process curve according to the fuzzy subset of the output variable;

[0074] Step S210: obtaining a control rule according to the transition process curve, the deviation and the deviation change rate;

[0075] Step S212: Control the automatic reagent filling unit to fill the reagent into the sedimentation tank according to the control rules.

[0076] In this embodiment, the automatic filling unit of the reagent is controlled to fill the sedimentation tank with the reagent by the feedforward variable ratio control method according to the interference data. Specifically, the deviation and the deviation change rate are first obtained according to the interference data. Then the fuzzy subsets of the deviation and the deviation change rate are set, and the deviation and the deviation change rate are quantified within a preset area. The fuzzy subsets of the output variables are set. The transition process curve is obtained according to the fuzzy subsets of the output variables. The control rule is obtained according to the transition process curve, the deviation and the deviation change rate. Finally, the automatic filling unit of the reagent is controlled to fill the sedimentation tank with the reagent according to the control rule.

[0077] In some embodiments, optionally, the interference data includes incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

[0078] like Figure 4 As shown, an embodiment of the third aspect of the present application provides an automatic dosing optimization control system 20, including: an acquisition module 210, used to obtain interference data of the water content of the oil output of the sedimentation tank; a control module 220, used to control the automatic agent filling unit to fill the sedimentation tank with agents through a feedforward variable ratio control method according to the interference data.

[0079] The automatic dosing optimization control system 20 provided in this embodiment includes an acquisition module 210 and a control module 220. The acquisition module 210 is used to obtain interference data of the water content of the oil output of the settling tank. The control module 220 is used to control the automatic agent filling unit to fill the settling tank with agents through a feedforward variable ratio control method according to the interference data. By obtaining the interference data of the water content of the oil output of the settling tank, the dosage of the dosing pump is changed in real time according to a certain proportion, thereby achieving the purpose of saving demulsifiers and improving the dehydration effect of crude oil, while greatly reducing the labor intensity of on-site employees, improving work efficiency and the overall level of digitalization of the station.

[0080] like Figure 5 As shown, an embodiment of the fourth aspect of the present application provides an automatic dosing optimization control system 30, comprising: a memory 300 and a processor 400, wherein the memory 300 stores a program or instruction that can be run on the processor 400, and when the processor 400 executes the program or instruction, the steps of the automatic dosing optimization control method of any one of the embodiments of the second aspect are implemented, so it has the technical effect of any one of the embodiments of the second aspect mentioned above, which will not be repeated here.

[0081] The embodiment of the fifth aspect of the present application provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the automatic dosing optimization control method of any one of the embodiments of the second aspect are implemented, and thus the technical effect of any one of the embodiments of the second aspect mentioned above is not repeated here.

[0082] like Figure 1 As shown, according to an automatic dosing optimization control device 10 of a specific embodiment provided by the present application, the inflow flow rate of crude oil is detected in real time, and the dosing amount of the dosing pump is changed in real time according to a certain proportion, so as to achieve the purpose of saving demulsifier and improving the crude oil dehydration effect, while at the same time greatly reducing the labor intensity of on-site employees, improving work efficiency and the overall level of digitalization of the station.

[0083] Specifically, the automatic dosing optimization control device 10 includes an online water content analyzer 110, an automatic reagent filling unit 120, a PLC control unit, a data acquisition processing and data transmission unit 130 and a remote computer data analysis processing and real-time monitoring center. The online water content analyzer 110, the demulsifier automatic filling unit, the data acquisition processing and data transmission unit 130 and the remote computer data analysis processing and real-time monitoring center are connected in sequence, and the PLC control unit and the data acquisition processing and data transmission unit 130 are connected.

[0084] The online water analyzer 110 is installed in the outlet pipeline of the crude oil settling tank in the joint station. The sensor of the online water analyzer should be inserted into the pipeline. An interface flange is installed on the side of the pipeline. The online water analyzer 110 is connected and fixed to the interface flange on the side of the pipeline.

[0085] The automatic reagent filling unit 120 is installed upstream of the reagent filling pipeline of the crude oil settling tank.

[0086] The automatic dosing optimization control device 10 should include a flow meter, a water content analyzer, a temperature transmitter, and a pressure transmitter.

[0087] There should be a drain valve at the lowest point of the pipeline process of the automatic dosing optimization control device 10.

[0088] All data should be collected in the PLC control cabinet.

[0089] In this embodiment, the automatic dosing optimization control device 10 has fully automated dosing operation, automatic data collection and transmission, and manual and automatic switching of dosing functions.

[0090] Since the fuzzy controller is still PID control in essence, it cannot overcome the influence of pure lag of the process on the control performance of the system. On the other hand, the application of Smith predictive compensation in systems with large lag links has achieved certain results. Therefore, this embodiment introduces Smith predictive control in fuzzy control to improve the control ability of the fuzzy controller for processes with pure time lag. The traditional Smith predictive compensation control algorithm is based on the mathematical model of the controlled object. Therefore, when the controlled object model is mismatched or the parameters are time-varying, the dynamic performance of the system will be significantly deteriorated. However, the biggest advantage of fuzzy control is that it is insensitive to parameter changes and noise. Therefore, the fuzzy controller is combined with the Smith predictive controller to complement each other to form a fuzzy-Smith controller (fuzzy-proportional integral-Smith compensation controller), which constitutes a fuzzy-Smith control system. This system has a good compensation effect on pure lag characteristics and a strong adaptability to parameter changes of the controlled object.

[0091] In the process of crude oil dehydration at the oilfield joint station, there are many interference factors that affect the water content of the oil discharged from the primary settling tank, including the amount of incoming liquid from the well, the water content of the incoming liquid, the temperature of the incoming liquid, the pressure of the incoming liquid, etc. The basic principle of the demulsifier automatic control system designed in this paper is: real-time detection of the incoming flow of crude oil, and real-time change of the dosage of the dosing pump according to a certain proportion; in order to overcome the influence of the fluctuation of the water content in the incoming crude oil, feedforward variable ratio control is adopted, and when the water content of the incoming liquid changes, the set value of the dosage can be adjusted in time.

[0092] According to the crude oil flow rate data and the water content data collected on site as the experimental data of the system, the given value of the water content of the oil discharged from the primary settling tank is 19%. The experimental results show that: when the water content of the crude oil does not fluctuate greatly, when the flow rate of the incoming liquid increases, the water content of the oil discharged from the primary settling tank tends to increase, but the amount of demulsifier added increases with the increase of the flow rate of the incoming liquid, and the water content of the oil is controlled at a given value of 19% through feedback control; similarly, when the flow rate of the incoming liquid decreases, the water content of the oil discharged from the primary settling tank tends to decrease, and the amount of demulsifier added decreases with the decrease of the flow rate of the incoming liquid, and the water content of the oil is controlled at 19% through feedback control.

[0093] According to the data of crude oil inlet flow rate and inlet water content collected on site as the experimental data of the system, the given value of the water content of the oil out of the primary settling tank is 19%. The experimental results show that: when the crude oil inlet flow rate is relatively stable, when the water content of the crude oil fluctuates, the automatic dosing control system adopts feedforward control technology for the fluctuation of the water content of the inlet liquid, and changes the amount of demulsifier added in advance before it affects the water content of the oil out of the primary settling tank, thereby preventing large fluctuations in the water content of the oil out of the primary settling tank.

[0094] In actual process control, it is difficult to obtain an accurate mathematical model of the controlled object. When the actual controlled object does not match the established model or the parameters of the controlled object change with time, the actual data of the on-site liquid flow rate and water content are used to conduct simulation experiments, and the water content of the primary sedimentation tank remains at 19% ± 3. From the above experimental results, it can be seen that when the parameters of the controlled object change, the conventional PID&Smith predictive controller will have large overshoot and oscillation. To solve the overshoot and oscillation problems, the PID parameters must be repeatedly adjusted according to the actual situation, but this is difficult to achieve satisfactory results in the actual process. The Fuzzy-PID&Smith control system designed in this embodiment has a strong adaptability and can still meet the requirements of actual control.

[0095] Specifically, the establishment of input and output variables and their fuzzy language description:

[0096] Set the fuzzy subsets of the input variables e and ec language values ​​to {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}, abbreviated to {NB, NM, NS, ZO, PS, PM, PB}, and quantize the deviation e and the deviation change rate ec to the range of [-3,3]. Similarly, set the fuzzy subsets of the output quantities Kp, Ki, Kd, ​​and Fan to {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}.

[0097] Establish control rules:

[0098] By analyzing the characteristics of the PID controller and studying the influence of parameters Kp, Ki, Kd on the system transition process curve, we can summarize the numerical requirements of the parameters Kp, Ki, Kd, ​​that is, the control rules for the production process control when the system is in different deviations e and their change rates ec. Hysteresis has strong adaptive ability and good robustness.

[0099] In the first stage, the system response just begins, and the deviation is large, such as Figure 4 As shown, in order to speed up the response of the system and prevent the differential overflow caused by the instantaneous increase in the rate of change of the deviation, a larger Kp and a smaller Kd should be used. In addition, in order to avoid a large overshoot in the system response and prevent integral saturation, the integral effect should be removed at this time, that is, Ki=0.

[0100] In the second stage, the deviation e and its rate of change ec are of medium magnitude. In order to ensure a certain response speed, the values ​​of Kp and Kd should be moderate. In order to reduce the overshoot of the system response and shorten the response time, a smaller Ki should be taken.

[0101] In the third stage of the response curve, the values ​​of the deviation e and its rate of change ec are small. In order to improve the control accuracy of the system and consider the anti-interference performance of the system, the values ​​of KP and Ki should be increased at this time, and the value of Kd should be medium.

[0102] In summary, the beneficial effects of the embodiments of the present application are:

[0103] 1. It can make the addition of demulsifier more uniform and timely, so as to achieve the purpose of saving demulsifier and improving the dehydration effect of crude oil.

[0104] In this application, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise expressly defined. Terms such as "installed", "connected", "connected", and "fixed" should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances.

[0105] In the description of the present application, it should be understood that the terms "upper", "lower", "front", "rear", etc., indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the system or module referred to must have a specific direction, be constructed and operated in a specific orientation, and therefore, should not be understood as a limitation on the present application.

[0106] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

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

Claims

1. An automatic dosing optimization control device, characterized in that: For a sedimentation tank, the automatic dosing optimization control device comprises: An online water content analyzer (110) is arranged in the outlet pipeline of the settling tank (150) and is used to detect the water content of the incoming liquid of the crude oil in real time; An automatic reagent filling unit (120), connected to the online water content analyzer (110) and located on the reagent filling pipeline of the settling tank (150), is used for filling the reagent; A data collection, processing and data transmission unit (130), connected to the automatic medicine filling unit (120), for collecting and transmitting interference data; The control unit (140) is respectively connected to the online water content analyzer (110), the automatic reagent filling unit (120), and the data acquisition processing and data transmission unit (130). The control unit (140) is used to control the automatic reagent filling unit (120) to fill the reagent according to the water content of the incoming liquid and the interference data through a fuzzy-proportional integral-Smith compensation controller.

2. The automatic dosing optimization control device according to claim 1 is characterized in that: Also includes: A remote computer data analysis and processing and real-time monitoring center is connected to the data acquisition processing and data transmission unit (130) and is used for analyzing and processing the interference data and for real-time monitoring.

3. The automatic dosing optimization control device according to claim 1 is characterized in that: Also includes: The sensor of the online water content analyzer (110) is connected to the online water content analyzer (110) and is arranged inside the settling tank (150).

4. The automatic dosing optimization control device according to claim 1 is characterized in that: Also includes: A flow meter is connected to the data acquisition processing and data transmission unit (130) and is used to detect the incoming flow rate of the crude oil.

5. The automatic dosing optimization control device according to claim 1 is characterized in that: Also includes: A temperature transmitter is connected to the data acquisition processing and data transmission unit (130) and is used to detect the incoming liquid temperature of the crude oil.

6. The automatic dosing optimization control device according to claim 1, characterized in that: Also includes: A pressure transmitter is connected to the data acquisition processing and data transmission unit (130) and is used to detect the incoming liquid pressure of the crude oil.

7. The automatic dosing optimization control device according to any one of claims 1 to 6, characterized in that: Also includes: An interface flange connects the online water content analyzer (110) and the settling tank (150).

8. The automatic dosing optimization control device according to any one of claims 1 to 6, characterized in that: Also includes: The drain valve is arranged on the pipeline of the settling tank (150).

9. The automatic dosing optimization control device according to any one of claims 1 to 6, characterized in that: The interference data includes one of the following or a combination thereof: incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

10. The automatic dosing optimization control device according to any one of claims 1 to 6, characterized in that: The control unit (140) comprises a PLC control cabinet.

11. An automatic dosing optimization control method, characterized in that: include: Obtain interference data of water content in oil from the settling tank; The automatic reagent filling unit is controlled to fill the sedimentation tank with reagents through a feedforward variable ratio control method according to the interference data.

12. The automatic dosing optimization control method according to claim 11, characterized in that: The feedforward variable ratio control method includes a fuzzy-proportional integral-Smith compensation controller.

13. The automatic dosing optimization control method according to claim 11, characterized in that: The method of controlling the automatic filling unit of the reagent to fill the sedimentation tank with the reagent by a feedforward variable ratio control method according to the interference data comprises: Obtaining a deviation and a deviation change rate according to the interference data; Setting a fuzzy subset of the deviation and the deviation change rate, and quantifying the deviation and the deviation change rate into a preset area; Set the fuzzy subsets of output variables; Obtaining a transition process curve according to the fuzzy subset of the output variable; Obtaining a control rule according to the transition process curve, the deviation and the deviation change rate; The automatic reagent filling unit is controlled to fill the sedimentation tank with reagent according to the control rule.

14. The automatic dosing optimization control method according to any one of claims 11 to 13, characterized in that: The interference data includes one of the following or a combination thereof: incoming liquid flow rate, incoming liquid water content, incoming liquid temperature and incoming liquid pressure.

15. An automatic dosing optimization control system, characterized in that: include: An acquisition module (210) is used to acquire interference data of the water content of oil discharged from the settling tank; The control module (220) is used to control the automatic medicine filling unit to fill the sedimentation tank with medicine through a feedforward variable ratio control method according to the interference data.

16. An automatic dosing optimization control system, characterized in that: include: A memory (300) and a processor (400), wherein the memory (300) stores a program or instruction that can be run on the processor (400), and when the processor (400) executes the program or the instruction, the steps of the automatic dosing optimization control method as described in any one of claims 11 to 14 are implemented.

17. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or the instruction is executed by a processor, the steps of the automatic dosing optimization control method according to any one of claims 11 to 14 are implemented.

Citation Information

Patent Citations

  • Evaluation system and evaluation method for demulsification and dehydration performance of oil field

    CN112051390A

  • Automatic crude oil demulsification and dehydration device, and its control method

    CN1769375A

  • Automatic chemical feeding device for crude oil dehydration

    CN202415463U

  • METHOD AND SYSTEM FOR AUTOMATIC CONTROL OF THE INTERFACE LEVEL BETWEEN OIL AND WATER

    EA201600039A1

Cited By

  • Intelligent identification, monitoring and regulation system for oil-water interface of oil collection and storage settling tank

    CN120848337A