A control method for an oxygen regulator controller based on a finite state machine
An oxygen regulator controller was designed using a two-level control method based on finite state machines. This method solved the problem of control strategy coupling under different operating conditions, improved independence and accuracy, and enhanced the reliability of the control system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
- Filing Date
- 2022-12-15
- Publication Date
- 2026-06-12
AI Technical Summary
Existing oxygen regulator controllers exhibit strong coupling in their control strategies under different operating conditions and poor independence of control states, which affects the reliability and accuracy of the control system.
A two-level control method based on finite state machines is adopted. First-level and second-level state machines are designed, state transition conditions and priority order are defined, and an independent control strategy is designed for each state. Hysteresis design is used to reduce frequent switching.
It improves the independence between control modules, effectively meets the control requirements under different operating conditions, and improves the reliability and accuracy of the control system.
Smart Images

Figure CN116395138B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of airborne oxygen regulator control, and in particular to a control method for an oxygen regulator controller based on a finite state machine. Background Technology
[0002] Oxygen regulator controllers are used in aircraft oxygen supply systems. These systems provide a continuous supply of oxygen to pilots at high altitudes, preventing harm from low-pressure effects. An aircraft oxygen supply system mainly consists of an aircraft oxygen source, an oxygen regulator controller, and a breathing chamber.
[0003] As the core intelligent control component of the aircraft oxygen supply system, the oxygen regulator controller identifies external environmental information, different flight states of the aircraft, and the pilot's breathing state, and adjusts the pressure changes in the breathing chamber through control calculations to ensure the pilot's normal breathing.
[0004] Existing design methods exhibit strong coupling of control strategies under different operating conditions and poor independence of control states. The oxygen regulator controller plays a crucial role in the entire oxygen supply control system, and its control strategy design is paramount. Therefore, a sound design methodology is essential for improving the reliability and accuracy of the control system. Summary of the Invention
[0005] In view of this, this application provides a control method for an oxygen regulator controller based on a finite state machine, which solves the problems in the prior art, improves the independence between control modules, and can effectively meet the control requirements under different operating conditions.
[0006] The oxygen regulator controller control method based on a finite state machine provided in this application adopts the following technical solution:
[0007] A control method for an oxygen regulator controller based on a finite state machine is disclosed. The method is applied to an oxygen supply regulator control system. The method includes: designing a two-level finite state machine, performing a second-level state judgment in the first-level state, and designing a corresponding control strategy in each state.
[0008] Optionally, define a first-level control state and design the state transition conditions between first-level states.
[0009] Optionally, the priority order of first-level state transitions can be defined, and the transition can be selected according to the priority order when the entry conditions are met simultaneously.
[0010] Optionally, a secondary control state can be defined, and the secondary state can be assigned within the primary state.
[0011] Optionally, in the second-level state, design the switching logic between each state.
[0012] Optionally, a hysteresis design can be used in the design of the second-level state switching logic to reduce frequent switching between states in the critical region.
[0013] Optionally, for each control state, a corresponding control strategy is designed, and the control process is discretized according to the state.
[0014] Optionally, the independent control objective can be calculated under different control states.
[0015] In summary, this application includes the following beneficial technical effects:
[0016] This application's method divides the entire working process of the oxygen supply control system into independent states based on different operating conditions. In each state, a corresponding control strategy is designed. By selecting different control strategies under different control states, control calculations are performed, and the final control output is sent to the control actuator to achieve the target control. Employing a finite state machine-based control method and following a hierarchical design approach, by defining different control states, the coupling of control strategies under different operating conditions is reduced, and the independence between control modules is improved. This effectively addresses the control requirements under different operating conditions and has significant practical value. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the 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.
[0018] Figure 1 The first-level state quasi-transition diagram provided for this application;
[0019] Figure 2 The secondary state quasi-transition diagram provided for this application. Detailed Implementation
[0020] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0021] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this application, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0023] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. The drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0024] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.
[0025] This application provides a control method for an oxygen regulator controller based on a finite state machine.
[0026] A control method for an oxygen regulator controller based on a finite state machine is disclosed. The method is applied to an oxygen supply regulator control system. The method includes: designing a two-level finite state machine, performing a second-level state judgment in the first-level state, and designing a corresponding control strategy in each state.
[0027] Define the first-level control states and design the state transition conditions between the first-level states.
[0028] like Figure 1 As shown, the first-level control states include normal control state, test control state, ejection control state, degraded control state, and rapid decompression control state.
[0029] The transition conditions for each state are as follows: 1.1 After the controller is powered on and initialized, it enters the continuous working mode. In the continuous working mode, the first-level control state is selected, and the default state is the normal control state.
[0030] 1.2 Under normal control conditions, if the cabin pressure is detected to drop below LimitHPr1 within time t1, thus meeting the conditions for entering rapid decompression control, the normal control state should be exited and the rapid decompression control state should be entered.
[0031] 1.3 Under normal control conditions, if the external test switch is first detected to be grounded and the wheel-load signal is on the ground, thus meeting the conditions for entering the test control state, the normal control state should be exited and the test control state should be entered.
[0032] 1.4 Under normal control conditions, if the degradation switch is detected to be effective first, or a critical fault that can lead to automatic degradation occurs, and the conditions for entering the degradation control state are met, then the normal control state should be exited and the degradation control state should be entered.
[0033] 1.5 Under normal control conditions, if the ejection switch is detected to be disconnected first, and a communication interruption fault with the aircraft occurs simultaneously, thus meeting the conditions for entering the ejection control state, the normal control state should be exited and the ejection control state should be entered.
[0034] 1.6 In the rapid decompression control state, after 1.5 seconds, it will automatically exit the rapid decompression control state and enter the normal control state.
[0035] 1.7 In the ejection control state, if the degradation switch is detected to be effective first, or a critical fault that can lead to automatic degradation occurs, and the conditions for entering the degradation control state are met, then the ejection control state should be exited and the degradation control state should be entered.
[0036] 1.8 In degraded control state, if the degrade switch is detected to be invalid and the automatic degrade fault is recovered, and the conditions for exiting the degraded state are met, the degraded control state should be exited and the normal control state should be entered.
[0037] 1.9 In test control state, if the exit test command is detected to be valid or the test is completed, and the conditions for exiting test control state are met, the test control state should be exited and the normal control state should be entered.
[0038] 1.10 Under the test control state, if the downgrade switch is detected to be valid first, or a critical failure that can cause automatic downgrade occurs, and the conditions for entering the downgrade control state are met, the test control state should be exited at this time and the downgrade control state should be entered.
[0039] Define the priority order of the first-level state transitions. When the entry conditions are met simultaneously, select according to the priority order to ensure the uniqueness and certainty of the state.
[0040] Specifically, if two or more conditions are met simultaneously, the first-level working state mode should be selected according to the priority order in Table 1.
[0041] Table 1 Priority Selection Table
[0042] Serial Number Priority Remark 1 1 Rapid decompression entry conditions 2 2 Downgrade entry conditions 3 3 ejection entry conditions 4 4 Test entry conditions 5 5 Normal entry conditions
[0043] Define the second-level control state and allocate the second-level states under the first-level state.
[0044] Under the second-level state, design the switching logic between each state.
[0045] As Figure 2 shown, the second-level states include the non-pressurized control state, the safety residual pressure control state, and the high-altitude pressurization control state.
[0046] The switching logic between the states is as follows:
[0047] 2.1 The initial state is the non-pressurized control state. Under the non-pressurized control state, if the height pressure < LimitHPr2 or the safety residual pressure switch is valid, and the conditions for entering the safety residual pressure control state are met, the non-pressurized control state should be exited and the safety residual pressure control state should be entered.
[0048] 2.2 Under the safety residual pressure control state, if the height pressure > LimitHPr2 + △P1 and the safety residual pressure switch is invalid, and the conditions for entering the non-pressurized control state are met, the safety residual pressure control state should be exited and the non-pressurized control state should be entered.
[0049] 2.3 Under the safety residual pressure control state, if the height pressure < LimitHPr3, and the conditions for entering the high-altitude pressurization control state are met, the safety residual pressure control state should be exited and the high-altitude pressurization control state should be entered.
[0050] 2.4 Under the high-altitude pressurization control state, if the height pressure > LimitHPr3 + △P2, and the conditions for entering the safety residual pressure control state are met, the high-altitude pressurization control state should be exited and the safety residual pressure control state should be entered.
[0051] Hysteresis design is used in the design of the second-level state switching logic to reduce frequent switching between states in the critical region.
[0052] For each control state, a corresponding control strategy is designed, and the control process is discretized according to the state.
[0053] Calculating the control objective independently under different control states improves the modular design of the system.
[0054] In one embodiment, an oxygen regulator control method based on a finite state machine is used to realize the oxygen supply control calculation function.
[0055] The specific implementation steps are as follows:
[0056] 1. The controller first selects a primary control mode based on the external environment input, and then switches between these modes. The design time t1 is 1.5 seconds, and LimitHPr1 is 15 kPa.
[0057] 2. Under the primary control state, select the secondary control mode as the final control mode.
[0058] 2.1 In the primary control state, between the normal control state and the launch control state, the controller enters the secondary control state selection, and the finally selected secondary state becomes the final state. Where LimitHPr2 is 52.6 kPa, LimitHPr3 is 19.6 kPa, ΔP1 is 2.4 kPa, and ΔP2 is 1.3 kPa.
[0059] 2.2 In the first-level control state, in the rapid decompression control state, degraded control state and test control state, the second-level control state machine does not respond, and the first-level state is selected as the final state.
[0060] 3. For each control state ultimately selected, design the corresponding control objective and then execute the corresponding control strategy. The design of the control objective is based on a comprehensive judgment of altitude and overload, and the one that has the greatest impact on human respiration is selected as the final control objective.
[0061] 3.1 Under non-pressurized control conditions, the control target is designed as Tar1. The control logic is calculated according to the non-pressurized control law, and Tar1 is calculated based on the overload value.
[0062] Calculations are performed based on the overload value.
[0063] 3.2 Under safe overpressure control, the control target is designed as Tar2. The control logic is calculated according to the safe overpressure control law. At this time, the oxygen supply target value corresponding to the height is 0.35 kPa. The larger of the oxygen supply target corresponding to the overload value and the oxygen supply target corresponding to the height is selected as the final Tar2.
[0064] 3.3 Under high-altitude pressurization control, the control target Tar3 is calculated based on the flight altitude, and the control logic is executed according to the high-altitude pressurization control law. Tar3 is calculated by combining altitude pressure and overload value, and the larger of the two values is taken as the final result.
[0065] 3.4 If the first-level state is the normal control state, the control target is calculated according to the calculation methods in 3.1, 3.2 and 3.3. If the first-level state is the ejection control state, Tar1 = 0, Tar2 = 0.35, and Tar3 is calculated based on the altitude pressure.
[0066] 3.5 Under rapid decompression control, the control target is designed as Tar4. The control logic is calculated according to the rapid decompression control law. Tar4 is calculated based on the overload value.
[0067] 3.6 In degraded control mode, the electronic controller does not perform control calculations and transfers control to the mechanical mechanism.
[0068] 3.7 Under test control, the control target is selected and calculated according to the maintenance test instructions of the maintenance equipment, and the control logic is executed according to the predetermined control law.
[0069] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of controlling an oxygen regulator controller based on a finite state machine, the method comprising: The method is applied to the oxygen supply regulator control system. The method includes: designing a two-level finite state machine, performing a second-level state judgment in the first-level state, and designing a corresponding control strategy in each state. Define the first-level control states and design the state transition conditions between the first-level states; define the priority order of the first-level state transitions, and select the state according to the priority order when the entry conditions are met simultaneously. Define a two-level control state and assign the two-level state to the first-level state. In the second-level state, design the switching logic between each state. When designing the switching logic of the second-level state, use hysteresis design to reduce the frequent switching between states in the critical region.
2. The oxygen regulator controller control method based on a finite state machine according to claim 1, characterized in that, For each control state, a corresponding control strategy is designed, and the control process is discretized according to the state.
3. The oxygen regulator controller control method based on a finite state machine according to claim 2, characterized in that, Calculation of independent control objectives under different control states.