원시데이터 수집 시스템
선정목록으로

Data-Driven Control for Proton Exchange Membrane Fuel Cells: Method and Application

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Jiawen Li — College of Electric Power, South China University of Technology, Guangzhou, China,
  2. Kedong Zhu — China Electric Power Research Institute (Nanjing), Nanjing, China
  3. Tao Yu — College of Electric Power, South China University of Technology, Guangzhou, China
DOI
10.3389/fenrg.2021.748782
저널
Frontiers in Energy Research
발행년도
2021
발행기관
Frontiers Media
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3389/fenrg.2021.748782
토픽
Electrocatalysts for Energy Conversion
OpenAlex ID
W3201689971

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기)
R&D 측면
부품·응용 설계
확신도
0.90
근거 용어
Proton Exchange Membrane Fuel Cells, PEMFC, air supply system, PID controller, optimal control
판단 근거
본 논문은 PEMFC(고분자전해질 연료전지)의 공기 공급 시스템을 최적화하기 위한 데이터 기반 제어 알고리즘(MU-4DPG)을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지 사업 중 MEA 및 시스템 운영 효율화와 관련된 상위 시스템 제어 기술에 해당합니다.
R&D 활용 포인트
PEMFC 시스템의 공기 공급 및 산소 과잉률(OER) 제어 로직 최적화를 통해 연료전지 스택의 내구성을 향상시키고 운전 효율을 높이는 데 활용 가능합니다.
평가 입력
본문 29,070자

초록

A data-driven optimal control method for an air supply system in proton exchange membrane fuel cells (PEMFCs) is proposed with the aim of improving the PEMFC net output power and operational efficiency. Moreover, a marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a an offline tuner for the PID controller. The coefficients of the PID controller are rectified and optimized during training in order to enhance the controller’s performance. The design of the algorithm draws on the concept of marginal effects in Economics, in that the algorithm continuously switches between different forms of exploration noise during training so as to increase the diversity of samples, improve exploration efficiency and avoid Q-value overfitting, and ultimately improve the robustness of the algorithm. As detailed below, the effectiveness of the control method has been experimentally demonstrated.

본문 29,070자

