CN117199459A - Decoupling control method and control system for air supply system of proton exchange membrane fuel cell - Google Patents

Decoupling control method and control system for air supply system of proton exchange membrane fuel cell Download PDF

Info

Publication number
CN117199459A
CN117199459A CN202311088332.5A CN202311088332A CN117199459A CN 117199459 A CN117199459 A CN 117199459A CN 202311088332 A CN202311088332 A CN 202311088332A CN 117199459 A CN117199459 A CN 117199459A
Authority
CN
China
Prior art keywords
control
feedforward
supply system
air supply
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311088332.5A
Other languages
Chinese (zh)
Inventor
高金武
陈林
尹海
胡云峰
陈虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin University
Original Assignee
Jilin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin University filed Critical Jilin University
Priority to CN202311088332.5A priority Critical patent/CN117199459A/en
Publication of CN117199459A publication Critical patent/CN117199459A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Landscapes

  • Feedback Control In General (AREA)

Abstract

本发明提供一种质子交换膜燃料电池空气供应系统解耦控制方法和控制系统,采集不同空压机转速和节气门开度下的空气流量和压强数据;对采集的数据进行线性插值和拟合,建立前馈查找表,借助超螺旋滑模型(SSM)构建的反馈控制器消除前馈误差,利用极值搜索(ES)对反馈控制器参数进行自适应优化,将优化后的参数加载到反馈控制器中,本发明基于前馈和SSM的复合控制实现稳定、精确和迅速地完成空气流量和压强的解耦控制,不涉及解耦矩阵避免了现有解耦方法严重依赖模型识别的困境和大量计算,还增加了控制算法的可移植性,抗干扰能力强。

The invention provides a decoupling control method and control system for a proton exchange membrane fuel cell air supply system, which collects air flow and pressure data at different air compressor speeds and throttle openings; and performs linear interpolation and fitting on the collected data. , establish a feedforward lookup table, eliminate the feedforward error with the help of the feedback controller constructed by the superhelical sliding model (SSM), use extreme value search (ES) to adaptively optimize the parameters of the feedback controller, and load the optimized parameters into the feedback In the controller, the present invention is based on the composite control of feedforward and SSM to achieve stable, accurate and rapid decoupling control of air flow and pressure. It does not involve a decoupling matrix and avoids the dilemma and difficulty of existing decoupling methods that rely heavily on model identification. A large amount of calculations also increases the portability of the control algorithm and has strong anti-interference ability.

Description

一种质子交换膜燃料电池空气供应系统解耦控制方法和控制 系统A decoupling control method and control of a proton exchange membrane fuel cell air supply system system

技术领域Technical field

本发明属于燃料电池解耦控制领域,具体涉及质子交换膜燃料电池空气供应系统解耦控制方法和控制系统,更具体涉及空气流量和压强解耦控制。The invention belongs to the field of fuel cell decoupling control, specifically relates to a proton exchange membrane fuel cell air supply system decoupling control method and control system, and more specifically relates to air flow and pressure decoupling control.

背景技术Background technique

质子交换膜(PEM)燃料电池以其效率高、功率密度大、工作温度低和几乎零排放等优点,在汽车、载人航天、水下潜艇、分布式发电等诸多领域得到了广泛应用。作为燃料电池的重要组成部分,空气供应系统通过空压机和节气门的配合,及时、稳定地为燃料电池电堆提供充足的新鲜空气。空气供应系统的两个输出,空气流量和压强,对燃料电池的健康高效率运行至关重要。然而,作为典型的耦合系统,它的两个输出(空气流量和压强)同时受到两个输入(空压机转速和节气门开度)的影响。一般情况下,空气流量和压强随着空压机转速的增加而增加,但增大节气门角度会导致空气流量增加而压强降低。此外,送风系统具有非线性、时变和迟滞等特点。因此,空气流量和压强的解耦控制尤为困难。总体而言,供气系统的解耦控制主要面临挑战是:一、空气流量与压强之间的强耦合以及系统固有的非线性、时变和滞后性给解耦控制的转速和精度带来困扰;二、控制命令需要足够平滑,以使执行器(空压机和节气门)能够准确响应其控制命令;三、控制方案的计算计算负荷应相对较轻,便于在硬件平台上实现。Proton exchange membrane (PEM) fuel cells have been widely used in automobiles, manned aerospace, underwater submarines, distributed power generation and many other fields due to their advantages of high efficiency, high power density, low operating temperature and almost zero emissions. As an important part of the fuel cell, the air supply system provides sufficient fresh air to the fuel cell stack in a timely and stable manner through the cooperation of the air compressor and the throttle. Two outputs of the air supply system, air flow and pressure, are critical to healthy and efficient operation of the fuel cell. However, as a typical coupled system, its two outputs (air flow and pressure) are affected by two inputs (air compressor speed and throttle opening) at the same time. Under normal circumstances, air flow and pressure increase as the air compressor speed increases, but increasing the throttle angle will cause the air flow to increase and the pressure to decrease. In addition, the air supply system has the characteristics of nonlinearity, time variation and hysteresis. Therefore, decoupled control of air flow and pressure is particularly difficult. Generally speaking, the main challenges faced by the decoupled control of the air supply system are: 1. The strong coupling between air flow and pressure and the inherent nonlinearity, time variation and hysteresis of the system bring troubles to the speed and accuracy of the decoupled control. ; 2. The control commands need to be smooth enough so that the actuators (air compressor and throttle) can accurately respond to their control commands; 3. The calculation load of the control scheme should be relatively light and easy to implement on the hardware platform.

