WATER INJECTION METHOD FOR PID CONTROL-BASED ADAPTIVE INTELLIGENT WATER INJECTION SYSTEM
20210379550 · 2021-12-09
Assignee
Inventors
- Haozhe JIN (Hangzhou, CN)
- Guofu OU (Hangzhou, CN)
- Zhichao FAN (Hangzhou, CN)
- Yong GU (Hangzhou, CN)
- Qun WANG (Hangzhou, CN)
- Chao WANG (Hangzhou, CN)
Cpc classification
B01J8/04
PERFORMING OPERATIONS; TRANSPORTING
Y02P80/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
B01J19/0013
PERFORMING OPERATIONS; TRANSPORTING
G06F17/18
PHYSICS
International classification
B01J19/00
PERFORMING OPERATIONS; TRANSPORTING
B01J8/04
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A water injection method for a PID control-based adaptive intelligent water injection system is provided. The system includes a water injection portion, a power portion, a control portion, and a measurement and transmission portion. The water injection portion includes a hydrogenation reactor, heat exchangers, air coolers, and a separation tank. The power portion includes a motor and a water pump. The control portion includes a console and a bus. Temperature, pressure and flow velocity transmitters are additionally arranged at each of inlet and outlet pipes of various heat exchangers, and water injection points are disposed. Temperature, pressure and flow velocity signals of the inlet and outlet pipes of heat exchange devices are monitored, and the console performs error analysis on the three signals and uses a PID control algorithm to control the adjustment valve to alter the valve opening degree to adjust the water injection amount in real time.
Claims
1. A water injection method for a PID control-based adaptive intelligent water injection system, wherein, the PID control-based adaptive intelligent water injection system comprises a water injection portion, a power portion, a control portion, and a measurement and transmission portion; the water injection portion comprises a hydrogenation reactor, N shell-and-tube heat exchangers, a plurality of parallel air coolers, and a separation tank; wherein a hydrogenation reaction effluent at a bottom of the hydrogenation reactor is connected to inlets of the plurality of parallel air coolers via the N shell-and-tube heat exchangers; the hydrogenation reaction effluent is cooled by the plurality of parallel air coolers, and then the hydrogenation reaction effluent is connected to an inlet located on a side surface of the separation tank through an outlet manifold of the plurality of parallel air coolers; the hydrogenation reaction effluent is separated into a gas phase, an oil phase and an acidic aqueous phase by the separation tank, wherein the gas phase flows out of a top of the separation tank, the oil phase flows out of the side surface of the separation tank corresponding to the inlet, and the acidic aqueous phase flows out of a bottom of the separation tank; N−1 pipelines are separately led out from pipes between the N shell-and-tube heat exchangers, a first external pipeline in front of an inlet pipe of a first shell-and-tube heat exchanger of the N shell-and-tube heat exchangers is led out from the inlet pipe of the first shell-and-tube heat exchanger, and a second external pipeline between a last shell-and-tube heat exchanger of the N shell-and-tube heat exchangers and the plurality of parallel air coolers is led out from a pipe between the last shell-and-tube heat exchanger and the plurality of parallel air coolers, and a total of N+1 pipelines constitute parallel pipes; branches of the parallel pipes are throttled by N+1 adjustment valves of an identical specification, respectively, and then the branches of the parallel pipes are gathered to a straight pipe to connect to the power portion; a temperature transmitter, a pressure transmitter, and a flow velocity transmitter are connected to each of an inlet pipeline and an outlet pipeline of each shell-and-tube heat exchanger of the N shell-and-tube heat exchangers to jointly form the measurement and transmission portion; and a temperature signal T.sub.i of the temperature transmitter, a pressure signal P.sub.i of the pressure transmitter and a flow velocity signal V.sub.i of the flow velocity transmitter are connected to the control portion to control an opening degree required by each adjustment valve of the N+1 adjustment valves; the power portion comprises a motor and a water pump; wherein the motor drives the water pump to rotate, and an outlet of the water pump is connected to an inlet of the straight pipe; and the control portion comprises a console and an RS485 bus; wherein the temperature signal T.sub.i, the pressure signal P.sub.i and the flow velocity signal V.sub.i are transmitted to the console through the RS485 bus to control the opening degree required by the each adjustment valve through a PID control algorithm; the water injection method comprises the following steps: step 1): after a stable operation of the PID control-based adaptive intelligent water injection system, enabling the hydrogenation reaction effluent to successively pass through the N shell-and-tube heat exchangers and the plurality of parallel air coolers from the bottom of the hydrogenation reactor and then to enter the separation tank; step 2): arranging the temperature transmitter, the pressure transmitter, and the flow velocity transmitter at each of the inlet pipeline and the outlet pipeline of the each shell-and-tube heat exchanger of the N shell-and-tube heat exchangers connected in series, wherein a total number of each of the temperature transmitter, the pressure transmitter and the flow velocity transmitter is N+1; detecting and transmitting, by the temperature transmitter, the pressure transmitter and the flow velocity transmitter, the temperature signal T.sub.i, the pressure signal P.sub.i, and the flow velocity signal V.sub.i to the console through the RS485 bus, respectively, wherein a value range of i is i∈[1, N+1]; step 3): receiving, by the console, the temperature signal T.sub.i, the pressure signal P.sub.i and the flow velocity signal V.sub.i, and then performing screening analysis on the temperature signal T.sub.i, the pressure signal P.sub.i and the flow velocity signal V.sub.i, wherein the screening analysis is as follows: under a normal working condition, a temperature difference between two ends of the each shell-and-tube heat exchanger or two ends of the plurality of parallel air coolers basically remains constant, and no salt coagulation occurs in the each shell-and-tube heat exchanger; therefore, a relative error of temperature values of two adjacent shell-and-tube heat exchangers of the N shell-and-tube heat exchangers are calculated by the following calculation method: at a moment t and a moment t+1, temperature differences detected by any two adjacent temperature transmitters are ΔT.sub.(i)(t) and ΔT.sub.(i)(t+1), respectively, wherein
ΔT.sub.(i)(t)=|T.sub.(i+1)(t)−T.sub.(i)(t)|
ΔT.sub.(i)(t+1)=|T.sub.(i+1)(t+1)−T.sub.(i)(t+1)|, where signals monitored by an i.sup.th temperature transmitter and an i+1.sup.th temperature transmitter at the moment t are T.sub.(i)(t) and T.sub.(i+1)(t), respectively; signals monitored by the i.sup.th temperature transmitter and the i+1.sup.th temperature transmitter at the moment t+1 are T.sub.(i)(t+1) and T.sub.(i+1)(t+1), respectively; then, a temperature signal relative error between two adjacent temperature transmitters is e.sub.T(i):
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0033]
[0034] In
[0035]
[0036] In
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0037] The present invention is further described below with reference to the drawings and embodiments.
[0038] As shown in
[0039] The water injection portion 1 includes the hydrogenation reactor 16, N shell-and-tube heat exchangers 12, air coolers 13, and the separation tank 15. A hydrogenation reaction effluent at the bottom of the hydrogenation reactor 16 is connected to inlets of the air coolers 13 via the N shell-and-tube heat exchangers 12. Hydrogenation reaction effluent is cooled by a plurality of parallel air coolers 13, and then is connected to an inlet located on a side surface of the separation tank 15 through an outlet manifold of the air coolers 13. The hydrogenation reaction effluent is separated into an oil phase 18, a gas phase 19, and an acidic aqueous phase 20 by the separation tank 15, wherein the gas phase 19 flows out of the top of the separation tank 15, the oil phase 18 flows out of the side surface of the separation tank 15 corresponding to the inlet, and the acidic aqueous phase 20 flows out of the bottom of the separation tank 15. N−1 pipelines are separately led out from pipes between the N shell-and-tube heat exchangers, one pipeline is led out from an inlet pipe of the first heat exchanger, one pipeline is led out from a pipe between the last heat exchanger and the air coolers 13, and a total of N+1 pipelines constitute parallel pipes. Branches of the parallel pipes are throttled by N+1 adjustment valves 8 of an identical specification, respectively, and then are gathered to the straight pipe 14. One end of each adjustment valve 8 is connected to a main pipeline of the hydrogenation reaction effluent through a three-way pipe, and the other end of each adjustment valve 8 is connected to the straight pipe 14 through an elbow or three-way pipe. The straight pipe 14 is connected to the power portion 2. The temperature transmitter 9, the pressure transmitter 10 and the flow velocity transmitter 11 are connected to each of an inlet pipeline and an outlet pipeline of each of the shell-and-tube heat exchangers 12 to jointly form the measurement and transmission portion 4. Signals of the three transmitters are connected to the control portion 3 to control an opening degree required by each adjustment valve 8.
[0040] The power portion 2 includes the motor 5 and the water pump 6. The motor 5 drives the water pump 6 to rotate, and an outlet of the water pump 6 is connected to an inlet of the straight pipe 14.
[0041] The control portion 3 includes the console 7 and the RS485 bus 17. The signals of the three transmitters are transmitted to the console 7 through the RS485 bus 17 to control the opening degree required by each adjustment valves 8 through a PID control algorithm.
[0042] The N shell-and-tube heat exchangers 12 are set according to an actual requirement of an industrial site.
[0043] As shown in
[0044] Step 1): after the stable operation of the system, the hydrogenation reaction effluent successively passes through N heat exchangers 12 (four heat exchangers is used in the figure) and a plurality of parallel air coolers 13 from the bottom of the hydrogenation reactor 17 and then enters the separation tank 15.
[0045] Step 2): the temperature transmitter 9, the pressure transmitter 10, and the flow velocity transmitter 11 are arranged at each of an inlet and an outlet of each of N heat exchangers 12 connected in series, and the total number of each of the three transmitters is N+1. The three transmitters detect and transmit the temperature signal T.sub.i, the pressure signal P.sub.i and the flow velocity signal V.sub.i to the console 7 through the RS485 bus, respectively, wherein a value range of i is i∈[1, N+1].
[0046] Step 3): the console 7 receives the temperature signal T.sub.i, the pressure signal P.sub.i and the flow velocity signal V.sub.i, and then performs screening analysis as follows on the signals.
[0047] Under a normal working condition, a temperature difference between two ends of the heat exchanger or the air coolers basically remains constant, that is, no salt coagulation occurs in the heat exchanger. Therefore, a relative error of temperature values of two adjacent heat exchangers cannot be directly calculated, but the following calculation method is employed: at the moment t and the moment t+1, the temperature differences detected by any two adjacent temperature transmitters are ΔT.sub.(i)(t) and ΔT.sub.(i)(t+1), respectively, wherein
ΔT.sub.(i)(t)=|T.sub.(i+1)(t)−T.sub.(i)(t)|
ΔT.sub.(i)(t+1)=|T.sub.(i+1)(t+1)−T.sub.(i)(t+1)|,
[0048] where signals monitored by the i.sup.th temperature transmitter and the i+1.sup.th temperature transmitter at the moment t are T.sub.(i)(t) and T.sub.(i+1)(t), respectively; similarly, signals monitored by the i.sup.th temperature transmitter and the i+1.sup.th temperature transmitter at the moment t+1 are T.sub.(i)(t+1) and T.sub.(i+1)(t+1), respectively.
[0049] Then, a temperature signal relative error between two adjacent temperature transmitters is e.sub.T(i):
[0050] a pressure signal relative error between any two adjacent pressure transmitters is e.sub.P(i):
and
[0051] similarly, a flow velocity signal relative error between any two adjacent flow velocity transmitters is e.sub.V(i):
[0052] Assuming that the relative error e.sub.X(i) follows Gaussian distribution E-N(μ, σ.sup.2), where X takes the pressure P, the temperature T or the flow velocity V, then a probability density function of the relative error e.sub.X(i) is:
[0053] where μ is an overall expectation, and σ.sup.2 is a population variance.
[0054] μ and σ.sup.2 in a population are predicted according to an existing relative error e.sub.X(i), and a calculation method is as follows:
[0055] Step 4): according to the principle of 3σ that the probability of e.sub.X(i), falling outside (μ−3σ, μ+3σ) is less than 3‰, the interval (μ−3σ, μ+3σ) is taken as an actual possible value interval of the relative error e.sub.X(i), and data outside the value interval is taken as outlier data and thus are removed. If there is no outlier data, the method goes directly to step 5); otherwise, outlier data points are screened out to be T.sub.k, P.sub.k, and V.sub.k, where k∈[1, N+1], and then the k.sup.th temperature transmitter, k.sup.th pressure transmitter and k.sup.th flow velocity transmitter are checked and replaced in time.
[0056] Step 5): an average value
[0057] if
[0058] if 1%<
[0059] if
[0060] Step 6): the console 7 employs the PID control algorithm, including a proportional (P) control parameter, an integral (I) control parameter and a differential (D) control parameter. The average error
[0061] wherein e.sub.0=2%, and
[0062] an opening degree of the adjustment valve at the moment t is taken as the output u.sub.i(t) of the controller and is expressed by the following formula:
[0063] where K.sub.p, K.sub.i, and K.sub.d represent a proportional coefficient, an integral time constant, and a differential time constant, respectively, and T.sub.0 is a sampling cycle of each transmitter. The system is adjusted and controlled to meet predetermined requirements.
[0064] Step 7): in step 5), if
[0065] Taking a process of a 3# diesel hydrogenation apparatus in a petrochemical enterprise as an example, the heat exchanger is a shell-and-tube heat exchanger; the specification of tube bundles of the air cooler is Φ25 mm×3 mm×10000 mm, and the material is carbon steel. According to analysis data of a laboratory information management system (LIMS), in the crude oil of the diesel hydrogenation apparatus, the content of sulfur is 6195.2 mg/kg, the content of chlorine is less than 0.5 mg/kg, and the content of nitrogen is 512.8 mg/kg. Temperature, pressure, and flow velocity signal data collected from a distributed control system (DCS) is as follows:
[0066] There are four heat exchangers in the apparatus, and a temperature signal of two adjacent heat exchangers is:
[0067] Moment t:
TABLE-US-00001 T.sub.1(t) T.sub.2(t) T.sub.3(t) T.sub.4(t) T.sub.5(t) 378.22° C. 271.55° C. 196.95° C. 164.69° C. 102.64° C.
[0068] ΔT.sub.(1)(t)=106.67, ΔT.sub.(2)(t)=74.6, ΔT.sub.(3)(t)=32.26, ΔT.sub.(4)(t)=62.05.
[0069] Moment t+1:
TABLE-US-00002 T.sub.1(t + 1) T.sub.2(t + 1) T.sub.3(t + 1) T.sub.4(t + 1) T.sub.5(t + 1) 378.21° C. 271.55° C. 195.25° C. 163.00° C. 100.92° C.
[0070] ΔT.sub.(1)(t+1)=106.66, ΔT.sub.(2)(t+1)=76.3, ΔT.sub.(3)(t+1)=32.25, ΔT.sub.(4)(t+1)=62.08.
[0071] A relative error is:
[0072] Similarly, e.sub.T(2)(t)=2.28%, e.sub.T(3)(t)=0.03%, and e.sub.T(4)(t)=0.05%.
[0073] A pressure signal of two adjacent heat exchangers is:
TABLE-US-00003 P.sub.1 P.sub.2 P.sub.3 P.sub.4 P.sub.5 6.56 MPa 6.55 MPa 6.71 MPa 6.70 MPa 6.72 MPa
[0074] A relative error is:
[0075] Similarly, e.sub.P(2)=2.44%, e.sub.P(3)=0.15%, and e.sub.P(4)=0.15%.
[0076] A flow velocity signal of two adjacent heat exchangers is:
TABLE-US-00004 V.sub.1 V.sub.2 V.sub.3 V.sub.4 V.sub.5 155.426 t/h 155.429 t/h 155.051 t/h 155.055 t/h 155.050 t/h
[0077] A relative error is:
[0078] Similarly, e.sub.V(2)=2.43%, e.sub.V(3)=0.0026%, and e.sub.V(1)=0.003%.
[0079] An average error of e.sub.T(i), e.sub.P(i), and e.sub.V(i) is:
[0080] Similarly,
[0081] Taking the temperature as an example, the relative error e.sub.T(i) follows Gaussian distribution E-N(μ, σ.sup.2),
[0082] A probability density function thereof is:
[0083] The interval (μ−3σ, μ+3σ) is (−2.7873%, 3.9743%).
[0084] As can be seen, data of e.sub.T(1), e.sub.T(2), e.sub.T(3), and e.sub.T(4) are all in the interval, that is, there is no outlier data. Assuming that data e.sub.X(k) in e.sub.X(i) is not in the interval (μ−3σ, μ+3σ), it is considered that the relative error e.sub.X(k) is caused by a system error and thus a field operator is required to repair or replace the k.sup.th temperature transmitter.
[0085] Upon analysis on the average error
[0086] e(t)=2.2833%−2%=0.2833% is inputted to the controller,
[0087] In engineering application, PID parameters are generally determined by an empirical method. That is, for different process control systems, an engineer needs to, according to actual working conditions and process characteristics, first use pure proportional control, namely only set a parameter K.sub.p, and adjust K.sub.p to enable the output of the controller to quickly achieve and maintain a stable value, and then appropriately add integral and differential actions, namely set parameters K.sub.i and K.sub.d, to make the adjustment time (i.e., the time required for the system response to reach and remain within ±5% of termination) of the control system as short as possible. The stable value outputted by the controller is the opening degree of the adjustment valve. The console transmits a signal to the adjustment valve through the RS485 bus to alter the water injection amount by adjusting the valve opening degree, until
Embodiment 2
[0088] The structural composition of a system of the present embodiment is the same as that in Embodiment 1, except that the material of the air cooler is different from that in Embodiment 1. The intelligent water injection method in the present invention is also applicable to the system. The specification of tube bundles of the air cooler is Φ25 mm×3 mm×10000 mm, and the material is Incoloy 825.
[0089] Taking a process of a hydrocracking apparatus in a petrochemical enterprise as an example, as can be seen, according to analysis data of an LIMS system, in crude oil of a diesel hydrogenation apparatus, the content of sulfur is 21863.5 mg/kg, the content of chlorine is less than 0.5 mg/kg, and the content of nitrogen is 632.5 mg/kg, which belongs to typical high-sulfur crude oil. Temperature, pressure, and flow velocity signal data collected from a DCS is as follows:
[0090] There are four heat exchangers in the apparatus, and a temperature signal of two adjacent heat exchangers is:
[0091] Moment t:
TABLE-US-00005 T.sub.1(t) T.sub.2(t) T.sub.3(t) T.sub.4(t) T.sub.5(t) 382.31° C. 275.51° C. 190.81° C. 152.69° C. 103.49° C.
[0092] ΔT.sub.(1)(t)=106.80, ΔT.sub.(2)(t)=84.70, ΔT.sub.(3)(t)=38.12, ΔT.sub.(4)(t)=49.20.
[0093] Moment t+1:
TABLE-US-00006 T.sub.1(t + 1) T.sub.2(t + 1) T.sub.3(t + 1) T.sub.4(t + 1) T.sub.5(t + 1) 382.52° C. 275.59° C. 191.98° C. 153.42° C. 105.37° C.
[0094] ΔT.sub.(1)(t+1)=106.93, ΔT.sub.(2)(t+1)=83.61, ΔT.sub.(3)(t+1)=38.56, ΔT.sub.(4)(t+1)=48.05.
[0095] A relative error is:
[0096] Similarly, e.sub.T(2)(t)=1.28%, e.sub.T(3)(t)=1.15%, and e.sub.T(4)(t)=2.34%.
[0097] A pressure signal of two adjacent heat exchangers is:
TABLE-US-00007 P.sub.1 P.sub.2 P.sub.3 P.sub.4 P.sub.5 7.89 MPa 7.88 MPa 7.77 MPa 7.69 MPa 7.51 MPa
[0098] A relative error is:
[0099] Similarly, e.sub.P(2)=1.40%, e.sub.P(3)=1.02%, and e.sub.P(4)=2.34%.
[0100] A flow velocity signal of two adjacent heat exchangers is:
TABLE-US-00008 V.sub.1 V.sub.2 V.sub.3 V.sub.4 V.sub.5 142.69 t/h 144.06 t/h 145.75 t/h 146.97 t/h 149.88 t/h
[0101] A relative error is:
[0102] Similarly, e.sub.V(2)=1.17%, e.sub.V(3)=0.84%, and e.sub.V(4)=1.98%.
[0103] Then, an average error of e.sub.T(i), e.sub.P(i), and e.sub.V(i) is:
[0104] Similarly,
[0105] By adopting the same method as that in Embodiment 1, it can be seen that data of e.sub.T(1), e.sub.T(2), e.sub.T(3), and e.sub.T(4) are all in the interval (μ−3σ, μ+3σ), that is, there is no outlier data.
[0106] Upon analysis on the average error
[0107] e(t)=2.22%−2%=0.22% is inputted to the controller,
[0108] K.sub.p, K.sub.i, and K.sub.d are determined by the same PID parameter setting method as that in Embodiment 1. Through the PID control algorithm, the control system outputs an instruction, the console transmits a signal to the adjustment valve through the RS485 bus to alter the water injection amount by adjusting the valve opening degree, until
[0109] Large general simulation process system Aspen Plus software, is employed to calculate the water injection required to ensure 25% liquid water at different temperatures. Assuming that the water injection amount is 100 t/h when a valve is fully opened, and the water injection amount is 32 tons when an inlet temperature of the heat exchanger is 194.7° C., in this case, the controller outputs u.sub.i(t)=0.32, then the valve adjusts the opening degree to 32% according to an instruction of the console, that is, the water injection amount is 32 t/h. In the process of water injection, measurement transmitters continue to transmit signals to the console, the average error
[0110] From the above experimental results, it can be seen that the present invention achieves a certain application effect in the hydrogenation process. The added measurement transmitters can be directly integrated into DCS, and data acquired through DCS is accurate and fast. The console only needs to extract such three sets of data of temperature, pressure, and flow velocity, and perform screening and error analysis on the three sets of data to determine whether the average error satisfies the condition of
[0111] At present, the water injection process is widely used in the hydrogenation process, which indeed alleviates the problem of corrosion caused by the crystallized ammonium salt to some extent. The quality of the crude oil, however, is becoming increasingly poor, the traditional water injection technology has gradually lost advantages and has increasingly worse effect, which aggravates the waste of water resources and energy consumption in turn. The PID control-based adaptive intelligent water injection system according to the present invention is simple in structure, convenient to refit, and quite flexible, and has wide applicability, which not only solves the risk of flow corrosion failures of the hydrogenation apparatus caused by the lag in the traditional water injection process, but also saves water resources and brings certain economic benefits to enterprises.