본문 펼치기
Edited by: Yaxing Ren, University of Warwick, United Kingdom Reviewed by: Chenhao Ren, The University of Hong Kong, Hong Kong, SAR China Du Gang, North China Electric Power University, China *Correspondence: Jiawen Li [eplijiawen@mail.scut.edu.cn](mailto:eplijiawen@mail.scut.edu.cn) Specialty section: This article was submitted to Smart Grids, a section of the journal Frontiers in Energy Research Received: 28 July 2021 Accepted: 02 August 2021 Published: 30 September 2021 Citation: Li J, Zhu K and Yu T (2021) Data-Driven Control for Proton Exchange Membrane Fuel Cells: Method and Application. Front. Energy Res. 9:748782. doi: [10.3389/fenrg.2021.748782](https://doi.org/10.3389/fenrg.2021.748782) BRIEF [RESEARCH](https://www.frontiersin.org/journals/energy-research#editorial-board) REPORT published: 30 September 2021 doi: [10.3389/fenrg.2021.748782](https://doi.org/10.3389/fenrg.2021.748782) # Data-Driven Control for Proton Exchange Membrane Fuel Cells: Method and Application Jiawen Li <sup>1</sup> *, Kedong Zhu <sup>2</sup> and Tao Yu <sup>1</sup> 1College of Electric Power, South China University of Technology, Guangzhou, China, 2China Electric Power Research Institute (Nanjing), Nanjing, China A data-driven optimal control method for an air supply system in proton exchange membrane fuel cells (PEMFCs) is proposed with the aim of improving the PEMFC net output power and operational efficiency. Moreover, a marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a an offline tuner for the PID controller. The coefficients of the PID controller are rectified and optimized during training in order to enhance the controller’s performance. The design of the algorithm draws on the concept of marginal effects in Economics, in that the algorithm continuously switches between different forms of exploration noise during training so as to increase the diversity of samples, improve exploration efficiency and avoid Q-value overfitting, and ultimately improve the robustness of the algorithm. As detailed below, the effectiveness of the control method has been experimentally demonstrated. Keywords: proton exchange membrane fuel cells, PID controller, data-driven optimal control, double-delay deep deterministic policy gradient, control system INTRODUCTION Proton exchange membrane fuel cells (PEMFCs) convert hydrogen energy into electrical energy, and release heat energy directly via an electrochemical reaction (Sun et al., 2019; Yang et al., 2019). The only by-product of the reaction is water, and the whole reaction process does not involve a heat engine process (Yang et al., 2019; Yang et al., 2019) and so it is not limited by the Carnot cycle; thus, the PEMFC is therefore a more environmentally friendly power generation device (Swain and Jena, 2015; Yang et al., 2016; Yang et al., 2017; Yang et al., 2018). However, PEMFC systems are not entirely compatible with fluctuating load conditions as they have a time lag factored into the air supply system (Yang et al., 2018), and so the supply of air flow does not respond quickly to changes in load. If the air flow in the system is less than that required for the electrochemical reaction, the system cannot be powered properly, leading to severe damage to the proton membrane and reduced working lifetime of the stack (Yang et al., 2020). If the air flow in the system is much higher than the required flow for the electrochemical reaction, the output power is increased, but the power consumption of the compressor increases significantly, which seriously impairs the electrical efficiency of the system. For high-power PEMFC systems, it is necessary to control the air flow so that the air supply system can respond quickly when the load changes (Li et al., 2021; Li and Yu, 2021). For the regulation of air systems, a large number of control algorithms have been applied in practice. To achieve optimum performance, it is necessary to co-ordinate the work of the various systems and design the appropriate algorithms for PEMFC control. The most widely used controller in the industry is the PID controller, which is simple and easy to design, and which is widely used in the PEMFC field. However, PID controllers have certain shortcomings in their ability to resist interference, and researchers of PEMFC systems have explored the use of complex PID control algorithms as potential replacements for the traditional PID controller. Rgab et al. (2010) proposed a neural network PID controller for controlling the air flow in a PEMFC. Aliasghary (2018) used an interval type II Fuzzy PID controller to control the air flow in a PEMFC system in order to improve the controller’s ability to handle uncertainties within the PEMFC system. Baroud et al. (2017) designed a fuzzy adaptive controller that outperforms the fuzzy logic controller and the transcendental PID controller in terms of key performance indicators such as integration squared error, integration time, overshoot of the closed-loop system, stabilization time, and rise time. The fuzzy controller was used by Beiram et al. (2015) to prevent oxygen starvation and ensure maximum net PEMFC power, reducing steady-state errors. The above innovations can improve the adaptive ability and anti-interference of PID algorithms to a certain extent, but they also increase the calculation volume and calculation time of the algorithms, which makes it harder to ensure the timeliness of the control. In view of these problems, some algorithms that are optimized for the PID algorithm coefficients are more suitable. The Deep Deterministic Policy Gradient algorithm (DDPG) in deep reinforcement learning is a model-free control algorithm (Zhang et al., 2019; Zhang and Yu, 2019; Zhang et al., 2021) with a simple structure, small computational effort and high robustness, properties which make DDPG an ideal candidate for optimizing the coefficients of PID control algorithms (Zhang et al., 2018). Since DDPG does not require model identification so as to accommodate the uncertainty inherent in nonlinear control, it has been applied in various control fields (Zhang et al., 2016); nevertheless, the algorithm’s weak exploration capability explains its low robustness when the algorithm is applied directly as a controller for the control algorithm. In order to combine the advantages of the DDPG algorithm and PID algorithm, a data-driven method for the optimal control of air flow in a PEMFC is proposed. A marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a tuner for the PID controller, one which is trained offline. The coefficients of the PID controller are rectified and optimized to obtain a PID controller with better performance. The algorithm operates on the principle of marginal effects, a popular analytical concept in the field of Economics, by continuously switching the form of exploration noise in training in order to increase the diversity of samples, improve exploration efficiency and prevent Q-value overfitting, and ultimately improve the robustness of the algorithm to a better performing PID controller. The innovations in this paper are as follows: 1) A data-driven method for the optimal control of air flow in a PEMFC with proton exchange membrane fuel cells is presented. 2) For this controller, a MU-4DPG algorithm is proposed as the tuner for the PID controller. The algorithm can rectify and optimize the coefficients of the PID controller during offline training to deliver a PID controller with better performance. As mentioned, the design of the algorithm reflects the principle of marginal effects, in that it can enhance the diversity of samples by continuously switching the form of exploration noise in training to improve the exploration efficiency while preventing Q-value overfitting, ultimately improving the robustness of the algorithm and ensuring a better-performing PID controller. The remainder of this paper comprises the following sections: the PEMFC model is demonstrated in Section PEMFC Air Supply System Model, and the algorithm is described in Section Proposed Method; the experimental results are analysed and discussed in Section Case Studies, and the findings in this paper are summarised in Section Conclusion. PEMFC AIR SUPPLY SYSTEM MODEL Theoretical Conditions 1) The gas settings accord with the Ideal Gas Law. 2) The air temperature inside the electrodes is equal to the temperature of the stack. 3) When the relative humidity of the gas exceeds 100%, the water vapour concentrates into liquid form. Air Compressor Model The air compressor compresses the air and transfers it at a certain pressure to the supply line, where it is cooled and humidified, and then transferred to the fuel cell cathode. The air compressor is the core component within the PEMFC system. The dynamic characteristics of the air compressor drive motor can be expressed by the following set of equations: Jcp <u>dωcp</u> dt <sup>�</sup> <sup>τcm −</sup> <sup>τcp</sup> (1) The motor driving torque of the compressor can be obtained from the static motor equation: τcm - ηcm <u>kt</u> Rcm �vcm − kvωcp� (2) The load torque of the air compressor can be calculated using the following thermal equation: <u>c−1</u> - 1 <sup>⎤⎥⎥⎥</sup> ⎦Fcp (3) τcp - <sup><u>CpTatm</u></sup> ωcpηcp ⎡⎢⎢⎢⎣ ~~�~~ <sup><u>psm</u></sup> patm <u>c</u> The temperature of the air leaving the compressor is - 1 <sup>⎤⎥⎥⎥⎥</sup> ⎦ (4) Tcp,out - Tcp,in + <sup><u>Tcp,in</u></sup> ηcp ⎡⎢⎢⎢⎢⎣⎝ ~~⎛~~ <sup><u>pcp,out</u></sup> pcp,in c−1/c ⎞⎠ The supply of air is completed by the compressor, which consumes electric energy when it is working. Taking into account the power consumed by the compressor and ignoring the power consumption of other equipment in the system, the effective power output of the entire PEMFC system can be expressed as: Pout - Pstack − Pcom (5) Return Pipe Model The principle of the return line is similar to that of the inlet line, but since the temperature of the gas flowing out of the reactor is much lower than that of the gas flowing into the reactor, the effect of temperature is ignored and the principle of the return line can be expressed as follows: wH2,out - <sup><u>PH2</u></sup> Pan ~~w~~ an,out (16) wan,out - kan(Pan − Pb) (17) Supply Pipeline Model In a PEMFC system, the term “gas supply piping” refers usually to the collection of piping for the cathode only, due to the small size of the anode gas supply piping and return piping. The cathode gas supply pipeline connects the air compressor to the fuel cell reactor cathode and, according to the Law of Conservation of Mass, the settings for gas flowing into the pipeline and the gas flowing out of the pipeline satisfy the following equation: <u>dprm</u> <u>dpdtrm</u> <sup>�</sup> <sup><u>R</u></sup> V <sup><u>aT</u></sup> rm <sup><u>rm</u></sup> <u>dpsm</u> <u>dpdtsm</u> <sup>�</sup> <sup><u>c</u></sup> V <sup><u>R</u></sup> sm <sup><u>a</u></sup> Vsm �FcpTcp,out − Fsm,outTsm� (18) Vrm �Fca,out − Frm,out� (6) In this paper, according to different pressure ratios, a nonlinear mouth equation is used to determine that Frm.out is prm Frm.out - <sup><u>CD.rm</u></sup> ~~√~~ <sup><u>A</u></sup> ~~����~~ <sup><u>T,rmprm</u></sup> ~~�~~ <sup><u>patm</u></sup> RTrm prm �������������������� 1/c c−1/c c−1/c <u>2c</u> c − 1 ⎡⎣1 − ~~�~~ <sup><u>patm</u></sup> ⎤⎦, (7) When the high-temperature gas from the compressor enters the gas supply line, its temperature and pressure change, so, according to the Law of Energy Conservation and the Ideal Gas Equation, the change of pressure in the gas supply line can be expressed as follows: Fsm,out - ksm,out�psm − pca� (19) PROPOSED METHOD Technical Principles The control model includes the PEMFC reactor, the air compressor and its PID controller. The controller of the PID is equated to an agent undergoing training, which in turn enables the agent to adapt to the non-linear characteristics of the PEMFC and improve the overall control performance of the OER and output voltage. For pre-learning, the proposed algorithm is used to rectify the coefficients kp, ki, and kd of the PID controller. The tuning methods employ a linear quadratic Gaussian (LQG) objective function. In order to maintain the water level while minimizing control effort u, the controllers employ the following LQG criterion: <u>patm</u> prm1 - ~~�~~ <sup><u>2</u></sup> c + c/c−1 <sup><u>2</u></sup> c + 1 <sup>�</sup> Cathode Model This is obtained from the Ideal Gas Law: <u>Vca</u> RT <u>dPO2</u> - wO2,in − wO2,react − wO2,out (8) dt <u>Vca</u> RT <u>dPN2</u> - wN2,in − wN2,out (9) dt <u>dPN2</u> wO2,react - <sup><u>NI</u></sup> (10) 4F wO2,out - <sup><u>PO2</u></sup> Pca wO2,out - <sup><u>PO2</u></sup> wca,out (11) wca,out - kca(Pca − Pb) (12) The oxygen excess ratio (OER) is a key variable that significantly influences the fuel cell system’s performance. The OER is expressed as follows: lim T0∞ <sup>E</sup> <sup>~~�~~</sup> T <sup><u>1</u></sup> T 0 <sup>��yref</sup> <sup>−</sup> <sup>y�</sup> 2(t) + 0.01u2(t)�dt� (20) J - lim T <sup><u>1</u></sup> <sup>�</sup> λO2 - <sup><u>WO2,in</u></sup> WO2,ret (13) When applied online, the agent issues the optimal voltage of the air compressor once it has received data on the status of the PEMFC. The control interval of the agent is 0.01 s. DDPG The DDPG algorithm is a policy-based RL method which is based on an empirical replay approach and which uses deep neural networks as nonlinear function approximators to construct Q(s, a; θ <sup>Q</sup> ) μ(s; θ <sup>μ</sup> ) and μ′(s; θ <sup>μ</sup> )critic network model action and target Q values. μ′(st) � μ(s|θ <sup>μ</sup> ) + N (21) Anode Model The basic principle of proportional valve control can be expressed as follows: <u>Van</u> RT <u>dPH2</u> - wH2,in − wH2,react − wH2,out (14) dt wH2,react - <sup><u>NI</u></sup> (15) 2F The critic network is updated by minimizing the loss function. The L(θ <sup>Q</sup> ) network parameters are shown as follows: yt - r(st, at) + cQ′�st+1, μ′(st+1|θ <sup>μ</sup> )θ <sup>Q</sup> - (22) The gradient of the actor network, which depends on which the actor network parameters are updated, is expressed as follows: ∇θ <sup>μ</sup> J(θ <sup>μ</sup> ) � <sup><u>1</u></sup> N ∇θ <sup>μ</sup> μ(s|θ <sup>μ</sup> ) (23) ���������s�si,a�μ(si) ����������si <sup><u>1</u></sup> N <sup>�</sup> i ∇aQ�s, a|θ <sup>Q</sup> i DDPG improves the stability of the learning process by slowly updating the weights of the actor target network and the critic target network: - <sup>θμ←τθ + (1 −</sup> <sup>τ)θ′</sup> (24) θ <sup>Q′</sup> ←τθ + (1 − τ)θ′ MU-4DPG Algorithm MU-4DPG is an extension of the DDPG algorithm, which in turn has low robustness due to its single exploration principle. This problem, similar to the concept of marginal effect in Economics, is due to the fact that the exploration principle is too homogeneous, and so the agent receives only a fixed number of types of actions, and struggles to obtain richer samples. Marginal effects are defined as those in which a successive increase in one input, when other inputs are fixed, results in a gradual decrease in the benefit, that is, the amount of output per unit of input added decreases when the added input exceeds a certain level. Therefore, the diversity of samples obtained by using the same noise model over and over again decreases with an increase of episodes. In order to solve this problem, the method proposed in this paper improves the diversity of samples by continuously switching between different forms of exploration noise during training, improving the exploration efficiency, and adopting a number of strategies in order to prevent Q-value overfitting. The result is an algorithm with higher robustness, and a better-performing PID controller. The MU-4DPG algorithm includes two critics and one actor, and, in order to solve the Q overestimation problem that occurs in the DDPG algorithm, the proposed algorithm uses three techniques: clipping multiple Q learning, delayed policy update, and smooth regularization of the target policy. 1) Clipped multi-Q learning. The “student” agent in MU-4DPG uses clipped multi-Q learning to calculate the target value: yt <sup>1</sup> <sup>�</sup> <sup>r(st, at) + cmini�1,2,3Qθi′ �st+1, πϕ</sup> 1 <sup>(st+1)�</sup> (25) 2) Policy delayed update. After every d update of the critic network, an update of the actor network is performed so as to ensure that the actor network can be updated with a low Q-value error, in order to improve the update efficiency of the actor network. 3) Target policy smoothing regularization. The algorithm introduces a regularization method to reduce the variance FIGURE 1 | Results of case. of the target values by smoothing the Q-estimates by bootstrapping estimates of similar state action pairs: yt - r(st, at) + Eε�Qθ′�st+1, πϕ′(st+1) + ε�� (26) Smooth regularization is also achieved by adding a random noise to the target strategy and averaging over the mini-batch: yt - r(st, at) + cmini�1,2Qθt�st+1, πϕ′(st+1) + ε� (27) ε ∼ clip(N(0, σ), −c, c) (28) 4) Marginal effect mechanism. The actor network in the agent switches between Gaussian noise and OU noise, depending on the episodes, in order to obtain a more diverse sample. Episodes are 0–1,000, 2000–3,000, 4,000–5,000, 7,000–8,000, 9,000–10,000 when OU noise is used for exploration: a <sup>j</sup> <sup>j</sup> OU <sup>�</sup> <sup>π</sup> ϕ <sup>j</sup> ϕ <sup>j</sup> <sup>(s) + N</sup> <sup>j</sup> OU <sup>j</sup> (29) whereby πθj(s) is the actor network policy, and NOU is the OU noise. Episodes are 1,001–1999, 3,001–3,999, 5,001–5,999, 6,001–6,999, 8,001–8,999 when explored using Gaussian noise: robustness and therefore the lowest control performance of this class of algorithms. CONCLUSION 1) This paper presents a large-scale deep reinforcement learning based adaptive optimal PID controller for controlling proton exchange membrane fuel cell (PEMFC) air flow. 2) A marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a tuner for the PID controller. The coefficients of the PID controller are rectified and optimized during off-line training to obtain a PID controller with better performance and fixed coefficients. The algorithm operates on the Economics principle of marginal effects, in that it continuously switches between different forms of exploration noise in training in order to increase the diversity of samples, improve exploration efficiency and prevent Q-value overfitting, which altogether lead to an improvement in the robustness of the algorithm and a better-performing PID controller. 3) The results of the simulation involving both the proposed controller and two groups of existing controllers (adaptive PID and conventional control) indicate that the MU-4DPGPID controller is able to maintain a stable output voltage while effectively avoiding oxygen starvation or oxygen supersaturation in the fuel cell. DATA AVAILABILITY STATEMENT The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author. AUTHOR CONTRIBUTIONS JL: Conceptualization, Methodology, Software. Zhang: WritingReviewing and Editing. Data curation, Writing-Original draft preparation. Visualization, Investigation. KZ: Validation. TY: Supervision. FUNDING This work was jointly supported by National Natural Science Foundation of China (U2066212). Baroud, Z., Benmiloud, M., Benalia, A., and Ocampo-Martinez, C. (2017). Novel Hybrid Fuzzy-PID Control Scheme for Air Supply in PEM Fuel-Cell-Based Systems. Int. J. Hydrogen Energ. 42, 10435–10447. [doi:10.1016/](https://doi.org/10.1016/j.ijhydene.2017.01.014) [j.ijhydene.2017.01.014](https://doi.org/10.1016/j.ijhydene.2017.01.014) Beirami, H., Shabestari, A. Z., and Zerafat, M. M. (2015). Optimal PID Plus Fuzzy Controller Design for a PEM Fuel Cell Air Feed System Using the Self-Adaptive a <sup>m</sup> <sup>m</sup> Gaussian <sup>�</sup> <sup>πm</sup> θ <sup>m</sup> θ <sup>(s) + N</sup> mGaussian (30) whereby πθm(s) is the actor network policy, and NGaussian is Gaussian noise. CASE STUDIES In the simulation, the MU-4DPG tuning PID (MU-4DPG-PID) was compared against the TD3 tuning PID (TD3-PID) controller, DDPG tuning PID (DDPG-PID) controller, PSO optimized fuzzy PID controller (PSO-Fuzzy- PID), GA-optimized fuzzy PID controller (GA-Fuzzy-PID), PSO-optimized PID controller (PSO-PID), GA-optimized PID controller (GA-PID), and neural network control (NNC). The results are shown in Figures 1A,B. 1) Comparison of the proposed algorithm with other algorithms. According to Figures 1A,B, the OER of the MU-4DPG algorithm has a better climbing speed response, a more stable OER, and a smaller overshoot. In addition, the MU-4DPG algorithm has a more rapid response time for the stack voltage and a smaller overshoot, and it does not permit large fluctuations. By contrast, the other algorithms each have a large overshoot in both the OER and output voltage, and a slower response time, resulting in large oscillations in both the OER and the stack voltage, which can lead to large oscillations in the output voltage. Therefore, the MU-4DPG algorithm has the best control performance. 2) The reasons for this phenomenon are: the robustness of the algorithm is reduced compared to other DRL algorithms because more techniques are not used in pre-learning, resulting in a large output voltage overshoot and output voltage fluctuations that affect the output performance of the PEMFC. the Fuzzy-based algorithm is too simple in its rules, resulting in low robustness and adaptive capability of this class of algorithms. The PSO-PID, and GA-PID algorithms inside the conventional control algorithm do not have the adaptive capability to adjust the PID parameters, and therefore have difficulty in adapting to the non-linearity of the PEMFC. The NNC algorithm, on the other hand, relies on the effects of training, resulting in low REFERENCES Aliasghary, M. (2018). Control of PEM Fuel Cell Systems Using Interval Type-2 Fuzzy PID Approach. Fuel Cells 18, 449–456. [doi:10.1002/](https://doi.org/10.1002/fuce.201700157) [fuce.201700157](https://doi.org/10.1002/fuce.201700157) Differential Evolution Algorithm. Int. J. Hydrogen Energ. 40, 9422–9434. [doi:10.1016/j.ijhydene.2015.05.114](https://doi.org/10.1016/j.ijhydene.2015.05.114) Li, J., and Yu, T. (2021). A New Adaptive Controller Based on Distributed Deep Reinforcement Learning for PEMFC Air Supply System. Energ. Rep. 7, 1267–1279. [doi:10.1016/j.egyr.2021.02.043](https://doi.org/10.1016/j.egyr.2021.02.043) Li, J., Yu, T., Zhang, X., Li, F., Lin, D., and Zhu, H. (2021). Efficient Experience Replay Based Deep Deterministic Policy Gradient for AGC Dispatch in Integrated Energy System. Appl. Energ. 285, 116386. [doi:10.1016/](https://doi.org/10.1016/j.apenergy.2020.116386) [j.apenergy.2020.116386](https://doi.org/10.1016/j.apenergy.2020.116386) Rgab, O., Yu, D. L., and Gomm, J. B. (2010). Polymer Electrolyte Membrane Fuel Cell Control with Feed-Forward and Feedback Strategy. Int. J. Eng. Sci. Technol. 2, 80–91. [doi:10.4314/ijest.v2i10.64012](https://doi.org/10.4314/ijest.v2i10.64012) Sun, L., Jin, Y., Pan, L., Shen, J., and Lee, K. Y. (2019). Efficiency Analysis and Control of a Grid-Connected PEM Fuel Cell in Distributed Generation. Energ. Convers. Manage. 195, 587–596. [doi:10.1016/j.enconman.2019.04.041](https://doi.org/10.1016/j.enconman.2019.04.041) Swain, P., and Jena, D. (2015). “PID Control Design for the Pressure Regulation of PEM Fuel Cell,” in 2015 International Conference on Recent Developments in Control, Automation and Power Engineering (RDCAPE), Noida, India, 12-13 March 2015 (IEEE), 286–291. [doi:10.1109/rdcape.2015.7281411](https://doi.org/10.1109/rdcape.2015.7281411) Yang, B., Jiang, L., Wang, L., Yao, W., and Wu, Q. H. (2016). Nonlinear Maximum Power Point Tracking Control and Modal Analysis of DFIG Based Wind Turbine. Int. J. Electr. Power Energ. Syst. 74, 429–436. [doi:10.1016/](https://doi.org/10.1016/j.ijepes.2015.07.036) [j.ijepes.2015.07.036](https://doi.org/10.1016/j.ijepes.2015.07.036) Yang, B., Zhang, X., Yu, T., Shu, H., and Fang, Z. (2017). Grouped Grey Wolf Optimizer for Maximum Power point Tracking of Doubly-Fed Induction Generator Based Wind Turbine. Energ. Convers. Manage. 133, 427–443. [doi:10.1016/j.enconman.2016.10.062](https://doi.org/10.1016/j.enconman.2016.10.062) Yang, B., Yu, T., Shu, H., Dong, J., and Jiang, L. (2018). Robust Sliding-Mode Control of Wind Energy Conversion Systems for Optimal Power Extraction via Nonlinear Perturbation Observers. Appl. Energ. 210, 711–723. [doi:10.1016/](https://doi.org/10.1016/j.apenergy.2017.08.027) [j.apenergy.2017.08.027](https://doi.org/10.1016/j.apenergy.2017.08.027) Yang, B., Yu, T., Shu, H., Han, Y., Cao, P., and Jiang, L. (2019a). Adaptive Fractional-Order PID Control of PMSG-Based Wind Energy Conversion System for MPPT Using Linear Observers. Int. Trans. Electr. Energ Syst. 29 (9), e2697. [doi:10.1002/etep.2697](https://doi.org/10.1002/etep.2697) Yang, B., Zhong, L., Zhang, X., Shu, H., Yu, T., Li, H., et al. (2019b). Novel Bio Inspired Memetic Salp Swarm Algorithm and Application to MPPT for PV Systems Considering Partial Shading Condition. J. Clean. Prod. 215, 1203–1222. [doi:10.1016/j.jclepro.2019.01.150](https://doi.org/10.1016/j.jclepro.2019.01.150) Yang, B., Yu, T., Zhang, X., Li, H., Shu, H., Sang, Y., et al. (2019c). Dynamic Leader Based Collective Intelligence for Maximum Power point Tracking of PV Systems Affected by Partial Shading Condition. Energ. Convers. Manage. 179 (18), 286–303. [doi:10.1016/j.enconman.2018.10.074](https://doi.org/10.1016/j.enconman.2018.10.074) Yang, B., Wang, J., Zhang, X., Yu, T., Yao, W., Shu, H., et al. (2020). Comprehensive Overview of Meta-Heuristic Algorithm Applications on Pv Cell Parameter Identification. Energ. Convers. Manage. 208, 112595. [doi:10.1016/](https://doi.org/10.1016/j.enconman.2020.112595) [j.enconman.2020.112595](https://doi.org/10.1016/j.enconman.2020.112595) Zhang, X., and Yu, T. (2019). Fast Stackelberg Equilibrium Learning for Real-Time Coordinated Energy Control of a Multi-Area Integrated Energy System. Appl. Therm. Eng. 153, 225–241. [doi:10.1016/j.applthermaleng.2019.02.053](https://doi.org/10.1016/j.applthermaleng.2019.02.053) Zhang, X., Xu, H., Yu, T., Yang, B., and Xu, M. (2016). Robust Collaborative Consensus Algorithm for Decentralized Economic Dispatch with a Practical [Communication Network. Electric Power Syst. Res. 140, 597–610. doi:10.1016/](https://doi.org/10.1016/j.epsr.2016.05.014) [j.epsr.2016.05.014](https://doi.org/10.1016/j.epsr.2016.05.014) Zhang, X., Yu, T., Xu, Z., and Fan, Z. (2018). A Cyber-Physical-Social System with Parallel Learning for Distributed Energy Management of a Microgrid. Energy 165, 205–221. [doi:10.1016/j.energy.2018.09.069](https://doi.org/10.1016/j.energy.2018.09.069) Zhang, X., Li, S., He, T., Yang, B., Yu, T., Li, H., et al. (2019). Memetic Reinforcement Learning Based Maximum Power point Tracking Design for PV Systems under Partial Shading Condition. Energy 174, 1079–1090. [doi:10.1016/j.energy.2019.03.053](https://doi.org/10.1016/j.energy.2019.03.053) Zhang, X., Tan, T., Zhou, B., Yu, T., Yang, B., and Huang, X. (2021). Adaptive Distributed Auction-Based Algorithm for Optimal Mileage Based AGC Dispatch with High Participation of Renewable Energy. Int. J. Electr. Power Energ. Syst. 124, 106371. [doi:10.1016/j.ijepes.2020.106371](https://doi.org/10.1016/j.ijepes.2020.106371) Conflict of Interest: The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. Publisher’s Note: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher. Copyright © 2021 Li, Zhu and Yu. This is an open-access article distributed under the terms of the Creative Commons [Attribution](https://creativecommons.org/licenses/by/4.0/) License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

섹션 본문 52문단 · 17,061자

(제목 없음)

1A data-driven optimal control method for an air supply system in proton exchange membrane fuel cells (PEMFCs) is proposed with the aim of improving the PEMFC net output power and operational efficiency. Moreover, a marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a an offline tuner for the PID controller. The coefficients of the PID controller are rectified and optimized during training in order to enhance the controller's performance. The design of the algorithm draws on the concept of marginal effects in Economics, in that the algorithm continuously switches between different forms of exploration noise during training so as to increase the diversity of samples, improve exploration efficiency and avoid Q-value overfitting, and ultimately improve the robustness of the algorithm. As detailed below, the effectiveness of the control method has been experimentally demonstrated.

INTRODUCTION

2Proton exchange membrane fuel cells (PEMFCs) convert hydrogen energy into electrical energy, and release heat energy directly via an electrochemical reaction (Sun et al., 2019;Yang et al., 2019). The only by-product of the reaction is water, and the whole reaction process does not involve a heat engine process (Yang et al., 2019;Yang et al., 2019) and so it is not limited by the Carnot cycle; thus, the PEMFC is therefore a more environmentally friendly power generation device (Swain and Jena, 2015;Yang et al., 2016;Yang et al., 2017;Yang et al., 2018).

3However, PEMFC systems are not entirely compatible with fluctuating load conditions as they have a time lag factored into the air supply system (Yang et al., 2018), and so the supply of air flow does not respond quickly to changes in load. If the air flow in the system is less than that required for the electrochemical reaction, the system cannot be powered properly, leading to severe damage to the proton membrane and reduced working lifetime of the stack (Yang et al., 2020). If the air flow in the system is much higher than the required flow for the electrochemical reaction, the output power is increased, but the power consumption of the compressor increases significantly, which seriously impairs the electrical efficiency of the system. For high-power PEMFC systems, it is necessary to control the air flow so that the air supply system can respond quickly when the load changes .

4For the regulation of air systems, a large number of control algorithms have been applied in practice.

5To achieve optimum performance, it is necessary to co-ordinate the work of the various systems and design the appropriate algorithms for PEMFC control. The most widely used controller in the industry is the PID controller, which is simple and easy to design, and which is widely used in the PEMFC field. However, PID controllers have certain shortcomings in their ability to resist interference, and researchers of PEMFC systems have explored the use of complex PID control algorithms as potential replacements for the traditional PID controller. Rgab et al. (2010) proposed a neural network PID controller for controlling the air flow in a PEMFC. Aliasghary (2018) used an interval type II Fuzzy PID controller to control the air flow in a PEMFC system in order to improve the controller's ability to handle uncertainties within the PEMFC system. Baroud et al. (2017) designed a fuzzy adaptive controller that outperforms the fuzzy logic controller and the transcendental PID controller in terms of key performance indicators such as integration squared error, integration time, overshoot of the closed-loop system, stabilization time, and rise time. The fuzzy controller was used by Beiram et al. (2015) to prevent oxygen starvation and ensure maximum net PEMFC power, reducing steady-state errors.

6The above innovations can improve the adaptive ability and anti-interference of PID algorithms to a certain extent, but they also increase the calculation volume and calculation time of the algorithms, which makes it harder to ensure the timeliness of the control. In view of these problems, some algorithms that are optimized for the PID algorithm coefficients are more suitable.

7The Deep Deterministic Policy Gradient algorithm (DDPG) in deep reinforcement learning is a model-free control algorithm Zhang et al., 2021) with a simple structure, small computational effort and high robustness, properties which make DDPG an ideal candidate for optimizing the coefficients of PID control algorithms (Zhang et al., 2018). Since DDPG does not require model identification so as to accommodate the uncertainty inherent in nonlinear control, it has been applied in various control fields (Zhang et al., 2016); nevertheless, the algorithm's weak exploration capability explains its low robustness when the algorithm is applied directly as a controller for the control algorithm.