目前主流的解耦控制方法都是先进行模型辨识,然后再计算解耦矩阵,从而将送风系统从一个双输入双输出(TITO)系统转换为两个单输入单输出(SISO)系统。上述方法不可避免地需要模型识别和解耦矩阵计算,不仅会导致大量的工作,而且控制器的性能也会受到模型识别精度的显著影响,更重要的是不同系统的模型参数不同降低了方法的可移植性。The current mainstream decoupling control method first performs model identification and then calculates the decoupling matrix, thereby converting the air supply system from a dual-input dual-output (TITO) system to two single-input single-output (SISO) systems. The above method inevitably requires model identification and decoupling matrix calculation, which will not only cause a lot of work, but also the performance of the controller will be significantly affected by the accuracy of model identification. More importantly, the different model parameters of different systems reduce the efficiency of the method. portability.

发明内容Contents of the invention

针对上述问题,本发明提供一种质子交换膜燃料电池空气供应系统解耦控制方法,基于前馈和超螺旋滑模(SSM)的复合控制实现稳定、精确和迅速地完成空气流量和压强的解耦控制,不涉及解耦矩阵避免了现有解耦方法严重依赖模型识别的困境和大量计算,还增加了控制算法的可移植性,抗干扰能力强。In response to the above problems, the present invention provides a decoupling control method for a proton exchange membrane fuel cell air supply system. Based on the composite control of feedforward and superspiral sliding mode (SSM), the air flow and pressure can be solved stably, accurately and quickly. Coupled control does not involve the decoupling matrix, which avoids the dilemma of existing decoupling methods that rely heavily on model identification and a large amount of calculations. It also increases the portability of the control algorithm and has strong anti-interference ability.

本发明的通过如下技术方案实现:The present invention is realized through the following technical solutions:

一种质子交换膜燃料电池空气供应系统解耦控制方法,包括如下步骤:A decoupling control method for a proton exchange membrane fuel cell air supply system, including the following steps:

步骤一、采集不同空压机转速和节气门开度下的空气流量和压强数据;Step 1. Collect air flow and pressure data at different air compressor speeds and throttle openings;

步骤二、对采集的数据进行线性插值和拟合,建立前馈查找表:Step 2: Perform linear interpolation and fitting on the collected data, and establish a feedforward lookup table:

(Nff)T=[f1(Wd,Pd),f2(Wd,Pd)]T (1)(N ff ) T =[f 1 (W d ,P d ),f 2 (W d ,P d )] T (1)

步骤三、使用借助SSM构建的反馈控制器消除前馈误差,反馈控制器为:Step 3. Use the feedback controller built with SSM to eliminate the feedforward error. The feedback controller is:

其中,in,

步骤四、利用极值搜索(ES)对反馈控制器参数进行自适应优化,具体为:Step 4: Use extreme value search (ES) to adaptively optimize the parameters of the feedback controller, specifically as follows:

其中,为参数/>的估计;in, for parameters/> estimate;

其中,为/>的初始值;/>分别是/>的初值;in, for/> Initial value;/> They are/> initial value;

步骤五、将优化后的参数加载到反馈控制器中。Step 5: Load the optimized parameters into the feedback controller.

作为本发明更优的技术方案:所述的扰动频率ωi最大值小于成本函数的更新频率任意两个扰动频率ωi之和不等于第三个扰动频率ωiAs a more optimal technical solution of the present invention: the maximum value of the disturbance frequency ω i is less than the update frequency of the cost function The sum of any two disturbance frequencies ω i is not equal to the third disturbance frequency ω i .

本发明还有一个目的是提供一种质子交换膜燃料电池空气供应系统解耦控制系统,包括:Another object of the present invention is to provide a proton exchange membrane fuel cell air supply system decoupling control system, including:

采集模块,用于采集硬件平台上的不同空压机转速和节气门开度下的空气流量和压强数据;The collection module is used to collect air flow and pressure data at different air compressor speeds and throttle openings on the hardware platform;

前馈控制器,用于对采集的数据进行线性插值和拟合,建立前馈查找表:Feedforward controller is used to linearly interpolate and fit the collected data and establish a feedforward lookup table:

(Nff)T=[f1(Wd,Pd),f2(Wd,Pd)]T (1)(N ff ) T =[f 1 (W d ,P d ),f 2 (W d ,P d )] T (1)

反馈控制器,用于消除前馈误差,反馈控制向量为:Feedback controller is used to eliminate feedforward error. The feedback control vector is:

其中in

(s1,s2)T=(W-Wd,P-Pd)T (6)(s 1 ,s 2 ) T = (WW d ,PP d ) T (6)

其中φ12是s1的函数,φ45是s2的函数。Among them, φ 1 and φ 2 are functions of s 1 , and φ 4 and φ 5 are functions of s 2 .

自适应优化模块,用于对反馈控制器参数进行自适应优化,利用ES实现,具体为:The adaptive optimization module is used to adaptively optimize the parameters of the feedback controller and is implemented using ES, specifically:

其中,为参数/>的估计;in, for parameters/> estimate;

其中,μi为积分增益,为/>的初始值;/>分别是/>的初值。Among them, μ i is the integral gain, for/> Initial value;/> They are/> initial value.

本发明还有一个目的是提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述质子交换膜燃料电池空气供应系统解耦控制方法。Another object of the present invention is to provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned proton exchange membrane fuel cell air supply system decoupling control method is implemented.

本发明还有一个目的是提供一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现上述质子交换膜燃料电池空气供应系统解耦控制方法。Another object of the present invention is to provide an electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the above-mentioned proton is realized. Decoupling control method of exchange membrane fuel cell air supply system.

有益效果如下:The beneficial effects are as follows:

