A control method and apparatus for a back pressure valve
By decomposing and defining variables of the functional information set of the back pressure valve, a control module library was established, which solved the problems of repeated development and human error in the control of different types of fuel cells, and achieved higher reliability and compatibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2026-03-24
AI Technical Summary
In the existing technology, the back pressure valve suffers from long repetitive development cycles and human error in the control process of different types of fuel cells, resulting in insufficient reliability under different control requirements.
By acquiring the set of functional information about the back pressure valve acting on the fuel cell stack, the information is decomposed into closed-loop control logic, ice-breaking control logic, and pressure protection control logic. Corresponding functional modules are established, and the controlled variables in each module are defined and encapsulated to form a control module library. The module library is called according to the different control requirements of the fuel cell stack to adapt the control parameters.
It improves the reliability of the back pressure valve under different control requirements, reduces development time and human error, saves costs, and enhances the compatibility and reusability of the control system.
Smart Images

Figure CN116505028B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of back pressure valve control, and more particularly to a control method and apparatus for a back pressure valve. Background Technology
[0002] Hydrogen fuel cell systems, as a clean energy source, have experienced rapid development in recent years. A hydrogen fuel cell system comprises a hydrogen subsystem, an air subsystem, a thermal management subsystem, a power management subsystem, a condition management subsystem, and a fault diagnosis and handling subsystem. The air subsystem provides air at a specific temperature and pressure to the hydrogen fuel cell system. The air supplied by the air subsystem reacts chemically with the hydrogen supplied by the hydrogen subsystem in the fuel cell stack to generate electricity. Hydrogen fuel cell systems have strict requirements for air temperature, pressure, and flow rate to ensure performance. The back pressure valve and air compressor, as important components, are used to adjust the air intake of the air subsystem within suitable pressure and flow ranges. However, controlling the back pressure valve for different fuel cell models presents challenges such as long repetitive development cycles and susceptibility to human error.
[0003] Therefore, improving the reliability of back pressure valves under different control requirements is a technical problem that urgently needs to be solved. Summary of the Invention
[0004] The present invention provides a control method and apparatus for a back pressure valve, which improves the reliability of the back pressure valve under different control requirements.
[0005] The embodiments of the present invention provide the following solutions:
[0006] In a first aspect, embodiments of the present invention provide a method for controlling a back pressure valve, applied to controlling a back pressure valve on a fuel cell stack, the method comprising:
[0007] Obtain a set of functional information about the back pressure valve's effect on the fuel stack;
[0008] The set of functional information is decomposed to establish functional modules for each type of functional control logic;
[0009] Define the controlled variables in each of the functional modules and encapsulate them into a control module library for the back pressure valve;
[0010] The control module library is invoked based on the different control requirements of the fuel cell stack, so that the control process and control parameters of the back pressure valve are adapted to the corresponding control requirements.
[0011] In one optional embodiment, the step of decomposing the functional information set to establish functional modules for each functional control logic includes:
[0012] The functional information set of the back pressure valve acting on the fuel stack is decomposed into closed-loop control logic, ice-breaking control logic, and pressure protection control logic.
[0013] Based on the decomposition results of the aforementioned functional information set, a closed-loop control module, an ice-breaking control module, and a pressure protection module are generated.
[0014] In an optional embodiment, defining the controlled variables in each of the functional modules includes:
[0015] The controlled quantity of each functional module is marked as a threshold calibration quantity and a control identifier quantity, wherein the threshold calibration quantity is the limit control quantity that needs to be calibrated in the control logic, and the control identifier quantity is the control quantity that needs to be set in the control logic.
[0016] Define corresponding control variables for the threshold calibration value and the control identifier value respectively.
[0017] In an optional embodiment, the functional module includes a closed-loop control module, an ice-breaking control module, and a pressure protection module; the step of marking the controlled variable of each functional module as a threshold calibration value and a control identification value includes:
[0018] The upper limit of PID output, lower limit of PID output, upper limit of saturation output, and upper limit of saturation output of the closed-loop control module are marked as the threshold calibration values;
[0019] The cold start cathode pressure of the closed-loop control module is marked as the control identification quantity;
[0020] The first and second cycle counts of the ice-breaking control module are marked as the threshold calibration value;
[0021] The opening degree of the ice-breaking valve of the ice-breaking control module is marked as the control identifier quantity;
[0022] The protection opening threshold, ice-breaking opening increase rate, ice-breaking opening decrease rate, target opening increase rate, target opening decrease rate, upper opening limit, lower opening limit, and opening adjustment threshold of the pressure protection module are marked as the threshold calibration quantity.
[0023] In one alternative embodiment, the control module library packaged as the back pressure valve includes:
[0024] Convert the module format of all the functional modules to the target format, and set intermediate variables to pass the associated control quantities of the functional modules;
[0025] The functional module is input into a preset encapsulation model, and the module icon of the functional module, as well as the initial information and remarks of the controlled quantity, are set in the encapsulation model.
[0026] Based on the output of the encapsulation model, the control module library is obtained.
[0027] In one optional embodiment, the invocation of the control module library based on different control requirements of the fuel cell stack includes:
[0028] Load the control module library into the preset control model;
[0029] The variable values of the control variables in the control module library are updated based on the control requirements, and the preset control model is run.
[0030] In an optional embodiment, loading the control module library into a preset control model includes:
[0031] The loading address and loading function of the control module library are established in the preset control model;
[0032] Move the control module library to the load address and run the load function;
[0033] Check whether the module library of the preset control model contains the control module library;
[0034] If so, it is determined that the control module library has been loaded into the preset control model.
[0035] Secondly, embodiments of the present invention also provide a back pressure valve control device for controlling a back pressure valve on a fuel stack, the device comprising:
[0036] The acquisition module is used to acquire a set of functional information about the back pressure valve acting on the fuel stack;
[0037] A module is established to decompose and process the set of functional information and establish a functional module for each type of functional control logic;
[0038] An encapsulation module is used to define the controlled variables in each of the functional modules and encapsulate them into a control module library for the back pressure valve.
[0039] The calling module is used to call the control module library based on different control requirements of the fuel cell stack, so that the control process and control parameters of the back pressure valve can be adapted to the corresponding control requirements.
[0040] Thirdly, embodiments of the present invention also provide an electronic device, including a processor and a memory, the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of any of the methods described in the first aspect.
[0041] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first aspects.
[0042] The back pressure valve control method and device of the present invention have the following advantages compared with the prior art:
[0043] The control method of this invention acquires a set of functional information about the back pressure valve's action on the fuel cell stack, decomposes this set, establishes functional modules for each function's control logic, defines the controlled variables in each module, and encapsulates these modules to form a back pressure valve control module library. When applied to control the back pressure valve on the fuel cell stack, the control module library can be invoked based on different control requirements of the fuel cell stack, ensuring that the back pressure valve's control flow and parameters are adapted to the corresponding control needs. This control method facilitates reuse in subsequent fuel cell system and other control system development, saving time and manpower costs in developing back pressure valve control programs. It also avoids human error and difficulties in error correction associated with repetitive back pressure valve development, thereby improving the reliability of the back pressure valve under different control requirements. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 A flowchart illustrating a control method for a back pressure valve provided in an embodiment of the present invention;
[0046] Figure 2 A schematic diagram illustrating the definition of threshold calibration quantity and control identification quantity provided in an embodiment of the present invention;
[0047] Figure 3 The process of encapsulating a control module library provided for embodiments of the present invention Figure 1 ;
[0048] Figure 4 The process of encapsulating a control module library provided for embodiments of the present invention Figure 2 ;
[0049] Figure 5 A schematic diagram of the interface of the loading control module library provided in an embodiment of the present invention;
[0050] Figure 6 This is a schematic diagram of the interface after loading is completed, provided in an embodiment of the present invention;
[0051] Figure 7 This is a schematic diagram of the structure of a back pressure valve control device provided in an embodiment of the present invention. Detailed Implementation
[0052] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the protection scope of the embodiments of the present invention.
[0053] Hydrogen fuel cell vehicles, as a type of new energy vehicle, are considered the most promising clean energy vehicle of the 21st century due to their advantages such as high efficiency, zero emissions, short refueling time, and long driving range. The development of hydrogen fuel cell vehicles has attracted great attention from various countries. Driven by policies, hydrogen fuel cell vehicles are ushering in a new development direction. Currently, the industry's focus remains on research into control methods for fuel cell systems. Due to continuous research into fuel cell system control, several fuel cell systems have been developed and have been applied and validated in engineering, resulting in relatively mature control methods. However, for different control requirements of fuel cell stacks, such as changes in stack specifications, the control program for the back pressure valve needs to be redeveloped. During the development process, problems such as human error and difficulty in error correction can easily occur, leading to insufficient reliability of the back pressure valve under different control requirements. The following embodiments of the present invention will specifically illustrate how to improve the reliability of back pressure valve control.
[0054] Please see Figure 1 , Figure 1 A flowchart of a back pressure valve control method provided in an embodiment of the present invention is shown. The control method is applied to control the back pressure valve on a fuel cell stack. The method includes:
[0055] S11. Obtain the set of functional information about the back pressure valve acting on the fuel stack.
[0056] Specifically, the air subsystem manages airflow and fuel cell inlet air pressure. By controlling airflow, it ensures a sufficient air supply to the fuel cell stack; increasing the air subsystem inlet pressure improves oxygen supply and enhances the fuel cell stack's power output. The air handling system primarily comprises two modules: a flow control module and a back pressure management module. These two modules are coupled, so decoupling between the control systems is crucial. The flow control module primarily responds to the system's airflow requirements, controlling airflow through closed-loop regulation of the air flow meter and air compressor speed. The back pressure management module controls the air pressure at the fuel cell stack inlet, adjusting the back pressure valve opening to control the inlet air pressure. Therefore, the back pressure valve is mainly used to control the pressure of air entering the fuel cell stack. The functional information set represents all the control functions implemented by the back pressure valve on the fuel cell stack. It can be derived from the overall control flowchart of the back pressure valve; it can also be derived from the air intake control requirements of the air subsystem on the fuel cell stack; or it can be derived from the back pressure valve control logic description information. As long as it can comprehensively represent all the control functions of the back pressure valve acting on the fuel cell stack, it is sufficient. After obtaining the functional information set, proceed to step S12.
[0057] S12. Decompose the set of functional information and establish functional modules for each type of functional control logic.
[0058] Specifically, each function in the functional information set has specific control logic. The flow of each control logic is decomposed, and the corresponding functional module is derived from the decomposition results. A functional module is a software package that applies to the fuel cell stack for the corresponding function; it is a program or set of programs used to complete a specific function, including access to control parameters, and calls to various functions and subroutines. For example, for the control function of the back pressure valve acting on the fuel cell stack, a functional module for air overpressure protection and a functional module for PID (Proportion Integration Differentiation) control can be established. It should be noted that the functional modules can be independent of each other, or they can be interlocked based on the output results of other modules. No specific restrictions are placed here, as long as the corresponding function can be controlled.
[0059] In practical applications, since the control of the back pressure valve directly affects the magnitude and stability of the air intake volume of the fuel stack, an unreasonable number of functional modules will adversely affect the control quality of the air intake volume. Therefore, in one specific implementation, the functional information set is decomposed to establish functional modules for each functional control logic, including:
[0060] The functional information set of the back pressure valve acting on the fuel stack is decomposed into closed-loop control logic, ice-breaking control logic, and pressure protection control logic; based on the decomposition results of the functional information set, a closed-loop control module, an ice-breaking control module, and a pressure protection module are generated.
[0061] Specifically, the main functions of the back pressure valve for the fuel cell stack include closed-loop control of air input flow, de-icing, and pressure protection. Based on this, a closed-loop control module can be generated using closed-loop control logic, representing the closed-loop PID control process for air. An de-icing control module can be generated using de-icing control logic, representing the de-icing control process implemented after low-temperature freezing. A pressure protection module can be generated using pressure protection control logic, representing the control process by which the back pressure valve implements pressure protection for the fuel cell stack. The de-icing control implemented by the de-icing control module can be de-icing of the fuel cell stack, de-icing of the back pressure valve, or both; no limitation is made here. After establishing the functional modules for each function's control logic, proceed to step S13.
[0062] S13. Define the controlled variables in each of the functional modules and encapsulate them into the control module library of the back pressure valve.
[0063] Specifically, the controlled variable represents the control quantity that needs to be calibrated or set when the back pressure valve regulates the air pressure output to the fuel cell stack. The calibrated control quantity is usually the upper and lower limits of the air pressure controlled by the back pressure valve; the set control quantity is usually the valve opening degree of the back pressure valve under different operating states. It can be understood that defining the variable is the process of selecting an appropriate variable type for the controlled variable and setting the corresponding variable name. After defining the variable, assigning a value to it achieves the value definition of the controlled variable. Encapsulating functional modules can be achieved using existing software, such as Simulink; of course, other software tools capable of software encapsulation can also be used, which can encapsulate all functional modules into a module library.
[0064] In practical applications, due to the large number of controlled variables requiring variable definition in each functional module, confusion and definition errors are easily generated during the definition process. Therefore, in one specific implementation, variable definition is performed for the controlled variables in each functional module, including:
[0065] The controlled variables of each functional module are marked as threshold calibration quantity and control identifier quantity. The threshold calibration quantity is the limit control quantity that needs to be calibrated in the control logic, and the control identifier quantity is the control quantity that needs to be set in the control logic. The corresponding control variables are defined for the threshold calibration quantity and the control identifier quantity respectively.
[0066] Specifically, the labeling methods can involve assigning corresponding variable name suffixes or prefixes to threshold calibrated quantities and control identifier quantities, respectively; alternatively, a table can be created for labeling and differentiation. For example, the controlled quantities corresponding to each functional module can be represented in a list, and then the threshold calibrated quantities and control identifier quantities can be distinguished and labeled. The labeling method can be the name of the controlled quantity or its position in the list, making it easy to identify whether the controlled quantity is a threshold calibrated quantity or a control identifier quantity; no specific restrictions are imposed here. After the controlled quantities are distinguished and labeled, the definition of control variables has high recognizability, is less prone to confusion errors, and improves the reliability of variable definitions.
[0067] In practical applications, the control scenario for the air input to the fuel cell stack involves defining numerous controlled variables, which can easily lead to omissions in definition. Therefore, in one specific implementation, the functional modules include a closed-loop control module, an ice-breaking control module, and a pressure protection module; please refer to [link to relevant documentation]. Figure 2 The controlled variables of each functional module are marked as threshold calibration quantities and control identification quantities, including:
[0068] The upper limit, lower limit, saturated output upper limit, and saturated output upper limit of the closed-loop control module are marked as threshold calibration values. The upper limit of the PID output represents the upper limit value of the PID output controlled by the back pressure valve, and its variable name can be defined as Air_rBpvPidCrlMax_C; the lower limit of the PID output represents the lower limit value of the PID output controlled by the back pressure valve, and its variable name can be defined as Air_rBpvPidCrlMin_C; the upper limit of the saturated output represents the upper limit value of the first derivative of the PID output controlled by the back pressure valve, and its variable name can be defined as Air_rBpvPIDUpLim_C; the lower limit of the saturated output represents the lower limit value of the first derivative of the PID output controlled by the back pressure valve, and its variable name can be defined as Air_rBpvPIDLoLim_C. The upper and lower limits of the second derivative of the PID output can also be defined based on actual needs; the upper limit of the PID output is the sum of the first and second derivatives. It is understandable that when implementing PID control, the upper and lower limits of the PID output, as well as the upper and lower limits of the saturation output, can include the proportional upper limit, and can also include the integral upper limit and the derivative upper limit, depending on the actual control requirements. No specific restrictions are imposed here. The cold start cathode pressure of the closed-loop control module is marked as the control identifier. The cold start cathode pressure represents the pressure that the cathode input air needs to reach during the cold start of the fuel cell stack. Its variable name can be defined as Air_pStkInDmdCoolStart. After defining the threshold calibration quantity and the control identifier quantity of the closed-loop control module, assigning values to the variables will implement the corresponding PID control.
[0069] The back pressure valve is also used for ice-breaking control. The first and second cycle counts of the ice-breaking control module can be marked as threshold calibrators. The first and second cycle counts can be set according to different states under ice-breaking control. For example, the first cycle count can be set to N times in the initial state, and the second cycle count can be implemented after the ice-breaking effect or time reaches the expected value. The variable name for the first cycle count can be defined as Cycle1Times, and the variable name for the second cycle count can be defined as Cycle2Times. The opening degree of the ice-breaking valve in the ice-breaking control module is marked as a control identifier. The opening degree of the ice-breaking valve represents the target opening degree of the back pressure valve in ice-breaking mode. Its variable name can be defined as Air_rBpvIcebreak.
[0070] The back pressure valve is also used for pressure protection control. The protection opening threshold, ice-breaking opening rise rate, ice-breaking opening fall rate, target opening rise rate, target opening fall rate, upper opening limit, lower opening limit, and opening adjustment threshold of the pressure protection module are calibrated as threshold values. The protection opening threshold characterizes the opening threshold at which the back pressure valve implements pressure protection, and its variable name can be defined as Air_rBpvProtect_C; the ice-breaking opening rise rate characterizes the adjustment rate of the back pressure valve's opening increase in ice-breaking mode, and its variable name can be defined as Air_rBpvIceBRateLimUp_C; the ice-breaking opening fall rate characterizes the adjustment rate of the back pressure valve's opening decrease in ice-breaking mode, and its variable name can be defined as Air_rBpvIceBRateLimLo_C; the target opening rise rate characterizes the adjustment rate of the valve opening increase during PID control, and its variable name is defined as Air_rBpvIceBRateLimLo_C. The variable name is Air_rBpvRateLimUp_C; the target opening decrease rate represents the adjustment rate of valve opening reduction during PID control, and its variable name is defined as Air_rBpvRateLimLo_C; the upper limit of opening represents the maximum value of back pressure valve opening control, and its variable name is defined as Air_rBpvCrlMax_C; the lower limit of opening represents the minimum value of back pressure valve opening control, and its variable name is defined as Air_rBpvCrlMin_C; the opening adjustment threshold represents the threshold of back pressure valve opening adjustment, and its variable name is defined as Air_rBpvCtrlThd_C. After defining each controlled variable, the functional modules are then encapsulated into a back pressure valve control module library using an encapsulation tool.
[0071] In practical applications, since the encapsulated control module library needs to be called, conventional encapsulation methods will cause application compatibility issues. Therefore, in one specific implementation, the control module library encapsulated as a back pressure valve includes:
[0072] Convert the module format of all functional modules to the target format, and set intermediate variables to pass the associated control quantities of the functional modules; input the functional modules into the preset encapsulation model, and set the module icon of the functional module and the initial information and remarks of the controlled quantity in the encapsulation model; obtain the control module library based on the output results of the encapsulation model.
[0073] For details, please refer to Figure 3 Typically, functional modules are in SLX format. These need to be converted to a target format, which can be determined based on the application environment. For example, in Simulink, the target format is MDL. To structurally separate the functional modules, previously inconspicuous parts are separated using `from` and `goto` modules, and by adding intermediate local control variables to complete the preparation of the pre-packaged control model for the back pressure valve. The packaging model can be determined based on the actual packaging environment. For example, Simulink's Mask function can be used for packaging to encapsulate the intermediate parts of input and output variables (or create a mask). The packaging model sets the module icons for the functional modules. "Icon drawing commands" can be used to input instructions to design the icons for the packaging modules. For example, `image(imread(['F:\simulink\bvp_pid.png']))` can be used to insert an image of the back pressure valve PID control as the packaging module icon for the closed-loop control module. The initial information of the controlled variable includes the mapping relationship between the controlled variable and the variables in the packaging model. The definition here must be consistent with the variable names in the functional modules. Corresponding prompts and attributes such as modifying initial values can also be set. The remarks information is a descriptive information for the controlled variable, used to describe the type and function of the encapsulated module, helping users understand the module. It can clearly describe the input and output variables of each functional module of the back pressure valve to complete the encapsulation process of Simulink MAS. The three encapsulated functional modules are saved as an MDL file (bpv.mdl) to prepare for inclusion in the Simulink module library for unified management. Through the above operations, all functional modules can be encapsulated into the control module library of the back pressure valve. After the encapsulation is completed, proceed to step S14.
[0074] S14. Based on the different control requirements of the fuel cell stack, the control module library is invoked to adapt the control process and control parameters of the back pressure valve to the corresponding control requirements.
[0075] Specifically, fuel cell stacks come in various specifications and application scenarios, resulting in corresponding changes in the controlled variables and thus different control requirements. Under different control requirements, it is mainly necessary to adjust the controlled variables of the back pressure valve. Since the control module library encapsulates multiple functional modules, only the assignment of the corresponding control variables needs to be modified when calling it. The control flow and control parameters of the back pressure valve can be adapted to the corresponding control requirements to ensure that the control function of the back pressure valve acting on the fuel cell stack is realized normally.
[0076] In one specific implementation, the control module library is invoked based on different control requirements of the fuel cell stack, including:
[0077] Load the control module library into the preset control model; update the variable values of the control variables in the control module library based on the control requirements, and run the preset control model.
[0078] Specifically, loading the control module library can be implemented based on a preset port of the preset control model. This port enables the preset control model to call the control module library. The control model can be determined based on the actual application. For example, in the Matlab / Simulink environment, there are various different control module libraries. A control module library based on a back pressure valve can directly update the values of its control variables. The calling methods and rules are the same as for other general or encapsulated modules in the Simulink Library Browser, and will not be elaborated further.
[0079] In practical applications, conventional methods cannot intuitively determine whether the control module library has been successfully loaded. Therefore, in one specific implementation, the control module library is loaded into a preset control model, including:
[0080] Establish the loading address and loading function of the control module library in the preset control model; move the control module library to the loading address and run the loading function; check whether the module library of the preset control model contains the control module library; if so, determine that the control module library has been loaded into the preset control model.
[0081] For details, please refer to Figure 4 Taking Matlab as an example, the loading address is a specified location within the Matlab / Simulink environment, which can be used to load and call modules at any time. The control module library folder can be stored in the location ...\R2020b_Win64\Polyspace\toolbox\simulink\simulink\FccuBopLib; this path should be added to the Matlab settings path. Please refer to [link to Matlab settings]. Figure 5Loading at the specified location can be achieved through path searching. The folder contains two files: bpvload.m and bpv.mdl. bpvload.m is the loading function, i.e., a Matlab m-function, which loads the custom encapsulated module of the back pressure valve into the Simulink module library, following Simulink's unified module library management rules. It also automatically loads bpv.mdl into the Simulink module library and supports its invocation. bpv.mdl is the control module library, encapsulated from the three functional modules of the back pressure valve, which can be accessed through program code.
[0082] function blkStruct=bpvload;
[0083] Browser.Library = 'bpv';
[0084] Browser.Name='FccuBopLib';
[0085] `blkStruct.Browser = Browser;` sets the address where the control module library is loaded. It can be set to enable the library during startup using the code: `set_param(gcs, 'EnableLBRepository', 'on')`. During loading and runtime, the sort order of the control module library in the library browser can also be set using the code:
[0086] function sl_customization(cm)
[0087] cm.LibraryBrowserCustomizer.applyOrder({'FccuBopLib',-2});
[0088] End; Configure the settings, where Simulink priority is -1 and other library priorities are 0. Setting it to -2 allows it to be the first priority. The control module library loading process can be implemented by executing the bpvload.m file command through the Matlab run window.
[0089] The preset control model contains various module libraries. You can determine if a control module library has been loaded into the preset control model by searching for it. Matlab provides a visual search function: open the Simulink Library Browser, refresh the page, and a prompt line will appear at the top of the current page. Click "Fix," select the second option (Generate repositories in memory), and then use the Matlab command `sl_refresh_customization` to view the Simulink Library Browser. (See [link to relevant documentation]). Figure 6 The interface is displayed according to the alphabetical sorting and loading order settings. If the search results show the newly added back pressure valve control module library, it means that the control module library has been loaded into the preset control model; otherwise, if the search results do not show the corresponding results, it means that there is a problem with the loading and it needs to be reloaded.
[0090] Based on the same inventive concept as the control method, embodiments of the present invention also provide a control device for a back pressure valve, used to control the back pressure valve on a fuel cell stack. Please refer to [link to relevant documentation]. Figure 7 The device includes:
[0091] Acquisition module 701 is used to acquire a set of functional information about the back pressure valve acting on the fuel stack;
[0092] Module 702 is used to decompose the set of functional information and establish functional modules for each type of functional control logic;
[0093] The encapsulation module 703 is used to define the controlled variables in each of the functional modules and encapsulate them into the control module library of the back pressure valve.
[0094] Module 704 is used to call the control module library based on different control requirements of the fuel cell stack, so that the control process and control parameters of the back pressure valve can be adapted to the corresponding control requirements.
[0095] In one optional embodiment, the establishment module includes:
[0096] The decomposition submodule is used to decompose the functional information set of the back pressure valve acting on the fuel stack into closed-loop control logic, ice-breaking control logic, and pressure protection control logic.
[0097] A sub-module is generated to generate a closed-loop control module, an ice-breaking control module, and a pressure protection module based on the decomposition results of the functional information set.
[0098] In one optional embodiment, the packaging module includes:
[0099] The marking submodule is used to mark the controlled quantity of each of the functional modules as a threshold calibration quantity and a control identifier quantity, wherein the threshold calibration quantity is the limit control quantity that needs to be calibrated in the control logic, and the control identifier quantity is the control quantity that needs to be set in the control logic.
[0100] Define a submodule for defining corresponding control variables for the threshold calibration value and the control identifier value, respectively.
[0101] In one optional embodiment, the functional module includes a closed-loop control module, an ice-breaking control module, and a pressure protection module; the marking submodule includes:
[0102] The first marking unit is used to mark the PID output upper limit, PID output lower limit, saturation output upper limit and saturation output upper limit of the closed-loop control module as the threshold calibration value;
[0103] The second marking unit is used to mark the cold start cathode pressure of the closed-loop control module as the control identification quantity;
[0104] The third marking unit is used to mark the first cycle number and the second cycle number of the ice-breaking control module as the threshold calibration value;
[0105] The fourth marking unit is used to mark the opening degree of the ice-breaking valve of the ice-breaking control module as the control identifier quantity;
[0106] The fifth marking unit is used to mark the protection opening threshold, ice-breaking opening increase rate, ice-breaking opening decrease rate, target opening increase rate, target opening decrease rate, upper opening limit, lower opening limit, and opening adjustment threshold of the pressure protection module as the threshold calibration quantity.
[0107] In an optional embodiment, the packaging module further includes:
[0108] The first setting submodule is used to convert the module format of all the functional modules into the target format and set intermediate variables to pass the associated control quantities of the functional modules;
[0109] The second setting submodule is used to input the functional module into a preset encapsulation model, and set the module icon of the functional module and the initial information and remarks of the controlled quantity in the encapsulation model;
[0110] Obtain sub-modules to obtain the control module library based on the output of the encapsulation model.
[0111] In one optional embodiment, the calling module includes:
[0112] A loading submodule is used to load the control module library into a preset control model;
[0113] The running submodule is used to update the variable values of the control variables in the control module library based on control requirements, and to run the preset control model.
[0114] In one optional embodiment, the loading submodule includes:
[0115] A creation unit is used to create the loading address and loading function of the control module library in the preset control model;
[0116] The execution unit is used to move the control module library to the loading address and run the loading function;
[0117] The search unit is used to search whether the module library of the preset control model contains the control module library;
[0118] The determining unit determines that the control module library has been loaded into the preset control model when the module library of the preset control model contains the control module library.
[0119] Based on the same inventive concept as the control method, embodiments of the present invention also provide an electronic device, including a processor and a memory, the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of any of the control methods.
[0120] Based on the same inventive concept as the control method, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the control methods.
[0121] The technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0122] By acquiring the functional information set of the back pressure valve acting on the fuel cell stack, this information set is decomposed and processed to establish functional modules for each function's control logic. The controlled variables within each module are defined and encapsulated to form a back pressure valve control module library. When applied to control the back pressure valve on the fuel cell stack, the control module library can be invoked based on different control requirements of the fuel cell stack, ensuring that the back pressure valve's control flow and parameters adapt to the corresponding control needs. This control method facilitates reuse in subsequent fuel cell system and other control system development, saving time and manpower costs in developing back pressure valve control programs. It also avoids human error and difficulties in error correction associated with repetitive back pressure valve development, thereby improving the reliability of the back pressure valve under different control requirements.
[0123] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0124] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (modules, systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0125] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0126] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0127] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0128] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A control method for a back pressure valve, characterized in that, The method, applied to controlling back pressure valves on a fuel cell stack, includes: Obtain a set of functional information about the back pressure valve's effect on the fuel stack; The set of functional information is decomposed to establish functional modules for each type of functional control logic; Define the controlled variables in each of the functional modules and encapsulate them into a control module library for the back pressure valve; The control module library is invoked based on the different control requirements of the fuel cell stack, so that the control process and control parameters of the back pressure valve are adapted to the corresponding control requirements. The definition of the controlled variables in each of the functional modules includes: The controlled quantity of each functional module is marked as a threshold calibration quantity and a control identifier quantity, wherein the threshold calibration quantity is the limit control quantity that needs to be calibrated in the control logic, and the control identifier quantity is the control quantity that needs to be set in the control logic. Define corresponding control variables for the threshold calibration value and the control identifier value respectively; The functional modules include a closed-loop control module, an ice-breaking control module, and a pressure protection module; the step of marking the controlled variable of each functional module as a threshold calibration value and a control identifier value includes: The upper limit of PID output, lower limit of PID output, upper limit of saturation output, and upper limit of saturation output of the closed-loop control module are marked as the threshold calibration values; The cold start cathode pressure of the closed-loop control module is marked as the control identification quantity; The first and second cycle counts of the ice-breaking control module are marked as the threshold calibration value; The opening degree of the ice-breaking valve of the ice-breaking control module is marked as the control identifier quantity; The protection opening threshold, ice-breaking opening increase rate, ice-breaking opening decrease rate, target opening increase rate, target opening decrease rate, upper opening limit, lower opening limit, and opening adjustment threshold of the pressure protection module are marked as the threshold calibration quantity.
2. The control method for the back pressure valve according to claim 1, characterized in that, The process of decomposing the functional information set to establish functional modules for each type of functional control logic includes: The functional information set of the back pressure valve acting on the fuel stack is decomposed into closed-loop control logic, ice-breaking control logic, and pressure protection control logic. Based on the decomposition results of the aforementioned functional information set, a closed-loop control module, an ice-breaking control module, and a pressure protection module are generated.
3. The control method for the back pressure valve according to claim 1, characterized in that, The control module library encapsulated as the back pressure valve includes: Convert the module format of all the functional modules to the target format, and set intermediate variables to pass the associated control quantities of the functional modules; The functional module is input into a preset encapsulation model, and the module icon of the functional module, as well as the initial information and remarks of the controlled quantity, are set in the encapsulation model. Based on the output of the encapsulation model, the control module library is obtained.
4. The control method for the back pressure valve according to claim 1, characterized in that, The invocation of the control module library based on different control requirements of the fuel cell stack includes: Load the control module library into the preset control model; The variable values of the control variables in the control module library are updated based on the control requirements, and the preset control model is run.
5. The control method for the back pressure valve according to claim 4, characterized in that, The step of loading the control module library into the preset control model includes: The loading address and loading function of the control module library are established in the preset control model; Move the control module library to the load address and run the load function; Check whether the module library of the preset control model contains the control module library; If so, it is determined that the control module library has been loaded into the preset control model.
6. A control device for a back pressure valve, characterized in that, The apparatus is used to control a back pressure valve on a fuel cell stack, employing the steps of a back pressure valve control method as described in any one of claims 1-5, wherein the apparatus comprises: The acquisition module is used to acquire a set of functional information about the back pressure valve acting on the fuel stack; A module is established to decompose and process the set of functional information and establish a functional module for each type of functional control logic; An encapsulation module is used to define the controlled variables in each of the functional modules and encapsulate them into a control module library for the back pressure valve. The calling module is used to call the control module library based on different control requirements of the fuel cell stack, so that the control process and control parameters of the back pressure valve can be adapted to the corresponding control requirements.
7. An electronic device, characterized in that, The device includes a processor and a memory, the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of the method according to any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method described in any one of claims 1-5.
Citation Information
Patent Citations
PID control method of fuel cell system
CN111129550A
Ice breaking control method and system of back pressure valve of fuel cell
CN113745578A