8In order to combine the advantages of the DDPG algorithm and PID algorithm, a data-driven method for the optimal control of air flow in a PEMFC is proposed. A marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a tuner for the PID controller, one which is trained offline.

9The coefficients of the PID controller are rectified and optimized to obtain a PID controller with better performance. The algorithm operates on the principle of marginal effects, a popular analytical concept in the field of Economics, by continuously switching the form of exploration noise in training in order to increase the diversity of samples, improve exploration efficiency and prevent Q-value overfitting, and ultimately improve the robustness of the algorithm to a better performing PID controller.

10The innovations in this paper are as follows:

111) A data-driven method for the optimal control of air flow in a PEMFC with proton exchange membrane fuel cells is presented.

122) For this controller, a MU-4DPG algorithm is proposed as the tuner for the PID controller. The algorithm can rectify and optimize the coefficients of the PID controller during offline training to deliver a PID controller with better performance. As mentioned, the design of the algorithm reflects the principle of marginal effects, in that it can enhance the diversity of samples by continuously switching the form of exploration noise in training to improve the exploration efficiency while preventing Q-value overfitting, ultimately improving the robustness of the algorithm and ensuring a better-performing PID controller.

13The remainder of this paper comprises the following sections: the PEMFC model is demonstrated in Section PEMFC Air Supply System Model, and the algorithm is described in Section Proposed Method; the experimental results are analysed and discussed in Section Case Studies, and the findings in this paper are summarised in Section Conclusion.

