A method and system for regulating pressure of a micro-pressure oxygen-enriched cabin and a medium
By employing a multi-mode switching valve control strategy and PID control in the low-pressure oxygen-enriched chamber, combined with an electric regulating valve, rapid response and high-precision pressure regulation are achieved. This solves the problems of low regulation accuracy and slow response in the pressure regulation system, and meets the requirements for a stable and comfortable oxygen chamber environment over a long period of time.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FEDERAL MEDICAL TREATMENT ENG CO LTD CHENGDU
- Filing Date
- 2026-03-02
- Publication Date
- 2026-05-29
AI Technical Summary
The pressure regulation system of a low-pressure oxygen-enriched chamber has low adjustment accuracy and slow response, making it difficult to meet the requirements of a stable and comfortable oxygen chamber environment over a long period of time.
A multi-mode valve control strategy is adopted, including a first control mode, a second control mode, and a third control mode. Combined with a PID control mode, the corresponding valve control mode is matched according to the absolute value of the deviation between the real-time pressure value in the chamber and the target pressure set value. The electric regulating valve enables rapid response, fine adjustment, and stable maintenance.
It improves the pressure regulation accuracy and response speed of the micro-pressure oxygen-enriched chamber, meets the requirements of a stable and comfortable oxygen chamber environment for a long time, avoids the contradiction between speed and stability in a single control mode, and optimizes the dynamic performance of the system.
Smart Images