1、本发明可精确实现空气供应系统空气流量与压强的解耦控制,不需要辨识空气供应系统的模型以及计算解耦矩阵;1. The present invention can accurately realize the decoupling control of air flow and pressure of the air supply system, without the need to identify the model of the air supply system and calculate the decoupling matrix;

2、本发明对空气流量和压强的调节时间均在0.5秒之内;2. The present invention adjusts air flow and pressure within 0.5 seconds;

3、本发明对于不同的空气供应系统可以学习对应的参数,可移植性更强。3. The present invention can learn corresponding parameters for different air supply systems, and is more portable.

附图说明Description of the drawings

图1为本发明的控制方法结构图,包括前馈和反馈两个部分,其中(Nff)T为前馈控制向量,(Nbb)T为反馈控制向量。Figure 1 is a structural diagram of the control method of the present invention, which includes two parts: feedforward and feedback, where (N ff ) T is the feedforward control vector, and (N bb ) T is the feedback control vector.

图2为空压机转速前馈控制信号Nf关于期望的流量和压强(Wd,Pd)T的前馈表。Figure 2 is a feedforward table of the air compressor speed feedforward control signal N f with respect to the desired flow rate and pressure (W d , P d ) T.

图3为节气门角度前馈控制信号θf关于期望的流量和压强(Wd,Pd)T的前馈表。Figure 3 is a feedforward table of the throttle angle feedforward control signal θ f with respect to the desired flow rate and pressure (W d , P d ) T.

图4为本发明的ES-ASSM的具体结构示意图。Figure 4 is a schematic diagram of the specific structure of the ES-ASSM of the present invention.

图5为局部梯度调制的扰动信号的示意图。Figure 5 is a schematic diagram of a local gradient modulated perturbation signal.

图6为用于验证提出控制方法的实验环境。Figure 6 shows the experimental environment used to verify the proposed control method.

图7为在参数优化过程中跟踪响应和成本函数迭代过程。Figure 7 shows the iterative process of tracking the response and cost function during parameter optimization.

图8为控制向量参数的迭代过程。Figure 8 shows the iterative process of controlling vector parameters.

图9为情况一中提出方法的空气流量和压强响应,其中(a)流量响应;(b)流量误差;(c)压强响应;(d)压强误差。Figure 9 shows the air flow and pressure response of the proposed method in case 1, where (a) flow response; (b) flow error; (c) pressure response; (d) pressure error.

图10为情况一中提出方法的控制向量,其中(a)转速控制命令(N)和实际转速(Nact);(b)转速反馈控制信号(Nb);(c)角度控制指令(θ)和实际角度(θact);(d)角度反馈控制信号(θb)。Figure 10 shows the control vector of the proposed method in case 1, where (a) speed control command (N) and actual speed (N act ); (b) speed feedback control signal (N b ); (c) angle control command (θ ) and the actual angle (θ act ); (d) angle feedback control signal (θ b ).

图11为情况二中提出方法的空气流量和压强响应,其中(a)流量响应;(b)流量误差;(c)压强响应;(d)压强误差。Figure 11 shows the air flow and pressure response of the proposed method in case 2, where (a) flow response; (b) flow error; (c) pressure response; (d) pressure error.

图12为情况二中提出方法的控制向量,其中(a)转速控制命令和实际转速;(b)转速反馈控制信号;(c)角度控制指令和实际角度,(d)角度反馈控制信号。Figure 12 shows the control vector of the proposed method in case 2, where (a) speed control command and actual speed; (b) speed feedback control signal; (c) angle control command and actual angle, (d) angle feedback control signal.

图13为情况一中DMDM的空气流量和压强响应,其中(a)流量响应;(b)流量误差;(c)压强响应;(d)压强误差。Figure 13 shows the air flow and pressure response of DMDM in case 1, where (a) flow response; (b) flow error; (c) pressure response; (d) pressure error.

图14为情况二中DMDM的空气流量和压强响应,其中(a)流量响应;(b)流量误差;(c)压强响应;(d)压强误差。Figure 14 shows the air flow and pressure response of DMDM in case 2, where (a) flow response; (b) flow error; (c) pressure response; (d) pressure error.

具体实施方式Detailed ways

为进一步说明本发明的技术内容、构造特点,下面给出一个实例,结合附图进行详细阐述。另外,为展示本发明的有效性,在质子交换膜空气供应系统台架上进行了硬件在环实验,其结果充分了所述控制策略的高性能。本发明保护范围不局限于以下所述。In order to further illustrate the technical content and structural features of the present invention, an example is given below, which will be described in detail with reference to the accompanying drawings. In addition, in order to demonstrate the effectiveness of the present invention, hardware-in-the-loop experiments were conducted on a proton exchange membrane air supply system bench, and the results fully demonstrated the high performance of the control strategy. The protection scope of the present invention is not limited to the following.

如图1所示,本发明提出的一种基于前馈和SSM的复合控制方法,加入前馈后流量和压强之间的相互干扰被视为扰动,然后由SSM处理,所述控制方法结合了前馈的快速响应和SSM的抗干扰能力的优点,具体是:根据试验台采集的数据建立了两个前馈查找表。然后设计反馈控制器,利用SSM消除前馈误差。此外,由于反馈控制律形式复杂、参数多,人工整定参数困难,因此考虑利用优化算法自适应调整参数。采用ES对SSM的参数进行了自适应优化。利用成本函数衡量控制性能,随后通过梯度下降法减小成本函数以获得更好的跟踪响应。在迭代过程中对SSM控制律中的参数进行优化。As shown in Figure 1, the present invention proposes a composite control method based on feedforward and SSM. After adding feedforward, the mutual interference between flow and pressure is regarded as a disturbance, and then processed by SSM. The control method combines The advantages of feedforward's fast response and SSM's anti-interference ability are specifically: two feedforward lookup tables are established based on the data collected on the test bench. Then a feedback controller is designed to use SSM to eliminate the feedforward error. In addition, due to the complex form of the feedback control law and many parameters, it is difficult to manually adjust the parameters. Therefore, the use of optimization algorithms to adaptively adjust the parameters is considered. ES was used to adaptively optimize the parameters of SSM. The control performance is measured using a cost function, which is subsequently reduced by gradient descent to obtain better tracking response. The parameters in the SSM control law are optimized during the iterative process.

