Sliding mode and PID cascade control method based on PEMFC gas supply system

Through the sliding mode and PID cascade control method, the cathode pressure is accurately estimated and the OER is controlled, which solves the accuracy of the fuel cell air supply system and improves the control effect and service life of the fuel cell.

CN115542724BActive Publication Date: 2024-11-22CHONGQING UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211313596.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-25
Publication Date
2024-11-22
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

The prior art is difficult to accurately estimate the cathode pressure of the proton exchange membrane fuel cell (PEMFC) system, resulting in inaccurate control of the oxygen excess ratio (OER) and affecting the effectiveness and accuracy of the fuel cell air supply system.

Method used

Using the sliding mode and PID cascade control method based on PEMFC gas supply system, the working voltage of the air compressor is determined by constructing an oxygen supply system model, an expansion state observer and a reconstruction OER curve, combining the sliding mode controller and a PID controller. To achieve accurate cathode intake control.

Benefits of technology

It improves the accuracy and effectiveness of air supply control of proton exchange membrane fuel cell, ensures the avoidance of oxygen starvation, extends the service life of the fuel cell, and responds faster and has a smaller overshoot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115542724B_ABST
    Figure CN115542724B_ABST
Patent Text Reader

Abstract

The present invention specifically relates to a sliding mode and PID cascade control method based on a PEMFC gas supply system, wherein improving the excess oxygen ratio (OER) and net power are research hotspots. Since the cathode pressure of the PEMFC gas supply system is an unmeasurable data, the present invention constructs a corresponding extended state observer based on the PEMFC third-order model, further utilizes the extended state observer to quickly reconstruct the OER, and fits the corresponding optimal OER curve with the maximum power as the control target, and uses a sliding mode and PID cascade control method to adjust the OER of the PEMFC, thereby determining the cathode air intake of the PEMFC oxygen supply system to achieve air supply control of the PEMFC. The present invention can accurately estimate the system cathode pressure that meets the actual situation, and can accurately control the cathode air intake of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fuel cells, and in particular to a sliding mode and PID cascade control method based on a PEMFC gas supply system. Background Art

[0002] Fuel cells are considered as a potential alternative energy conversion technology due to their high efficiency and environmental protection. Among various types of fuel cells, proton exchange membrane fuel cells (PEMFC) are particularly suitable for the energy supply of electric vehicles due to their advantages such as low temperature, fast start-up and high energy density. However, PEMFC is a multi-input and multi-output system with strong nonlinearity, so precise control technology is required to ensure optimal performance. One of the most challenging tasks is the fuel cell air supply control, that is, regulating the oxygen flow in the cathode.

[0003] When the load suddenly increases, it is necessary to ensure that the amount of oxygen supplied by the air compressor does not drop below a critical level, that is, the oxygen excess ratio (OER) is less than 2, otherwise oxygen starvation will occur, resulting in hot spots on the membrane surface and irreversible damage to the proton exchange membrane. On the other hand, since the intake system can consume up to 30% of the power of the fuel cell under high load conditions, it is necessary to reduce its energy consumption. In short, the control of the fuel cell air supply system is one of the key factors in optimizing the operating conditions of the fuel cell.

[0004] To this end, a Chinese patent with publication number CN112436166A discloses a "Sliding Mode Control Method for Proton Exchange Membrane Fuel Cell Air Supply System", which includes: adjusting the oxygen supply by controlling the air compressor flow rate, so that the control target of the air supply system is: the actual oxygen excess ratio can track the optimal oxygen excess ratio of the current state. This existing solution controls the flow rate of the air compressor based on the actual oxygen excess ratio and the optimal oxygen excess ratio.