Theoretical Conditions

141) The gas settings accord with the Ideal Gas Law.

152) The air temperature inside the electrodes is equal to the temperature of the stack. 3) When the relative humidity of the gas exceeds 100%, the water vapour concentrates into liquid form.

Air Compressor Model

16The air compressor compresses the air and transfers it at a certain pressure to the supply line, where it is cooled and humidified, and then transferred to the fuel cell cathode. The air compressor is the core component within the PEMFC system. The dynamic characteristics of the air compressor drive motor can be expressed by the following set of equations:

17The motor driving torque of the compressor can be obtained from the static motor equation:

18The load torque of the air compressor can be calculated using the following thermal equation:

19The temperature of the air leaving the compressor is

20The supply of air is completed by the compressor, which consumes electric energy when it is working. Taking into account the power consumed by the compressor and ignoring the power consumption of other equipment in the system, the effective power output of the entire PEMFC system can be expressed as:

Return Pipe Model

21The principle of the return line is similar to that of the inlet line, but since the temperature of the gas flowing out of the reactor is much lower than that of the gas flowing into the reactor, the effect of temperature is ignored and the principle of the return line can be expressed as follows:

22In this paper, according to different pressure ratios, a nonlinear mouth equation is used to determine that F rm.out is

23Cathode Model This is obtained from the Ideal Gas Law:

24w ca,out k ca (P ca − P b )

25The oxygen excess ratio (OER) is a key variable that significantly influences the fuel cell system's performance. The OER is expressed as follows:

Anode Model

26The basic principle of proportional valve control can be expressed as follows:

27V an RT dP H2 dt w H2,in − w H2,react − w H2,out

28w H2,react NI 2F (15) w H2,out P H2 P an w an,out

29w an,out k an (P an − P b ) (17)

Supply Pipeline Model

30In a PEMFC system, the term "gas supply piping" refers usually to the collection of piping for the cathode only, due to the small size of the anode gas supply piping and return piping. The cathode gas supply pipeline connects the air compressor to the fuel cell reactor cathode and, according to the Law of Conservation of Mass, the settings for gas flowing into the pipeline and the gas flowing out of the pipeline satisfy the following equation:

31When the high-temperature gas from the compressor enters the gas supply line, its temperature and pressure change, so, according to the Law of Energy Conservation and the Ideal Gas Equation, the change of pressure in the gas supply line can be expressed as follows:

32F sm,out k sm,out p sm − p ca

33PROPOSED METHOD

Technical Principles

34The control model includes the PEMFC reactor, the air compressor and its PID controller. The controller of the PID is equated to an agent undergoing training, which in turn enables the agent to adapt to the non-linear characteristics of the PEMFC and improve the overall control performance of the OER and output voltage. For pre-learning, the proposed algorithm is used to rectify the coefficients k p , k i , and k d of the PID controller. The tuning methods employ a linear quadratic Gaussian (LQG) objective function.