Figure CN122111121A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of micro-pressure oxygen-enriched chamber technology, specifically to a pressure regulation method, system, and medium for a micro-pressure oxygen-enriched chamber. Background Technology
[0002] A micro-pressure oxygen-enriched chamber is a sealed device that continuously supplies fresh air and high concentrations of oxygen into the chamber to maintain a specific micro-pressure and oxygen-enriched environment. It is widely used in health centers, sports rehabilitation institutions, beauty salons, and homes.
[0003] The pressure regulation system of low-pressure oxygen-enriched chambers mostly adopts mechanical regulation or simple switch control, which has defects such as low regulation accuracy and slow response, making it difficult to meet the requirements of a stable and comfortable oxygen chamber environment for a long time. Summary of the Invention
[0004] The embodiments of this application provide a pressure regulation method, system and medium for a micro-pressure oxygen-enriched chamber, which aims to improve the pressure regulation accuracy of the micro-pressure oxygen-enriched chamber and the response speed is faster, thereby meeting the requirements of a stable and comfortable oxygen chamber environment for a long time.
[0005] In a first aspect, embodiments of this application provide a pressure regulation method for a micro-pressure oxygen-enriched chamber, the pressure regulation method comprising:
[0006] Obtain the real-time pressure value inside the low-pressure oxygen-enriched chamber;
[0007] The absolute value of the pressure deviation is determined based on the real-time pressure value inside the cabin and the target pressure setting value.
[0008] Based on the absolute value of the pressure deviation, a corresponding valve control mode is determined. The valve control mode includes at least one of a first control mode, a second control mode, and a third control mode. The first control mode is used to control the valve to be fully open or fully closed. The second control mode is a PID control mode. The third control mode is used to keep the valve opening constant.
[0009] According to the valve control mode, the electric regulating valve is controlled, and the electric regulating valve is used to regulate the real-time pressure value inside the chamber.
[0010] In the above embodiments, the absolute value of the pressure deviation is calculated based on the real-time pressure value inside the chamber and the target pressure setpoint, and the corresponding valve control mode is matched accordingly. When the absolute value of the pressure deviation differs, the system employs a first control mode for rapid response, a second control mode (PID control) for fine adjustment, or a third control mode to maintain a constant valve opening to avoid oscillation. This scheme balances the efficiency of coarse adjustment with the accuracy of fine adjustment through multi-mode switching, effectively solving the problem of balancing speed and stability in a single control mode. It improves the pressure regulation accuracy of the micro-pressure oxygen-enriched chamber and offers a faster response speed, thus meeting the requirements for a stable and comfortable oxygen chamber environment over extended periods.
[0011] In one embodiment, determining the corresponding valve control mode based on the absolute value of the pressure deviation includes:
[0012] Obtain a preset first deviation interval, a second deviation interval, and a third deviation interval, wherein each value in the first deviation interval is greater than each value in the second deviation interval, and each value in the second deviation interval is greater than each value in the third deviation interval.
[0013] If the absolute value of the pressure deviation is within the first deviation range, the valve control mode is determined to be the first control mode;
[0014] If the absolute value of the pressure deviation is within the second deviation range, the valve control mode is determined to be the second control mode;
[0015] If the absolute value of the pressure deviation is within the third deviation range, the valve control mode is determined to be the third control mode.
[0016] In some embodiments of this application, the boundary parameters of the above-mentioned deviation range can be preset based on the system structure characteristics, sensor noise level and adjustment experience, or configured during the equipment factory commissioning and maintenance calibration stage.
[0017] In the above embodiments, the pressure regulation process is divided into different stages by pre-setting a first deviation range, a second deviation range, and a third deviation range with decreasing values. When the absolute value of the pressure deviation falls into different ranges, a first control mode is used for rapid response, a second control mode for precise adjustment, or a third control mode for maintaining stability, respectively. This scheme avoids oscillations caused by excessive control at small deviations, while ensuring the adjustment strength at large deviations. It achieves a smooth transition from large-scale adjustment to stable maintenance in the micro-pressure oxygen-enriched chamber, ensuring precise matching between the control logic and the current pressure state.
[0018] In one embodiment, controlling the electric regulating valve according to the valve control mode includes:
[0019] If the valve control mode is the second control mode, the initial valve opening corresponding to the electric regulating valve is determined based on the target pressure set value;
[0020] Adjust the current valve opening of the electric regulating valve to the initial valve opening;
[0021] A PID control strategy is used to adjust the current valve opening of the electric regulating valve.
[0022] In the above embodiment, before activating the second control mode, the initial valve opening is determined in advance based on the target pressure setpoint, and the electric regulating valve is adjusted to that position. This operation introduces a feedforward effect, so that the electric regulating valve is in a physical position close to the target before feedback regulation begins, which significantly reduces the adjustment stroke and time required by the PID control strategy, improves the lag caused by relying solely on feedback regulation, and accelerates the convergence of the real-time pressure value in the cabin to the target pressure setpoint.
[0023] In one embodiment, controlling the electric regulating valve according to the valve control mode further includes:
[0024] The current integral term parameters of the PID control strategy are obtained in real time.
[0025] Based on the current integral term parameters, the value of the initial valve opening is adjusted in real time.
[0026] In the above embodiments, by acquiring the current integral term parameter of the PID control strategy in real time, the deviation in the initial valve opening is identified. Using this current integral term parameter to correct the initial valve opening value in real time can dynamically compensate for errors caused by equipment aging or changes in operating conditions, ensuring that the feedforward control quantity is always maintained within the accurate range. This reduces the cumulative burden of the integral term in the PID control strategy and improves the system's adaptability and robustness in controlling real-time cabin pressure.
[0027] In one embodiment, the step of employing a PID control strategy to adjust the current valve opening of the electric regulating valve includes:
[0028] Obtain the current pressure deviation;
[0029] Calculate the rate of change of the pressure deviation over time;
[0030] The target value of the proportional term parameter is determined based on the absolute value of the pressure deviation, and the target value of the differential term parameter is determined based on the rate of change of the pressure deviation over time.
[0031] The current valve opening of the electric regulating valve is adjusted according to the target values of the proportional term parameter and the derivative term parameter.
[0032] In the above embodiments, the target value of the differential term parameter is determined by the rate of change of the current pressure deviation over time, and the target value of the proportional term parameter is determined based on the absolute value of the pressure deviation. This allows the control parameters to be matched in real time according to the current pressure fluctuation trend and speed. When the pressure changes drastically, the response strength or damping effect is enhanced by adjusting the parameters, which effectively suppresses the overshoot phenomenon and optimizes the response characteristics and stability of the electric regulating valve in the dynamic adjustment process.
[0033] In one embodiment, adjusting the current valve opening of the electric regulating valve according to the target value of the proportional term parameter and the target value of the derivative term parameter includes:
[0034] Compare the absolute value of the pressure deviation with a preset deviation threshold;
[0035] If the absolute value of the pressure deviation is greater than the preset deviation threshold, the target value of the integral term parameter of the PID control strategy is determined to be a first value.
[0036] If the absolute value of the pressure deviation is less than or equal to the preset deviation threshold, the target value of the integral term parameter of the PID control strategy is determined to be a second value, and the second value is greater than or equal to the first value.
[0037] The current valve opening of the electric regulating valve is adjusted according to the target values of the proportional term parameter, the differential term parameter, and the integral term parameter.
[0038] In the above embodiment, the separation control of integral action is achieved by comparing the absolute value of the pressure deviation with a preset deviation threshold. When the deviation is large, the target value of the integral term parameter is set to a smaller first value to prevent integral saturation and overshoot caused by the accumulation of historical errors; when the deviation is small, it switches to a larger second value to ensure the control action required to eliminate steady-state error. This scheme effectively solves the contradiction between rapid response and high-precision steady-state control during the pressure regulation of a micro-pressure oxygen-enriched chamber.
[0039] In one embodiment, adjusting the current valve opening of the electric regulating valve according to the target value of the proportional term parameter, the target value of the differential term parameter, and the target value of the integral term parameter includes:
[0040] Based on the target values of the proportional term parameter, the differential term parameter, and the integral term parameter, the target valve opening of the electric regulating valve is determined.
[0041] If the target valve opening is greater than the preset opening limit value, then the value of the target valve opening is adjusted to the value of the preset opening limit value;
[0042] Adjust the current valve opening of the electric regulating valve to the preset opening limit value.
[0043] In the above embodiments, the target valve opening calculated based on the algorithm is limited, and when it exceeds the preset opening limit value, it is forcibly adjusted to that limit value. This logic ensures that the control commands sent to the electric regulating valve are always within the physically permissible or safe operating range, avoiding valve mechanical overshoot, jamming, or overload damage to the drive components caused by excessive calculation output, thus ensuring the hardware safety and operational reliability of the micro-pressure oxygen-enriched chamber pressure regulating system.
[0044] In one embodiment, after determining the target valve opening of the electric regulating valve, the method further includes:
[0045] If the target valve opening is less than or equal to the preset opening limit value, the target voltage value of the target control voltage signal of the electric regulating valve is obtained. The target control voltage signal is used to adjust the current valve opening of the electric regulating valve to the target valve opening.
[0046] Determine the voltage change of the target control voltage relative to the current control voltage of the electric regulating valve;
[0047] If the voltage change value is greater than or equal to the preset voltage change threshold, the current valve opening of the electric regulating valve is adjusted to the target valve opening using the target control voltage signal.
[0048] If the voltage change value is less than the preset voltage change threshold, the current valve opening of the electric regulating valve remains unchanged.
[0049] In the above embodiments, the voltage change between the target control voltage and the current control voltage is calculated before adjustment, and a preset voltage change threshold is set. When the voltage change is small, the current valve opening of the electric regulating valve remains unchanged, effectively filtering out invalid control signals caused by computational noise or minor sensor fluctuations. This avoids the electric regulating valve performing high-frequency and meaningless micro-mechanical movements near steady state, extending the service life of the actuator and reducing system power consumption.
[0050] Secondly, embodiments of this application provide a pressure regulating system for a micro-pressure oxygen-enriched chamber, the pressure regulating system being used to perform the pressure regulating method for a micro-pressure oxygen-enriched chamber as described in any of the preceding claims.
[0051] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program configured to be executed by a processor to implement the pressure regulation method of the micro-pressure oxygen-enriched chamber as described in any of the preceding claims. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a schematic flowchart of an embodiment of the pressure regulation method for a micro-pressure oxygen-enriched chamber provided in this application;
[0054] Figure 2 This is a schematic diagram of an embodiment of the electronic device provided in this application. Detailed Implementation
[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. In addition, in the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0056] In a first aspect, embodiments of this application provide a pressure regulation method for a micro-pressure oxygen-enriched chamber, wherein the executing entity is a pressure regulation system of the micro-pressure oxygen-enriched chamber (hereinafter referred to as the "system"), and the system includes a controller.
[0057] Specifically, refer to Figure 1 The pressure regulation method for a low-pressure oxygen-enriched chamber may include:
[0058] S101. Obtain the real-time pressure value inside the low-pressure oxygen-enriched chamber.
[0059] In this embodiment, a micro-pressure oxygen-enriched chamber refers to a sealed chamber device capable of maintaining a pressure environment higher than atmospheric pressure and providing a high concentration of oxygen. Its applications include, but are not limited to, medical rehabilitation, beauty and health care, and home health management. The real-time pressure value inside the chamber refers to numerical data obtained through physical measurement methods, reflecting the absolute or relative pressure of the gas inside the chamber at the current moment. Acquiring this data is fundamental to achieving closed-loop control.
[0060] In this embodiment, the system continuously samples the cabin pressure using a high-precision pressure sensor. To eliminate electronic noise from the sensor itself and measurement errors caused by airflow disturbances in the environment, the controller in the system performs analog-to-digital conversion on the acquired raw analog signal and preprocesses it using a digital filtering algorithm, such as a first-order low-pass filter, to obtain a smooth and accurate real-time cabin pressure value.
[0061] S102. Determine the absolute value of the pressure deviation based on the real-time pressure value inside the cabin and the target pressure setting value.
[0062] In this embodiment, the target pressure setting value refers to the desired cabin pressure level preset by the user based on their physiotherapy needs or automatically generated by the system program. The absolute value of the pressure deviation refers to the modulus of the difference between the real-time cabin pressure value and the target pressure setting value, which indicates the degree to which the current system state deviates from the ideal state.
[0063] In this embodiment of the application, the controller reads the target pressure set value in the memory in real time, and performs a subtraction operation with the real-time pressure value inside the cabin obtained in step S101, and then takes its absolute value to obtain the absolute value of the pressure deviation.
[0064] S103. Determine the corresponding valve control mode based on the absolute value of the pressure deviation. The valve control mode includes at least one of the first control mode, the second control mode, and the third control mode. The first control mode is used to control the valve to be fully open or fully closed. The second control mode is a PID control mode. The third control mode is used to keep the valve opening constant.
[0065] In this embodiment, the valve control mode refers to the set of control logic strategies preset by the controller for different deviation ranges. The first control mode corresponds to large deviation conditions requiring rapid response; the second control mode corresponds to transient conditions requiring precise adjustment; and the third control mode corresponds to steady-state conditions that allow for small errors. PID control (Proportional-Integral-Derivative Control) is a closed-loop control algorithm based on error feedback.
[0066] S104. Control the electric regulating valve according to the valve control mode. The electric regulating valve is used to regulate the real-time pressure value inside the chamber.
[0067] In this embodiment, the electrically controlled regulating valve is an actuator installed at the exhaust port of the low-pressure oxygen-enriched chamber. Its opening degree directly determines the gas flow rate, thereby changing the chamber pressure. Controlling the electrically controlled regulating valve means that the controller sends a specific electrical signal, such as a control voltage signal, to the valve actuator to drive the valve core to move.
[0068] In this embodiment of the application, if the first control mode is determined, the controller directly outputs the drive signal of the maximum or minimum range (e.g., 100% or 0% duty cycle) to make the electric regulating valve quickly reach the physical limit position, thereby approaching the target pressure set value at the fastest speed.
[0069] In this embodiment, if the second control mode is determined, the controller runs an adaptive PID algorithm. The controller adjusts the proportional coefficient, integral coefficient, and derivative coefficient in real time based on the absolute value of the pressure deviation and its rate of change to calculate the precise control quantity.
[0070] In this embodiment, if the third control mode is determined, the controller stops updating the control signal and maintains a constant output signal at the electrical level, thereby utilizing the mechanical inertia and airtightness of the system to maintain pressure stability and avoid high-frequency oscillation of the actuator.
[0071] As can be seen, the embodiments of this application solve the pressure regulation problem of micro-pressure oxygen-enriched chambers under the requirements of high inertia and high precision through a zoned control strategy. A first control mode is used to achieve rapid response under large deviations, a second control mode ensures smooth and precise transition processes, and a third control mode eliminates fretting wear under steady-state conditions. This method balances the system's pressure regulation response speed, control stability, and the operating load of the actuators, achieving closed-loop pressure control.
[0072] The above embodiments generally illustrate the basic architecture of the micro-pressure oxygen-enriched chamber pressure regulation method, which is to match the corresponding valve control mode by determining the working state. In practical applications, accurately and quickly identifying the specific physical state of the current micro-pressure oxygen-enriched chamber is a prerequisite for triggering subsequent control logic. Therefore, some embodiments of this application further provide a specific logic determination scheme based on pressure monitoring data to clearly define the three key working states: "pressure increase," "pressure maintenance," and "pressure decrease." Specifically, based on the absolute value of the pressure deviation, the corresponding valve control mode is determined, including:
[0073] S201. Obtain a preset first deviation interval, second deviation interval, and third deviation interval, wherein each value in the first deviation interval is greater than each value in the second deviation interval, and each value in the second deviation interval is greater than each value in the third deviation interval.
[0074] In this embodiment, the first deviation interval, the second deviation interval, and the third deviation interval are three non-overlapping numerical ranges pre-configured in the controller's internal memory, corresponding to three states: severe system error, moderate error, and minor error, respectively. This constitutes a hierarchical logical judgment benchmark. Every value in the first deviation interval is greater than every value in the second deviation interval, and every value in the second deviation interval is greater than every value in the third deviation interval. This means that these three intervals are arranged in descending order of numerical value on the number axis, physically representing the degree of system deviation from the target from far to near.
[0075] In some embodiments of this application, the aforementioned intervals are defined by setting two key boundary thresholds: a first boundary threshold and a second boundary threshold, wherein the second boundary threshold is greater than the first boundary threshold. For example, the first boundary threshold is set to 0.5 kPa, and the second boundary threshold is set to 3 kPa. Under this parameter configuration, the third deviation interval is defined as a closed interval [0, 0.5], covering the range from zero error to minute fluctuations; the second deviation interval is defined as a left-open, right-closed interval (0.5, 3], covering the intermediate range requiring regular adjustment; and the first deviation interval is defined as an open interval (3, +∞), covering all large deviation ranges greater than 3. This interval division ensures that the absolute value of any positive real pressure deviation can fall into one and only one of the intervals, guaranteeing the uniqueness and determinism of the control logic.
[0076] S202. If the absolute value of the pressure deviation is within the first deviation range, the valve control mode is determined to be the first control mode.
[0077] In this embodiment, the controller compares the calculated absolute value of the pressure deviation with the aforementioned range. When the value falls into the first deviation range, it indicates that the current cabin pressure deviates significantly from the set target, such as at the moment the system starts up or when the set value changes drastically. At this time, the main challenge for the system is adjusting speed rather than accuracy, so the system activates the first control mode. In this mode, the controller ignores the specific PID parameter calculations and directly outputs a saturated drive signal, causing the actuator to operate at maximum power, thereby shortening the physical gap between the current situation and the target in the shortest possible time.
[0078] S203. If the absolute value of the pressure deviation is within the second deviation range, the valve control mode is determined to be the second control mode.
[0079] In this embodiment, when the absolute value of the pressure deviation falls back and enters the second deviation range, it indicates that the system has passed the stage of drastic change and entered the transition region approaching the target. Continuing to maintain full-speed adjustment at this point would lead to severe overshoot oscillations; therefore, the system automatically switches to the second control mode. In this mode, the controller uses a PID algorithm to dynamically calculate the weighted sum of the proportional, integral, and derivative control quantities based on the magnitude, direction, and trend of the error, outputting a continuously variable control signal to guide the system to converge smoothly and gradually towards the target pressure setpoint.
[0080] S204. If the absolute value of the pressure deviation is within the third deviation range, the valve control mode is determined to be the third control mode.
[0081] In this embodiment, when the absolute value of the pressure deviation further decreases and falls into the third deviation range, it indicates that the system has reached or is close to a steady state. The minute deviations present at this point are typically caused by sensor white noise or random airflow disturbances. To avoid over-control, the system enters a third control mode. In this mode, the controller ignores these minute numerical fluctuations, forcibly locks the current valve opening state, and utilizes the volumetric effect of the micro-pressure oxygen-enriched chamber itself to maintain pressure stability.
[0082] As can be seen, the embodiments of this application achieve precise weighting of the control strategy by constructing three distinct deviation intervals and mapping them to different control modes. This method prioritizes speed when the error is extremely large, balances accuracy and speed when the error is moderate, and emphasizes stability and energy saving when the error is extremely small. It effectively solves the contradiction that a single control logic cannot simultaneously meet the requirements of rapid response and high-precision pressure stabilization in a micro-pressure oxygen-enriched chamber, thus optimizing the dynamic performance of the entire process.
[0083] Based on the clear division of the three operating states described above, the system has the ability to identify the current operating condition. However, simply identifying the state is insufficient to achieve precise control; the system also needs to configure an appropriate execution strategy for each specific operating state. Therefore, the following embodiments of this application will describe in detail how the controller should specifically select and execute the corresponding valve control mode under different operating states, particularly how to distinguish between open-loop control and closed-loop regulation application scenarios. Specifically, according to the valve control mode, controlling the electric regulating valve includes:
[0084] S301. If the valve control mode is the second control mode, determine the initial valve opening corresponding to the electric regulating valve based on the target pressure setpoint.
[0085] In this embodiment, the initial valve opening refers to the baseline control quantity that the controller estimates should be applied to the actuator based on the system's prior model before the control loop feedback regulation has fully intervened. This physical quantity is essentially a feedforward control signal. Determining the initial valve opening based on the target pressure setpoint is not arbitrary guesswork, but rather a mapping calculation based on the fluid dynamics characteristics of the micro-pressure oxygen-enriched chamber.
[0086] In some embodiments of this application, the controller has a pre-stored "pressure-opening" correlation model. This model is a discrete mapping table. When the system determines to enter the second control mode, the controller first reads the current target pressure setpoint and retrieves the corresponding theoretical opening value based on the aforementioned correlation model.
[0087] S302. Adjust the current valve opening of the electric regulating valve to the initial valve opening.
[0088] In this embodiment, this is the execution step of the feedforward control strategy. The controller converts the initial valve opening calculated in step S301 into a corresponding voltage signal (converting a PWM (Pulse Width Modulation) signal with a specific duty cycle into a corresponding voltage signal recognizable by the electric regulating valve) and sends it to the electric regulating valve. Before the PID feedback loop takes over, this action allows the valve core to quickly preposition to a position close to the ideal equilibrium point. This effectively reduces the lag time caused by error accumulation in the initial stage of pure closed-loop control and shortens the adjustment time required for the system pressure value to reach the target setpoint.
[0089] S303. A PID control strategy is adopted to adjust the current valve opening of the electric regulating valve.
[0090] In this embodiment, the PID control strategy refers to the process of introducing a closed-loop negative feedback mechanism to eliminate residual errors based on the initial valve opening. Although step S302 provides a fast response, the actual pressure often cannot be accurately stabilized at the target value due to model errors and external disturbances. Therefore, a PID control strategy can be superimposed.
[0091] In some embodiments of this application, the PID control strategy is not limited to the calculation of fixed parameters, but rather employs an adaptive PID algorithm. The controller monitors the magnitude and trend of the absolute value of the pressure deviation in real time, dynamically adjusting the proportional, integral, and derivative coefficients. For example, when the error convergence speed is too slow, the proportional coefficient is appropriately increased; when the system tends to stabilize but steady-state error exists, the integral action is dynamically enhanced; and when an excessive rate of change of error is detected with a risk of overshoot, the derivative coefficient is increased to provide damping. Finally, the controller superimposes the dynamic compensation calculated by the PID algorithm onto the initial valve opening, forming the final control command to drive the electric regulating valve, achieving precise locking of the cabin pressure.
[0092] As can be seen, this embodiment of the application constructs a composite control architecture by combining model-based feedforward control with adaptive PID feedback control. The initial valve opening, directly derived from the target pressure setpoint, enables rapid coarse adjustment of the system, significantly improving the dynamic response speed; subsequently, the adaptive PID strategy achieves precise error elimination. This method improves upon the lag problem of simple PID control and the insufficient accuracy of simple feedforward control, while simultaneously enhancing the response speed and control accuracy of the pressure regulation process in the micro-pressure oxygen-enriched chamber.
[0093] In the pressure-holding regulation process based on the above PID control strategy, although the feedback loop can correct real-time errors, if the initial valve opening in the feedforward loop remains fixed for a long time, it is easily affected by equipment aging or environmental changes, resulting in systematic deviations and increasing the adjustment burden of the integral term. To solve this model mismatch problem, some embodiments of this application further propose an adaptive correction mechanism based on operating data, aiming to achieve self-evolution of the feedforward control quantity. Specifically, according to the valve control mode, controlling the electric regulating valve also includes:
[0094] S401: Obtain the current integral term parameters of the PID control strategy in real time.
[0095] In this embodiment, the current integral term parameter in the PID control strategy refers to the output component accumulated and calculated by the integral algorithm within the controller's operating cycle. From a physical perspective, this parameter characterizes the compensation control quantity that the PID controller must continuously apply to eliminate the system's steady-state error. In an ideal linear system, if the feedforward model is perfectly accurate, the integral term should approach zero. However, in a real micro-pressure oxygen-enriched chamber system, when time-varying factors such as valve seal wear, pipeline resistance changes, or external air source pressure fluctuations occur, the non-zero value of the current integral term parameter objectively reflects the inherent deviation between the preset system theoretical model and the current physical entity.
[0096] In some embodiments of this application, the acquisition of this parameter is not unconditional continuous sampling, but rather involves specific state-triggered logic. The controller monitors in real time whether the cabin pressure is in a steady state (i.e., the pressure fluctuation amplitude is less than a predetermined threshold within a preset time). Only when the system is in a steady state does the controller determine that the current integral term parameter has reference value for correcting the model, and extracts and stores it as the basis for subsequent algorithm calibration. This effectively avoids transient overshoot values interfering with the accuracy of model correction during the dynamic adjustment process of the system.
[0097] S402. Based on the current integral term parameters, adjust the value of the initial valve opening in real time.
[0098] In this embodiment, the real-time adjustment of the initial valve opening is essentially an online self-learning and calibration process based on operational data. The initial valve opening is a reference feedforward control quantity stored in the controller, corresponding to the target pressure setpoint.
[0099] In this embodiment, the controller employs a reverse compensation algorithm to perform adjustment actions. Specifically, the controller introduces the valid current integral term parameter obtained in step S401 as a model correction amount into the opening mapping relationship. If the current integral term parameter is positive, it indicates that the original initial valve opening is insufficient to maintain the target pressure. The controller then incrementally corrects the original initial valve opening based on the amplitude of the integral term parameter and a preset correction rule; conversely, if it is negative, the reference opening is incrementally corrected.
[0100] In some embodiments of this application, this adjustment is persistent. The controller not only modifies the feedforward value for the current operating cycle but also updates the pre-stored "pressure-opening" correlation model within the controller. This means that when the system is set to the same target pressure again, the controller will directly call the revised new initial valve opening. This mechanism shifts the long-term constant load, originally borne by the feedback loop (integral term), to the feedforward path (initial opening), causing the integral term value of the PID controller to decrease or approach zero, thereby regaining the maximum dynamic control margin.
[0101] As can be seen, this embodiment of the application constructs a closed-loop control architecture with self-evolutionary capabilities by feeding back the steady-state value of the PID integral term to the feedforward control model. This method enables the system to automatically compensate for time-varying factors such as component aging and changes in operating parameters, and to calibrate model parameters. It eliminates long-term steady-state errors, prevents system response delays caused by excessively large integral terms, and ensures that the micro-pressure oxygen-enriched chamber maintains stable control accuracy and dynamic response performance during long-term operation.
[0102] Through the online calibration of the initial valve opening described above, the system effectively eliminates the static error of the feedforward model. However, in the actual operation of a micro-pressure oxygen-enriched chamber, pressure disturbances are often dynamically changing, and a single fixed PID parameter is difficult to simultaneously meet the contradictory requirements of rapid response and prevention of overshoot. Therefore, in order to further improve the dynamic control quality of the system, some embodiments of this application specifically disclose a technical solution for real-time tuning of the proportional and derivative parameters based on the pressure deviation and its changing trend. Specifically, a PID control strategy is adopted to adjust the current valve opening of the electric regulating valve, including:
[0103] S501, Obtain the current pressure deviation.
[0104] S502. Calculate the rate of change of the pressure deviation over time.
[0105] In this embodiment, the rate of change of pressure deviation over time refers to the speed at which the difference between the real-time pressure value inside the cabin and the target pressure setpoint changes per unit time, and is used to characterize the dynamic trend of the system pressure deviating from the target value. This rate of change not only reflects the direction of the current deviation of the system, but also characterizes the speed at which the system pressure changes.
[0106] In some embodiments of this application, the controller periodically collects pressure deviations at a fixed sampling period (e.g., once per second) and uses a differential algorithm to calculate the pressure deviations at adjacent sampling times. The difference between the pressure deviation at the current sampling time and the pressure deviation at the previous sampling time is calculated, and this difference is divided by the sampling period to obtain the rate of change of pressure deviation over time. To eliminate the interference of high-frequency noise from the pressure sensor on the differential calculation, the controller uses a low-pass filter to smooth the raw data before or after calculating the rate of change, ensuring that the rate of change value truly reflects the physical trend of pressure change within the chamber.
[0107] S503. Determine the target value of the proportional term parameter based on the absolute value of the pressure deviation, and determine the target value of the differential term parameter based on the rate of change of the pressure deviation over time.
[0108] In the embodiments of this application, the target value of the proportional term parameter of the PID control strategy (usually denoted as Kp) determines the system's response strength to the current error; the target value of the derivative term parameter (usually denoted as Kd) determines the system's damping or predictive ability to change the error trend. Determining the target values of these two parameters essentially involves constructing a parameter-self-tuning nonlinear controller.
[0109] In some embodiments of this application, the controller has an internally built adaptive mapping model for proportional and derivative parameters. The controller uses the absolute value of the pressure deviation and the rate of change of the pressure deviation over time as two input variables, and determines the target values of the proportional and derivative parameters in real time through function mapping or parameter calculation. Specifically, when the absolute value of the pressure deviation is large (e.g., in the upper limit of the second deviation interval), the controller determines a larger target value for the proportional parameter to enhance control and accelerate system response; simultaneously, it determines a smaller target value for the derivative parameter to avoid excessive differential damping that could prolong rise time.
[0110] When the absolute value of the pressure deviation decreases (approaching the target value) and the rate of change is large (the pressure is rapidly approaching the target), in order to prevent inertia from causing overshoot, the controller will automatically reduce the target value of the proportional term parameter and significantly increase the target value of the derivative term parameter. At this time, the increased derivative term produces a damping effect, suppressing rapid pressure changes and ensuring a smooth transition to steady state.
[0111] When the absolute value of the pressure deviation is very small and the rate of change is also very small, the controller will adjust the target values of both the proportional and derivative parameters to the medium or small values required to maintain steady state, so as to avoid system oscillation.
[0112] S504. Adjust the current valve opening of the electric control valve according to the target values of the proportional and derivative parameters.
[0113] In this embodiment, this step is the process of converting the calculated control parameters into actual physical actions. The controller substitutes the dynamic Kp and Kd values determined in step S502 into the PID control algorithm formula to calculate the final control output value.
[0114] As can be seen, the embodiments of this application achieve adaptive dynamic tuning of PID control parameters by real-time monitoring of the magnitude and rate of change of pressure deviation. This method provides high gain to improve response speed when the pressure deviation is large, and prevents overshoot by increasing differential damping when the pressure changes rapidly and approaches the target. It effectively solves the problem that a single fixed-parameter PID controller cannot balance speed and stability, and improves the control quality of the micro-pressure oxygen-enriched chamber under complex working conditions.
[0115] After achieving dynamic adaptive adjustment of the proportional and derivative parameters, the PID control strategy can also solve the stability problems that may be caused by the integral term. Especially in the initial stage of regulation when the pressure deviation is large, introducing excessively strong integral action can easily lead to integral saturation, thereby causing system overshoot. To address this problem, some embodiments of this application further introduce integral separation control logic to optimize the transient process under large deviation conditions while ensuring steady-state accuracy. Specifically, based on the target value of the derivative parameter and the state parameter of the integral term, the control increment is calculated according to the PID control algorithm, and combined with the current feedforward reference opening, the current valve opening of the electric regulating valve is adjusted, including:
[0116] S601. Compare the absolute value of the pressure deviation with the preset deviation threshold.
[0117] In this embodiment, the preset deviation threshold refers to a pressure limit value set within the controller for switching integral logic. This preset deviation threshold is set based on the physical response characteristics of the micro-pressure oxygen-enriched chamber. If the pressure deviation is greater than the preset deviation threshold, it indicates that the system is in a large-scale adjustment phase; if it is less than this threshold, it indicates that the system has entered a steady-state adjustment range near the target value.
[0118] In some embodiments of this application, the preset deviation threshold is not equal to the first deviation threshold or the second deviation threshold in the foregoing embodiments, but is an independently set specific parameter for the integral separation logic, for example, set to 1 kPa. The controller compares the absolute value of the pressure deviation obtained in step S102 with the numerical value of this parameter.
[0119] S602. If the absolute value of the pressure deviation is greater than the preset deviation threshold, determine the target value of the integral term parameter of the PID control strategy as the first value.
[0120] In this embodiment, the target value of the integral term parameter (usually denoted as Ki) is the weighting coefficient responsible for eliminating steady-state error in the PID control algorithm. The first value refers to the suppressed integral coefficient used by the system when the deviation is large, which is usually set to zero or a very small value.
[0121] In this embodiment, when the absolute value of the pressure deviation is detected to be greater than a preset deviation threshold, it indicates that the system's primary task is to quickly eliminate the large pressure difference. If a strong integral action is introduced at this time, the system will accumulate historical deviations during the adjustment process, causing the integral term value to increase rapidly and resulting in integral saturation. When the deviation is large, the controller suppresses the action of the integral component (including but not limited to: suppressing integral updates, attenuating the integral, or setting the integral coefficient to a smaller value). The controller implements an integral separation strategy at the algorithm level, that is, temporarily cutting off the integral action during large-amplitude adjustment phases and relying solely on proportional (P) and derivative (D) actions for control, thereby preventing subsequent overshoot due to the accumulation of historical errors.
[0122] S603. If the absolute value of the pressure deviation is less than or equal to the preset deviation threshold, determine the target value of the integral term parameter of the PID control strategy as the second value, and the second value is greater than or equal to the first value.
[0123] In this embodiment, the second value refers to the effective integral coefficient required by the system under normal steady-state regulation. When the absolute value of the pressure deviation enters the preset deviation threshold range, relying solely on proportional control will result in an uneliminable static error. At this time, the controller releases the integral separation, allowing the integral term parameter target value to accumulate in the small error range.
[0124] In some embodiments of this application, the second value is a non-zero constant adaptively calculated by the controller based on the stability criterion of the current operating condition. Introducing effective integral action in this case allows for continuous correction of minute steady-state errors in the system, forcing the cabin pressure to eventually converge precisely to the target pressure setpoint.
[0125] S604. Adjust the current valve opening of the electric control valve according to the target values of the proportional term parameter, the derivative term parameter, and the integral term parameter.
[0126] In this embodiment, the controller substitutes the target value of the proportional term parameter (P), the target value of the derivative term parameter (D), and the target value of the integral term parameter (I) determined in step S502 into the full-scale or incremental PID formula.
[0127] As can be seen, the embodiments of this application employ an integral-separated PID control strategy. This method effectively suppresses system overshoot and large oscillations caused by integral saturation by canceling the integral action when the pressure deviation is large; while restoring the integral action when the deviation is small, it ensures accurate elimination of steady-state errors. This technical solution balances the need to suppress overshoot under large deviations and improve accuracy under small deviations during the pressure regulation process of a micro-pressure oxygen-enriched chamber, thereby enhancing the dynamic stability and static accuracy of the control system.
[0128] In summary, the controller can calculate the theoretical control quantity including proportional, derivative, and integral components. However, the calculation results of the control algorithm are constrained by the mechanical characteristics of the physical actuator; unrestricted output may lead to hardware damage or operational risks. Therefore, before converting the target values of the proportional, derivative, and integral parameters calculated by the algorithm into the final instruction, a safety check and amplitude limiting process must be performed. The following embodiments of this application specifically illustrate this process. Specifically, adjusting the current valve opening of the electric regulating valve according to the target values of the proportional, derivative, and integral parameters includes:
[0129] S701. Based on the target values of the proportional term parameter, the derivative term parameter, and the integral term parameter, determine the target valve opening of the electric control valve.
[0130] In this embodiment, the target valve opening degree refers to the opening degree value that the electric regulating valve theoretically needs to execute, calculated by the control algorithm based on the current error state. This value is the original control command that has not been verified by physical constraints.
[0131] In some embodiments of this application, the controller performs this step by linear weighted summation. The controller obtains the target values for the proportional, derivative, and integral parameters determined in previous steps, and calculates the proportional, derivative, and integral control components by combining these with the current absolute value of the pressure deviation, the rate of change of the deviation, and the cumulative deviation. Subsequently, the controller superimposes these three components and adds the initial valve opening provided by the feedforward control to synthesize the final calculation result, i.e., the target valve opening. This target valve opening may be a percentage value (e.g., 105%) or a digital output (e.g., a DAC (Digital-to-Analog Converter) value), which directly reflects the desired control strength to eliminate the current pressure deviation.
[0132] S702. If the target valve opening is greater than the preset opening limit value, the target valve opening value will be adjusted to the preset opening limit value.
[0133] In this embodiment, the preset opening limit value is a fixed threshold stored in the controller, which represents the physical or safe upper limit of the electric control valve's operation. This parameter is typically set to be less than or equal to the valve's mechanically fully open position (100%).
[0134] In some embodiments of this application, the controller performs output limiting logic. When the PID algorithm calculates a value exceeding the physical limit (e.g., 120%) due to large deviations or integral accumulation, directly outputting this value may cause overload of the drive circuit or overflow of the control program. Therefore, the system performs a logical judgment, and once it detects that the calculated target valve opening exceeds the preset opening limit value, it forcibly rewrites the target valve opening to the preset opening limit value. This process is called output saturation processing in control theory, and aims to ensure that the control command always stays within the linear or safe operating range of the actuator.
[0135] S703: Output the target valve opening after the limit to the electric regulating valve, and drive the valve opening to adjust to the target valve opening after the limit.
[0136] In this embodiment, this is the action taken after limiting protection. The controller no longer attempts to output the theoretically overcalculated value, but instead sends a control signal corresponding to the preset opening limit value to the motor drive module of the electric regulating valve.
[0137] In some embodiments of this application, the controller triggers a feedback correction mechanism to resist integral saturation while performing this step. If the output limit value is allowed to remain for an extended period while the integral term within the PID algorithm continues to accumulate, it will cause a response delay when the system exits the saturation region. Therefore, while adjusting the current valve opening to the preset opening limit value, the controller reverses the integral term, either by backing it down or by suppressing its continued accumulation, thereby ensuring that the valve can quickly exit the limit state and resume linear regulation when the pressure returns to normal.
[0138] As can be seen, this embodiment of the application achieves safety verification of control commands by introducing an output limiting circuit at the PID output terminal. This method effectively prevents faults such as mechanical overshooting of the electric regulating valve, motor overheating, or drive signal overflow caused by excessive control quantities calculated by the algorithm. At the same time, it avoids the risk of pressure exceeding limits due to excessive valve opening, ensuring the safe operation of the hardware of the micro-pressure oxygen-enriched chamber pressure regulating system.
[0139] After the above limiting process, the determined target valve opening meets the safety operation requirements. However, when the system approaches steady state, the PID algorithm may output extremely small adjustment commands due to high-frequency noise from the sensor. Although these commands are mathematically precise, they can cause the electric control valve to frequently execute ineffective micro-amplitude jitters, affecting the device's lifespan. Therefore, some embodiments of this application further introduce a dead-zone filtering mechanism based on control voltage changes at the execution end to avoid such over-adjustment. Specifically, after determining the target valve opening of the electric control valve, the following steps are also included:
[0140] S801. After the target valve opening is limited, the target voltage value of the corresponding target control voltage signal is obtained. The target control voltage signal is used to adjust the current valve opening of the electric regulating valve to the target valve opening.
[0141] In this embodiment, the target control voltage signal is an analog or digital pulse signal output by the controller to the electric regulating valve drive circuit, used to indicate the physical position that the valve actuator should reach. The target voltage value is the electrical amplitude attribute of this signal. Since the opening degree of the electric regulating valve and the input voltage usually have a linear or specific nonlinear mapping relationship (e.g., 0-10V corresponds to 0-100% opening degree), obtaining the target voltage value is the process of converting the opening percentage at the logic level into the drive level at the physical level.
[0142] S802. Determine the voltage change of the target control voltage relative to the current control voltage of the electric regulating valve.
[0143] In this embodiment, the current control voltage refers to the voltage holding value actually applied to the signal input terminal of the electric regulating valve at the end of the previous control cycle. The voltage change value refers to the absolute value of the difference between the target voltage value and the current control voltage.
[0144] In some embodiments of this application, the controller reads the previously output voltage value stored in the register and performs a differential operation with it and the newly calculated target voltage value in step S801. The physical significance of this step lies in quantifying the magnitude of the adjustment action. Since PID algorithms often calculate extremely small output fluctuations during steady-state adjustment due to minute noise from the sensor, calculating the voltage change value is a prerequisite for identifying whether these fluctuations have actual adjustment significance.
[0145] S803. If the voltage change value is greater than or equal to the preset voltage change threshold, the current valve opening of the electric regulating valve is adjusted to the target valve opening using the target control voltage signal.
[0146] In this embodiment, the preset voltage change threshold is a control dead zone parameter set in the controller. This preset voltage change threshold represents the smallest effective voltage increment that the electric regulating valve can distinguish, or the minimum actuation amplitude (e.g., 200 millivolts) set manually to protect the actuator.
[0147] When the controller detects a voltage change greater than or equal to a preset voltage change threshold, it determines that the adjustment request is a valid pressure correction command. At this point, the controller activates the drive circuit, adjusting the voltage at the signal port to the target voltage value. The actuator of the electric regulating valve receives the changed voltage signal and drives the valve core to overcome static friction, precisely moving to the corresponding target valve opening position, thereby changing the pipeline flow rate to regulate the chamber pressure.
[0148] S804. If the voltage change value is less than the preset voltage change threshold, the current valve opening of the electric regulating valve shall remain unchanged.
[0149] In this embodiment, maintaining the current valve opening means the controller actively blocks the adjustment command. When the calculated change is extremely small, the controller determines that the change mainly originates from computational noise or high-frequency jitter of the sensor, rather than actual pressure deviation. At this time, the controller does not refresh the voltage value at the output port and maintains the control state of the previous moment. This strategy avoids the electric regulating valve from performing high-frequency reciprocating adjustments within a very small range, preventing motor overheating and ineffective wear of mechanical transmission components (such as gears and valve stems), and also eliminates valve chatter caused by minute voltage fluctuations.
[0150] As can be seen, the embodiments of this application introduce dead-zone control logic based on voltage changes at the execution end. This method effectively filters out the high-frequency, minute noise interference generated by the PID control algorithm in steady state, avoiding mechanical wear and thermal fatigue caused by frequent, ineffective micro-amplitude movements of the electric regulating valve. This not only significantly extends the service life of the regulating valve hardware but also reduces the overall power consumption of the system, ensuring the smoothness and stability of the pressure control process in the micro-pressure oxygen-enriched chamber.
[0151] In PID control, when the system transitions from a large deviation state (integral separation) to a small deviation state (integral recovery), the integral term is typically generated from zero by accumulated error or by using previous residual values. This approach has significant drawbacks in the actual operating conditions of a micro-pressure oxygen-enriched chamber: if accumulation starts from zero, the pressure will first drop and then recover in the face of continuous leakage from the chamber, causing pseudo-instability; if old values are used, excessive overshoot may occur due to historical errors. To achieve a smooth transition from dynamic regulation to steady-state maintenance and to suppress overshoot, some embodiments of this application further propose a scheme to calculate the reference initial integral value (i.e., the second value) required to maintain the current pressure balance using historical data, specifically including the following steps:
[0152] S901. Obtain the historical steady-state control parameter statistics corresponding to the current target pressure setting.
[0153] In this embodiment of the application, the historical steady-state control parameter statistics refer to the typical control parameters recorded by the controller when the system enters the steady-state stage under the same or similar target pressure conditions during previous operation, including the average valve opening value and the steady-state value of the integral term corresponding to the steady-state stage.
[0154] In some embodiments of this application, during normal pressure-holding operation, when the controller detects that the pressure deviation inside the chamber is less than the upper limit of the first deviation interval for multiple consecutive control cycles, and the pressure change rate is lower than a preset stability threshold, it determines that the system has entered the steady-state maintenance phase. At this time, the controller periodically records the current target pressure value, the corresponding average valve opening, and the steady-state value of the integral term register, and stores the above data in the control parameter history table.
[0155] Through long-term operation and accumulation, the controller has established a historical mapping relationship of "target pressure - steady-state integral value - steady-state opening value", which is used to characterize the typical control parameter states required to maintain pressure balance under different target pressure conditions.
[0156] S902. Based on the current target pressure setting, the reference steady-state integral value is obtained by interpolation calculation from the historical steady-state control parameter statistics.
[0157] In the embodiments of this application, the reference steady-state integral value refers to the theoretical initial value of the integral term required to offset the natural leakage of the hull and maintain pressure balance under the current target pressure conditions.
[0158] In some embodiments of this application, the controller uses the current target pressure as an index to retrieve the two closest steady-state operating condition nodes in the historical mapping relationship constructed in step S901, and performs linear interpolation or weighted average calculation on their corresponding steady-state integral values to obtain the reference steady-state integral value under the current target pressure.
[0159] When historical data is insufficient or the target pressure occurs for the first time, the controller can use a default initial integral value or an integral value based on the most recent steady-state condition as an approximate reference value. This step estimates the system's equilibrium operating point under the current condition through empirical statistical methods.
[0160] S903. When the pressure deviation enters the small deviation range, the current value of the integral term of the PID control strategy is overwritten as the reference steady-state integral value.
[0161] In this embodiment of the application, when the system switches from the large deviation adjustment stage to the small deviation steady-state adjustment stage, the controller does not adopt the strategy of clearing the integral or continuing to accumulate, but directly forces the current value of the integral term register to the reference steady-state integral value calculated in step S902.
[0162] By performing this integral preloading operation, the integral term value of the PID controller is close to the range required to maintain system pressure balance when it enters the initial stage of steady-state regulation. This avoids the pressure drop caused by the integral accumulating from zero again, or the risk of overshoot caused by using historical residual integral values.
[0163] As can be seen, this application proposes an integral preloading strategy based on historical steady-state statistics and interpolation estimation of previous steady-state integral values. Through statistical analysis of past steady-state operating data, when the system switches to the small-deviation steady-state adjustment stage, a reference integral value required to maintain the current target pressure balance is directly constructed as the second value. This method ensures that the integral term value of the PID controller is close to the system's equilibrium operating point at the initial moment of entering steady-state adjustment, thereby avoiding pressure drop and overshoot caused by the integral accumulating from zero or using historical residual values. This significantly shortens the steady-state convergence time, suppresses pressure fluctuations in the small-deviation range, and ensures the stability and smoothness of the micro-pressure oxygen-enriched chamber pressure maintenance process.
[0164] Secondly, embodiments of this application provide a pressure regulating system for a micro-pressure oxygen-enriched chamber, which is used to perform the pressure regulating method for a micro-pressure oxygen-enriched chamber as described in any of the above embodiments.
[0165] Thirdly, embodiments of this application provide an electronic device that integrates the pressure regulation system of any of the micro-pressure oxygen-enriched chambers provided in the embodiments of this application. The electronic device can be integrated into the micro-pressure oxygen-enriched chamber. The electronic device includes a processor and a memory, the memory storing a computer program configured to be executed by the processor to implement the pressure regulation method of the micro-pressure oxygen-enriched chamber as described in any of the above embodiments.
[0166] Fourthly, embodiments of this application provide an electronic device that integrates the pressure regulating system of any of the micro-pressure oxygen-enriched chambers provided in embodiments of this application, and the electronic device can be integrated into the micro-pressure oxygen-enriched chamber. For example... Figure 2 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:
[0167] The electronic device includes a processor 201 and a memory 202, which are electrically connected via an internal bus. The memory 202 is used to store control programs and operating parameters, and the processor 201 is configured to call and execute the computer program stored in the memory 202 to implement the micro-pressure oxygen-enriched chamber pressure regulation method described in the above embodiments.
[0168] In some embodiments of this application, the processor 201 is a microcontroller unit (MCU) or an embedded processor, which integrates a central processing unit, a timer, an analog-to-digital converter module and a digital interface module to realize the acquisition of pressure sensor signals, real-time calculation of PID control algorithms and output control of electric regulating valve drive signals.
[0169] The memory 202 includes a program storage area and a data storage area. The program storage area is used to store the control algorithm program and the system initialization program, and the data storage area is used to store pressure sampling data, historical steady-state control parameters, and operating status information.
[0170] In some embodiments of this application, the electronic device further includes an analog input interface 203 for connecting a pressure sensor and acquiring cabin pressure signals; a digital / analog output interface 204 for outputting control voltage signals to drive the electric regulating valve actuator; and a communication interface 205 for data interaction with a host monitoring module or a human-machine interface module.
[0171] Specifically, when the processor 201 executes the control program in the memory 202, it periodically acquires the pressure signal according to a predetermined sampling period, calculates the pressure deviation and its changing trend, and outputs adjustment commands in real time to control the current opening of the electric regulating valve based on the integral separation, parameter adaptive tuning, amplitude limiting protection and integral preload control strategies described in the above embodiments, thereby realizing closed-loop stable control of the pressure of the micro-pressure oxygen-enriched chamber.
[0172] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those shown in the drawings.
[0173] Specifically, the electronic device of this embodiment includes a processor and a memory. The memory is coupled to one or more processors and is used to store computer program code. The computer program code includes computer instructions. One or more processors call the computer instructions to cause the electronic device to perform the method provided in the above embodiment.
[0174] Fifthly, embodiments of this application provide a computer program product, including a computer program or instructions, which are executed by a processor to implement the pressure regulation method of the micro-pressure oxygen-enriched chamber as described in any of the preceding claims.
[0175] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for regulating the pressure of a low-pressure oxygen-enriched chamber, characterized in that, The pressure regulation method of the micro-pressure oxygen-enriched chamber includes: Obtain the real-time pressure value inside the low-pressure oxygen-enriched chamber; The absolute value of the pressure deviation is determined based on the real-time pressure value inside the cabin and the target pressure setting value. Based on the absolute value of the pressure deviation, a corresponding valve control mode is determined. The valve control mode includes at least one of a first control mode, a second control mode, and a third control mode. The first control mode is used to control the valve to be fully open or fully closed. The second control mode is a PID control mode. The third control mode is used to keep the valve opening constant. According to the valve control mode, the electric regulating valve is controlled, and the electric regulating valve is used to regulate the real-time pressure value inside the chamber.
2. The pressure regulation method for a micro-pressure oxygen-enriched chamber as described in claim 1, characterized in that, The step of determining the corresponding valve control mode based on the absolute value of the pressure deviation includes: Obtain a preset first deviation interval, a second deviation interval, and a third deviation interval, wherein each value in the first deviation interval is greater than each value in the second deviation interval, and each value in the second deviation interval is greater than each value in the third deviation interval. If the absolute value of the pressure deviation is within the first deviation range, the valve control mode is determined to be the first control mode; If the absolute value of the pressure deviation is within the second deviation range, the valve control mode is determined to be the second control mode; If the absolute value of the pressure deviation is within the third deviation range, the valve control mode is determined to be the third control mode.
3. The pressure regulation method for the micro-pressure oxygen-enriched chamber as described in claim 1, characterized in that, The control of the electric regulating valve according to the valve control mode includes: If the valve control mode is the second control mode, the initial valve opening corresponding to the electric regulating valve is determined based on the target pressure set value; Adjust the current valve opening of the electric regulating valve to the initial valve opening; A PID control strategy is used to adjust the current valve opening of the electric regulating valve.
4. The pressure regulation method for a micro-pressure oxygen-enriched chamber as described in claim 3, characterized in that, The method of controlling the electric regulating valve according to the valve control mode further includes: The current integral term parameters of the PID control strategy are obtained in real time. Based on the current integral term parameters, the value of the initial valve opening is adjusted in real time.
5. The pressure regulation method for a micro-pressure oxygen-enriched chamber as described in claim 3, characterized in that, The method of using a PID control strategy to adjust the current valve opening of the electric regulating valve includes: Obtain the current pressure deviation; Calculate the rate of change of the pressure deviation over time; The target value of the proportional term parameter is determined based on the absolute value of the pressure deviation, and the target value of the differential term parameter is determined based on the rate of change of the pressure deviation over time. The current valve opening of the electric regulating valve is adjusted according to the target values of the proportional term parameter and the derivative term parameter.
6. The pressure regulation method for a micro-pressure oxygen-enriched chamber as described in claim 5, characterized in that, Adjusting the current valve opening of the electric regulating valve according to the target values of the proportional term parameter and the derivative term parameter includes: Compare the absolute value of the pressure deviation with a preset deviation threshold; If the absolute value of the pressure deviation is greater than the preset deviation threshold, the target value of the integral term parameter of the PID control strategy is determined to be a first value. If the absolute value of the pressure deviation is less than or equal to the preset deviation threshold, the target value of the integral term parameter of the PID control strategy is determined to be a second value, and the second value is greater than or equal to the first value. The current valve opening of the electric regulating valve is adjusted according to the target values of the proportional term parameter, the differential term parameter, and the integral term parameter.
7. The pressure regulation method for a micro-pressure oxygen-enriched chamber as described in claim 6, characterized in that, Adjusting the current valve opening of the electric regulating valve according to the target values of the proportional term parameter, the derivative term parameter, and the integral term parameter includes: Based on the target values of the proportional term parameter, the differential term parameter, and the integral term parameter, the target valve opening of the electric regulating valve is determined. If the target valve opening is greater than the preset opening limit value, then the value of the target valve opening is adjusted to the value of the preset opening limit value; Adjust the current valve opening of the electric regulating valve to the preset opening limit value.
8. The pressure regulation method for a micro-pressure oxygen-enriched chamber as described in claim 7, characterized in that, After determining the target valve opening of the electric regulating valve, the method further includes: If the target valve opening is less than or equal to the preset opening limit value, the target voltage value of the target control voltage signal of the electric regulating valve is obtained. The target control voltage signal is used to adjust the current valve opening of the electric regulating valve to the target valve opening. Determine the voltage change of the target control voltage relative to the current control voltage of the electric regulating valve; If the voltage change value is greater than or equal to the preset voltage change threshold, the current valve opening of the electric regulating valve is adjusted to the target valve opening using the target control voltage signal. If the voltage change value is less than the preset voltage change threshold, the current valve opening of the electric regulating valve remains unchanged.
9. A pressure regulating system for a low-pressure oxygen-enriched chamber, characterized in that, The pressure regulating system of the micro-pressure oxygen-enriched chamber is used to perform the pressure regulating method of the micro-pressure oxygen-enriched chamber as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program configured to be executed by a processor to implement the pressure regulation method of the micro-pressure oxygen-enriched chamber according to any one of claims 1 to 8.