An instrument self-checking motor-operated control system and control box
By combining data acquisition, reliability assessment, and control intensity adjustment modules, soft faults in sensors are identified and adjusted, solving the problem of sensor measurement errors affecting control accuracy in the electric throttling manifold control system and improving the reliability and stability of the control system.
Patent Information
- Application Number
- CN202611645589.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
Existing electric throttle manifold control systems cannot effectively identify and adjust sensor measurement errors under non-hard fault conditions, which affects control accuracy and stability. In particular, when adjusting the throttle valve, the sensor may drift slowly, increase noise, or have a delayed response, affecting the accuracy of control decisions.
The data acquisition and initial inspection module is used to perform initial hard fault detection. The reliability assessment and fusion module determines the sensor's fluctuation anomaly factor, short-term drift, and long-term baseline deviation. Combined with the control intensity adjustment module, the PID control intensity is adjusted according to the pressure and flow data, and the throttle valve opening command is output.
It enables the identification of sensor soft faults and the assessment of dynamic measurement reliability, improves the control reliability and stability under incomplete sensor failure conditions, avoids reverse adjustment or over-control, and enhances the control accuracy of the well control process.
Smart Images

Figure CN123133731A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of manifold pressure control technology, specifically to an instrument self-testing electric throttling manifold control system and control box. Background Technology
[0002] Electric choke manifolds are essential surface equipment used in oil and gas drilling and well control processes to regulate wellbore fluid discharge and control pressure and flow. They typically consist of a choke valve, manifold, pressure / flow detection device, valve actuator, controller, and control box. The control system continuously adjusts the choke valve opening based on real-time monitoring of pressure, flow, and valve position to control manifold pressure, ensuring that the well control process meets the requirements for sensitivity, reliability, and safety.
[0003] Existing self-testing electric throttling manifolds typically incorporate pressure sensors, flow sensors, and valve position detection devices, capable of detecting obvious hard faults such as sensor disconnection, short circuit, over-range, and communication interruption. However, this type of detection primarily answers the question of "whether a sensor has malfunctioned," and the results are usually used for alarms, fault switching, or shutdown. It cannot further determine whether sensor measurements without hard faults are still suitable for control feedback under the current throttling conditions. Especially during throttling valve adjustment, manifold pressure and flow exhibit significant dynamic changes. Sensors may experience slow drift, increased noise, lag in response, or inconsistency with the actual process response. The same measurement error can also have varying degrees of control impact under different operating conditions. Current technology lacks online dynamic verification of sensors based on the actual process response generated by normal throttling control actions, and fails to use the verification results for continuous adjustment of measurement reliability and valve adjustment intensity. This results in minor or dynamic measurement anomalies being difficult to reflect in control decisions in a timely and accurate manner. Summary of the Invention
[0004] To solve the above-mentioned technical problems, the present invention provides an instrument self-test electric throttling manifold control system and control box, the specific technical solution of which is as follows: In a first aspect, one embodiment of the present invention provides an instrument self-testing electric throttling manifold control system, the system comprising: The data acquisition and preliminary inspection module is used to collect multi-source operating data during the operation of the throttling manifold and perform preliminary hard fault detection, eliminating sensor data with hard faults; the multi-source operating data includes pressure data, valve position data and flow data; The reliability assessment and fusion module is used to determine the fluctuation anomaly factor, short-term drift, and long-term baseline deviation of the measured values of each sensor; determine the process response consistency of each sensor based on the consistency between the actual response after valve action in the current control cycle and the expected response determined by historical normal control segments; fuse the fluctuation anomaly factor, the short-term drift, the long-term baseline deviation, and the process response consistency to obtain the dynamic measurement reliability of each sensor; and fuse the measured values of each sensor and its dynamic measurement reliability with the estimated values of the corresponding type of sensor to obtain the comprehensive measurement value of various multi-source operating data. The control intensity adjustment module is used to determine the control sensitivity based on the deviation between the comprehensive measured value of the pressure data and its control target value, and to generate a comprehensive control intensity factor in combination with the flow safety constraint; the comprehensive control intensity factor is used to adjust the control intensity of the PID control in the next control cycle, and output the throttle valve opening command.
[0005] Optionally, the credibility assessment and fusion module includes: The fluctuation anomaly factor of each sensor is determined based on the relative relationship between the first-order difference standard deviation and the first-order difference median of the sensor measurements within the most recently set time window.
[0006] Optionally, the credibility assessment and fusion module further includes: Within the current control cycle, record the valve position change of the throttle valve opening. Select historical normal control segments that are similar to the current control cycle state from the sensor's most recently set historical window. Calculate the pressure response and flow response corresponding to the unit valve position change for each of the selected historical normal control segments. Use the median as the pressure response coefficient and flow response coefficient corresponding to the unit valve position change in the current control cycle. The consistency of process response of each sensor is determined based on the degree of consistency between the actual response of the sensor after valve action in the current control cycle and the expected response determined by the response coefficient.
[0007] Optionally, the filtering criteria for selecting historical normal control segments that are similar to the current control cycle state from the sensor's most recently set historical window include: The valve opening difference, pressure relative range difference, and flow relative range difference all do not exceed the set threshold, and the valves operate in the same direction; Furthermore, when the number of historical normal control segments within the historical window is less than a set threshold, the historical window is extended to a set extension duration to supplement the samples.
[0008] Optionally, the credibility assessment and fusion module further includes: The short-term drift of each sensor is determined based on the slope of the linear fit between the sensor measurements and time within a short time window and the length of the short time window. The long-term baseline deviation of each sensor is determined based on the difference between the expected anchoring reading of the sensor and the actual measured reading of the sensor under preset operating conditions that are the same or similar to the current control cycle operating conditions.
[0009] Optionally, the credibility assessment and fusion module further includes: Comprehensive measurement values for pressure data: Calculate the mean value of the riser pressure sensor measurements that were not removed by hard faults at the current acquisition time; calculate the mean value of the dynamic measurement reliability of the riser pressure sensor that was not removed by hard faults at the current acquisition time, and construct the weight of the mean value of the riser pressure sensor measurements. Obtain the estimated value of the pressure sensor at the current acquisition time; calculate the mean value of the dynamic measurement reliability of the casing pressure sensor that has not been eliminated by hard fault at the current acquisition time, and construct the weight of the estimated value of the pressure sensor. By using two weights to perform a weighted sum of the two values, the comprehensive measurement value of the pressure at the current acquisition time is obtained; Comprehensive measurement values for traffic data: Calculate the mean of the flow sensor measurements that were not removed by hard faults at the current acquisition time; calculate the mean of the dynamic measurement reliability of the flow sensors that were not removed by hard faults at the current acquisition time, and use it as the weight of the mean of the flow sensor measurements. Obtain the estimated value of the flow sensor at the current acquisition time; subtract the weight of the mean of the flow sensor measurements from the value 1 to obtain the weight used as the estimated value of the flow sensor; By using two weights to sum the two values, we can obtain the comprehensive measurement value of the flow rate at the current collection time.
[0010] Optionally, determining the estimated value includes: For pressure data, the estimated value is generated by calculating the casing pressure sensor that was not eliminated by a hard fault at the current acquisition time and combining it with the preset throttling manifold mechanism relationship; The estimated value is determined by the sum of the wellhead casing pressure, drill string internal friction, annular friction, and drill bit nozzle pressure drop. The wellhead casing pressure is calculated from the average value of the casing pressure sensor readings at the current acquisition time that have not been eliminated by hard faults. The drill string internal friction and annular friction are calculated separately according to the Darcy-Weisbach formula and then summed. The friction coefficient is determined by the drilling fluid rheological model combined with the flow regime discrimination. For flow data, the flow rate is calculated by converting the number of pump strokes in the current control cycle or obtained by inverting the throttling pressure drop.
[0011] Optionally, the control intensity adjustment module includes: The control sensitivity of the current control cycle is determined based on the normalized deviation between the comprehensive measured value of the pressure data and its control target value, wherein the control sensitivity increases as the normalized deviation decreases; The comprehensive control strength factor for the current control cycle is determined by the control sensitivity and the flow safety constraint factor. The comprehensive control strength factor decreases as the control sensitivity increases and decreases as the comprehensive measurement value of the flow data falls below the flow safety lower limit.
[0012] Optionally, the control intensity adjustment module further includes using the comprehensive control intensity factor to simultaneously reduce the upper limit of single opening increment, the upper limit of opening change rate, and the proportional gain, and simultaneously adjust the control cycle duration; The single opening increment, opening change rate, and proportional gain decrease as the comprehensive control intensity factor decreases; The control cycle lengthens as the comprehensive control intensity factor decreases; Furthermore, the proportional gain retains the set minimum gain to maintain the minimum adjustment capability; The comprehensive control intensity factor has a basic control intensity lower limit; the control box converts the throttle valve control quantity that is not limited in the current control cycle into the target valve position, and limits the valve position change in the current control cycle to no more than the upper limit of the single opening increment and the opening adjustment rate to no more than the upper limit of the opening change rate.
[0013] Secondly, another embodiment of the present invention provides an instrument self-testing electric throttling manifold control box, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the above-described instrument self-testing electric throttling manifold control system.
[0014] The present invention has at least the following beneficial effects: This invention first verifies the sensor by utilizing the actual pressure and flow response generated by normal throttling action, thus identifying soft faults such as slow drift and increased noise. This integrates static measurement behavior with dynamic process response to form dynamic measurement reliability. Then, the reliability is transformed into control decisions. On one hand, a dual-source fusion framework is used to suppress the influence of any single path's silent deviation on PID feedback based on the fusion of monitoring information from two different paths. On the other hand, a control strength factor is synthesized based on target proximity and flow safety status, automatically conserving power when approaching the target or experiencing flow anomalies, avoiding reverse adjustment or over-control. Finally, this factor is used to dynamically adjust the opening amplitude, rate of change, control cycle, and proportional gain, regulating the strength of PID control and improving the reliability and stability of control under conditions of incomplete sensor failure. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of a module of an electric throttling manifold control system for instrument self-testing, provided as an embodiment of the present invention. Detailed Implementation
[0016] An embodiment of the present invention provides an electric throttling manifold control system for instrument self-testing, as detailed in the following document. Figure 1 The system includes: The data acquisition and preliminary inspection module is used to collect multi-source operating data during the operation of the throttling manifold and perform preliminary hard fault detection, eliminating sensor data with hard faults; the multi-source operating data includes pressure data, valve position data and flow data; The reliability assessment and fusion module is used to determine the fluctuation anomaly factor, short-term drift, and long-term baseline deviation of the measured values of each sensor; determine the process response consistency of each sensor based on the consistency between the actual response after valve action in the current control cycle and the expected response determined by historical normal control segments; fuse the fluctuation anomaly factor, the short-term drift, the long-term baseline deviation, and the process response consistency to obtain the dynamic measurement reliability of each sensor; and fuse the measured values of each sensor and its dynamic measurement reliability with the estimated values of the corresponding type of sensor to obtain the comprehensive measurement value of various multi-source operating data. The control intensity adjustment module is used to determine the control sensitivity based on the deviation between the comprehensive measured value of the pressure data and its control target value, and to generate a comprehensive control intensity factor in combination with the flow safety constraint; the comprehensive control intensity factor is used to adjust the control intensity of the PID control in the next control cycle, and output the throttle valve opening command.
[0017] Specifically, the details of each module are as follows: The data acquisition and preliminary inspection module is used to collect multi-source operating data during the operation of the throttling manifold and perform preliminary hard fault detection, eliminating sensor data with hard faults; the multi-source operating data includes pressure data, valve position data and flow data.
[0018] The multi-source operational data includes pressure data, valve position data, and flow data; the specific acquisition process and method for each type of data are as follows: (1) Pressure Data: A two-wire 4–20mA pressure transmitter installed on the riser and casing manifold is used to collect riser and casing pressure data. The output signal is converted to a digital value via an A / D converter using a hardware fault detection module within the control box. The transmitter should be installed on a pipe section that represents the actual pressure before and after the throttle valve, avoiding locations subject to localized high-speed scouring, strong vibration, or significant pulsation. The sampling frequency is set to 10Hz. Pressure data is stored as floating-point numbers in MPa, retaining three decimal places.
[0019] (2) Valve position data: The actual opening degree of the throttle valve is collected by the valve position detection device. For hydraulic throttle valves, the valve position detection device is usually an angular displacement sensor or linear displacement sensor installed on the valve stem or actuator, outputting a 4–20mA signal; for fully electric throttle valves, the valve position feedback can be directly obtained by the motor encoder through the driver interface. The valve position sampling frequency is 10Hz, and the valve position data is uniformly converted into percentage form to facilitate cross-valve model compatibility.
[0020] (3) Flow data: If an electromagnetic flow meter or turbine flow meter is installed on the outlet pipeline, the flow data will be collected directly using the flow meter. The data sampling frequency is 10Hz, and the unit is uniformly converted to L / s.
[0021] (4) Auxiliary parameters: Operating parameters including mud density, drilling fluid rheological parameters, number and individual diameter of drill bit nozzles, and wellbore structural parameters (well diameter or casing inner diameter, drill pipe and drill collar outer diameter, and length of each section) are collected simultaneously for subsequent pressure estimation. Furthermore, pump surge signals, pump displacement per surge, and pump efficiency are only collected separately when the flow rate estimate is calculated using pump surge conversion.
[0022] For 4–20 mA analog signals, the acquisition module should have at least 16-bit resolution; for digital pressure / flow transmitters, data should be read via HART, RS-485 / Modbus RTU, or the industrial Ethernet interface specified by the equipment manufacturer. Communication status, timestamps, and quality codes are recorded synchronously with the measured values for subsequent hard fault detection and reliability evaluation.
[0023] In addition, a preliminary hard fault detection is performed on the multi-source operating data collected during the operation of the throttling manifold, and sensor data with hard faults are removed. The specific method is as follows: According to the NAMUR NE43 recommendation standard, a loop current I < 3.6mA is considered an open circuit, and I > 21mA is considered a short circuit. An over-range test is defined as the converted engineering quantity value exceeding ±5% of the transmitter's nominal range. Communication is considered interrupted when no valid data frame is received for three consecutive control cycles (the control cycle is set to 100ms in this embodiment, maintaining an integer multiple of the control cycle to avoid false rejections due to single-cycle jitter). The sampling period for hard fault detection is 100ms, executed synchronously with normal data acquisition.
[0024] It should be noted that each measured object can be configured with one or more sensors of the same type. When multiple sensors of the same type are configured for the same measured object, each sensor should measure the same pressure node, that is, be installed on a straight pipe section in the same pressure tapping zone, have the same nominal pressure rating, and preferably be at the same elevation, so that the actual pressure corresponding to each sensor is consistent; at the same time, each sensor is required to use an independent power supply branch and signal circuit. The number of sensors of the same type can be set by the implementer according to the specific scenario, which will not be elaborated further in this invention.
[0025] The reliability assessment and fusion module is used to determine the fluctuation anomaly factor, short-term drift, and long-term baseline deviation of the measured values of each sensor; to determine the process response consistency of each sensor based on the consistency between the actual response after valve action in the current control cycle and the expected response determined by historical normal control segments; to fuse the fluctuation anomaly factor, the short-term drift, the long-term baseline deviation, and the process response consistency to obtain the dynamic measurement reliability of each sensor; and to fuse the measured values of each sensor and its dynamic measurement reliability with the estimated values of the corresponding type of sensor to obtain the comprehensive measurement value of various multi-source operating data.
[0026] Existing self-diagnostic electric throttling manifolds primarily focus on obvious hard faults such as sensor disconnection, short circuit, over-range, and communication interruption. These hard faults can be used to determine alarms, fault switching, or shutdown. However, even without hard faults, sensor measurement data can exhibit certain deviations, and these deviations can have varying degrees of control impact under different operating conditions, thus affecting the control accuracy of the well control process. Therefore, it is necessary to dynamically adjust the control intensity based on changes in sensor measurement data during throttling control to improve the reliability and stability of control under conditions of partial sensor failure.
[0027] Step 1: Determine the fluctuation anomaly factor of each sensor based on the relative relationship between the first-order difference standard deviation and the first-order difference median of the sensor measurements within the most recently set time window.
[0028] For sensors with normal output signals, measurement data alone is insufficient to reflect the true manifold status. During throttle valve operation, the valve opening alters the effective flow area and local flow resistance of the throttling section, thus changing the pressure distribution before and after throttling and the flow rate through the throttling manifold. Consequently, the actual pressure and flow rate measurements should exhibit changes with a specific direction and amplitude within a timescale matching the valve's operation. Therefore, the throttle valve's operation during normal control can be used as a natural excitation to measure changes within the control process.
[0029] Accordingly, the present invention first determines the fluctuation anomaly factor of each sensor based on the relative relationship between the first-order difference standard deviation and the first-order difference median of the sensor measurement values within the most recently set time window.
[0030] With sensors Fluctuation anomaly factor For example, the specific calculation method is as follows: ; In the formula, exp is an exponential function with the natural constant e as the base. It is a sensor Recently, the first-order difference standard deviation of the measured values was set within the time window. It should be noted that the length of the time window can be extended according to the actual control cycle, but it is recommended to be 10 control cycles or more so as to distinguish between short-term noise and continuous changes. In this invention, a window length of 30 seconds is used. It is a sensor The first-order difference median of the recent time window was set. It is a sensor The theoretical range, This indicates the reference range for the change in measurement range corresponding to 1% of the range.
[0031] It should also be noted that the use of an exponential function here satisfies the following conditions: the outlier factor is 0 when there is no fluctuation, the factor is higher when the fluctuation is greater, and there is a bounded constraint on the output.
[0032] Understandably, the first-order difference eliminates the influence of the absolute magnitude of the measured value on the judgment of fluctuation. Reflecting the dispersion of measured changes over a short period, the median has the ability to resist outliers (outliers) and can, to some extent, resist the interference of individual outliers on trend estimation, thus yielding the volatility anomaly factor. It measures the normalized strength of the fluctuating energy relative to the actual trend of change, when the throttling process itself is changing rapidly ( Large (or large) absolute jitter within a certain range is considered normal background noise. The values are relatively low; while the measured values are basically stable ( If significant jitter still occurs even when the value approaches 0, the jitter is more likely due to a sensor malfunction. Too high.
[0033] Step 2: Within the current control cycle, record the valve position change of the throttle valve opening. Select historical normal control segments from the sensor's most recently set historical window that are similar to the current control cycle state. Calculate the pressure response and flow response corresponding to a unit valve position change for each of the selected historical normal control segments. Use the median as the pressure response coefficient and flow response coefficient corresponding to a unit valve position change in the current control cycle. Determine the consistency of the process response of each sensor based on the degree of consistency between the actual response of the sensor after valve action in the current control cycle and the expected response determined by the response coefficient.
[0034] Subsequently, within the current control cycle, the valve position change is recorded as a result of the change in throttle valve opening. The expected pressure / flow response under the current operating condition does not employ a fixed valve gain. Instead, a local response benchmark is obtained from historical normal control segments within the most recently set historical window of the current control cycle that are similar to the current state under the current control cycle. The historical window length is set to 20–60 minutes (30 minutes in this invention) to match the typical frequency of valve action in throttling manifold pressure regulation (approximately once every 1–5 minutes), allowing a sufficient number of similar segments to accumulate within the window. If the window is too short, there will be insufficient similar segments and the median estimation will be unstable; if the window is too long, the operating condition drift will render the "similarity" premise invalid.
[0035] The selection criteria for similar segments include: valve opening differences not exceeding 5 percentage points, relative pressure range differences not exceeding 5%, relative flow range differences not exceeding 10%, and valve movement directions being the same. Segments meeting these criteria within the most recently set historical window constitute the historical segment set for that window. The minimum threshold for the number of historical normal control segments within the historical window is set to 3-10 (5 in this invention) to ensure statistical stability of the median estimate and suppress occasional abnormal segments. If the number of historical normal control segments within 30 minutes is less than the minimum threshold, the historical window is extended to 1-4 hours (2 hours in this invention, with 4 hours as the maximum extension window) to supplement the sample. The upper limit of the extension is used to avoid the similarity assumption being violated by operating condition drift.
[0036] Collection of historical fragments For each historical normal control segment, the pressure and flow responses corresponding to a unit valve position change are calculated, and the median is used as the pressure and flow response coefficients corresponding to a unit valve position change in the current control cycle, thereby reducing the impact of abnormal historical segments on the baseline. The specific expressions are as follows: In the formula, It is the pressure response coefficient corresponding to a unit valve position change under the current control cycle. It is the flow response coefficient corresponding to a unit valve position change in the current control cycle. , , These are historical normal control segments from the historical segment set of the current control cycle. The pressure, flow rate, and actual valve position changes are recorded. It is a median function. It is a set of historical segments of the current control cycle, and the formula uses a function that takes the maximum value. The minimum valve position scale of 1 percentage point is used to set the lower limit of the denominator, which is used to ensure that the dynamic proportional law remains unchanged under normal opening changes while preventing zero opening. And within this... , These are denoted as the pressure response and flow response corresponding to a unit change in valve position.
[0037] It is worth noting that if the number of valid historical fragments meeting the conditions within the maximum extended window (e.g., 4 hours) is still insufficient to meet the set threshold, the response coefficients from the last successful calculation will be directly maintained. and The value remains unchanged; if it is the initial startup phase of the system, the empirical response coefficient value during device calibration is used.
[0038] It is understandable that changes in the opening of a throttle valve will affect changes in pressure and flow. Therefore, the above formula measures the changes in manifold pressure and flow caused by each percentage point change in the actual opening of the throttle valve under the same operating conditions. The ratio eliminates the influence of different valve action amplitudes, and the median can be used to suppress occasional abnormal segments.
[0039] Based on the above response coefficients, the consistency of the process response of each sensor can be determined by the degree of consistency between the actual response after the valve action in the current control cycle and the expected response determined by the historical normal control segments, thus measuring the drift of the sensors.
[0040] In this embodiment, the sensor is activated after the valve operates in the current control cycle. Process response consistency Taking the calculation method as an example, the specific expression is: ;in, ; In the formula, The sensor is in the current control cycle. The response deviation of the measured physical quantity The sensor is in the current control cycle. The change in the measured physical quantity after the valve is actuated. The sensor is in the current control cycle. The change in valve position after valve actuation. It is a sensor The theoretical range, It is a sensor The corresponding response coefficient, when the sensor When collecting pressure data, When the sensor When collecting traffic data, .
[0041] Understandably, through The calculation yielded It measures the relative deviation between the change in sensor measurements and the expected change in current operating conditions; the larger the deviation, the better. The smaller.
[0042] It is worth noting that after the system is powered on and initialized, and before the first valve action that meets the amplitude requirements occurs, the default value for the process response consistency of all valid sensors is 1.
[0043] Step 3: Determine the short-term drift of each sensor based on the slope of the linear fit of the sensor measurements to time within the short time window and the length of the short time window; determine the long-term baseline deviation of each sensor based on the difference between the expected anchoring reading of the sensor under the preset operating conditions that are the same or similar to the current control cycle operating conditions and the actual measured reading of the sensor.
[0044] The above calculation , The "short-term sliding baseline" is obtained by statistical analysis of historical normal control segments. It can be used to detect abrupt anomalies. However, this baseline has a "baseline following" problem. That is, when the sensor drifts slowly, the newly acquired measured value will participate in the baseline update with the drift deviation, causing the expected response to drift. Therefore, a baseline that can be anchored for a long time is also needed.
[0045] Accordingly, this embodiment is aimed at the sensor The short-term drift and long-term baseline deviation are calculated using the following method: In the formula, It is a sensor Short-term drift, It refers to the sensor data within a short time window (30 seconds) before the current acquisition time (i.e., the last acquisition time of the current control cycle). The slope of the linear fit of the measured value to time. It is the length of the short time window preceding the current data collection time. It is a sensor Theoretical range; It is a sensor The long-term baseline deviation. The sensor at the current acquisition time The measured readings Preset operating condition sensors under conditions similar to or the same as the current control cycle operating conditions. The anchored expected reading is specifically determined by selecting multiple typical operating conditions (covering different valve positions and pressure levels) after equipment maintenance or in the initial stage of operation, recording the stable readings of each sensor under each operating condition, and forming a "operating condition → expected reading" mapping table. During operation, the current expected reading is obtained by interpolating from this table based on the current control cycle operating condition (characterized by parameters such as valve position, pressure level, and flow range collected by the data acquisition and initial inspection module), which serves as the anchored expected reading for the sensor under the same or similar conditions as the current control cycle operating condition.
[0046] Understandable It represents the drift amplitude of the reading itself within the most recent window, while By comparing the readings with the expected values under the initial optimal sensor conditions, it becomes clear that a unidirectional shift in the reading does not necessarily indicate sensor drift. For example, when valves are activated, wellhead flow conditions change, or other process quantities undergo real changes, the readings will also shift in one direction and produce significant fluctuations. Therefore, through with Combine, The current reading was compared with the anchored expected reading under “same or similar operating conditions”, thereby distinguishing “reading shift caused by actual process changes” from “sensor’s own reference drift”. The two types of evidence cover different drift time scales.
[0047] Step 4: The fluctuation anomaly factor, the process response consistency, the short-term drift, and the long-term baseline deviation are fused to obtain the dynamic measurement reliability of each sensor.
[0048] In this embodiment, the sensor Reliability of dynamic measurement The calculation method is as follows: .
[0049] Understandably, the measure of volatility and measures of long-term and short-term baseline drift , It describes the time series variation characteristics of the sensor itself, and the consistency of the process response. The characteristics of the sensor following the actual throttling process are described. Both of these characteristics reflect whether the measured value truly follows the changes in the manifold state. Therefore, the reliability of the sensor's dynamic measurement can be quantified by fusion.
[0050] Step 5: The measured values and dynamic measurement reliability of each sensor are fused with the estimated values of the corresponding type of sensor to obtain the comprehensive measurement values of various multi-source operating data.
[0051] The above content quantifies the reliability of the sensor's dynamic measurements. However, the level of reliability does not imply the absolute impact of the data on current control risks, as the impact of different locations and different data may vary. For example, the same measurement error may not change the control direction when far from the target value, but may directly change the valve's action direction near the target pressure. Therefore, further analysis is needed to determine the sensitivity of the operating conditions under the current control cycle to measurement errors.
[0052] Since throttling control is a closed-loop process, the controller determines the valve opening based on the deviation between the measured pressure / flow rate and the target value. For example, if the current pressure differs significantly from the target pressure, a small measurement error typically only changes the adjustment range; however, when the pressure approaches the target value, the same error may cause the controller to switch between increasing and decreasing the opening. Therefore, the reliability of the sensor's dynamic measurement must work in conjunction with the current control sensitivity.
[0053] Accordingly, the present invention fuses the measured values and dynamic measurement reliability of each sensor with the estimated values of the corresponding type of sensor to obtain the comprehensive measurement values of various multi-source operating data.
[0054] For the comprehensive measurement value of pressure data: calculate the mean value of the riser pressure sensor measurements that were not eliminated by hard faults at the current acquisition time; calculate the mean value of the dynamic measurement reliability of the riser pressure sensor measurements that were not eliminated by hard faults at the current acquisition time, and construct the weight of the mean value of the riser pressure sensor measurements; obtain the estimated value of the pressure sensor at the current acquisition time; calculate the mean value of the dynamic measurement reliability of the sleeve pressure sensor measurements that were not eliminated by hard faults at the current acquisition time, and construct the weight of the estimated value of the pressure sensor; use the two weights to perform a weighted summation of the two values to obtain the comprehensive measurement value of pressure at the current acquisition time.
[0055] Specifically, for the estimated pressure data, the estimated value is generated by calculating the casing pressure sensor that was not eliminated by hard faults at the current acquisition time, combined with the preset choke manifold mechanism relationship. The estimated value is determined by the sum of the wellhead casing pressure, drill string internal friction, annular friction, and drill bit nozzle pressure drop. The wellhead casing pressure is calculated by the average value of the measured values of the casing pressure sensor that was not eliminated by hard faults at the current acquisition time. The drill string internal friction and annular friction are calculated separately according to the Darcy-Weisbach formula and then accumulated. The friction coefficient is determined by the drilling fluid rheological model combined with the flow regime discrimination.
[0056] For the comprehensive measurement value of flow data: calculate the mean value of flow sensor measurements that were not eliminated by hard faults at the current acquisition time; calculate the mean value of dynamic measurement reliability of flow sensors that were not eliminated by hard faults at the current acquisition time, and use it as the weight of the mean value of the flow sensor measurements; obtain the estimated value of the flow sensor at the current acquisition time; subtract the weight of the mean value of the flow sensor measurements from the value 1 to obtain the weight of the estimated value of the flow sensor; use the two weights to perform a weighted sum of the two values to obtain the comprehensive measurement value of flow at the current acquisition time.
[0057] Specifically, the estimated flow rate is obtained by converting the flow rate into the number of pump strokes in the current control cycle or by inverting the throttling pressure drop.
[0058] Specifically, this embodiment first calculates the comprehensive measurement value of the pressure data sent to the controller. This invention employs a unified virtual sensor fusion framework: the estimated value is treated as a single virtual sensor, and included in the same fusion formula along with all valid physical sensors (the remaining sensors not eliminated by hard faults), thus avoiding any switching when the number of sensors changes. In this embodiment, the comprehensive pressure measurement value at the current acquisition moment is... The calculation method is as follows: In the formula, min is the minimum value function. This represents the average value of the riser pressure sensor measurements that were not removed due to hard faults at the current acquisition time. This represents the average dynamic measurement reliability of riser pressure sensors that were not eliminated by hard faults at the current acquisition time. This is an estimated value generated by combining the casing pressure sensor that was not eliminated by a hard fault at the current acquisition time with the preset choke manifold mechanism relationship. It is the sum of the wellhead casing pressure, drill string friction, annular friction, and drill bit nozzle pressure drop. The wellhead casing pressure is calculated from the average value of the casing pressure sensor that was not eliminated by a hard fault at the current acquisition time. The drill string friction and annular friction are calculated by the Darcy-Weisbach formula. The friction coefficients of the two are determined by the drilling fluid rheological model combined with the flow regime discrimination, and are calculated and accumulated in segments according to the drill pipe section and drill collar section. The calculation of drill bit nozzle pressure drop is one of the basic formulas of drilling hydraulics, which will not be elaborated further. This is the average dynamic measurement reliability of the casing pressure sensors that have not been eliminated by hard faults at the current acquisition time. Among them, [the following is included]... As The weight will As The weight.
[0059] It should be noted that during the calculation of the comprehensive pressure measurement value, , If any sensor corresponding to any item in the calculation cannot be used to calculate a value due to a hard fault, the other item is directly used as the comprehensive measurement value with a weight of 1. When both are removed, an alarm prompts for manual verification. When the dynamic measurement reliability of the actual physical sensor that was not removed and the dynamic measurement reliability of the sensor used to generate the estimate are both zero, the fusion calculation stops and the system is triggered to enter the safety hold mode.
[0060] It should be noted that the comprehensive measurement value of the flow rate at the current collection time is obtained using the same calculation method for flow rate data. Among them, targeting The flow data is determined by the average of the flow sensor measurements that were not removed by hard faults at the current acquisition time; for The flow data is determined using the average dynamic measurement reliability of flow sensors that have not been removed by hard faults at the current acquisition time; for Flow data is estimated indirectly by either converting the number of pump strokes in the current control cycle into flow rate (flow rate = pump cross-sectional area × stroke × number of strokes) or by inverting the flow rate through throttling pressure drop (the core basis is that there is a definite relationship between the pressure difference before and after throttling and the flow rate, that is, the larger the pressure difference, the larger the flow rate). These two indirect flow rate calculation methods are well-known technologies in the fields of oil and gas exploration, oil drilling, and oil production, and will not be elaborated further. The flow data is obtained by subtracting the mean of the dynamic measurement reliability of flow sensors that were not eliminated by hard faults at the current acquisition time from the value 1.
[0061] It is worth noting that, based on the aforementioned calculation of the reliability of sensor dynamic measurements, The minimum value in the denominator of the formula will not be zero in either of its two parts.
[0062] Understandably, especially when configuring a single riser pressure transmitter, when non-fault-related performance degradation such as slow drift occurs, it will continuously make erroneous adjustments based on distorted feedback. The calculation reduces the dominance of single-path measurement anomalies on the final pressure feedback value by introducing an estimate derived from casing pressure plus annular friction.
[0063] For stress-related Primarily used as pressure feedback value for PID controllers, and for flow-related parameters. It is mainly used for traffic monitoring and cross-validation.
[0064] The control intensity adjustment module is used to determine the control sensitivity based on the deviation between the comprehensive measured value of the pressure data and its control target value, and to generate a comprehensive control intensity factor in combination with the flow safety constraint; the comprehensive control intensity factor is used to adjust the control intensity of the PID control in the next control cycle, and output the throttle valve opening command.
[0065] Step 1: Determine the control sensitivity of the current control cycle based on the normalized deviation between the comprehensive measured value of the pressure data and its control target value. The control sensitivity increases as the normalized deviation decreases.
[0066] Next, the sensitivity of the control needs to be quantified to synthesize the measured values. The normalized deviation from the target value indicates whether the current position is near the target, and determines the control sensitivity of the current control cycle. The control sensitivity increases as the normalization deviation decreases. In this embodiment, the specific calculation method is as follows: In the formula, exp is an exponential function with the natural constant e as the base. This represents the target pressure control value at the current data acquisition moment. It should be noted that in choke manifold / well control practice, the primary control variable is the riser pressure; therefore, the value here... It is the target value for controlling riser pressure. This represents the theoretical range of the pressure sensor.
[0067] It should be noted that the reason for using exponential decay in the formula is that the effect of measurement error on the control direction and adjustment amount usually increases rapidly near the target value, causing the sensitivity near the target to increase continuously.
[0068] The calculation is based solely on pressure-related fusion values because pressure is the primary control variable in throttling manifolds. When the pressure is close to the target, measurement errors are more likely to change the valve's direction of action, while flow rate is a monitored quantity rather than a primary control feedback in this scenario.
[0069] Understandably, when When the pressure is very low, the controller is in the fine adjustment range, and measurement errors are more likely to alter valve action; when the deviation is much greater than 5% of the pressure range, the control direction is usually clear, and the impact of measurement errors on the control direction is relatively small. Therefore... This reflects the sensitivity of pressure control to measurement reliability at the current data acquisition moment.
[0070] Step 2: The comprehensive control strength factor for the current control cycle is determined by the control sensitivity and the flow safety constraint factor. The comprehensive control strength factor decreases as the control sensitivity increases and decreases as the comprehensive measurement value of the flow data falls below the flow safety lower limit.
[0071] Furthermore, based on the control sensitivity of the current control cycle The control intensity is adjusted, and cross-validation is performed using comprehensive measurements of flow data. In this embodiment, the specific calculation method is as follows: In the formula, It is the comprehensive control intensity factor for the current control cycle, and max is the maximum value function. This is the lower limit of the basic control strength. In this invention, it is set to 0.3 to ensure that at least 30% of the control strength is retained. It is a comprehensive measurement of the flow rate at the current data collection moment. This is the lower limit of safe flow rate, which can be set according to project needs. For example, a minimum displacement of 5L / s can be set, and a warning will be given if the flow rate is lower than this value, indicating possible blockage / air intrusion.
[0072] It should be noted that the comprehensive control intensity factor has a lower limit for basic control intensity. When the riser pressure sensor is knocked out by a hard fault, while the bushing pressure sensor is normal, then... , When both riser and sleeve pressure sensors are unavailable, normal closed-loop control is stopped and a safety mode is entered (only preset small-scale safety adjustments or maintaining the current valve position are allowed).
[0073] Understandably, the first part measures the sensitivity of the control conditions on the pressure side; the closer to the control target, the better. The larger the value, the more cautious the adjustment needs to be to avoid reverse adjustment; therefore, the smaller the first half should be. Meanwhile, the second half serves as a flow safety constraint to implement flow monitoring and cross-validation when the fused flow value falls below the safety lower limit set by the engineering project. (This may indicate a stuck throttle valve, blocked manifold, or gas intrusion.) The overall level is suppressed. The two-factor multiplication method means that "an anomaly on either side triggers conservatism".
[0074] Subsequent use The synchronous contraction of the four-degree-of-freedom adjustment (single opening increment, rate of change, control cycle, and proportional gain) makes the control action tend to be dulled when the data is unreliable or the flow is abnormal, thus avoiding drastic adjustments based on distorted feedback or dangerous operating conditions.
[0075] Step 3: Use the comprehensive control strength factor to adjust the control strength of the PID control in the next control cycle and output the throttle valve opening command.
[0076] The control intensity adjustment module further includes using the comprehensive control intensity factor to simultaneously reduce the upper limit of single opening increment, the upper limit of opening change rate, and the proportional gain, while simultaneously adjusting the control cycle duration; wherein the single opening increment, opening change rate, and proportional gain decrease as the comprehensive control intensity factor decreases; the control cycle lengthens as the comprehensive control intensity factor decreases; and the proportional gain retains the set minimum gain to maintain the minimum adjustment capability.
[0077] The comprehensive control intensity factor has a basic control intensity lower limit. The control box converts the throttle valve control quantity that is not limited in the current control cycle into the target valve position, and limits the valve position change in the current control cycle to no more than the upper limit of the single opening increment and the opening adjustment rate to no more than the upper limit of the opening change rate.
[0078] In this embodiment, the method for adjusting the control intensity of PID control in the next control cycle using a comprehensive control intensity factor and outputting the throttle valve opening command is as follows: The pressure measurement value obtained according to the reliability assessment and fusion module method is used as the main feedback input of the PID controller. The flow measurement value is used for flow over-limit alarm and cross-verification with pressure response. PID control is adopted, and the target value is the pressure control target value of the riser. : For the first Pressure control deviation per control cycle For the first Pressure control target value for each control cycle For the first The comprehensive measurement value of pressure at the last acquisition moment of each control cycle; For the first The throttle valve control quantity that is not limited in a single control cycle , , For PID parameters, where When credibility decreases, it can be due to The reduction was achieved through equipment commissioning and testing, among which , The method for obtaining the parameters is as follows: During initial commissioning, the Ziegler-Nichols step response method (response curve method) is used to determine the reference control parameters based on the pressure response under small-amplitude step action of the throttle valve. , , ; , according to , The calculation yielded that, , The Ziegler-Nichols step response method will not be changed in the analysis of each subsequent control cycle. As a well-known technique, it will not be described in detail here. For the first The adjusted control cycle duration. For the first The adjusted control cycle duration, when reliability decreases... can be Adjust the original control cycle duration Later extended, We take 0.1s. PID control is a well-known technology, so we won't go into details.
[0079] In PID control, when data is unreliable or abnormal, large adjustments based on distorted feedback may push the system out of the safe zone. Therefore, it is necessary to adjust the control strength. This can be achieved by simultaneously reducing the opening amplitude, rate, period, and gain, thus "passivating" the control action and ensuring that even if the feedback is erroneous, the disturbance is kept within a safe range. The specific adjustment method is as follows: in This is the upper limit of the single opening increment. The maximum valve position change in a single control cycle (the value in this embodiment is...) ), This represents the upper limit of the rate of change of the opening degree. This is the upper limit of the rated opening change rate (in this embodiment, the value is 5% / s, i.e., 5% per second). To control the cycle duration, A very small positive constant (e.g., 0.01) is preset for the system and used in... In extreme operating conditions where the control parameters are forcibly approximated or assigned to zero, a maximum physical boundary limit is set to delay the control cycle to prevent division by zero overflow during control parameter calculations. For proportional gain, The rated proportional gain (in this embodiment, the value is 1.5% / MPa, i.e., 1.5% per MPa).
[0080] The control box will be the first Unlimited throttle valve control quantity in each control cycle Convert to the first The target valve position for the first control cycle, and the limit for the first... The valve position change in each control cycle shall not exceed the upper limit of the single opening increment. The opening adjustment rate shall not exceed the upper limit of the opening change rate. .
[0081] In addition, the electric throttling manifold control system also includes: a display and operation module, an electric hydraulic pump station and drive module, and a power supply and protection module.
[0082] The display and operation module presents data such as pressure, valve opening, and pump count of the three mud pumps through digital instruments, and provides manual / automatic switching. An electric hydraulic pump station and drive module drive a throttle valve switch with a constant flow output; The power supply and protection module consists of a main power supply, a backup power supply, and units for explosion protection, dehumidification and heating, phase loss protection, and automatic phase sequence adjustment.
[0083] Based on the same inventive concept as the above-described instrument self-testing electric throttling manifold control system, another embodiment of the present invention provides an instrument self-testing electric throttling manifold control box, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the above-described instrument self-testing electric throttling manifold control system.
Claims
1. A self-testing electric throttling manifold control system, characterized in that, The system includes: The data acquisition and preliminary inspection module is used to collect multi-source operating data during the operation of the throttling manifold and perform preliminary hard fault detection, eliminating sensor data with hard faults; the multi-source operating data includes pressure data, valve position data and flow data; The reliability assessment and fusion module is used to determine the fluctuation anomaly factor, short-term drift, and long-term baseline deviation of the measured values of each sensor; determine the process response consistency of each sensor based on the consistency between the actual response after valve action in the current control cycle and the expected response determined by historical normal control segments; fuse the fluctuation anomaly factor, the short-term drift, the long-term baseline deviation, and the process response consistency to obtain the dynamic measurement reliability of each sensor; and fuse the measured values of each sensor and its dynamic measurement reliability with the estimated values of the corresponding type of sensor to obtain the comprehensive measurement value of various multi-source operating data. The control intensity adjustment module is used to determine the control sensitivity based on the deviation between the comprehensive measured value of the pressure data and its control target value, and to generate a comprehensive control intensity factor in combination with the flow safety constraint; the comprehensive control intensity factor is used to adjust the control intensity of the PID control in the next control cycle, and output the throttle valve opening command.
2. The instrument self-testing electric throttling manifold control system as described in claim 1, characterized in that, The credibility assessment and fusion module includes: The fluctuation anomaly factor of each sensor is determined based on the relative relationship between the first-order difference standard deviation and the first-order difference median of the sensor measurements within the most recently set time window.
3. The instrument self-testing electric throttling manifold control system as described in claim 2, characterized in that, The credibility assessment and fusion module also includes: Within the current control cycle, record the valve position change of the throttle valve opening. Select historical normal control segments that are similar to the current control cycle state from the sensor's most recently set historical window. Calculate the pressure response and flow response corresponding to the unit valve position change for each of the selected historical normal control segments. Use the median as the pressure response coefficient and flow response coefficient corresponding to the unit valve position change in the current control cycle. The consistency of process response of each sensor is determined based on the degree of consistency between the actual response of the sensor after valve action in the current control cycle and the expected response determined by the response coefficient.
4. The instrument self-testing electric throttling manifold control system as described in claim 3, characterized in that, The filtering criteria for selecting historical normal control segments that are similar to the current control cycle state from the sensor's most recently set historical window include: The valve opening difference, pressure relative range difference, and flow relative range difference all do not exceed the set threshold, and the valves operate in the same direction; Furthermore, when the number of historical normal control segments within the historical window is less than a set threshold, the historical window is extended to a set extension duration to supplement the samples.
5. The instrument self-testing electric throttling manifold control system as described in claim 3, characterized in that, The credibility assessment and fusion module also includes: The short-term drift of each sensor is determined based on the slope of the linear fit between the sensor measurements and time within a short time window and the length of the short time window. The long-term baseline deviation of each sensor is determined based on the difference between the expected anchoring reading of the sensor and the actual measured reading of the sensor under preset operating conditions that are the same or similar to the current control cycle operating conditions.
6. The instrument self-testing electric throttling manifold control system as described in claim 5, characterized in that, The credibility assessment and fusion module also includes: Comprehensive measurement values for pressure data: Calculate the mean value of the riser pressure sensor measurements that were not removed by hard faults at the current acquisition time; calculate the mean value of the dynamic measurement reliability of the riser pressure sensor that was not removed by hard faults at the current acquisition time, and construct the weight of the mean value of the riser pressure sensor measurements. Obtain the estimated value of the pressure sensor at the current acquisition time; calculate the mean value of the dynamic measurement reliability of the casing pressure sensor that has not been eliminated by hard fault at the current acquisition time, and construct the weight of the estimated value of the pressure sensor. By using two weights to perform a weighted sum of the two values, the comprehensive measurement value of the pressure at the current acquisition time is obtained; Comprehensive measurement values for traffic data: Calculate the mean of the flow sensor measurements that were not removed by hard faults at the current acquisition time; calculate the mean of the dynamic measurement reliability of the flow sensors that were not removed by hard faults at the current acquisition time, and use it as the weight of the mean of the flow sensor measurements. Obtain the estimated value of the flow sensor at the current acquisition time; subtract the weight of the mean of the flow sensor measurements from the value 1 to obtain the weight used as the estimated value of the flow sensor; By using two weights to sum the two values, we can obtain the comprehensive measurement value of the flow rate at the current collection time.
7. The instrument self-testing electric throttling manifold control system as described in claim 6, characterized in that, The determination of the estimated value includes: For pressure data, the estimated value is generated by calculating the casing pressure sensor that was not eliminated by a hard fault at the current acquisition time and combining it with the preset throttling manifold mechanism relationship; The estimated value is determined by the sum of the wellhead casing pressure, drill string internal friction, annular friction, and drill bit nozzle pressure drop. The wellhead casing pressure is calculated from the average value of the casing pressure sensor readings at the current acquisition time that have not been eliminated by hard faults. The drill string internal friction and annular friction are calculated separately according to the Darcy-Weisbach formula and then summed. The friction coefficient is determined by the drilling fluid rheological model combined with the flow regime discrimination. For flow data, the flow rate is calculated by converting the number of pump strokes in the current control cycle or obtained by inverting the throttling pressure drop.
8. The instrument self-test electric throttling manifold control system as described in claim 1, characterized in that, The control intensity adjustment module includes: The control sensitivity of the current control cycle is determined based on the normalized deviation between the comprehensive measured value of the pressure data and its control target value, wherein the control sensitivity increases as the normalized deviation decreases; The comprehensive control strength factor for the current control cycle is determined by the control sensitivity and the flow safety constraint factor. The comprehensive control strength factor decreases as the control sensitivity increases and decreases as the comprehensive measurement value of the flow data falls below the flow safety lower limit.
9. The instrument self-testing electric throttling manifold control system as described in claim 1, characterized in that, The control intensity adjustment module also includes using the comprehensive control intensity factor to simultaneously reduce the upper limit of single opening increment, the upper limit of opening change rate, and the proportional gain, and simultaneously adjust the control cycle duration. The single opening increment, opening change rate, and proportional gain decrease as the comprehensive control intensity factor decreases; The control cycle lengthens as the comprehensive control intensity factor decreases; Furthermore, the proportional gain retains the set minimum gain to maintain the minimum adjustment capability; The comprehensive control intensity factor has a basic control intensity lower limit; the control box converts the throttle valve control quantity that is not limited in the current control cycle into the target valve position, and limits the valve position change in the current control cycle to no more than the upper limit of the single opening increment and the opening adjustment rate to no more than the upper limit of the opening change rate.
10. A self-testing electric throttling manifold control box, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements an instrument self-testing electric throttling manifold control system as described in any one of claims 1-9.
