FORWARD AND REVERSE BIDIRECTIONAL FLOW RATE MEASUREMENT METHOD FOR SUBSEA CHEMICAL AGENT INJECTION DEVICE

Abstract

A forward and reverse bidirectional flow rate measurement method for a subsea chemical agent injection device is provided. The device includes a device body, a flow channel is formed inside the device body, the device body includes an agent input connector, a pressure reduction member, a needle valve assembly, and an agent output connector that are sequentially communicated through the flow channel; and the method is implemented by: calibrating forward and reverse flow of agents at different openings and flow rates, then obtaining differential pressures before and after the agents flow through the needle value assembly; fitting relationships between the flow rates and the differential pressures at different openings to obtain a plurality of arrays of opening-flow coefficients; then fitting relationships between the flow coefficients and the needle valve openings to establish a formula for the flow rate and the opening-differential pressure, and finally performing the measurement in real time.

Claims

1. A forward and reverse bidirectional flow rate measurement method for a subsea chemical agent injection device, comprising a device body, wherein the device body comprises an agent input connector, a pressure reduction member, a needle valve assembly, and an agent output connector that are sequentially communicated through a flow channel; step 1: keeping an opening V of the needle valve assembly fixed, taking the agent input connector and the agent output connector as inlets to inject agents with different calibrated flow rates Q into the device body for forward and reverse bidirectional calibration, and synchronously obtaining first differential pressures DP1 before and after a chemical agent flows through the pressure reduction member, and second differential pressures DP2 before and after the chemical agent flows through the needle valve assembly during a period; and obtaining a forward calibration array and a reverse calibration array for the opening V; step 2: fitting relationships between flow rates and differential pressures in forward and reverse directions at the same opening V according to Formula {circle around (1)}: { Q A = K A * DPn A + C A Q B = K B * DPn B + C B , Formula in the formula: Q.sub.A is a forward flow rate; K.sub.A is a forward flow coefficient; C.sub.A is a forward calibration coefficient; DPn.sub.A is either DP1.sub.A or DP2.sub.A, DP1.sub.A is a forward first differential pressure, and DP2.sub.A is a forward second differential pressure; and Q.sub.B is a reverse flow rate; K.sub.B is a reverse flow coefficient; C.sub.B is a reverse calibration coefficient; DPn.sub.B is either DP1.sub.B or DP2.sub.B, DP1.sub.B is a reverse first differential pressure, and DP2.sub.B is a reverse second differential pressure; step 3: adjusting the needle valve assembly to different openings V, and repeating the steps 1 and 2 to obtain forward and reverse flow coefficients, as well as forward and reverse calibration coefficients at the different openings V, respectively; a forward opening V.sub.A, the forward flow coefficient K.sub.A, and the forward calibration coefficient C.sub.A correspond to each other and form a forward fitting array; and a reverse opening V.sub.B, the reverse flow coefficient K.sub.B, and the reverse calibration coefficient C.sub.B correspond to each other and form a reverse fitting array; step 4: fitting relationships between flow coefficients and needle valve openings according to Formula {circle around (2)}: { K A = f ( V A ) K B = f ( V B ) , Formula step 5: establishing a formula of flow rate, opening, and differential pressure according to Formula {circle around (3)}: { Q A = f ( V A ) * DPn A + C A _ Q B = f ( V B ) * DPn B + C B _ , Formula in the formula: C.sub.A is an average of a plurality of forward calibration coefficients C.sub.A; and C.sub.B is an average of a plurality of reverse calibration coefficients C.sub.B; step 6: connecting the device body to a production system and injecting the chemical agent; when a pressure of the chemical agent shows a decline trend from the pressure reduction member to the needle valve assembly, the chemical agent is determined to flow in a forward direction; and a real-time forward opening of the needle valve assembly is controlled to V.sub.A, a real-time forward first differential pressure DP1.sub.A and a real-time forward second differential pressure DP2.sub.A are obtained, and a real-time forward flow rate Q.sub.A is then calculated according to Formula {circle around (4)}: Q A = f ( V A ) * DPn A + C A _ , Formula in the formula, DPn.sub.A is either DP1.sub.A or DP2.sub.A; and when the pressure of the chemical agent shows an increase trend from the pressure reduction member to the needle valve assembly, the chemical agent is determined to flow in a reverse direction; and a real-time reverse opening of the needle valve assembly is controlled to V.sub.B, a real-time reverse first differential pressure DP1.sub.B and a real-time reverse second differential pressure DP2.sub.B are obtained, and a real-time reverse flow rate Q.sub.B is then calculated according to Formula {circle around (5)}: Q B = f ( V B ) * DPn B + C B _ , Formula

2. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 1, wherein in the step 4: { K A = f ( V A ) = A A * V A + D A K B = f ( V B ) = A B * V B + D B , Formula in the formula, A.sub.A and D.sub.A are fitting parameters of the forward opening V.sub.A, and A.sub.B and D.sub.B are fitting parameters of the reverse opening V.sub.B.

3. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 1, wherein in the step 2, a segmented flow rate measurement value Q.sub.f is set; in the step 6, a target flow rate Q.sub.m is set, and the opening V of the needle valve assembly is controlled to make Q.sub.A=Q.sub.m or Q.sub.B=Q.sub.m; when Q.sub.m>Q.sub.f: in the step 2, DPn.sub.A is set to DP1.sub.A, and in the step 6, DPn.sub.A is set to DP1.sub.A; in the step 2, DPn.sub.B is set to DP1.sub.B, and in the step 6, DPn.sub.B is set to DP1.sub.B; when Q.sub.mQ.sub.f: in the step 2, DPn.sub.A is set to DP2.sub.A, and in the step 6, DPn.sub.A is set to DP2.sub.A; and in the step 2, DPn.sub.B is set to DP2.sub.B, and in the step 6, DPn.sub.B is set to DP2.sub.B.

4. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 1, wherein the device body further comprises a first pressure sensor, a second pressure sensor, and a third pressure sensor; the first pressure sensor is connected to the flow channel at an upstream end of the pressure reduction member to measure a front fluid pressure P1 before the chemical agent flows through the pressure reduction member; the second pressure sensor is connected to the flow channel between the pressure reduction member and the needle valve assembly to measure a middle fluid pressure P2 after the chemical agent flows through the pressure reduction member but before the chemical agent flows through the needle valve assembly; and the third pressure sensor is connected to the flow channel at a downstream of the needle valve assembly to measure a rear fluid pressure P3 after the chemical agent flows through the needle valve assembly.

5. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 4, wherein in the step 6, when the front fluid pressure P1 is greater than the rear fluid pressure P3, the chemical agent is determined to flow in the forward direction; and when the rear fluid pressure P3 is greater than the front fluid pressure P1, the chemical agent is determined to flow in the reverse direction.

6. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 1, wherein the device body further comprises a linear displacement sensor and a rotational displacement sensor; and sensing terminals of the linear displacement sensor and the rotational displacement sensor are both connected to an opening and closing function portion of the needle valve assembly.

7. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 2, wherein in the step 2, a segmented flow rate measurement value Q.sub.f is set; in the step 6, a target flow rate Q.sub.m is set, and the opening V of the needle valve assembly is controlled to make Q.sub.A=Q.sub.m or Q.sub.B=Q.sub.m; when Q.sub.m>Q.sub.f: in the step 2, DPn.sub.A is set to DP1.sub.A, and in the step 6, DPn.sub.A is set to DP1.sub.A; in the step 2, DPn.sub.B is set to DP1.sub.B, and in the step 6, DPn.sub.B is set to DP1.sub.B; when Q.sub.mQ.sub.f: in the step 2, DPn.sub.A is set to DP2.sub.A, and in the step 6, DPn.sub.A is set to DP2.sub.A; and in the step 2, DPn.sub.B is set to DP2.sub.B, and in the step 6, DPn.sub.B is set to DP2.sub.B.

8. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 2, the device body further comprises a first pressure sensor, a second pressure sensor, and a third pressure sensor; the first pressure sensor is connected to the flow channel at an upstream end of the pressure reduction member to measure a front fluid pressure P1 before the chemical agent flows through the pressure reduction member; the second pressure sensor is connected to the flow channel between the pressure reduction member and the needle valve assembly to measure a middle fluid pressure P2 after the chemical agent flows through the pressure reduction member but before the chemical agent flows through the needle valve assembly; and the third pressure sensor is connected to the flow channel at a downstream of the needle valve assembly to measure a rear fluid pressure P3 after the chemical agent flows through the needle valve assembly.

9. The forward and reverse bidirectional flow rate measurement method for the subsea chemical agent injection device according to claim 8, wherein in the step 6, when the front fluid pressure P1 is greater than the rear fluid pressure P3, the chemical agent is determined to flow in the forward direction; and when the rear fluid pressure P3 is greater than the front fluid pressure P1, the chemical agent is determined to flow in the reverse direction.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0027] FIG. 1 is a structural schematic diagram of a subsea agent injection device according to the present disclosure.

[0028] FIG. 2 shows fitting curves of forward Q.sub.A-sqrt(DP2.sub.A) at different openings according to the present disclosure.

[0029] FIG. 3 shows fitting curves of reverse Q.sub.B-sqrt(DP2.sub.B) at different openings according to the present disclosure.

[0030] FIG. 4 shows fitting curves between a forward calibrated flow coefficient K.sub.A and an opening V.sub.A according to the present disclosure.

[0031] FIG. 5 shows fitting curves between a reverse calibrated flow coefficient K.sub.B and an opening V.sub.B according to the present disclosure.

[0032] FIG. 6 is a distribution diagram of a percentage error between a flow rate calculated by DP1.sub.A and an actual flow rate according to the present disclosure.

[0033] FIG. 7 is a distribution diagram of a percentage error between a flow rate calculated by DP2.sub.A and an actual flow rate according to the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0034] The present disclosure will be further described below with reference to the embodiments and the accompanying drawings.

Example 1

[0035] A forward and reverse bidirectional flow rate measurement method for a subsea chemical agent injection device, including a device body, as shown in FIG. 1, where a flow channel is formed inside the device body, the device body includes an agent input connector 1, a pressure reduction member 2, a needle valve assembly 5, and an agent output connector 3 that are sequentially communicated through the flow channel; [0036] the device body further includes a first pressure sensor 61, a second pressure sensor 62 and a third pressure sensor 63; [0037] a pressure detection end of the first pressure sensor 61 is connected to the flow channel at an upstream end of the pressure reduction member 2 to measure a front fluid pressure P1 before the chemical agent flows through the pressure reduction member 2; [0038] a pressure detection end of the second pressure sensor 62 is connected to the flow channel between the pressure reduction member 2 and the needle valve assembly 5 to measure a middle fluid pressure P2 after the chemical agent flows through the pressure reduction member 2 but before the chemical agent flows through the needle valve assembly 5; and [0039] a pressure detection end of the third pressure sensor 63 is connected to the flow channel at a downstream of the needle valve assembly 5 to measure a rear fluid pressure P3 after the chemical agent flows through the needle valve assembly 5.

[0040] Output terminals of the first pressure sensor 61, the second pressure sensor 62, and the third pressure sensor 63 are respectively connected to a signal processing transmission module via signal wiring harnesses.

[0041] The device body further includes a linear displacement sensor and a rotational displacement sensor, sensing terminals of the linear displacement sensor and the rotational displacement sensor are both connected to an opening and closing function portion of the needle valve assembly 5; and the linear displacement sensor and rotational displacement sensor are mutually redundant, such that an effective and reliable alternative can be provided despite that one position sensing method fails or becomes misaligned; and [0042] both the linear displacement sensor and the rotational displacement sensor are configured to measure a position of the opening and closing function portion of the needle valve assembly 5 (such as, a valve needle/valve stem), thereby obtaining the needle valve opening.

[0043] The prior art provides methods for calculating the need valve opening, which will not be elaborated herein.

[0044] The method is implemented according to the following steps: [0045] step 1: keeping an opening V of the needle valve assembly 5 fixed, taking the agent input connector 1 and the agent output connector 3 as inlets to inject agents with different calibrated flow rates Q into the device body for forward and reverse bidirectional calibration, and synchronously obtaining first differential pressures DP1 before and after the chemical agent flows through the pressure reduction member 2, and second differential pressures DP2 before and after the chemical agent flows through the needle valve assembly 5 during the period;

[00006] DP 1 = .Math. "\[LeftBracketingBar]" P 1 - P 2 .Math. "\[RightBracketingBar]" ; DP 2 = .Math. "\[LeftBracketingBar]" P 2 - P 3 .Math. "\[RightBracketingBar]" ; [0046] a forward calibration array and a reverse calibration array for the same opening V are accordingly obtained; where the forward calibration array includes a plurality of forward calibration flow rates, a forward first differential pressure, and a forward second differential pressure; and the reverse calibration array includes a plurality of reverse calibration flow rates, a reverse first differential pressure, and a reverse second differential pressure; [0047] step 2. fitting relationships between flow rates and differential pressures in forward and reverse directions at the same opening V according to Formula {circle around (1)} based on the forward calibration array and the reverse calibration array:

[00007] { Q A = K A * DPn A + C A Q B = K B * DPn B + C B , Formula 1 [0048] in the formula: [0049] Q.sub.A is a forward flow rate; K.sub.A is a forward flow coefficient; C.sub.A is a forward calibration coefficient; DPn.sub.A is either DP1.sub.A or DP2.sub.A, DP1.sub.A is a forward first differential pressure, and DP2.sub.A is a forward second differential pressure; and [0050] Q.sub.B is a reverse flow rate; K.sub.B is a reverse flow coefficient; C.sub.B is a reverse calibration coefficient; DPn.sub.B is either DP1.sub.B or DP2.sub.B, DP1.sub.B is a reverse first differential pressure, and DP2.sub.B is a reverse second differential pressure; [0051] step 3. adjusting the needle valve assembly 5 to different openings V, and repeating the steps 1 and 2 to obtain forward and reverse flow coefficients, as well as forward and reverse calibration coefficients at the different openings, respectively; [0052] a forward opening V.sub.A, the forward flow coefficient K.sub.A, and the forward calibration coefficient C.sub.A correspond to each other and form a forward fitting array; [0053] a reverse opening V.sub.B, the reverse flow coefficient K.sub.B, and the reverse calibration coefficient C.sub.B correspond to each other and form a reverse fitting array; [0054] the steps 2 and 3 are combined and can also be directly expressed by as the following formula:

[00008] { Q A = K A * DPn A + C A = { Q A 1 = K A 1 * DPn A 1 + C A 1 , V = V A 1 Q A 2 = K A 2 * DPn A 2 + C A 2 , V = V A 2 .Math. Q Ai = K Ai * DPn Ai + C Ai , V = V Ai .Math. Q Aj = K Aj * DPn Aj + C Aj , V = V Aj Q B = K B * DPn B + C B = { Q B 1 = K B 1 * DPn B 1 + C B 1 , V = V B 1 Q B 2 = K B 2 * DPn B 2 + C B 2 , V = V B 2 .Math. Q Br = K Br * DPn Br + C Br , V = V Br .Math. Q Bk = K Bk * DPn bK + C Bk , V = V Bk ; [0055] in the formula: [0056] Q.sub.Ai is a flow rate when a forward calibration is performed at an i.sup.th opening; [0057] K.sub.Ai is a flow coefficient when the forward calibration is performed at the i.sup.th opening; DPn.sub.Ai is either DP1.sub.Ai or DP2.sub.Ai; [0058] DP1.sub.Ai is a first differential pressure when the forward calibration is performed at the i.sup.th opening; [0059] DP2.sub.Ai is a second differential pressure when the forward calibration is performed at the i.sup.th opening; [0060] C.sub.Ai is a calibration coefficient when the forward calibration is performed at the i.sup.th opening; [0061] V.sub.Ai is an i.sup.th forward opening; [0062] i=1,2, . . . ,j; and j is a total number of openings during the forward calibration; [0063] Q.sub.Br is a flow rate when a reverse calibration is performed at an r.sup.th opening; [0064] K.sub.Br is a flow coefficient when the reverse calibration is performed at an the r.sup.th opening; [0065] DPn.sub.Br is either DP1.sub.Br or DP2.sub.Br; [0066] DP1.sub.Br is a first differential pressure when the reverse calibration is performed at the r.sup.th opening; [0067] DP2.sub.Br is a second differential pressure when the reverse calibration is performed at the r.sup.th opening; [0068] C.sub.Br is a calibration coefficient when the reverse calibration is performed at an the r.sup.th opening; [0069] V.sub.Br is an r.sup.th forward opening; and [0070] r=1,2, . . . ,k; and k is a total number of openings during the reverse calibration; [0071] step 4. fitting relationships between flow coefficients and needle valve openings according to Formula {circle around (2)}; [0072] substituting a plurality of K.sub.Ai and V.sub.Ai, and a plurality of K.sub.Br and V.sub.Br into Formula {circle around (2)} to fit relationships between the forward flow coefficient and the forward opening, and relationships between the reverse flow coefficient and the reverse opening, respectively.

[00009] { K A = f ( V A ) K B = f ( V B ) , Formula [0073] a specific fitting formula for the flow coefficient and the needle valve opening is as follows:

[00010] { K A = f ( V A ) = A A * V A + D A K B = f ( V B ) = A B * V B + D B , Formula [0074] where A.sub.A and D.sub.A are fitting parameters of the forward opening, and A.sub.B and D.sub.B are fitting parameters of the reverse opening; [0075] step 5. establishing a formula of flow rate, opening and differential pressure according to Formula {circle around (3)}:

[00011] { Q A = f ( V A ) * DPn A + C A _ Q B = f ( V B ) * DPn B + C B _ , Formula [0076] in the formula: [0077] C.sub.A is an average of a plurality of forward calibration coefficients C.sub.A; and [0078] C.sub.B is an average of a plurality of reverse calibration coefficients C.sub.B; and [0079] step 6. connecting the device body to a production system and injecting a chemical agent; [0080] when a pressure of the chemical agent shows a decline trend from the pressure reduction member 2 to the needle valve assembly 5, that is, when the front fluid pressure P1 is greater than the rear fluid pressure P3, it is determined that the chemical agent flows in the forward direction; and a real-time forward opening of the needle valve assembly 5 is controlled to V.sub.A, a real-time forward first differential pressure DP1.sub.A and a real-time forward second differential pressure DP2.sub.A are obtained, and a real-time forward flow rate Q.sub.A is then calculated according to Formula {circle around (4)}:

[00012] Q A = f ( V A ) * DPn A + C A _ , Formula [0081] where DPn.sub.A is either DP1.sub.A or DP2.sub.A; [0082] when a pressure of the chemical agent shows an increase trend from the pressure reduction member 2 to the needle valve assembly 5, that is, when the rear fluid pressure P3 is greater than the front fluid pressure P1, it is determined that the chemical agent flows in the reverse direction; and a real-time reverse opening of the needle valve assembly 5 is controlled to V.sub.B, a real-time reverse first differential pressure DP1.sub.B and a real-time reverse second differential pressure DP2.sub.B are obtained, and a real-time reverse flow rate Q.sub.B is then calculated according to Formula {circle around (5)}; and

[00013] Q B = f ( V B ) * DPn B + C B _ , Formula

Example 2

[0083] A forward and reverse bidirectional flow rate measurement method for a subsea chemical agent injection device is provided.

[0084] This example is substantially the same as Example 1, except that: [0085] in the step 2, a segmented flow rate measurement value Q.sub.f is set; [0086] in the step 6, a target flow rate Q.sub.m is set, and an opening of the needle valve assembly 5 is controlled to make Q.sub.A=Q.sub.m or Q.sub.B=Q.sub.m; [0087] when Q.sub.m>Q.sub.f: [0088] in the step 2, DPn.sub.A is set to DP1.sub.A, and in the step 6, DPn.sub.A is set to DP1.sub.A; [0089] in the step 2, DPn.sub.B is set to DP1.sub.B, and in the step 6, DPn.sub.B is set to DP1.sub.B; [0090] when Q.sub.mQ.sub.f: [0091] in the step 2, DPn.sub.A is set to DP2.sub.A, and in the step 6, DPn.sub.A is set to DP2.sub.A; and [0092] in the step 2, DPn.sub.B is set to DP2.sub.B, and in the step 6, DPn.sub.B is set to DP2.sub.B.

[0093] That is, DP1.sub.A and DP1.sub.A have a corresponding relationship between the preceding and following equations; when a differential pressure between the forward front fluid pressure P1 and the forward middle fluid pressure P2 is fitted in the step 2, the differential pressure between the forward front fluid pressure P1 and the forward middle fluid pressure P2 should be measured in real time in the step 6;

[0094] Similarly, corresponding relationships exist between DP1.sub.B and DP1.sub.B, between DP2.sub.A and DP2.sub.A, as well as between DP2.sub.B and DP2.sub.B.

[0095] The segmented measurement has the effect of reducing a relative error in flow measurement, and further improving the measurement accuracy.

Example 3

[0096] A forward and reverse bidirectional flow rate measurement method for a subsea chemical agent injection device is provided, the method includes the subsea chemical agent injection device in Example 1, and is implemented by the following steps: [0097] step 1. Bidirectional calibration [0098] step 1.1 Forward calibration: [0099] adjusting the needle valve assembly 5 to a plurality of different forward openings V.sub.A, and taking the agent input connector 1 as an inlet to inject agents with different forward flow rates Q.sub.A into the device body for calibration; [0100] under each forward opening V.sub.A condition, the forward flow rate Q.sub.A with sufficient magnitude should be injected, preferably 10 times or more, and the forward flow rate Q.sub.A injected each time is different; a forward front fluid pressure P1, a forward middle fluid pressure P2, and a forward rear fluid pressure P3 are synchronously obtained during the process; a forward first differential pressure DP1.sub.A=P1P2, and a forward second differential pressure DP2.sub.A=P2P3; [0101] V.sub.A, Q.sub.A, DP1.sub.A and DP2.sub.A correspond to one another and form a forward fitting array; and some of the forward calibration data of V.sub.A, Q.sub.A, DP1.sub.A and DP2.sub.A are extracted and shown in Table 1; [0102] step 1.2 Reverse calibration: [0103] adjusting the needle valve assembly 5 to a plurality of different reverse openings V.sub.B, and taking the agent output connector 3 as an inlet to inject agents with different reverse flow rates Q.sub.B into the device body for calibration; [0104] under each reverse opening V.sub.B condition, the reverse flow rate Q.sub.B with sufficient magnitude should be injected, preferably 10 times or more, and the reverse flow rate Q.sub.B injected each time is different; a reverse front fluid pressure P1, a reverse middle fluid pressure P2, and a reverse rear fluid pressure P3 are synchronously obtained during the process; a reverse first differential pressure DP1.sub.B=P2P1, and a reverse second differential pressure DP2.sub.B=P3P2; [0105] V.sub.B, Q.sub.B, DP1.sub.B and DP2.sub.B correspond to one another and form a reverse fitting array; and some of the reverse calibration data of V.sub.B, Q.sub.B, DP1.sub.B and DP2.sub.B are extracted and shown in Table 2; [0106] step 2. fitting relationships between the flow rate and the differential pressure at different openings according to the following Formula {circle around (1)};

[00014] { Q A = K A * DPn A + C A = { Q A 1 = K A 1 * DPn A 1 + C A 1 , V = V A 1 Q A 2 = K A 2 * DPn A 2 + C A 2 , V = V A 2 .Math. Q Ai = K Ai * DPn Ai + C Ai , V = V Ai .Math. Q Aj = K Aj * DPn Aj + C Aj , V = V Aj Q B = K B * DPn B + C B = { Q B 1 = K B 1 * DPn B 1 + C B 1 , V = V B 1 Q B 2 = K B 2 * DPn B 2 + C B 2 , V = V B 2 .Math. Q Br = K Br * DPn Br + C Br , V = V Br .Math. Q Bk = K Bk * DPn Bk + C Bk , V = V Bk , Formula [0107] where: [0108] Q.sub.A is composed of j Q.sub.Ai; [0109] Q.sub.Ai is a flow rate when a forward calibration is performed at an i.sup.th opening; [0110] K.sub.A is a forward flow coefficient, which is composed of j K.sub.Ai; [0111] K.sub.Ai is a flow coefficient when the forward calibration is performed at the i.sup.th opening; [0112] C.sub.A is a forward calibration coefficient, which is composed of j C.sub.Ai; [0113] C.sub.Ai is a calibration coefficient when the forward calibration is performed at the i.sup.th opening; [0114] DPn.sub.A is composed of j DPn.sub.Ai; [0115] DPn.sub.A is either DP1.sub.A or DP2.sub.A; [0116] DPn.sub.Ai is either DP1.sub.Ai or DP2.sub.Ai; [0117] DP1.sub.A is composed of j DP1.sub.Ai; [0118] DP1.sub.Ai is a first differential pressure when the forward calibration is performed at the i.sup.th opening; [0119] DP2.sub.A is composed of j DP2.sub.Ai; [0120] DP2.sub.Ai is a second differential pressure when the forward calibration is performed at the i.sup.th opening; [0121] V.sub.A is composed of j V.sub.Ai; [0122] V.sub.Ai is an i.sup.th forward opening; [0123] i=1,2, . . . ,j; and j is a total number of openings during the forward calibration; [0124] Q.sub.B is composed of k Q.sub.Br; [0125] Q.sub.Br is a flow rate when a reverse calibration is performed at an r.sup.th opening; [0126] K.sub.B is a reverse flow coefficient, which is composed of k K.sub.Br; [0127] K.sub.Br is a flow coefficient when the reverse calibration is performed at an the r.sup.th opening; [0128] C.sub.B is a reverse calibration coefficient, which is composed of k C.sub.Br; [0129] C.sub.Br is a calibration coefficient when the reverse calibration is performed at an the r.sup.th opening; [0130] DPn.sub.B is composed of k DPn.sub.Br; [0131] DPn.sub.B is either DP1.sub.B or DP2.sub.B; [0132] DPn.sub.Br is either DP1.sub.Br or DP2.sub.Br; [0133] DP1.sub.B is composed of k DP1.sub.Br; [0134] DP1.sub.Br is a first differential pressure when the reverse calibration is performed at the r.sup.th opening; [0135] DP2.sub.B is composed of k DP2.sub.Br; [0136] DP2.sub.Br is a second differential pressure when the reverse calibration is performed at the r.sup.th opening; [0137] V.sub.B is composed of k V.sub.Br; [0138] V.sub.Br is the r.sup.th reverse opening; [0139] r=1,2, . . . ,k; and k is a total number of openings during the reverse calibration;

[0140] After the above fitting, a calibration array of the same opening is fitted to obtain a flow coefficient and a calibration coefficient, that is: [0141] a plurality of forward openings V.sub.A, forward flow coefficients K.sub.A, and forward calibration coefficients C.sub.A correspond to one another and form a forward fitting array; [0142] a plurality of reverse openings V.sub.B, reverse flow coefficients K.sub.B, and reverse calibration coefficients C.sub.B correspond to one another and form a reverse fitting array;

[0143] Assuming that DPn.sub.A is DP2.sub.A and DPn.sub.B is DP2.sub.B, and taking it as an example: the forward flow coefficient K.sub.A and the forward calibration coefficient C.sub.A obtained from fitting are shown in Table 1; and the reverse flow coefficient K.sub.B and the reverse calibration coefficient C.sub.B obtained from fitting are shown in Table 2;

[0144] In order to more intuitively observe a linear relationship between the flow rate and differential pressure, flow rate curves QA-sqrt(DP2.sub.A) and QB-sqrt(DP2.sub.B) for forward and reverse bidirectional flows at different openings V are plotted, and results are shown in FIGS. 2 and 3, respectively. It can be seen from FIGS. 2 and 3 that the flow rate has a good linear relationship with sqrt(DP2) no matter whether the agents flow in the forward direction or in the reverse direction. [0145] step 3. fitting relationships between flow coefficients and needle valve openings according to Formula {circle around (2)} based on the forward fitting array and the reverse fitting array;

[00015] { K A = f ( V A ) = A A * V A + D A K B = f ( V B ) = A B * V B + D B , Formula [0146] a plurality of K.sub.Ai and V.sub.Ai, and a plurality of K.sub.Br and V.sub.Br are substituted into Formula {circle around (2)} for separate fitting to obtain forward opening fitting parameters A.sub.A and D.sub.A, as well as reverse opening fitting parameters A.sub.B and D.sub.B. Fitting results of A.sub.A, D.sub.A, A.sub.B and D.sub.B are shown in Tables 1 and 2:

[0147] In order to more intuitively observe a linear relationship between the flow coefficient and the opening, K-V curves between the flow coefficient and the opening V in the forward and reverse directions are plotted, and results are shown in FIGS. 4 and 5. It can be seen from FIGS. 4 and 5 that the flow coefficient has a good relationship with the opening when the agent flows in the forward and reverse directions; [0148] therefore, the relationship between the flow rate, the opening, and the differential pressure is obtained, as shown in Formula {circle around (3)}:

[00016] { Q A = f ( V A ) * DPn A + C A _ = ( 14.907 * V A - 2.005 ) * DP 2 A + C A _ Q B = f ( V B ) * DPn B + C B _ = ( 0. 1 0 9 8 * V B - 0 . 6 2 1 2 ) * DP 2 B + C B _ , Formula [0149] C.sub.A is an average of a plurality of forward calibration coefficients C.sub.A; and [0150] C.sub.B is an average of a plurality of reverse calibration coefficients C.sub.B.

TABLE-US-00001 TABLE 1 Statistics of forward calibration array, fitting array, and some opening fitting parameters Q.sub.A S/N V.sub.A/% L/h P1/Mpa P2/Mpa P3/MPa DP1.sub.A/MPa DP2.sub.A/MPa K.sub.A C.sub.A A.sub.A D.sub.A 1-1 6.25 152.4 6.296 2.901 0.122 3.395 2.779 44.895 6.678 14.907 2.005 1-2 141.6 5.437 2.471 0.119 2.966 2.352 1-3 129.6 4.652 2.128 0.117 2.524 2.011 1-4 115.2 3.63 1.693 0.114 1.937 1.579 1-5 104.4 3.202 1.51 0.113 1.692 1.397 . . . . . . . . . . . . . . . . . . . . . 2-1 3.125 92.4 6.296 0.115 4.954 1.342 4.839 96.601 8.082 2-2 87.6 5.769 0.114 4.534 1.235 4.42 2-3 82.8 5.209 0.113 4.127 1.082 4.014 2-4 77.4 4.657 0.112 3.731 0.926 3.619 2-5 72.6 3.967 0.112 3.215 0.752 3.103 . . . . . . . . . . . . . . . . . . . . . 3-1 4.6875 30 0.583 0.454 0.106 0.129 0.348 61.938 6.428 3-2 45.6 1.092 0.811 0.107 0.281 0.704 3-3 64.2 2.035 1.435 0.109 0.6 1.326 3-4 79.8 2.979 2.035 0.109 0.944 1.926 3-5 92.4 3.917 2.62 0.111 1.297 2.509 . . . . . . . . . . . . . . . . . . . . . 4-1 15.625 189.6 6.089 0.871 0.127 5.218 0.744 22.01 7.196 4-2 172.2 5.143 0.715 0.123 4.428 0.592 4-3 156 4.165 0.577 0.121 3.588 0.456 4-4 128.4 3.069 0.431 0.117 2.638 0.314 4-5 93 1.953 0.306 0.114 1.647 0.192 . . . . . . . . . . . . . . . . . . . . . 5-1 1.5625 40.8 5.477 5.249 0.106 0.228 5.143 230.39 4.271 5-2 37.8 4.122 3.876 0.106 0.246 3.77 5-3 33 3.666 3.491 0.106 0.175 3.385 5-4 30 3.083 2.959 0.106 0.124 2.853 5-5 25.8 2.386 2.295 0.106 0.091 2.189 . . . . . . . . . . . . . . . . . . . . .

TABLE-US-00002 TABLE 2 Statistics of reverse calibration array, fitting array, and some opening fitting parameters Q.sub.B S/N V.sub.B/% L/h P1/Mpa P2/Mpa P3/MPa DP1.sub.B/MPa DP2.sub.B/MPa K.sub.B C.sub.B A.sub.B D.sub.B 1-1 6.1532 0.88 10.63 51.58 100.51 40.95 48.93 0.0542 0.2492 0.1098 0.6212 1-2 1.68 11.19 170.23 305.82 159.04 135.59 1-3 2.04 11.44 230.58 405.38 219.14 174.79 1-4 2.3 11.67 291.20 503.46 279.53 212.26 1-5 2.54 11.95 356.45 611.70 344.5 255.25 . . . . . . . . . . . . . . . . . . . . . 2-1 7.6783 12.93 582.80 611.40 569.87 28.60 12.93 0.2216 0.5443 2-2 12.52 486.47 511.49 473.95 25.02 12.52 2-3 12.09 385.31 406.24 373.22 20.92 12.09 2-4 11.71 296.89 314.17 285.18 17.28 11.71 2-5 10.57 34.28 37.09 23.71 2.81 10.57 . . . . . . . . . . . . . . . . . . . . .

[0151] Step 5. For a more intuitive comparison, making the forward first differential pressure DP1.sub.A and the second differential pressure DP2.sub.A in Table 1 equivalent as the forward real-time first differential pressure DP1.sub.A and the second differential pressure DP2.sub.A, respectively, substituting them into the corresponding formulae respectively to obtain real-time flow rates Q1.sub.A and Q2.sub.A; and Q1.sub.A is the real-time forward flow rate calculated using DP1.sub.A, and Q2.sub.A is the real-time forward flow rate calculated using DP2.sub.A; and taking the calibration flow rate Q as the actual flow rate to calculate a percentage error between the real-time flow rate and an actual flow rate.

[0152] The results indicate that:

[0153] The percentage error between the real-time flow rate Q1.sub.A and the actual flow rate is (6.67%)(+5.19%);

[0154] the percentage error between the real-time flow rate Q2.sub.A and the actual flow rate is (7.49%)(+5.84%); and

[0155] Overall, the use of DP1.sub.A, DP2.sub.A, DP1.sub.A and DP2.sub.A to fit and calculate the real-time flow rates results in relatively small error ranges, and can get accurate results.

[0156] The relationship between percentage errors and actual flow rates corresponding to Q1.sub.A and Q2.sub.A are respectively plotted in coordinate systems, and results are shown in FIGS. 6 and 7. It can be seen from FIGS. 6 and 7 that: [0157] when the flow rate is large, the percentage errors obtained through fitting and calculation of DP1.sub.A/DP1.sub.A by using are more concentrated, and the error ranges thereof are relatively small; while the percentage errors obtained through fitting and calculation of DP2.sub.A/DP2.sub.A by using are relatively dispersed, and the error ranges thereof are relatively larger; and [0158] when the flow rate is small, the percentage errors obtained through fitting and calculation of DP2.sub.A/DP2.sub.A by using are more concentrated, and the error ranges thereof are relatively small; while the percentage errors obtained through fitting and calculation of DP1.sub.A/DP1.sub.A by using are relatively dispersed, and the error ranges thereof are relatively larger.

[0159] Therefore, different fitting and/or calculation methods can be adopted to measure the segmented real-time flow rate according to a magnitude of target flow rate: a key to segmentation is to identify a boundary point between a high flow rate and a lower flow rate; the boundary point is generally set manually according to the calibration results, and the boundary point is the segmented flow rate measurement value Q.sub.f.

[0160] Therefore, when measuring and controlling the real-time flow, the corresponding differential pressure and flow rate formula can be selected based on the target flow rate Q.sub.m and the segmented flow rate measurement value Q.sub.f to calculate the real-time flow rate, so as to obtain more accurate results, that is, the segmented control as specified in Example 2 can be performed.

[0161] Beneficial effects: The technical solution of the present disclosure can detect an installation direction of the subsea agent injection device and accurately measure the flow rates of the forward and reverse bidirectional installation conditions, thereby avoid inaccurate flow measurement results due to inverted installation direction. In addition, the present disclosure simplifies the real-time flow rate measurement process by obtaining only differential pressure and needle valve opening.

[0162] Finally, it should be noted that the above description is only the preferred embodiment of the present disclosure. Under the inspiration of the present disclosure, a person of ordinary skill in the art can make various similar representations without departing from the spirit of the present disclosure and the claims, and such changes all fall within the protection scope of the present disclosure.