本发明提出控制方法由前馈控制和反馈控制两部分组成。前馈控制具有响应快,稳定可靠等优点,被广泛应用在具有时滞的系统中。因此前馈被考虑用于空气供应系统的时滞特性,考虑到空气供应系统的复杂结构和其涉及到的复杂物理过程对数学建模的影响,采用静态查找表构建前馈控制。不考复杂的物理过程,前馈查找表直接被构造为控制向量关于参考信号的查找表:The present invention proposes a control method consisting of feedforward control and feedback control. Feedforward control has the advantages of fast response, stability and reliability, and is widely used in systems with time delays. Therefore, feedforward is considered for the time-delay characteristics of the air supply system. Considering the complex structure of the air supply system and the impact of the complex physical processes involved on mathematical modeling, a static lookup table is used to construct feedforward control. Regardless of complex physical processes, the feedforward lookup table is directly constructed as a lookup table of the control vector with respect to the reference signal:

(Nff)T=[f1(Wd,Pd),f2(Wd,Pd)]T (1)(N ff ) T =[f 1 (W d ,P d ),f 2 (W d ,P d )] T (1)

其中(Wd,Pd)T代表参考向量,(Nff)T代表前馈控制向量。为创建上述查找表,采集了不同空压机转速和节气门角度的数据。空气压缩机转速设置为从30krpm(千转/分钟)到90krpm,步长为10krpm,节气门角度设置为从10度到50度,步长为2.5度。对采集的数据进行线性插值和拟合,空压机转速和节气门角度的查找表如图2和3所示。供气系统是非线性的,而前馈表是使用线性拟合构建的,必然会导致误差。而且,由于涉及理想气体的状态方程,送风系统模型的参数会随温度和湿度的变化而变化,仅依靠前馈很难获得满意的控制性能。因此,需要反馈控制来消除剩余的跟踪误差。空气流量和压强之间的强耦合,以及送风系统的非线性、时变性和迟滞性,都影响误差消除。现有研究为通过将空气供应系统解耦为两个SISO设备来消除误差。Among them, (W d ,P d ) T represents the reference vector, and (N ff ) T represents the feedforward control vector. To create the above lookup table, data were collected at different air compressor speeds and throttle angles. The air compressor speed is set from 30 krpm (thousand revolutions per minute) to 90 krpm in steps of 10 krpm, and the throttle angle is set from 10 degrees to 50 degrees in steps of 2.5 degrees. Linear interpolation and fitting are performed on the collected data, and the lookup tables of air compressor speed and throttle angle are shown in Figures 2 and 3. The gas supply system is nonlinear, and the feedforward table is constructed using a linear fit, which inevitably leads to errors. Moreover, since the state equation of an ideal gas is involved, the parameters of the air supply system model will change with changes in temperature and humidity, and it is difficult to obtain satisfactory control performance by relying only on feedforward. Therefore, feedback control is needed to eliminate the remaining tracking error. The strong coupling between air flow and pressure, as well as the nonlinearity, time variability and hysteresis of the air supply system, all affect error elimination. Existing research is to eliminate errors by decoupling the air supply system into two SISO devices.

Nb和θb分别作为流量和压强反馈控制信号,耦合关系被视为扰动由滑模控制处理。同时,一阶滑模的抖振效应使得空压机和节气门难以精确响应其控制指令,因此考虑采用二阶滑模进行反馈控制。空气流量(W)和压强(P)会随着空压机转速(N)和的增加而同时上升,但增加节气门角度会导致W增加和P减少。在前馈作用下,(W,P)T与(Nbb)T之间的关系近似为N b and θ b are used as flow and pressure feedback control signals respectively, and the coupling relationship is regarded as a disturbance and processed by sliding mode control. At the same time, the buffeting effect of the first-order sliding mode makes it difficult for the air compressor and throttle to accurately respond to their control instructions, so the second-order sliding mode is considered for feedback control. Air flow (W) and pressure (P) will increase simultaneously with the increase of air compressor speed (N) and, but increasing the throttle angle will cause W to increase and P to decrease. Under the action of feedforward, the relationship between (W,P) T and (N bb ) T is approximately

其中hij(W,P)>0(i,j=1)。把h11(W,P)θb和h21(W,P)Nb视为有界扰动,即,d1=h12(W,P)θb,d2=h21(W,P)Nb,则(2)可以被重写为Among them, h ij (W, P)>0 (i, j=1). Consider h 11 (W,P)θ b and h 21 (W,P)N b as bounded perturbations, that is, d 1 =h 12 (W,P)θ b , d 2 =h 21 (W,P )N b , then (2) can be rewritten as

构造滑模面为The sliding mode surface is constructed as

(s1,s2)T=(W-Wd,P-Pd)T (4)(s 1 ,s 2 ) T = (WW d ,PP d ) T (4)

s1和s2是滑模面。s 1 and s 2 are sliding mode surfaces.