35In order to maintain the water level while minimizing control effort u, the controllers employ the following LQG criterion:

36When applied online, the agent issues the optimal voltage of the air compressor once it has received data on the status of the PEMFC. The control interval of the agent is 0.01 s.

DDPG

37The DDPG algorithm is a policy-based RL method which is based on an empirical replay approach and which uses deep neural networks as nonlinear function approximators to construct Q(s, a; θ Q ) μ(s; θ μ ) and μ′(s; θ μ )critic network model action and target Q values. The critic network is updated by minimizing the loss function. The L(θ Q ) network parameters are shown as follows: y t r(s t , a t ) + cQ′ s t+1 , μ′(s t+1 |θ μ )θ Q

38The gradient of the actor network, which depends on which the actor network parameters are updated, is expressed as follows:

39DDPG improves the stability of the learning process by slowly updating the weights of the actor target network and the critic target network:

MU-4DPG Algorithm

40MU-4DPG is an extension of the DDPG algorithm, which in turn has low robustness due to its single exploration principle. This problem, similar to the concept of marginal effect in Economics, is due to the fact that the exploration principle is too homogeneous, and so the agent receives only a fixed number of types of actions, and struggles to obtain richer samples. Marginal effects are defined as those in which a successive increase in one input, when other inputs are fixed, results in a gradual decrease in the benefit, that is, the amount of output per unit of input added decreases when the added input exceeds a certain level. Therefore, the diversity of samples obtained by using the same noise model over and over again decreases with an increase of episodes. In order to solve this problem, the method proposed in this paper improves the diversity of samples by continuously switching between different forms of exploration noise during training, improving the exploration efficiency, and adopting a number of strategies in order to prevent Q-value overfitting. The result is an algorithm with higher robustness, and a better-performing PID controller. The MU-4DPG algorithm includes two critics and one actor, and, in order to solve the Q overestimation problem that occurs in the DDPG algorithm, the proposed algorithm uses three techniques: clipping multiple Q learning, delayed policy update, and smooth regularization of the target policy. 1) Clipped multi-Q learning. The "student" agent in MU-4DPG uses clipped multi-Q learning to calculate the target value:

412) Policy delayed update. After every d update of the critic network, an update of the actor network is performed so as to ensure that the actor network can be updated with a low Q-value error, in order to improve the update efficiency of the actor network. 3) Target policy smoothing regularization. The algorithm introduces a regularization method to reduce the variance of the target values by smoothing the Q-estimates by bootstrapping estimates of similar state action pairs:

42Smooth regularization is also achieved by adding a random noise to the target strategy and averaging over the mini-batch:

434) Marginal effect mechanism. The actor network in the agent switches between Gaussian noise and OU noise, depending on the episodes, in order to obtain a more diverse sample.

44Episodes are 0-1,000, 2000-3,000, 4,000-5,000, 7,000-8,000, 9,000-10,000 when OU noise is used for exploration:

45whereby π θ j (s) is the actor network policy, and N OU is the OU noise.

46Episodes are 1, 001-1999, 3,001-3,999, 5,001-5,999, 6,001-6,999, 8,001-8,999 when explored using Gaussian noise:

47whereby π θ m (s) is the actor network policy, and NGaussian is Gaussian noise.

CASE STUDIES

48In the simulation, the MU-4DPG tuning PID (MU-4DPG-PID) was compared against the TD3 tuning PID (TD3-PID) controller, DDPG tuning PID (DDPG-PID) controller, PSO optimized fuzzy PID controller (PSO-Fuzzy-PID), GA-optimized fuzzy PID controller (GA-Fuzzy-PID), PSO-optimized PID controller (PSO-PID), GA-optimized PID controller (GA-PID), and neural network control (NNC). The results are shown in Figures 1A,B.