[0005] However, when calculating the actual oxygen excess ratio, it is necessary to first obtain the cathode pressure of the system, and the cathode pressure of the system is an unmeasurable data, which makes it impossible to effectively calculate the actual oxygen excess ratio, and thus leads to poor effectiveness of the proton exchange membrane fuel air supply control. At the same time, the above-mentioned existing scheme adopts a control strategy based on sliding mode control for the control of the excess oxygen ratio (OER), and the single sliding mode control is prone to vibration, which makes it impossible to accurately control the cathode air intake, and thus leads to poor accuracy of the proton exchange membrane fuel air supply control. Therefore, how to design a method that can improve the effectiveness and accuracy of the air supply control of the proton exchange membrane fuel cell is a technical problem that needs to be solved urgently. Summary of the invention

[0006] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide a sliding mode and PID cascade control method based on the PEMFC air supply system, so as to accurately estimate the system cathode pressure in line with actual conditions, and accurately control the cathode air intake of the system, thereby improving the effectiveness and accuracy of the air supply control of the proton exchange membrane fuel cell.

[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0008] The sliding mode and PID cascade control method based on the PEMFC gas supply system includes:

[0009] S1: Construct a PEMFC oxygen supply system model;

[0010] S2: Selecting a supply pipeline model based on the PEMFC oxygen supply system model, and then constructing a corresponding expanded state observer based on the parameters of the supply pipeline model;

[0011] S3: reconstructing the cathode pressure through the observation data of the expanded state observer, and then generating the corresponding reconstructed OER curve by combining the cathode pressure with the supply pipeline pressure of the PEMFC oxygen supply system model;

[0012] S4: Taking the maximum power as the control target, the corresponding optimal OER curve is obtained by fitting;

[0013] S5: The error between the reconstructed OER curve and the optimal OER curve is used as the input of the sliding mode controller and the PID controller. The operating voltage of the air compressor is determined by the sum of the outputs of the sliding mode controller and the PID controller, and then the cathode air intake amount of the PEMFC oxygen supply system is determined to achieve air supply control of the PEMFC.

[0014] Preferably, in step S1, the model order of the PEMFC oxygen supply system model is first determined, and then the corresponding PEMFC oxygen supply system model is constructed in MATLAB.

[0015] Preferably, in step S1, the PEMFC oxygen supply system model is represented by the following formula:

[0016]

[0017]

[0018]

[0019]

[0020]

[0021] c3=Patm ;

[0022]

[0023]

[0024]

[0025]

[0026] c8=K smout ;

[0027]

[0028]

[0029]

[0030]

[0031]

[0032]

[0033] [x1,x2,x3]=[w cp ,P sm ,P ca ];

[0034] Where: I st Indicates load current; represents the rate of change of the angular velocity of the air compressor, is the derivative of x1; Indicates the rate of change of pressure in the supply pipeline; Indicates the rate of change of cathode pressure; W cp represents the air flow through the air compressor; u represents the working voltage of the air compressor; n cm Indicates the mechanical efficiency of the motor; k t , k v , R cm Represents the driving motor constant; J cp Indicates the connection inertia between the air compressor and the motor; C p represents the specific heat capacity of air; T atm represents the atmospheric temperature; n cp Indicates the efficiency of the air compressor; P atm represents atmospheric pressure; γ represents specific heat ratio; represents the universal gas constant; K smout represents the supply pipeline outlet constant; M a,atm Indicates the molar mass of air; Vsm Indicates the volume of the supply pipeline; T st Indicates the stack temperature; V ca represents the volume of cathode flow channel; M O2 Indicates the molar mass of oxygen; M N2 represents the molar mass of nitrogen; x O2atm represents the mass fraction of oxygen in the inlet gas; w atm Indicates gas humidity; C D Indicates the discharge coefficient of the return pipe; A T Indicates the back pressure valve opening; P sat Saturated steam pressure; n represents the number of cells in the stack; P ca represents the rate of change of cathode pressure; w cp Indicates the angular velocity of the air compressor; P sm represents the pressure of the supply pipeline; F represents the Faraday constant.