注意到(流量的时间导数)与Nb正相关,而/>(压强的时间导数)与θb负相关。因此,利用SSM构建反馈控制向量:noticed (time derivative of flow) is positively related to N b , and/> (time derivative of pressure) is inversely related to θ b . Therefore, SSM is used to construct the feedback control vector:

t表示对时间积分t represents the integral over time

其中in

需要采用多元优化算法来完成反馈控制器的参数整定。作为一种典型的无模型方法,ES能够进行多参数优化,将ES引入反馈控制器如图4所示。为了测量控制性能,使用跟踪误差向量构建成本函数(J)。在第m(m≥1)个迭代周期(T=10s)中,J具有以下形式:A multivariate optimization algorithm is needed to complete parameter tuning of the feedback controller. As a typical model-free method, ES can perform multi-parameter optimization, and introducing ES into the feedback controller is shown in Figure 4. To measure the control performance, the cost function (J) is constructed using the tracking error vector. In the mth (m≥1) iteration cycle (T=10s), J has the following form:

其中B=(β12,...,β6)T,(ew,ep)T=(Wd-W,Pd-P)T,q1=1,q2=2分别是是流量和压强的误差权重矩阵。燃料电池中需要优先考虑压强稳定性来保护,因此让q1<q2。也就是说,牺牲一小部分流量控制精度来稳定压强。对于图4所示的系统,应该有一个合适的控制参数向量B使得J(B)达到最小值,因为太大或太小的控制器参数都会恶化控制性能并导致更多的累积误差。为分析方便做出如下假设:J(B)是关于B的凸函数,在处具有最小值。该假设是为了方便后续分析。优化问题可能存在多个局部最小值。但引入ES的目的是在保证压强稳定优先的前提下,对SSM控制律的参数进行整定,以获得满意的效果,而不是获得最优参数。为了表达上的简介,对于时域信号u(t)和G(s),定义如下的符号Where B = (β 1 , β 2 ,..., β 6 ) T , ( ew , e p ) T = (W d -W, P d -P) T , q 1 =1, q 2 =2 are the error weight matrices of flow rate and pressure respectively. In fuel cells, pressure stability needs to be prioritized for protection, so let q 1 < q 2 . In other words, a small part of the flow control accuracy is sacrificed to stabilize the pressure. For the system shown in Figure 4, there should be a suitable control parameter vector B such that J(B) reaches the minimum value, because controller parameters that are too large or too small will deteriorate the control performance and lead to more accumulated errors. For the convenience of analysis, the following assumptions are made: J(B) is a convex function about B, in has a minimum value. This assumption is made to facilitate subsequent analysis. Optimization problems may have multiple local minima. However, the purpose of introducing ES is to adjust the parameters of the SSM control law to obtain satisfactory results on the premise of ensuring pressure stability first, rather than to obtain optimal parameters. For a brief introduction to expression, for the time domain signals u(t) and G(s), the following symbols are defined:

u(t){G(s)}=u(t)*L-1[G(s)]u(t){G(s)}=u(t)*L -1 [G(s)]

其中‘*’表示卷积算子,‘L-1(g)’表示拉普拉斯逆变换。对于图4中的的第i个ES回路:Among them, '*' represents the convolution operator, and 'L -1 (g)' represents the inverse Laplace transform. For the i-th ES loop in Figure 4:

其中代表最优参数/>的估计,/>(0<h<ωi,i=1,2,...,6,h表示截止频率)是高通滤波器,/>是带增益的积分器,μi决定着参数的收敛速率,ξi和η是算法的中间过渡字母,s是拉普拉斯频域中的特殊符号。利用输入控制系统的正弦摄动(aisinωit)来提取J(B)的局部梯度,摄动幅度(ai)应该相对较小。扰动频率(ω16)对于ES特别重要,它必须首先确保ES循环和成本函数的时间尺度分离。因此,扰动频率的最大值需要小于成本函数的更新频率/>并保持一定的频率间隔。此外,任意两个扰动频率之和不能等于第三个扰动频率,否则会破坏极值处的稳定性。采用梯度下降法,ES周期性更新参数向量(B),以减小J(m,B),从而取得更令人满意的控制性能。下面对梯度下降原理进行说明,在/>处对J(B)进行泰勒展开,忽略二阶及以上项。考虑得到in Represents the optimal parameters/> estimate,/> (0<h<ω i ,i=1,2,...,6, h represents the cutoff frequency) is a high-pass filter,/> is an integrator with gain, μ i determines the convergence rate of parameters, ξ i and eta are the intermediate transition letters of the algorithm, and s is a special symbol in the Laplace frequency domain. The local gradient of J(B) is extracted using the sinusoidal perturbation (a i sinω i t) input to the control system, and the perturbation amplitude (a i ) should be relatively small. The perturbation frequency (ω 16 ) is particularly important for ES, which must first ensure that the time scales of the ES cycle and cost function are separated. Therefore, the maximum value of the disturbance frequency needs to be less than the update frequency of the cost function/> And maintain a certain frequency interval. In addition, the sum of any two disturbance frequencies cannot be equal to the third disturbance frequency, otherwise the stability at the extreme value will be destroyed. Using the gradient descent method, ES periodically updates the parameter vector (B) to reduce J(m,B), thereby achieving more satisfactory control performance. The following explains the principle of gradient descent, in/> Perform a Taylor expansion on J(B), ignoring second-order and above terms. consider get

因此,扰动信号(aisinωit)被局部梯度调制如图5所示。首先对ES回路1进行分析。通过相干解调提取偏导数/>Hh(s)具有零直流(DC)增益,从而消除了DC分量 Therefore, the perturbation signal (a i sinω i t) is transformed by the local gradient The modulation is shown in Figure 5. First, analyze ES loop 1. Extracting partial derivatives via coherent demodulation/> H h (s) has zero direct current (DC) gain, thus eliminating the DC component