1) Comparison of the proposed algorithm with other

49algorithms. According to Figures 1A,B, the OER of the MU-4DPG algorithm has a better climbing speed response, a more stable OER, and a smaller overshoot. In addition, the MU-4DPG algorithm has a more rapid response time for the stack voltage and a smaller overshoot, and it does not permit large fluctuations. By contrast, the other algorithms each have a large overshoot in both the OER and output voltage, and a slower response time, resulting in large oscillations in both the OER and the stack voltage, which can lead to large oscillations in the output voltage. Therefore, the MU-4DPG algorithm has the best control performance. 2) The reasons for this phenomenon are: the robustness of the algorithm is reduced compared to other DRL algorithms because more techniques are not used in pre-learning, resulting in a large output voltage overshoot and output voltage fluctuations that affect the output performance of the PEMFC. the Fuzzy-based algorithm is too simple in its rules, resulting in low robustness and adaptive capability of this class of algorithms. The PSO-PID, and GA-PID algorithms inside the conventional control algorithm do not have the adaptive capability to adjust the PID parameters, and therefore have difficulty in adapting to the non-linearity of the PEMFC. The NNC algorithm, on the other hand, relies on the effects of training, resulting in low robustness and therefore the lowest control performance of this class of algorithms.

50CONCLUSION 1) This paper presents a large-scale deep reinforcement learning based adaptive optimal PID controller for controlling proton exchange membrane fuel cell (PEMFC) air flow. 2) A marginal utility-based double-delay deep deterministic policy gradient (MU-4DPG) algorithm is proposed as a tuner for the PID controller. The coefficients of the PID controller are rectified and optimized during off-line training to obtain a PID controller with better performance and fixed coefficients. The algorithm operates on the Economics principle of marginal effects, in that it continuously switches between different forms of exploration noise in training in order to increase the diversity of samples, improve exploration efficiency and prevent Q-value overfitting, which altogether lead to an improvement in the robustness of the algorithm and a better-performing PID controller.

513) The results of the simulation involving both the proposed controller and two groups of existing controllers (adaptive PID and conventional control) indicate that the MU-4DPG-PID controller is able to maintain a stable output voltage while effectively avoiding oxygen starvation or oxygen supersaturation in the fuel cell.

DATA AVAILABILITY STATEMENT

52The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.

참고문헌 20건

  1. PID control design for the pressure regulation of PEM fuel cell 2015 10.1109/rdcape.2015.7281411
  2. Polymer electrolyte membrane fuel cell control with feed-forward and feedback strategy International Journal of Engineering Science and Technology · Elsevier BV · 2011 10.4314/ijest.v2i10.64012
  3. Nonlinear maximum power point tracking control and modal analysis of DFIG based wind turbine International Journal of Electrical Power & Energy Systems · Elsevier BV · 2015 10.1016/j.ijepes.2015.07.036
  4. Robust collaborative consensus algorithm for decentralized economic dispatch with a practical communication network Electric Power Systems Research · Elsevier BV · 2016 10.1016/j.epsr.2016.05.014
  5. Grouped grey wolf optimizer for maximum power point tracking of doubly-fed induction generator based wind turbine Energy Conversion and Management · Elsevier BV · 2016 10.1016/j.enconman.2016.10.062
  6. Novel hybrid fuzzy-PID control scheme for air supply in PEM fuel-cell-based systems International Journal of Hydrogen Energy · Elsevier BV · 2017 10.1016/j.ijhydene.2017.01.014
  7. Robust sliding-mode control of wind energy conversion systems for optimal power extraction via nonlinear perturbation observers Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.08.027
  8. Control of PEM Fuel Cell Systems Using Interval Type‐2 Fuzzy PID Approach Fuel Cells · Wiley · 2018 10.1002/fuce.201700157
  9. Adaptive fractional-order PID control of PMSG-based wind energy conversion system for MPPT using linear observers International Transactions on Electrical Energy Systems · Wiley · 2018 10.1002/etep.2697
  10. A cyber-physical-social system with parallel learning for distributed energy management of a microgrid Energy · Elsevier BV · 2018 10.1016/j.energy.2018.09.069
  11. Dynamic leader based collective intelligence for maximum power point tracking of PV systems affected by partial shading condition Energy Conversion and Management · Elsevier BV · 2018 10.1016/j.enconman.2018.10.074
  12. Novel bio-inspired memetic salp swarm algorithm and application to MPPT for PV systems considering partial shading condition Journal of Cleaner Production · Elsevier BV · 2019 10.1016/j.jclepro.2019.01.150
  13. Fast Stackelberg equilibrium learning for real-time coordinated energy control of a multi-area integrated energy system Applied Thermal Engineering · Elsevier BV · 2019 10.1016/j.applthermaleng.2019.02.053
  14. Memetic reinforcement learning based maximum power point tracking design for PV systems under partial shading condition Energy · Elsevier BV · 2019 10.1016/j.energy.2019.03.053
  15. Efficiency analysis and control of a grid-connected PEM fuel cell in distributed generation Energy Conversion and Management · Elsevier BV · 2019 10.1016/j.enconman.2019.04.041
  16. Comprehensive overview of meta-heuristic algorithm applications on PV cell parameter identification Energy Conversion and Management · Elsevier BV · 2020 10.1016/j.enconman.2020.112595
  17. Adaptive distributed auction-based algorithm for optimal mileage based AGC dispatch with high participation of renewable energy International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.106371
  18. Efficient experience replay based deep deterministic policy gradient for AGC dispatch in integrated energy system Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2020.116386
  19. A new adaptive controller based on distributed deep reinforcement learning for PEMFC air supply system Energy Reports · Elsevier BV · 2021 10.1016/j.egyr.2021.02.043
  20. Optimal PID plus fuzzy controller design for a PEM fuel cell air feed system using the self-adaptive differential evolution algorithm International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.05.114