[0035] Preferably, in step S2, an extended state observer is constructed by the following steps:

[0036] First, the pressure change rate of the supply pipeline Rewritten as:

[0037]

[0038] Secondly, let

[0039] And, let

[0040] Then, let x1=z1, X=z2, and we get

[0041] Finally, the following extended state observer is constructed:

[0042]

[0043]

[0044] Where: represents the output of the extended state observer, i.e., the estimated values ​​of z1 and z2, for The derivative of ; β1 and β2 represent the gains of the extended state observer.

[0045] Preferably, in step S3, the reconstructed OER curve is calculated by the following formula:

[0046]

[0047]

[0048] Where: O2 represents the reconstructed OER curve; Represents the observation data of the expansion state observer, namely the cathode pressure.

[0049] Preferably, in step S4, the optimal OER curve is calculated by the following formula:

[0050] λ O2ref =5×10 -8 I 3 st -2.87×10 -5 I 2 st +2.23×10 -3 I st +2.5;

[0051] Where: O2ref represents the optimal OER curve; I st Indicates the load current.

[0052] Preferably, in step S5, the control function of the sliding mode controller is expressed by the following formula:

[0053] u1=-b|S| ρ sign(S)+u s ;

[0054]

[0055] Where S = λ O2ref -λ O2 ;

[0056]

[0057] Where: u1 represents the output of the sliding mode controller; u s is part of the sliding mode controller output, for u s The derivative of; S represents the sliding surface of the sliding mode controller; α, ρ, b, H, K m and K M All represent the set constants; O2ref represents the optimal OER curve; λ O2 Represents the reconstructed OER curve.

[0058] Preferably, in step S5, the control function of the PID controller is expressed by the following formula:

[0059] u2=K P e+K I e+K D e;

[0060] e=λ O2ref -λ O2 ;

[0061] Where: u2 represents the output of the PID controller; K P , K I , K D Respectively represent proportional gain, integral gain and derivative gain; e represents error; λ O2ref represents the optimal OER curve; λ O2 Represents the reconstructed OER curve.

[0062] Preferably, in step S5, the operating voltage of the air compressor is calculated by the following formula:

[0063] u=u1+u2;

[0064] Where: u represents the working voltage of the air compressor; u1 represents the output of the sliding mode controller; u2 represents the output of the PID controller.

[0065] The sliding mode and PID cascade control method based on the PEMFC gas supply system in the present invention has the following beneficial effects:

[0066] The present invention constructs a proton exchange membrane fuel cell (PEMFC) oxygen supply system model, and selects a supply pipeline model based on the proton exchange membrane fuel cell oxygen supply system model to construct an expansion state observer, so that the cathode pressure and the corresponding reconstructed OER (peroxygen ratio) curve can be reconstructed through the observation data of the expansion state observer, so that the cathode pressure of the (proton exchange membrane fuel oxygen supply) system that conforms to the actual situation, that is, the unmeasurable pressure, can be accurately estimated through the expansion state observer, which is conducive to better calculation of the reconstructed OER curve, and can more accurately control the working voltage of the air compressor, thereby improving the effectiveness of the air supply control of the proton exchange membrane fuel cell.

[0067] The present invention uses the maximum power as the control target to fit the corresponding optimal OER curve, and then uses the error between the reconstructed OER curve and the optimal OER curve as the input of the sliding mode controller and the PID controller, so that the reconstructed OER curve can better track the optimal OER curve through the joint control of the sliding mode controller and the PID controller, that is, it can more accurately control the working voltage of the air compressor and the cathode air intake of the (proton exchange membrane fuel oxygen supply) system, thereby improving the accuracy of the air supply control of the proton exchange membrane fuel cell. At the same time, the joint control method of the sliding mode controller and the PID controller has the advantages of faster response and smaller overshoot compared with the existing PID control or adaptive PID control, and can better track the optimal OER to achieve optimal power, and can ensure that oxygen starvation does not occur, thereby improving the oxygen supply problem of the proton exchange membrane fuel cell, and then improving the service life of the proton exchange membrane fuel cell. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] In order to make the purpose, technical solution and advantages of the invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, in which:

[0069] Figure 1 It is a flow chart of the sliding mode and PID cascade control method based on the PEMFC gas supply system;

[0070] Figure 2 It is a schematic diagram of the joint control of sliding mode controller and PID controller;

[0071] Figure 3 is the ESO estimation result of the extended state observer;

[0072] Figure 4 It is the OER effect diagram of adaptive PID and SMC+PID cascade control;

[0073] Figure 5 This is the OER effect diagram of PID and SMC+PID cascade control. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but only represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0075] It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. In the description of the present invention, it should be noted that the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, or the orientation or position relationship in which the invention product is usually placed when used, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. In addition, the terms "horizontal", "vertical", etc. do not mean that the components are absolutely horizontal or suspended, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted. In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0076] The following is a further detailed description through specific implementation methods:

[0077] Example:

[0078] This embodiment discloses a sliding mode and PID cascade control method based on a PEMFC gas supply system.

[0079] like Figure 1 and Figure 2 As shown, the sliding mode and PID cascade control method based on the PEMFC gas supply system includes:

[0080] S1: Construct a PEMFC (proton exchange membrane fuel cell) oxygen supply system model;

[0081] In this embodiment, the model order of the PEMFC oxygen supply system model is first determined to be third order, and then the corresponding PEMFC oxygen supply system model is constructed in MATLAB.

[0082] S2: Selecting a supply pipeline model based on the PEMFC oxygen supply system model, and then constructing a corresponding extended state observer (ESO) based on the parameters of the supply pipeline model;

[0083] S3: reconstructing the cathode pressure through the observation data of the expanded state observer, and then generating the corresponding reconstructed OER (overoxygen ratio) curve by combining the cathode pressure with the supply pipeline pressure of the PEMFC oxygen supply system model;

[0084] S4: Taking the maximum power as the control target, the corresponding optimal OER curve is obtained by fitting;

[0085] S5: The error between the reconstructed OER curve and the optimal OER curve is used as the input of the sliding mode controller (SMC) and the PID controller. The operating voltage of the air compressor is determined by the sum of the outputs of the sliding mode controller and the PID controller, and then the cathode air intake volume of the PEMFC oxygen supply system is determined to achieve the air supply control of the PEMFC. In industrial process control, the control system that controls the proportional, integral and differential of the error generated by comparing the information collected by the real-time data of the controlled object with the given value is referred to as the PID (Proportional Integral Derivative) control system.

[0086] In this embodiment, the sum of the outputs of the sliding mode controller and the PID controller is used as the operating voltage of the air compressor in the PEMFC oxygen supply system to control the flow rate of the air compressor, thereby achieving control of the cathode air intake amount.

[0087] The present invention constructs a proton exchange membrane fuel cell (PEMFC) oxygen supply system model, and selects a supply pipeline model based on the proton exchange membrane fuel cell oxygen supply system model to construct an expansion state observer, so that the cathode pressure and the corresponding reconstructed OER (peroxygen ratio) curve can be reconstructed through the observation data of the expansion state observer, so that the cathode pressure of the (proton exchange membrane fuel oxygen supply) system that conforms to the actual situation, that is, the unmeasurable pressure, can be accurately estimated through the expansion state observer, which is conducive to better calculation of the reconstructed OER curve, and can more accurately control the working voltage of the air compressor, thereby improving the effectiveness of the air supply control of the proton exchange membrane fuel cell.

[0088] The present invention uses the maximum power as the control target to fit the corresponding optimal OER curve, and then uses the error between the reconstructed OER curve and the optimal OER curve as the input of the sliding mode controller and the PID controller, so that the reconstructed OER curve can better track the optimal OER curve through the joint control of the sliding mode controller and the PID controller, that is, it can more accurately control the working voltage of the air compressor and the cathode air intake of the (proton exchange membrane fuel oxygen supply) system, thereby improving the accuracy of the air supply control of the proton exchange membrane fuel cell. At the same time, the joint control method of the sliding mode controller and the PID controller has the advantages of faster response and smaller overshoot compared with the existing PID control or adaptive PID control, and can better track the optimal OER to achieve optimal power, and can ensure that oxygen starvation does not occur, thereby improving the oxygen supply problem of the proton exchange membrane fuel cell, and then improving the service life of the proton exchange membrane fuel cell.

[0089] In the specific implementation process, the PEMFC oxygen supply system model is expressed by the following formula:

[0090]

[0091]

[0092]

[0093]

[0094]

[0095] c3=P atm ;

[0096]

[0097]

[0098]

[0099]

[0100] c8=K smout ;

[0101]

[0102]

[0103]

[0104]

[0105]

[0106]

[0107] [x1,x2,x3]=[w cp ,P sm ,P ca ];

[0108] Where: I st Indicates load current; represents the rate of change of the angular velocity of the air compressor, is the derivative of x1; Indicates the rate of change of pressure in the supply pipeline; Indicates the rate of change of cathode pressure; W cp represents the air flow through the air compressor; u represents the working voltage of the air compressor; n cm Indicates the mechanical efficiency of the motor; k t , k v , R cm Represents the driving motor constant; J cp Indicates the connection inertia between the air compressor and the motor; C p represents the specific heat capacity of air; T atm represents the atmospheric temperature; n cp Indicates the efficiency of the air compressor; P atm represents atmospheric pressure; γ represents specific heat ratio; represents the universal gas constant; K smout represents the outlet constant of the supply pipeline; M a,atm Indicates the molar mass of air; V sm Indicates the volume of the supply pipeline; T st Indicates the stack temperature; V ca represents the volume of cathode flow channel; M O2 Indicates the molar mass of oxygen; M N2 represents the molar mass of nitrogen; x O2atm represents the mass fraction of oxygen in the inlet gas; w atm Indicates gas humidity; C D Indicates the discharge coefficient of the return pipe; A T Indicates the back pressure valve opening; P sat Saturated steam pressure; n represents the number of cells in the stack; P ca represents the rate of change of cathode pressure; w cp Indicates the angular velocity of the air compressor; P sm represents the pressure of the supply pipeline; F represents the Faraday constant.

[0109] The extended state observer is constructed by the following steps:

[0110] First, the pressure change rate of the supply pipeline Rewritten as:

[0111]

[0112] Secondly, let

[0113] And, let

[0114] Then, let x1=z1, X=z2, and we get

[0115] Finally, the following extended state observer is constructed:

[0116]

[0117]

[0118] Where: represents the output of the extended state observer, i.e., the estimated values ​​of z1 and z2, for The derivative of ; β1 and β2 represent the gains of the extended state observer.

[0119] Depend on Get the error and

[0120]

[0121] The characteristic polynomial is designed as: f(λ) = λ 2 +λβ1+β2=(λ+w0) 2 ;

[0122] In order to make the closed loop stable and easy to adjust parameters, let β1 = 2w0, β2 = w0 2 .

[0123] In the specific implementation process, the reconstructed OER curve is calculated by the following formula:

[0124]

[0125]

[0126] Where: O2 represents the reconstructed OER curve; Represents the observation data of the expansion state observer, namely the cathode pressure.

[0127] In the specific implementation process, the optimal OER curve is calculated by the following formula:

[0128] λ O2ref=5×10 -8 I 3 st -2.87×10 -5 I 2 st +2.23×10 -3 I st +2.5;

[0129] Where: O2ref represents the optimal OER curve; I st Indicates the load current.

[0130] In the specific implementation process, because high-order sliding mode control means that more derivatives of the sliding mode surface need to be known, and considering that the model of the proton exchange membrane fuel cell (PEMFC) oxygen supply system is complex and will increase the calculation workload, the present invention selects the super helical algorithm to control the PEMFC.

[0131] The control function of the sliding mode controller is expressed by the following formula:

[0132] u1=-b|S| ρ sign(S)+u s ;

[0133]

[0134] Where S = λ O2ref -λ O2 ;

[0135]

[0136] In order to reduce vibration, the S function is replaced by the saturation function sat, as shown below:

[0137]

[0138] Where: u1 represents the output of the sliding mode controller; u s is part of the sliding mode controller output, for u s The derivative of; S represents the sliding surface of the sliding mode controller; α, ρ, b, H, K m and K M All represent the set constants; O2ref represents the optimal OER curve; λ O2 Represents the reconstructed OER curve.

[0139] In the specific implementation process, the control function of the PID controller is expressed by the following formula:

[0140] u2=K P e+K I e+KD e;

[0141] e=λ O2ref -λ O2 ;

[0142] Where: u2 represents the output of the PID controller; K P , K I , K D Respectively represent proportional gain, integral gain and derivative gain; e represents error; λ O2ref represents the optimal OER curve; λ O2 Represents the reconstructed OER curve.

[0143] Calculate the operating voltage of the air compressor using the following formula:

[0144] u=u1+u2;

[0145] Where: u represents the working voltage of the air compressor; u1 represents the output of the sliding mode controller; u2 represents the output of the PID controller.

[0146] In order to better illustrate the advantages of the technical solution of the present invention, this embodiment simulates different control methods in MATLAB and obtains the following simulation results.

[0147] Figure 3 The figure shows the comparison between the estimated value of the cathode pressure of the system constructed by the expanded state observer based on the method of the present invention and the experimental value. Figure 3 It can be seen that the extended state observer constructed by the method of the present invention has a good actual value tracking effect.

[0148] Depend on Figure 4 It can be seen that the SMC (sliding mode control) and PID cascade control scheme proposed in the present invention has better effect than PID control, its convergence speed is faster than PID control, the overshoot of cascade control is smaller than PID control, and the effect of tracking the optimal OER is better, which can ensure that oxygen starvation does not occur and improve the service life of proton exchange membrane fuel cells.

[0149] Figure 5 This is a diagram showing the effect of the adaptive PID control and the SMC and PID cascade control of the present invention in tracking the OER curve. Figure 4 , 5 It can be seen that the SMC and PID cascade control proposed in the present invention shows through simulation results that when the operating conditions change, the control strategy converges faster and the overshoot is smaller, so the strategy can better track the optimal OER curve, better ensure the optimal efficiency of the proton exchange membrane fuel cell, and improve the service life of the proton exchange membrane fuel cell.

[0150] The simulation results show that the SMC and PID cascade control scheme of the present invention enables the reconstructed OER curve to better track the optimal OER curve, and compared with PID control and adaptive PID control, the SMC and PID cascade control has a faster response speed and a smaller overshoot, which can better improve the oxygen deficiency problem of the proton exchange membrane fuel cell system and increase the service life of the fuel cell.