然后η与sinω1t相乘,应用得到Then η is multiplied by sinω 1 t, applying get

由于积分器具有无穷的直流增益,因此滤波后信号中的正弦分量被忽略:Since the integrator has infinite DC gain, so the sinusoidal component in the filtered signal is ignored:

整理(12)可得Organize (12) available

对(13)执行拉普拉斯变换和拉普拉斯逆变换产生Performing the Laplace transform and the inverse Laplace transform on (13) yields

其中为/>的初始值。同样的,对于ES回路2到回路6in for/> initial value. Similarly, for ES loop 2 to loop 6

其中分别是/>的初值。由于μiai>0(i=1,2,...,6),/>会沿与梯度相反的方向移动,直到到达最小值点B*in They are/> initial value. Since μ i a i >0(i=1,2,...,6),/> It will move in the opposite direction to the gradient until it reaches the minimum point B * .

综上所述,本发明提出的控制方法借助梯度下降法,对控制器参数进行优化,从而获得更优的控制效果。To sum up, the control method proposed by the present invention uses the gradient descent method to optimize the controller parameters, thereby obtaining better control effects.

本发明提出的高精度自适应优化控制方法如图1所示。在硬件平台收集不同空压机转速和节气门开度下空气流量和压强数据,对采集到的数据进行线性插值和拟合,建立前馈查找表,借助超螺旋滑模设计反馈控制器,以消除前馈误差,引入极值搜索(ES)对反馈控制参数进行自适应优化。The high-precision adaptive optimization control method proposed by the present invention is shown in Figure 1. Collect air flow and pressure data under different air compressor speeds and throttle openings on the hardware platform, perform linear interpolation and fitting on the collected data, establish a feedforward lookup table, and design a feedback controller with the help of super-helical sliding mode. The feedforward error is eliminated and extreme value search (ES) is introduced to adaptively optimize the feedback control parameters.

实施例1Example 1

在本实施例中,实验环境如图6所示,其中使用空气缓冲罐来模拟阴极。ECU(电子控制单元)向压缩机和节气门发出控制指令,并将传感器采集到的空气流量、气压、压缩机实际转速、节气门实际角度传回PC(上位机)。ES-ASSM的参数如表1所示,其中扰动频率ωi根据依据前文所述原则选择。代价函数的初始值设置为15(略大于J(1)),控制参数的初始值应使控制器具有一定的控制效果。成本函数的迭代周期为10s,因此使用两个周期为10s的正弦参考信号进行参数优化。空气流量和压强的跟踪响应及成本函数J(m,B)演变如图7所示。ES-ASSM在线优化参数以获得更有利的跟踪响应,J(m,B)经过九次迭代最终收敛到5.348。此外,参数向量的迭代更新过程如图8所示,其中经过八次迭代后分别收敛到0.02165、0.05078、1.00344、0.09588、0.02840、1.00469。In this embodiment, the experimental environment is shown in Figure 6, where an air buffer tank is used to simulate the cathode. The ECU (Electronic Control Unit) issues control instructions to the compressor and throttle, and transmits the air flow, air pressure, actual compressor speed, and actual throttle angle collected by the sensor back to the PC (host computer). The parameters of ES-ASSM are shown in Table 1, where the disturbance frequency ω i is selected according to the principles mentioned above. The initial value of the cost function is set to 15 (slightly larger than J(1)), and the initial value of the control parameters should enable the controller to have a certain control effect. The iteration period of the cost function is 10s, so two sinusoidal reference signals with a period of 10s are used for parameter optimization. The tracking response of air flow and pressure and the evolution of cost function J(m,B) are shown in Figure 7. ES-ASSM optimizes parameters online to obtain a more favorable tracking response, and J(m,B) finally converges to 5.348 after nine iterations. In addition, the iterative update process of the parameter vector is shown in Figure 8, where After eight iterations, they converged to 0.02165, 0.05078, 1.00344, 0.09588, 0.02840, and 1.00469 respectively.

表1Table 1

将优化后的参数加载到反馈控制器中,并禁用ES循环以减少计算负载,然后评估本发明提供的控制方法的性能。考虑以下工况:The optimized parameters are loaded into the feedback controller, and the ES loop is disabled to reduce the computational load, and then the performance of the control method provided by the present invention is evaluated. Consider the following operating conditions:

1)情况一:流量和压强的参考轨迹分别选择为阶跃信号和正弦信号,结果如图9和10所示。1) Case 1: The reference trajectories of flow rate and pressure are selected as step signal and sinusoidal signal respectively. The results are shown in Figures 9 and 10.

2)情况二:流量和压强的参考轨迹分别选择为正弦信号和阶跃信号,结果如图11和12所示。2) Case 2: The reference trajectories of flow rate and pressure are selected as sinusoidal signal and step signal respectively. The results are shown in Figures 11 and 12.

从流量和压强响应的角度来看,本发明提供的控制方法很好地实现了解耦控制:From the perspective of flow and pressure response, the control method provided by the present invention realizes decoupling control well:

1)流量和压强可以独立地跟踪各自的参考轨迹,无论是阶跃流量、正弦压强情况如图9所示,还是正弦流量、阶跃压强情况如图11所示。1) Flow and pressure can track their respective reference trajectories independently, whether it is step flow and sinusoidal pressure as shown in Figure 9, or sinusoidal flow and step pressure as shown in Figure 11.

2)流量阶跃时,如图9(c)所示压强波动很小,但当压强阶跃时流量波动明显如图11(a)所示。此外,在跟踪正弦信号时,如图9(c)和图11(a)所示压强跟随参考轨迹的效果明显好于流量。在设计成本函数时,压强误差的权重大于流量误差的权重。2) When the flow rate jumps, the pressure fluctuation is very small as shown in Figure 9(c), but when the pressure step occurs, the flow rate fluctuation is obvious as shown in Figure 11(a). In addition, when tracking the sinusoidal signal, the effect of pressure following the reference trajectory as shown in Figure 9(c) and Figure 11(a) is significantly better than that of flow. When designing the cost function, the weight of the pressure error is greater than the weight of the flow error.

3)所提出的方案在响应转速和跟踪精度方面也表现良好。如图9(a)和图11(c)所示。流量和压强的阶跃响应在0.5s内完成当跟踪正弦信号时,如图9(d)所示压强误差大约限制在1kPa以内,如图11(b)所示流量误差限制在大约2g/s以内。3) The proposed scheme also performs well in terms of response speed and tracking accuracy. As shown in Figure 9(a) and Figure 11(c). The step response of flow and pressure is completed within 0.5s. When tracking the sinusoidal signal, the pressure error is limited to approximately 1kPa as shown in Figure 9(d), and the flow error is limited to approximately 2g/s as shown in Figure 11(b). Within.

为了进一步说明本发明控制方法的优越性能,采用对角矩阵解耦方法(DMDM)进行比较的结果如图13和图14所示。与DMDM相比,在情况1中,如图9(a)和图13(a)所示本发明的控制方法流量超调更小,如图9(d)和图13(d)所示压强跟踪误差也更小。在情况2中,如图11(b)和图14(b)所示DMDM的流量的误差更大,同时如图14(c)所示压强存在稳态误差。In order to further illustrate the superior performance of the control method of the present invention, the comparison results using the diagonal matrix decoupling method (DMDM) are shown in Figures 13 and 14. Compared with DMDM, in case 1, as shown in Figure 9(a) and Figure 13(a), the control method of the present invention has smaller flow overshoot, as shown in Figure 9(d) and Figure 13(d). Tracking error is also smaller. In case 2, the error in the flow rate of DMDM is larger as shown in Figure 11(b) and Figure 14(b), and at the same time, there is a steady-state error in the pressure as shown in Figure 14(c).

此外,还借助均方根误差(RMSE)进行定量分析:In addition, quantitative analysis is performed with the help of root mean square error (RMSE):

其中t0和tf分别表示采样开始和结束时间。Where t 0 and t f represent the sampling start and end time respectively.

从表2的两种控制方法对比数据来看,本发明提供的控制方法优于DMDM。Judging from the comparative data of the two control methods in Table 2, the control method provided by the present invention is better than DMDM.

表2Table 2

本发明提供的控制方法在保证压强响应优先的前提下,实现了流量与压强的解耦,其结合前馈快速响应和SSM的抗扰动优点,稳定、精确和迅速地完成空气流量和压强的解耦控制;避免了现有解耦方法严重依赖模型识别的困境,并且避免了大量的计算,取得更优秀的控制效果,增加了控制算法的可移植性。The control method provided by the present invention realizes the decoupling of flow and pressure on the premise of ensuring the priority of pressure response. It combines the feedforward fast response and the anti-disturbance advantages of SSM to stably, accurately and quickly complete the solution of air flow and pressure. Coupling control; avoids the dilemma of existing decoupling methods that rely heavily on model identification, avoids a large amount of calculations, achieves better control effects, and increases the portability of the control algorithm.

Claims (5)