[0151] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. A sliding mode and PID cascade control method based on a PEMFC gas supply system, characterized in that: include: S1: Construct a PEMFC oxygen supply system model; In step S1, the PEMFC oxygen supply system model is expressed by the following formula: [x1,x2,x3]=[w cp ,P sm ,P ca ]; Where: I st Indicates load current; represents the rate of change of the angular velocity of the air compressor, is the derivative of x1; Indicates the rate of change of pressure in the supply pipeline; Indicates the rate of change of cathode pressure; W cp represents the air flow through the air compressor; u represents the working voltage of the air compressor; n cm Indicates the mechanical efficiency of the motor; k t , k v , R cm Represents the driving motor constant; J cp Indicates the connection inertia between the air compressor and the motor; C p represents the specific heat capacity of air; T atm Indicates the atmospheric temperature; n cp Indicates the efficiency of the air compressor; P atm represents atmospheric pressure; γ represents specific heat ratio; represents the universal gas constant; K smout represents the outlet constant of the supply pipeline; M a,atm Indicates the molar mass of air; V sm Indicates the volume of the supply pipeline; T st Indicates the stack temperature; V ca represents the volume of cathode flow channel; M O2 Indicates the molar mass of oxygen; M N2 represents the molar mass of nitrogen; x O2atm represents the mass fraction of oxygen in the inlet gas; w atm Indicates gas humidity; C D Indicates the discharge coefficient of the return pipe; A T Indicates the back pressure valve opening; P sat Saturated steam pressure; n represents the number of cells in the stack; P ca represents the rate of change of cathode pressure; w cp Indicates the angular velocity of the air compressor; P sm represents the pressure of the supply pipeline; F represents the Faraday constant; S2: Selecting a supply pipeline model based on the PEMFC oxygen supply system model, and then constructing a corresponding expanded state observer based on the parameters of the supply pipeline model; In step S2, the extended state observer is constructed by the following steps: First, the pressure change rate of the supply pipeline Rewritten as: Secondly, let And, let Then, let x1=z1, X=z2, and we get Finally, the following extended state observer is constructed: Where: represents the output of the extended state observer, i.e., the estimated values ​​of z1 and z2, for The derivative of ; β1 and β2 represent the gains of the extended state observer; S3: reconstructing the cathode pressure through the observation data of the expanded state observer, and then generating the corresponding reconstructed OER curve by combining the cathode pressure with the supply pipeline pressure of the PEMFC oxygen supply system model; In step S3, the reconstructed OER curve is calculated by the following formula: Where: O2 represents the reconstructed OER curve; represents the observation data of the expansion state observer, i.e., the cathode pressure; S4: Taking the maximum power as the control target, the corresponding optimal OER curve is obtained by fitting; In step S4, the optimal OER curve is calculated by the following formula: λ O2ref =5×10 -8 I 3 st -2.87×10 -5 I 2 st +2.23×10 -3 I st +2.5; Where: O2ref represents the optimal OER curve; I st Indicates load current; S5: using the error between the reconstructed OER curve and the optimal OER curve as the input of the sliding mode controller and the PID controller, determining the working voltage of the air compressor through the sum of the outputs of the sliding mode controller and the PID controller, and then determining the cathode air intake amount of the PEMFC oxygen supply system to achieve air supply control of the PEMFC; In step S5, the control function of the sliding mode controller is expressed by the following formula: u1=-b|S| ρ sign(S)+u s ; where S = λ O2ref -λ O2 ; Where: u1 represents the output of the sliding mode controller; u s is part of the sliding mode controller output, for u s The derivative of; S represents the sliding surface of the sliding mode controller; α, ρ, b, H, K m and K M All represent setting constants; O2ref represents the optimal OER curve; λ O2 represents the reconstructed OER curve; The control function of the PID controller is expressed by the following formula: u2=K P e+K I e+K D e; e=λ O2ref -l O2 ; Where: u2 represents the output of the PID controller; K P , K I , K D Respectively represent proportional gain, integral gain and derivative gain; e represents error; λ O2ref represents the optimal OER curve; λ O2 represents the reconstructed OER curve; Calculate the operating voltage of the air compressor using the following formula: u=u1+u2; Where: u represents the working voltage of the air compressor; u1 represents the output of the sliding mode controller; u2 represents the output of the PID controller.

2. The sliding mode and PID cascade control method based on the PEMFC gas supply system according to claim 1, characterized in that: In step S1, the model order of the PEMFC oxygen supply system model is first determined, and then the corresponding PEMFC oxygen supply system model is constructed in MATLAB.