1.一种质子交换膜燃料电池空气供应系统解耦控制方法,其特征在于,包括如下步骤:1. A decoupling control method for a proton exchange membrane fuel cell air supply system, characterized by comprising the following steps: 步骤一、采集不同空压机转速和节气门开度下的空气流量和压强数据;Step 1. Collect air flow and pressure data at different air compressor speeds and throttle openings; 步骤二、对采集的数据进行线性插值和拟合,建立前馈查找表:Step 2: Perform linear interpolation and fitting on the collected data, and establish a feedforward lookup table: (Nff)T=[f1(Wd,Pd),f2(Wd,Pd)]T (1)(N ff ) T =[f 1 (W d ,P d ),f 2 (W d ,P d )] T (1) 步骤三、使用借助SSM构建的反馈控制器消除前馈误差,反馈控制器为:Step 3. Use the feedback controller built with SSM to eliminate the feedforward error. The feedback controller is: 其中,in, 步骤四、利用极值搜索(ES)对反馈控制器参数进行自适应优化,具体为:Step 4: Use extreme value search (ES) to adaptively optimize the parameters of the feedback controller, specifically as follows: 其中,为参数/>的估计;in, for parameters/> estimate; 其中,为/>的初始值;/>分别是/>的初值;in, for/> Initial value;/> They are/> initial value; 步骤五、将步骤四优化后的参数加载到反馈控制器中。Step 5: Load the parameters optimized in Step 4 into the feedback controller. 2.如权利要求1所述的质子交换膜燃料电池空气供应系统解耦控制方法,其特征在于,所述的扰动频率ωi最大值小于成本函数的更新频率任意两个扰动频率ωi之和不等于第三个扰动频率ωi2. The decoupling control method of the proton exchange membrane fuel cell air supply system according to claim 1, wherein the maximum value of the disturbance frequency ω i is less than the update frequency of the cost function The sum of any two disturbance frequencies ω i is not equal to the third disturbance frequency ω i . 3.一种质子交换膜燃料电池空气供应系统解耦控制系统,其特征在于,包括:3. A proton exchange membrane fuel cell air supply system decoupling control system, characterized by including: 采集模块,用于采集硬件平台上的不同空压机转速和节气门开度下的空气流量和压强数据;The collection module is used to collect air flow and pressure data at different air compressor speeds and throttle openings on the hardware platform; 前馈控制器,用于对采集的数据进行线性插值和拟合,建立前馈查找表:Feedforward controller is used to linearly interpolate and fit the collected data and establish a feedforward lookup table: (Nff)T=[f1(Wd,Pd),f2(Wd,Pd)]T (1)(N ff ) T =[f 1 (W d ,P d ),f 2 (W d ,P d )] T (1) 反馈控制器,用于消除前馈误差,反馈控制向量为:Feedback controller is used to eliminate feedforward error. The feedback control vector is: 其中in (s1,s2)T=(W-Wd,P-Pd)T (6)(s 1 ,s 2 ) T = (WW d ,PP d ) T (6) 其中φ12是s1的函数,φ45是s2的函数。Among them, φ 1 and φ 2 are functions of s 1 , and φ 4 and φ 5 are functions of s 2 . 自适应优化模块,用于对反馈控制器参数进行自适应优化,利用ES实现,具体为:The adaptive optimization module is used to adaptively optimize the parameters of the feedback controller and is implemented using ES, specifically: 其中,为参数/>的估计;in, for parameters/> estimate; 其中,μi为积分增益,为/>的初始值;/>分别是/>的初值。Among them, μ i is the integral gain, for/> Initial value;/> They are/> initial value. 4.一种计算机可读存储介质,其特征在于,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1所述的质子交换膜燃料电池空气供应系统解耦控制方法。4. A computer-readable storage medium, characterized in that a computer program is stored thereon, and when the program is executed by a processor, the decoupling control method of a proton exchange membrane fuel cell air supply system as claimed in claim 1 is implemented. 5.一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1所述的质子交换膜燃料电池空气供应系统解耦控制方法。5. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that when the processor executes the program, it implements claim 1 The decoupling control method of the proton exchange membrane fuel cell air supply system.
CN202311088332.5A 2023-08-28 2023-08-28 Decoupling control method and control system for air supply system of proton exchange membrane fuel cell Pending CN117199459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311088332.5A CN117199459A (en) 2023-08-28 2023-08-28 Decoupling control method and control system for air supply system of proton exchange membrane fuel cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311088332.5A CN117199459A (en) 2023-08-28 2023-08-28 Decoupling control method and control system for air supply system of proton exchange membrane fuel cell

Publications (1)

Publication Number Publication Date
CN117199459A true CN117199459A (en) 2023-12-08

Family

ID=88997161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311088332.5A Pending CN117199459A (en) 2023-08-28 2023-08-28 Decoupling control method and control system for air supply system of proton exchange membrane fuel cell

Country Status (1)

Country Link
CN (1) CN117199459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117518837A (en) * 2024-01-04 2024-02-06 中国科学院长春光学精密机械与物理研究所 A decoupling method based on parametric models

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117518837A (en) * 2024-01-04 2024-02-06 中国科学院长春光学精密机械与物理研究所 A decoupling method based on parametric models
CN117518837B (en) * 2024-01-04 2024-03-19 中国科学院长春光学精密机械与物理研究所 A decoupling method based on parametric models

Similar Documents

Publication Publication Date Title
Mitra et al. A comprehensive and comparative review on parameter estimation methods for modelling proton exchange membrane fuel cell
Liu et al. PEM fuel cell air-feed system observer design for automotive applications: An adaptive numerical differentiation approach
Wang et al. Robust composite adaptive neural network control for air management system of PEM fuel cell based on high-gain observer
CN111781835B (en) A Design Method of Linear Active Disturbance Rejection Controller for Stabilizing Second-Order Inertia and Pure Delay Systems
Chang et al. Air flow control in fuel cell systems: An extremum seeking approach
CN107728474A (en) The implementation method of Active Disturbance Rejection Control with finite time convergence control characteristic
CN109597362B (en) Design Method of Nonlinear Controller for Fuel Cell Air Supply System
CN117199459A (en) Decoupling control method and control system for air supply system of proton exchange membrane fuel cell
CN115188999B (en) Control method of air supply loop of fuel cell system
Abdullah et al. Constrained model predictive control of proton exchange membrane fuel cell
CN111952646A (en) A decoupling control method and system for a fuel cell air system
Wang et al. Time delay thermal control of a compact proton exchange membrane fuel cell against disturbances and noisy measurements
AM et al. Enhanced model-free discrete-time adaptive terminal sliding-mode control for SOFC power plant with input constraints
CN115877717B (en) Aircraft fault-tolerant control structure and control method based on active disturbance rejection control
CN117094075A (en) Design method of HSV controller with preset convergence time and tracking error
Wang et al. Survey of transient performance control
Mirlekar et al. A biologically-inspired approach for adaptive control of advanced energy systems
Chen et al. A novel adaptive control scheme for automotive electronic throttle based on extremum seeking
CN118226763B (en) Variable cycle engine multivariable control design method based on intelligent anti-interference strategy
CN108375903A (en) A kind of multi-agent system linearquadratic regulator control method
CN118412924A (en) Parameter identification method of virtual synchronous machine based on Kalman filter
CN118011775A (en) PID control method and system for high-order unknown nonlinear system based on DL
CN116779920A (en) ADRC-based fuel cell air supply active disturbance rejection control method and system
CN116565271A (en) A control strategy for water-cooled fuel cell air supply system
CN114488815A (en) Air-to-air missile active disturbance rejection control parameter setting method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination