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

Adaptive Controller of PEMFC Output Voltage Based on Ambient Intelligence Large-Scale Deep Reinforcement Learning

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

기본 정보

저자
  1. Jiawen Li — College of Electric Power, South China University of Technology, Guangzhou, China
  2. Tao Yu — College of Electric Power, South China University of Technology, Guangzhou, China
  3. Bo Yang — Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming, China
DOI
10.1109/access.2020.3049072
저널
IEEE Access
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
15
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.3049072
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W3118530534

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기)
R&D 측면
부품·응용 설계
확신도
0.80
근거 용어
PEMFC, output voltage control, adaptive PI controller, deep reinforcement learning, hydrogen flow control
판단 근거
논문은 PEMFC(고분자전해질 연료전지)의 출력 전압을 안정화하기 위한 지능형 제어 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지 사업 중 MEA(7) 및 시스템 제어와 관련된 상위 시스템/제어 로직 연구에 해당합니다.
R&D 활용 포인트
PEMFC 시스템의 전압 안정성 및 수소 유량 제어 최적화를 위한 AI 기반 제어 알고리즘 설계 기술로 활용 가능합니다.
평가 입력
본문 63,096자 중 30,032자 발췌

초록

In this article, an adaptive Proportion integration (PI) controller for varying the output voltage of a proton exchange membrane fuel cell (PEMFC) is proposed. The PI controller operates on the basis of ambient intelligence large-scale deep reinforcement learning. It functions as a coefficient tuner based on an ambient intelligence exploration multi-delay deep deterministic policy gradient (AIEM-DDPG) algorithm. This algorithm is an improvement on the original deep deterministic police gradient (DDPG) algorithm, which incorporates ambient intelligence exploration. The DDPG algorithm serves as the core, and the AIEM-DDPG algorithm runs on a variety of deep reinforcement learning algorithms, including soft actor-critic (SAC), deep deterministic policy gradient (DDPG), proximal policy optimization (PPO) and double deep Q-network (DDQN) algorithms, to attain distributed exploration in the environment. In addition, a classified priority experience replay mechanism is introduced to improve the exploration efficiency. Clipping multi-Q learning, policy delayed updating, target policy smooth regularization and other methods are utilized to solve the problem of Q-value overestimation. A model-free algorithm with good global searching ability and optimization speed is demonstrated. Simulation results show that the AIEM-DDPG adaptive PI controller attains better robustness and adaptability, as well as a good control effect.

본문 63,096자

본문 펼치기
Received December 9, 2020, accepted December 15, 2020, date of publication January 4, 2021, date of current version January 12, 2021. _Digital Object Identifier 10.1109/ACCESS.2020.3049072_ # Adaptive Controller of PEMFC Output Voltage Based on Ambient Intelligence Large-Scale Deep Reinforcement Learning JIAWEN LI 1, TAO YU1, AND BO YANG2 1College of Electric Power, South China University of Technology, Guangzhou 510640, China 2Faculty of Electric Power Engineering, Kunming University of Science and Technology, Kunming 650093, China Corresponding author: Tao Yu (taoyul@scut.edu.cn) This work was supported in part by the National Natural Science Foundation of China under Grant 51777078. ABSTRACT In this article, an adaptive Proportion integration (PI) controller for varying the output voltage of a proton exchange membrane fuel cell (PEMFC) is proposed. The PI controller operates on the basis of ambient intelligence large-scale deep reinforcement learning. It functions as a coefficient tuner based on an ambient intelligence exploration multi-delay deep deterministic policy gradient (AIEM-DDPG) algorithm. This algorithm is an improvement on the original deep deterministic police gradient (DDPG) algorithm, which incorporates ambient intelligence exploration. The DDPG algorithm serves as the core, and the AIEM-DDPG algorithm runs on a variety of deep reinforcement learning algorithms, including soft actor-critic (SAC), deep deterministic policy gradient (DDPG), proximal policy optimization (PPO) and double deep Q-network (DDQN) algorithms, to attain distributed exploration in the environment. In addition, a classified priority experience replay mechanism is introduced to improve the exploration efficiency. Clipping multi-Q learning, policy delayed updating, target policy smooth regularization and other methods are utilized to solve the problem of Q-value overestimation. A model-free algorithm with good global searching ability and optimization speed is demonstrated. Simulation results show that the AIEM-DDPG adaptive PI controller attains better robustness and adaptability, as well as a good control effect. INDEX TERMS Distributed deep reinforcement learning, ambient intelligence exploration multi-delay deep deterministic policy gradient, proton exchange membrane fuel cell, air mass flow control, intelligent controller. I. INTRODUCTION In recognition of the serious environmental pollution caused by conventional fuels, many countries have invested into R&D on new energy fuels [1], [2]. The proton exchange membrane fuel cell (PEMFC) is a device that converts the chemical energy generated by hydrogen and oxygen into electric energy, with no harmful substances discharged. The PEMFC is characterized by higher generating efficiency and specific energy than those of ordinary lithium batteries, making it an ideal power generation candidate. Due to its characteristics of cleanliness, efficiency and low working temperature, PEMFCs could be used in a wide range of applications in the foreseeable future [3], [4]. The associate editor coordinating the review of this manuscript and approving it for publication was Huai-Zhi Wang . According to the electrochemical reaction principle of the PEMFC, the output voltage will change in accordance with the change of load. As a PEMFC mainly uses hydrogen and oxygen as the reactive gases, and generates electric energy via an electrochemical reaction, its output voltage is affected by hydrogen flow, and thus a reasonable hydrogen flow control is required for stabilizing the output voltage. The PEMFC is a nonlinear system which has multiple inputs and outputs. In recent years, scholars have conducted a number of studies into PEMFC flow control. In [5], [6], the authors proposed and modeled an air supply system for a PEMFC and proposed an optimal feedback control method for air flow control. In [7], the authors elaborated on the method in [5], [6] by developing a robust servo control method. In [8], the authors proposed a coordinated control method for attenuating cathode flow and pressure in a small PEMFC. In [9], the authors designed a filter based on the control method in [5], [6], and demonstrated the effectiveness of its control system [9]. However, their feedback control method fails to take into account certain characteristics of hybrid fuel cell vehicles. Some control methods based on model predictive control are presented in [10]–[16], including model predictive control (MPC) [10], [11], internal model control (IMC) [12], model-based adaptive control [13], nonlinear model predictive control (NMPC) [14], nonlinear multivariable control [15], time delay control [16], and generalized model control [17]. In addition, many linear controllers gas control within the PEMFC have been proposed. A linear quadratic Gaussian (LQG) control method proposed in [18]. In [19], the authors have developed a multivariable linear quadratic regulator control (LQR) coupled with feed-forward control. In [20], the authors have proposed a linear parameter varying (LPV) control method. The above linear controls are able to control a PEMFC to a certain extent but cannot address the nonlinearity of that PEMFC. A large number of sliding-mode controls for PEMFC flow control have been developed. In [20], the authors have demonstrated a one-order sliding mode control, while a highorder ultra-twisted sliding mode control is proposed in [22]. In [23], the authors present a high order sliding mode control combing observer. However, due to the high-frequency discontinuous switching of a sliding-mode controller, the actual controlling effect of such a system is inconsistent over time. A sliding mode controller produces adverse ‘‘buffeting’’ to the controlled object, which makes this method unsuitable for precise control. An adaptive control algorithm can automatically adjust the control policy in accordance with the real-time state of the system; thus, such algorithms are widely used in the field of PEMFC control. Several researchers have proposed a variety of adaptive control algorithms: In [24], the authors proposed a data-driven adaptive control method; In [25], the authors have developed an adaptive control method based on parameter identification and pole assignment; an adaptive extremum search control method have proposed in [26]; In [27], the authors have produced a PID-neural network control method; In [28], the authors have proposed an interval type-2 fuzzy-PID control method; and, In [29], the authors have proposed a fuzzy adaptive PID control method. PID and its associated algorithms have been widely used in fuel cell control and other practical engineering applications due to their simple control policy and good robustness. A number of PID control methods have been proposed, including neural PID control [30], a fuzzy PID control [31], an algorithm combining PID and fuzzy control [32], a feedback linearization control policy (for transforming a nonlinear control model into a linear model) [33], and a fraction-order PID (FOPID) control based on nonlinear observer with unknown input [34]. These proposed PIDs and associated algorithms can achieve better PEMFC control, but they cannot be adapted easily to address nonlinearity in the PEMFC [35]. An adaptive algorithm has superior robustness and adaptability, but often has an excessively complex control policy. In order to overcome such defects and obtain better control performance, it is necessary to choose an adaptive algorithm with simple control policy, better identification and decision-making ability. Deep deterministic policy gradient (DDPG) in deep reinforcement learning is a model-free method [36]–[38], which combines the perception of deep learning with the decision-making ability of reinforcement learning, and which has excellent self-adaptive ability, thus achieving timely response and accurate control. In contrast with conventional control methods, DDPG develops control policies through full interaction with the environment [39], [40] without identifying the model; this function makes DDPG compatible with a nonlinear control environment. Nevertheless, although DDPG is applied in various control fields [41]–[43], the algorithm is affected by the common problems associated with many deep reinforcement learning algorithms: it requires long time off-line training before practical application, and it cannot be generalized to every environment when training is insufficient; these lead to poor robustness whenever this algorithm is employed for decision-making. Therefore, this algorithm is seldom directly employed as a control algorithm in the control of the PEMFC, which in turn requires precise control. As mentioned above, an improved DDPG algorithm, and an output voltage adaptive PI controller (tuner) based on the AIEM-DDPG algorithm, are proposed in this article. This controller capitalizes on the excellent sensing ability and decision-making ability of AIEM-DDPG algorithm. It can actively regulate the coefficients of PID control according to the system state, so that it can regulate the hydrogen flow of anode in real time in order to control the output voltage. This article makes two unique contributions to the field: 1. An adaptive PI controller (of output voltage) based on deep reinforcement learning is proposed. The controller employs the deep reinforcement learning algorithm as the tuner, which regulates the output voltage of the PI controller by adjusting the coefficient of the PI controller in real time. It avoids the poor robustness caused by direct use of the deep reinforcement learning algorithm as the control algorithm of the controller, thus ensuring that the PEMFC can satisfy the real-time control requirements under different working conditions and improving the output characteristics of the fuel cell. 2. For the above framework, an AIEM-DDPG algorithm is proposed. This is a large-scale deep reinforcement learning algorithm based on DDPG, which has better global searching ability and optimization speed. The AIEM-DDPG algorithm adopts an ambient intelligence exploration policy, in that the algorithm enables multiple explorations running on the DDPG algorithm as well as other deep reinforcement learning algorithms with different principles such as SAC, DDPG, PPO and DDQN, in order to perform distributed exploration in the environment. In addition, the classified priority experience replay mechanism is introduced in order to improve the exploration efficiency. Clipping multi-Q learning, deferred policy updating, target policy smooth regularization and other methods are utilized to address overestimation of the Q-value. Simulation results show that the AIEM-DDPG controller achieve better control performance and robustness than controllers based on other control principles II. MODEL OF THE PEMFC _A._ _PEMFC DYNAMIC MODEL_ The voltage of a PEMFC is the sum of thermodynamic electromotive force, polarization overvoltage and Ohmic overpotential. When liquid water is produced, the ideal standard potential of a PEMFC is 1.229 V. During the electricity generation of an actual fuel cell, there is some irreversible voltage loss, called polarization overvoltage, which includes activation polarization overvoltage _ηac_, Ohmic polarization overvoltage _ηohm_ and concentration polarization overvoltage _ηcon_ . Such voltage loss will result in a smaller cell voltage than the ideal standard potential. The effect of activation polarization is severe at low current density, but the effect of concentration polarization is dominant at high current density. The output voltage _Vcell_ of a single cell can be basically expressed as follows [44]: _Vcell_ = _E_ - _ηact_ - _ηohm_ - _ηcon_ (1) For a fuel cell stack composed of _N_ single cells in series connection, the output voltage _V_ can be calculated as: _V_ = _NVcell_ (2) 1) THERMODYNAMIC ELECTROMOTIVE FORCE According to the Nernst hydrogen/oxygen fuel cell equation, the thermodynamic electromotive force can be determined as follows: _E_ = <sup>_�_</sup> 2 _F_ <sup>_<u>G</u>_</sup> <sup>+</sup> <sup>_�_</sup> 2 _F_ <sup>_<u>S</u>_</sup> <sup>_(T_</sup> <sup>−</sup> <sup>_T_</sup> <sup>ref</sup> <sup>_)_</sup> <sup>+</sup> <sup>_<u>RT</u>_</sup> 2 _F_ �ln _pH_ 2 + <sup><u>1</u></sup> 2 <sup>ln</sup> <sup>_pO_</sup> <sup>2</sup> (3) The activation overvoltage of PEMFC consists of anodic overvoltage and cathodic overvoltage. The _ηact_ is shown as follows _ηact_ = _x_ 1 + _x_ 2 _T_ + _x_ 3 _T_ ln _c (O_ 2 _)_ + _x_ 4 _T_ ln _I_ (5) where _I_ is the load current of PEMFC, _ξi_ is the model coefficient fitted by experimental data on basis of hydrodynamic force, thermal power and electrochemistry; _c_ ( _O_ 2) is the dissolved oxygen concentration on the cathode catalyst interface. It is a function of temperature and oxygen differential pressure. According to Henry’s law it is shown as follows: _c (O_ 2 _)_ = _PO_ 2 _/_ 5 _._ 08 × 10 <sup>6</sup> exp(−498 _/T_ ) (6) 3) OHMIC POLARIZATION OVERVOLTAGE _ηohm_ mainly consists of the voltage due to the equivalent membrane impedance _R_ m of proton membranes and the voltage drop due to the resistance _R_ c against the passage of protons through proton membranes [45]: _η_ ohm = _IR_ int = _I (R_ m + _R_ c _)_ (7) The internal resistance of a cell can be empirically expressed as follows: _Rint_ = 0 _._ 01605 − 3 _._ 5 × 10 <sup>−5</sup> _T_ + 8 × 10 <sup>−5</sup> _i_ (8) 4) CONCENTRATION POLARIZATION OVERVOLTAGE Concentration overvoltage is caused by mass transfer, which affects hydrogen and oxygens concentrations. The _ηcon_ can express as: _η_ con = − _β_ ln _(J_ _/J_ max _)_ (9) where _β_ is decided by PEMFC and its working status; _J_ is current density, and _J_ max is the maximum current density. 5) CONCENTRATION POLARIZATION OVERVOLTAGE Charge double-layer exists in PEMFC: hydrogen ions accumulate on the electrolyte surface and electrons gather on the electrode surface. The voltage resulting from the above phenomenon is equivalent to a parallel connection of capacitance _C_ on two ends of the polarization over-resistance R _d_, so that charge and energy can be stored on the electrode and electrolyte surfaces as well as in the nearby charge layer. This capacitance is called equivalent capacitance which can effectively ‘‘smooth’’ the voltage drop on the equivalent resistance. It is the double-layer charge capacitance that endows PEMFC with excellent dynamic properties. Hence, the fuel cell voltage dynamic property model can be established by adding capacitance _C_ and inductance _L_ under the stable status (Figure 1). This section may be divided by subheadings. It should provide a concise and precise description of the experimental results, their interpretation as well as the experimental conclusions that can be drawn. where _�G_ is Gibbs free energy, _�S_ is standard molar entropy, _R_ is gas constant, _F_ is Faraday constant, _T_ is the operation temperature of the stack, _Tref_ is the reference temperature, _PH_ 2 and _PO_ 2 are the differential pressures of hydrogen and oxygen respectively. After specific data are substituted, the equation can be converted as follows: _E_ = 1 _._ 229 − 0 _._ 85 × 10 <sup>−3</sup> ( _T_ - 298 _._ 15) +4 _._ 3085 × 10 <sup>−5</sup> _T_ �ln _p_ H2 + ln _pO_ 2 _/_ 2� (4) 2) ACTIVATION OVERVOLTAGE When electrochemical reaction occurs on the electrode surface of PEMFC, the electrons pass through the external circuit load, and the protons pass through the proton exchange membrane. During the transfer process, the electrons and protons have to overcome the chemical energy of the reaction. Specifically, when a certain current pass through a cell, the electrode potential deviates from the reversible potential which results in the activation polarization overvoltage. FIGURE 1. Equivalent circuit of PEMFC. As shown in Figure 1, let the polarizing voltage of _Rd_ be _Vd_, so that the voltage change of a single cell can be expressed as a differential equation: d _V_ d _/_ d _t_ = _I_ _/C_ - _V_ d _/R_ d _C_ (10) The role of the DC/DC converter is not considered in the model, so the output voltage is equal to the stack voltage. _B._ _HYDROGEN FLOW RATE OF PEMFC_ Research implies that the output voltage of a system is largely related to the flow of reaction gases. Since the wind-cooling PEMFC cathode gases are mainly ventilated by blast apparatuses, the space-time gas flow is controlled by linear feedback during modeling, which can promptly trace hydrogen flow variation. Therefore, hydrogen flow is the main factor that determines the output voltage of PEMFC. In this study, together with the electrochemical model of PEMFC, a fuel cell dynamic model is built. The pressure at the hydrogen inlet is altered by controlling the flow of the hydrogen inlet, so as to indirectly control the output voltage of the cell and stabilize the voltage. According to the law of mass conservation and the ideal-gas equation, it can be shown as follows [36]: FIGURE 2. PEMFC output voltage control system. III. INTELLIGENCE CONTROL OF AIEM-DDPG _A._ _DEEP REINFORCEMENT LEARNING_ The purpose of deep reinforcement learning is to realize end-to-end learning from the input to the output of decision-making results. Conventional deep reinforcement learning methods can be divided into two categories: ones based on value function, and those based on policy gradient. The former type often suffers from an unstable training process and cannot deal with the task of continuous action space; the latter type is designed to parameterize the policy, employ a deep neural network for approaching the policy, and seek the optimal policy by following the direction of the policy gradient. The latter type of algorithm is more stable in the training process, but its implementation is more complicated, and the variance resulting from learning by sampling is large [46]–[49]. _B._ _COMMON POLICY GRADIENT ALGORITHMS_ 1) DDPG In [50], a DDPG algorithm is proposed, which is a deterministic policy algorithm. DDPG employs two deep neural networks, namely, policy network and value function network. They correspond to policy function _πφ_ (s) and value function _Qθ_ ( _s, a_ ) respectively, with their parameters of _φ_ and _θ_ . DDPG is designed to find an optimal policy _πφ_ which maximizes the expected return value _J_ ( _φ_ ) = E _si_ ∼ _pπ_ _ai_ ∼ _π_ [ _R_ 0]. The parameter updating of policy network by DDPG through the gradient ∇ _φJ_ ( _φ_ ) is expressed as the following formula: _<u>Vo</u>_ = _mH_ 2 − _K_ 8 _._ 314 _T_ <sup>×</sup> <sup>_<u>dP</u>_</sup> _dt_ <sup>_<u>H</u>_</sup> <sup><u>2</u></sup> - _PH_ 2 − _PEH_ 2 �− <sup><u>0</u></sup> <sup>_._</sup> <sup><u>5</u></sup> <sup>_<u>NI</u>_</sup> (11) _F_ where _V_ 0 is the total volume of the anode flow field; _mH_ 2 is the hydrogen flow rate; _PEH_ 2 is the hydrogen elimination pressure; _K_ is the anode flow coefficient. _C._ _PEMFC OUTPUT VOLTAGE CONTROL PRINCIPLE_ Studies have shown that the output voltage of the system is mainly related to the flow rate of the reaction gas. Because the cathode gas of the air-cooled PEMFC is mainly delivered by the blower, linear feedback control is adopted for the air flow in modeling, which changes according to the needs of the hydrogen supply system in time. Therefore, the hydrogen flow is the main factor determining the output voltage of PEMFC in this article. A dynamic model of the PEMFC is established according to the electrochemical model of PEMFC. The coefficients of the adaptive PI controller are regulated in real time by the coefficient tuner based on AIEM-DDPG algorithm. Then the flow rate of the hydrogen is controlled by the adaptive PI controller thus indirectly controlling the output voltage of the PEMFC to achieve the purpose to stable output voltage. According to the conservation of mass and the conservation of ideal gas, formula (11) is obtained [36]. ∇ _φJ_ ( _φ_ ) = E _s_ - _p_ ∗ - ∇ _aQ_ <sup>_τ_</sup> ( _s, a_ )�� _a_ - _π_ ( _s_ ) <sup>∇</sup> <sup>_φπφ_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> (12) where _Q_ <sup>_π_</sup> ( _s, a_ ) = E _sj_ - _pr_ _,ai_ - _π_ [ _rt_ | _s, a_ ] means the expected return value after the action _a_ is taken in the state _s_ under the condition of following the policy _π_ . The parameter updating of value network is realized by the loss minimization function _L_ ( _θ_ ).   (13) _L_ ( _θ_ ) = E _ss,al_ _,r(st_ _,at_ _),st_ +1 - _(yt_ - _Qθ (st_ _, at_ _))_ <sup>2�</sup> _yt_ = _r (st_ _, at_ _)_ + _γ Qθ_ <sup>∗</sup> _(st_ +1 _, at_ +1 _)_ _at_ +1 ∼ _πφ_ ′ _(st_ +1 _)_  where the _φ_ <sup>′</sup> and _θ_ <sup>′</sup> represent the parameter of target policy network and target value network respectively. DDPG sends the gradient information of the _Q_ value function to the policy network through the value function network and formulate the policy along the direction of increasing the Q value according to formula (12). 2) SAC SAC is developed based on DDPG. For a policy of SAC, the greater the entropy, the higher the randomness of action selection. The expression of entropy is as follows: where _Q_ ( _st_ _, at_ ; _θ_ ) is the _Q_ -estimate of the current state, and _Qtarget_ is the target value, denoted as _Q_ target = _r_ + _γ_ max _at_ +1 <sup>_Q (st_</sup> <sup>+1</sup> <sup>_, at_</sup> <sup>+1;</sup> <sup>_θ)_</sup> (20) The function of target value is expressed as follows: _Yt_ <sup>DQN</sup> max _Q_ _a_ _t_ <sup>DQN</sup> ≡ _Rt_ +1 + _γ_ max - _St_ +1 _, a_ ; _θt_ <sup>−</sup> - _St_ +1 _, a_ ; _θt_ <sup>−</sup> - (21) _H (π (_ - | _st_ _))_ = − ∞ _t_ =1 _π (_ - | _st_ _)_ log _π (_ - | _st_ _)_ (14) In order to solve the value estimation of DQN, double-Q estimation is adopted in DDQN, and the objective function value is expressed as follows: _t_ _St_ +1 _,_ max max _Q (St_ +1 _, a_ ; _θt_ _)_ ; _θt_ <sup>−</sup> _a_ (22) Then, the expression of optimal policy of SAC algorithm is as follows: _Yt_ <sup>_DDQN_</sup> ≡ _r_ + _γ Q_ _π_ <sup>∗</sup> = arg max _Eτ_ ∼ _π_ _π_ - ∞ - _γ_ <sup>_t_</sup> _(R_ (15) _γ_ <sup>_t_</sup> _(R (st_ _, at_ _, st_ +1 _)_ + _αH (π (_ - | _st_ _)))_ where _r_ is the reward function value acquired by the agent from the environment; _γ_ is the discount factor; _θt_ is the network parameter at the _t_ <sup>th</sup> iteration; _θt_ is the target network parameter at the _t_ <sup>th</sup> iteration. _C._ _AIEM-DDPG_ Ambient intelligence exploration multi-delay deep deterministic policy gradient (AIEM-DDPG) is a deep reinforcement learning algorithm based on DDPG [50]. In order to solve the Q-value overestimation in DDPG algorithm, this algorithm adopts three tricks: clipping multi-Q learning, policy delayed updating and target policy smooth regularization, which realize better stability and training efficiency of the algorithm. Conventional DDPG algorithm only employs one actor network to explore the environment, which makes it difficult to guarantee the diversity of samples, and the algorithm is easy to subject to local optimum. To solve this problem, three tricks including ambient intelligent exploration policy, classified priority experience replay, distributed training framework are introduced into the AIEM-DDPG algorithm, which realize better exploration effect of the algorithm. 1) CLIPPING MULTIPLE Q-LEARNING Inspired by the double-deep Q-learning (DDQN) method, we integrate the current actor network with AIEM-DDPG to select optimal action. Afterward, the policy is evaluated by the target critic network. _t_ =0 3) PPO Proximal policy optimization (PPO) is a stochastic policy algorithm to deal with the difficulty in determining the learning rate in conventional policy gradient algorithm. PPO algorithm uses the ratio of new policies to old policies to restrict the update range of new policy, making the algorithm insensitive to the learning rate and improving the training efficiency. PPO algorithm is improved based on TRPO, as follows: the reward is as follows: _rt_ ( _θ_ ) = _πθ (at_ | _st_ _) /πθtu (at_ | _st_ _)_ (16) the target function of conventional TRPO is as follows: _L_ <sup>_CPI_</sup> ( _θ_ ) = _E_ <sup>ˆ</sup> _t_ - _πθ (at_ | _<u>st</u>_ _<u>)</u>_ _πθou (at_ | _st_ _)_ _A_ ˆ _i_ = _E_ <sup>ˆ</sup> _t_ - _rt_ ( _θ_ ) _A_ <sup>ˆ</sup> _t_ (17) where the _A_ 2 is the advantage function, that is, the gradient oscillation of the selection probability TRPO controlling the action in ( _st_ _, at_ ) is extremely large. Therefore, in order to further control the update rate of policy gradient, PPO adds a CLIP function in the target function, so that the update of _rt_ ( _θ_ ) is restrained at the interval [ _rt_ ( _θ_ ) _,_ 1+ _ε_ ] or [1+ _ε, rt_ ( _θ_ )], so PPO proposes that the KL divergence should not be too large), and puts forward the following target function: _yt_ = _r (st_ _, at_ _)_ + _γ Qθ_ ′ <sup>�</sup> - (23) _st_ +1 _, πφ (st_ +1 _)_ - _rt_ ( _θ_ ) _A_ <sup>ˆ</sup> _t_ _, clip (rt_ ( _θ_ ) _,_ 1− _ε,_ 1+ _ε)_ _A_ <sup>ˆ</sup> _t_ �� (18) In the DDPG, the ‘‘soft update’’ [25] method is applied to the target critic and actor networks, which share great similarity to the real network. Moreover, the separation of action policy evaluation becomes hard. For this reason, the target value is calculated by the clipped multiple Q-learning method in the AIEM-DDPG. _L_ <sup>_CLIP_</sup> ( _θ_ ) = _Et_ min PPO is an on-policy stochastic policy algorithm, and it has the advantages of stable convergence and online update. 4) DDQN AND DQN DQN learning is to ensure that the _Q_ -estimate of the current value network is as close as possible to the target _Q_ -value of the target value network. This process can be expressed as follows: _y_ <sup>1</sup> _t_ _i_ = <sup>min</sup> 1 _,_ 2 _,_ 3 <sup>_Qθ_</sup> _i_ <sup>′</sup> <sup>1</sup> _t_ <sup>=</sup> <sup>_r (st_</sup> <sup>_, at_</sup> <sup>_)_</sup> <sup>+</sup> <sup>_γ_</sup> _i_ = <sup>min</sup> 1 _,_ 2 _,_ _i_ - _st_ +1 _, πφ_ 1 _(st_ +1 _)_ - (24) 2) DELAYED POLICY UPDATING After the critic network is updated for _d_ times, the actor network will be updated once so that it is able to achieve update under the low error of _Q_ value, thus increasing the actor network’s update efficiency. _Loss_ ( _θ_ ) = _E_ �� �2 <sup>�</sup> _Q_ target − _Q (st_ _, at_ ; _θ)_ (19) 3) SMOOTH REGULARIZATION OF TARGET POLICY Moreover, random noise is added to the target policy and the values of a mini-batch are averaged for the implementation of smooth regularization. The action of _ε_ -DDPG-explorer is shown as follows: _a_ <sup>_l_</sup> _ε_ <sup>=</sup> - _πθ_ <sup>_l_</sup> _πθ_ <sup>_l_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> With _ε_ probability _a_ <sup>_l_</sup> rand With 1- _ε_ probability (28) <sup>_l_</sup> rand With 1- _ε_ probability �� (25) _yt_ = _r (st_ _, at_ _)_ + E _ε_ - _Qθ_ ′ <sup>�</sup> _st_ +1 _, πφ_ ′ _(st_ +1 _)_ + _ε_ Also, a stochastic noise is added to the target strategy, and the values of a mini-batch are averaged for the implementation of smooth regularization. - (26) where the _πθ_ <sup>_l_</sup> <sup>(</sup> <sup>_s_</sup> <sup>) is the actor network policy of</sup> <sup>_lth ε_</sup> <sup>-explorer,</sup> the _arand_ is the action in the total action space. In addition, the exploration policy of actor network in 6 explorers is set as the OU noise, and it is named as the OU-explorer. By using random OU noise with different variance, the noises among different explorers are different, which can reduce repetition among samples. The action of OU-DDPG-explorer is shown as follows: _yt_ = _r (st_ _, at_ _)_ + _γ_ _i_ min=1 _,_ 2 <sup>_Qθt_</sup> - _st_ +1 _, πφ_ ′ _(st_ +1 _)_ + _ε_ _ε_ ∼ _clip_ ( _N_ (0 _, σ_ ) _,_ - _c, c_ ) (27) 4) AMBIENT INTELLIGENCE EXPLORATION POLICY AND DISTRIBUTED TRAINING FRAMEWORK Distributed reinforcement learning, also known as large-scale deep reinforcement learning, is to obtain more generalized deep reinforcement learning policy by using neural network to approximately fit the policy function and the large-scale computing resources to achieve efficient training of neural network models. Ambient intelligence exploration policy has two meanings: one is that agents can continuously learn by themselves in various ways to enrich their own policies and experience; the other is that agents can obtain different information or experience samples by crossing different unrelated environments. Ambient intelligence exploration policy and large-scale deep reinforcement learning framework are combined together to promote agent learning. The training framework of AIEM-DDPG algorithm is as follows. This framework takes DDPG algorithm as main algorithm and employs explorers composed of many other deep reinforcement learning algorithms with different principles such as SAC, DDPG, PPO and DDQN to explore in different environments. These explorers are named SAC-explorer, DDPG-explorer, PPO-explorer and DDQN-explorer respectively. There are one leader and two experience pools, in which the leader includes three critic networks and one actor network. The framework uses these explorers to collect samples to enrich the learning samples of the leader, so as to achieve better exploration efficiency and training efficiency. _a:_ _DDPG-EXPLORER_ Every DDPG-explorer contains one actor network with its own network model and environment. Different environment is explored by several different explorers in parallel. The actor network in different DDPG-explorers adopts different exploration policies, including greedy strategy, gaussian noise and OU noise. In Q-learning, the _ε_ -greedy strategy indicates choosing any action within the action space with certain probability. Therefore, to imitate the exploration policy of Q learning, the exploration policy of actor network in 6 explorers is set as the greedy strategy, and it is named as the _ε_ -explorer. _a_ <sup>_j_</sup> <sup>_j_</sup> _OU_ <sup>=</sup> <sup>_π_</sup> _θ_ <sup>_j_</sup> _θ_ <sup>_j_</sup> <sup>(</sup> <sup>_s_</sup> <sup>) +</sup> <sup>_N j_</sup> _OU_ (29) where the _πθ_ <sup>_j_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>actor</sup> <sup>network</sup> <sup>policy</sup> <sup>of</sup> <sup>_jth_</sup> <sup>OU</sup> <sup>-</sup> explorer, the _NOU_ is the OU noise. Moreover, the optimization policy of actor network in 6 explorers is set as the Gaussian noise, and it is named as the Gaussian-DDPG-explorer. Random Gaussian noise with different variance is used in different explorers. <sup>_m_</sup> Gaussian <sup>=</sup> <sup>_π_</sup> _θ_ <sup>m</sup> _a_ <sup>_m_</sup> _θ_ <sup>m(</sup> <sup>_s_</sup> <sup>) +</sup> <sup>_N m_</sup> _Gaussian_ <sup>_m_</sup> (30) where the _πθ_ <sup>_m_</sup> <sup>(</sup> <sup>_s_</sup> <sup>) is the actor network policy of</sup> <sup>_mth_</sup> <sup>Gaussian</sup> -explorer, the _NGaussian_ is the Gaussian noise. As a result, by employing the above exploration policy based on different principles, the randomness and diversity of samples explored by explorers can be enhanced. In offline training, all DDPG-explorers generates the samples _e_ <sup>_DDPG_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDPG_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDPG_</sup>, _rt_ <sup>_i_</sup> <sup>−</sup> <sup>_DDPG_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_DDPG_</sup> 1 ) based on their own environment, and add the samples to the public experience pools according to the classified experience priority replay mechanism. Then the learner draws training samples from the pool according to the standard and keep learning. Finally, the actor network in DDPG-explorer regularly updates its network parameters from the latest actor network of the leader. <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDPG_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDPG_</sup> _t_ <sup>_i_</sup> <sup>−</sup> <sup>_DDPG_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_DDPG_</sup> 1 <sup>_DDPG_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDPG_</sup> <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDPG_</sup>, _rt_ <sup>_i_</sup> <sup>−</sup> <sup>_DDPG_</sup> _b:_ _SAC-EXPLORER_ There is six SAC-explorers, each of which includes overall SAC structure and different network models and environments. Each SAC-explorer utilizes its own policy to explore in the environment, and puts the explored sample _e_ <sup>_SAC_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_SAC_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_SAC_</sup> _, rt_ <sup>_i_</sup> <sup>−</sup> <sup>_SAC_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_SAC_</sup> 1 ) into its own experience pool and the public experience pool of the leader at the same time. In addition, SAC-explorer regularly collects samples from its own experience pool for training and updating its parameters. In this article, the excellent exploration ability of SAC algorithm is utilized to explore in different environments and generate different samples, so as to diversify the samples. <sup>_i_</sup> _t_ <sup>−</sup> <sup>_SAC_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_SAC_</sup> <sup>_i_</sup> _t_ <sup>−</sup> <sup>_SAC_</sup> _, rt_ <sup>_i_</sup> <sup>−</sup> <sup>_SAC_</sup> _t_ <sup>_i_</sup> <sup>−</sup> <sup>_SAC_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_SAC_</sup> 1 _c:_ _PPO-EXPLORER_ There are six PPO-explorers, each of which includes complete PPO algorithm structure, different network models and environments, each PPO-explorer adopts its own policy to explore in the environment, and puts the explored sample _e_ <sup>_PPO_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_PPO_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_PPO_</sup> _, rt_ <sup>_i_</sup> <sup>−</sup> <sup>_PPO_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_PPO_</sup> 1 ) into the its own experience pools and the public experience pools of the leader at the same time. In addition, PPO-explorer regularly updates its parameters and empties each episode of its own experience pool. In this article, PPO algorithm which has policy constraint ability is utilized to obtain the samples explored with more smooth policy, so as to make the policy of the actor in leader converge quickly. <sup>_PPO_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_PPO_</sup> <sup>_i_</sup> _t_ <sup>−</sup> <sup>_PPO_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_PPO_</sup> <sup>_i_</sup> _t_ <sup>−</sup> <sup>_PPO_</sup> _, rt_ <sup>_i_</sup> <sup>−</sup> <sup>_PPO_</sup> _t_ <sup>_i_</sup> <sup>−</sup> <sup>_PPO_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_PPO_</sup> 1 _d:_ _DDQN-EXPLORER_ There are six DDQN-explores, each of which has complete algorithm structure and different network models, parameters and environments. Each DDQN-explorer uses its own policy and different greedy coefficient _ε_ to explore in the environment, and puts the explored sample _e_ <sup>_DDQN_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDQN_</sup>, _a_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDQN_</sup> _, rt_ <sup>_i_</sup> <sup>−</sup> <sup>_DDQN_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_DDQN_</sup> 1 ) into its own experience pools and the public experience pools of the leader at the same time. Since DDQN is a discrete deep reinforcement learning algorithm, it has the advantage of quick convergence, but is not feasible for solving the problem of continuous space. In this article, DDQN which has the advantage of quick convergence is utilized to quickly obtain the samples with higher value, thus guiding the training of the leader. Nevertheless, this algorithm is not applicable to continuous space, so the samples collected by it only play a guiding role. <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDQN_</sup> _, rt_ <sup>_i_</sup> <sup>−</sup> <sup>_DDQN_</sup> _t_ <sup>_i_</sup> <sup>−</sup> <sup>_DDQN_</sup> _, s_ <sup>_i_</sup> _t_ <sup>−</sup> + <sup>_DDQN_</sup> 1 <sup>_DDQN_</sup> _i_ = ( _s_ <sup>_i_</sup> _t_ <sup>−</sup> <sup>_DDQN_</sup> _e:_ _LEADER_ The leader adopts the three tricks to deal with Q-value overestimation in DDPG. In addition, in offline training, the actor network in the leader converges to an optimal solution by continuously sampling and learning from the public experience pool according to the classified experience priority replay mechanism. The leader regularly transmits the parameters of the latest actor network to DDPG-explorer, without communicating with other explorers. 5) CLASSIFICATION EXPERIENCE REPLAY Classification experience replay standard for the average reward: Under the guidance of the _ε_ -greed methods in Q-learning, the experiential samples are reserved by two independent buffer pools in AIEM-DDPG. In the process of network initialization, the average reward value of the samples in these two pools is marked to be 0. Every time a new sample is brought in, the value will be calculated again. Subsequently, the sample’s reward and its average value are compared. When the sample’s reward is less than or equal to the average value _ra_, then the sample should be put into the pool 1. If not, the sample should be put into pool 2. During offline training, as to pool 1, _nξ_ samples can be gotten with the probability of _ξ_ . In pool 2, _n_ (1− _ξ_ ) samples can be gotten with the probability of 1- _ξ_ . The detailed framework is displayed in Figure 3. The explicit process is displayed in Figure 4. FIGURE 3. Distributed training framework of PEMFC intelligent controller based on AIEM-DDPG. FIGURE 4. AIEM-DDPG method flow. IV. DESIGN OF AIEM-DDPG CONTROLLER The adaptive PI controller in this article takes the anode hydrogen flow rate of PEMFC as the control amount and the output voltage of PEMFC as input. AIEM-DDPG algorithm is used as the tuner of the adaptive PI controller, and the coefficients of the PI controller are regulated in real time by the tuner. The input of the tuner includes output voltage and reference voltage, and the output is proportion coefficient and integral coefficient. The control interval of the tuner is 0.01s. The adaptive PI controller controls the flow rate of hydrogen, so that the output voltage of PEMFC can reach a predetermined value, thus ensuring the stability of the system. The objective of the controller is to make the output voltage of PEMFC strictly and accurately follow the reference voltage. Figure 5 shows the detailed control diagram. _A._ _ACTION SPACE_ The action space is expressed as formula (31):   (31) _a_ = - _kp_ _ki_ 0 ≤ _kp_ ≤ _kp_ <sup>max</sup> 0 ≤ _ki_ ≤ _ki_ <sup>max</sup>  where _kp_ is the proportionality coefficient of the PI controller, _kp_ <sup>_max_</sup> is the integral coefficient of the PI controller, and _kp_ <sup>_max_</sup> _p_ <sup>_max_</sup> is the integral coefficient of the PI controller, and _kp_ <sup>_max_</sup> _p_ _p_ and _ki_ <sup>_max_</sup> are the maximum of these two parameters. _i_ <sup>_max_</sup> are the maximum of these two parameters. _B._ _STATE SPACE_ State is the error _e_ ( _t_ ) (output voltage error) between the output voltage of the input controller and the reference voltage, its integral to _t_, and the output voltage _vst_, as shown in formula (32). [ _e_ ( _t_ ) (32) <sup>∗</sup> _st_ <sup>(</sup> <sup>_t_</sup> <sup>) −</sup> <sup>_vst_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> - _t_ [ _e_ ( _t_ ) 0 <sup>_edt_</sup> <sup>_vst_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)]</sup> _e_ ( _t_ ) = _v_ <sup>∗</sup> _st_ <sup>(</sup> <sup>_t_</sup> <sup>) −</sup> <sup>_vst_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _C._ _SELECTION OF REWARD FUNCTION_ According to formula (33), a composite reward function is formed by the quadratic term of the output voltage error of each control interval, the linear weighting of the square of the action _a_ made in the last control cycle and the control reward term. The reward function is expressed as follows: _µ_ 1 _e_ <sup>2</sup> ( _t_ ) + _µ_ 2 _a_ <sup>2</sup> _i_ <sup>(</sup> <sup>_t_</sup> <sup>−</sup> <sup>1)</sup> FIGURE 5. Diagram of output voltage control of PEMFC based on AIEM-DDPG tuner. TABLE 1. Parameter settings. _A._ _PARAMETER SETTING_ The parameters of the AIEM-DDPG algorithm are shown in Table 1. _B._ _ONLINE APPLICATION WITH STEP LOAD_ The effectiveness of the algorithm is verified via simulation under two working conditions: 1. step load; and, 2. random load disturbance. This novel method is compared with the following methods: APEX-DDPG [54] adaptive PI (APEX-DDPG-PI) controller, TD3 [55] adaptive PI (TD3PI) controller, DDPG [50] adaptive PI (DDPG-PI) controller, DQN [36] adaptive PI (DQN-PI) controller, and REF [30] adaptive PI (REF-PI) controller and DDPG controller. These controllers are all of the adaptive controller type. The PSO-optimized fuzzy PI (PSO-FPI) controller, fuzzy PI (FPI) controller [29] and PI controller are all conventional controllers. The simulation time of the step load is 5s. At 1s, the load current increases from 100A to 120A. Figures 6(a)∼(d) and Table 2 show the results of the simulation. The Rising time represents the first time at which 99% of the reference value is reached. The stabilization time is the time of stabilizing in the range of 0.1% of the reference value. r( _t_ ) = 2 _i_ =1 + _β_ (33) _β_ = �0 _._ 8 _e_ <sup>2</sup> ( _t_ ) ≤ 0 _._ 02 (34) 0 _e_ <sup>2</sup> ( _t_ ) _>_ 0 _._ 02 where _t_ is the discrete time; e( _t_ ) is the error of output voltage at time _t_ ; _a_ ( _t-1_ ) is the action of the agent at time _t-1_, _β_ is the control reward term. When the control error e( _t_ ) is not greater than 0.02, the agent will give a positive reward. V. SIMULATION The parameters used in the model are given in Table AI. The fuel cell stack employs 75kW stacks used in the FORD P2000 fuel cell prototype vehicle [51]. The active area of the fuel cell is calculated from the peak power of the stack. The compressor model is based on the Allied Signal compressor detailed in [52]. The membrane properties of Nafion 117 membrane are obtained from [53]. The values of volumes are approximated from the dimensions of the P2000 fuel cell system. The training graph is shown in Figure 5 and the relevant parameters are listed in Table 1. Both the simulation model and programs described in this article have been developed using a server consisting of 48 CPUs. The single CPU is a 2.10GHz Intel Xeon Platinum processor, and the RAM of the server is 192GB. The simulation software package used is MATALB/Simulink version 9.8.0 (R2020a). TABLE 2. The response results of the output voltage control of PEMFC. FIGURE 6. Diagram of simulation results of PEMFC under step disturbance. As shown in Figure 6(a) and Table 2, compared with the other adaptive controllers, the AIEM-DDPG-PI controller has better control performance, smaller overshoot and faster response speed under load disturbance. In addition, it can be seen that the AIEM-DDPG-PI controller has the best control performance. This is because the AIEM-DDPG-PI controller adopts various tricks for improving exploration efficiency and attaining better control performance in the training. By contrast, the exploration policies of the APEX-DDPG-PI controller, TD3-PI controller and DDPG-PI controller are too narrow; as a result, these controllers are more likely to converge on a local optimal solution, making it impossible to obtain a control policy with better control performance. The DQN-PI controller adopts the discrete reinforcement learning algorithm DQN as the tuner, which leads to failure in the continuous regulation of _kp_ and _ki_, resulting in poor control performance. Its stabilization time and overshoot are 6 times and 2.24 times that of AIEM-DDPG-PI controller, respectively. As shown in Figure 6(c), _kp_ and _ki_ of the AIEMDDPG-PI controller constantly change with the system state, whereby _kp_ is increased at the early stage of the load sudden change for rapid response, and is gradually decreased at the end of the disturbance in order to attain smooth regulation. In the REF-PI controller, a conventional REF neural network serves as the tuner of PI controller, which makes the controller vulnerable to the sample accuracy. Its stabilization time and overshoot are 6.17 times and 2.21 times that of the AIEM-DDPG-PI controller, respectively. The overshoot of AIEM-DDPG-PI is obviously smaller (3.83 times) than that of the DDPG controller, even though the latter has a similar response speed compared with the former (rising time equaling 0.01s), and the DDPG controller exhibits significant oscillation. This is because the DDPG algorithm is not generalized, which leads to poor robustness of the controller; meanwhile, the AIEM-DDPG-PI controller can smoothly regulate the output voltage. Compared with conventional controllers, the AIEM-DDPG-PI controller exhibits better control performance in terms of response speed, stability and overshoot. The maximum rising time of the controllers of conventional algorithms is about 11 times that of the AIEM-DDPG-PI controller, the maximum stabilization time is 18.17 times and the maximum overshoot is 11.22 times that of other controllers. The performance of controllers operating on conventional algorithms is affected by large overshoot and oscillation, due to their innate inability to handle nonlinear systems (for example, the PEMFC). As can be seen in Figure 6(b), the controller based on the AIEM-DDPG algorithm can ensure stability in the net power. Therefore, the AIEM-DDPG controller proposed in this article achieve better control performance and stability under step load. FIGURE 7. Diagram of simulation results of PEMFC under stochastic load. _C._ _ONLINE APPLICATION WITH STOCHASTIC LOAD_ In order to verify the robustness and control performance of the AIEM-DDPG controller, a simulation has been carried out under a stochastic load working condition. Appendix AI shows the stochastic load, where each condition lasts for 10s and the total simulation time is 51s. Figures.8(a)∼(d) show the results. As shown in Figures 7(a)∼(b), under different loads the AIEM-DDPG controller achieves the best control performance in terms of output voltage and power, with the most stable regulation curve and the smallest overshoot. This is because a large number of samples under different loads have been learned during offline training, which makes the controller highly adaptive and robust. In addition, it is found that the DDPG controller has poor robustness, therefore it attains completely different control performances under different load working conditions. At 31∼41s and 41∼51s, its response speed to output voltage is fast and overshoot is small; but under other conditions, especially at 1∼11s, its response speed is extremely slow and there is a great overshoot in output voltage. By comparison, the AIEM-DDPG-PI controller, in which the PI controller is the carrier, is an improvement on the DDPG framework. The AIEM-DDPG algorithm is only used as the tuner of the PI controller. The algorithm is not directly used as the control algorithm for developing the control strategy; as a consequence, the controller has greater adaptability and robustness. Because the AIEM-DDPG-PI controller maintains the output voltage, its net power is also relatively stable (Figure 7(b)). As can be seen in Figure 7(c), the dynamic response is in direct TABLE 3. Parameter of PEMFC. proportion to the overshoot of hydrogen pressure of the controller. The AIEM-DDPG-PI controller will have a reasonable hydrogen overshoot at the initial stage of load change due to its ability to maintain fast response speed, but it will soon return to the reference value. The DDPG controller will also exhibit a large overshoot of hydrogen pressure when its performance is poor; however, this emanates from the problem of the algorithm focusing excessively on the response speed and neglecting the static error. VI. CONCLUSION In this article, an adaptive PI controller for PEMFC output voltage is proposed, and an AIEM-DDPG algorithm is proposed as the tuner of this PI controller for regulating the coefficient of the controller. This algorithm is an improvement on the DDPG algorithm. Its innovations include the ambient intelligence exploration policy (AIEM), which uses explorers with various exploration policies to conduct distributed exploration in the environment. In addition, the classified priority experience replay mechanism is introduced as it improves the efficiency of exploration and training. In addition, clipping multi-Q learning, delay policy updating, and target policy smooth regularization are used to solve the problem of Q value overestimation. Ultimately, a coefficient regulation algorithm with outstanding adaptability is obtained, which can actively regulate the coefficient of the PI controller in alignment with the varying state of the PEMFC. 2) By simulating the PEFMC under different working conditions, it is found that the AIEM-DDPG controller can meet the real-time control requirements under different operating load disturbances in the output voltage control system of the PEMFC. The AIEM-DDPG-PI controller in this article overcomes the problems of slow convergence and poor generalization of the DDPG algorithm, combines the robustness of PI controller with the perception of deep reinforcement learning, improves the performance of conventional PI controller, and realizes accurate and stable millisecond control of output voltage. The problem of low robustness of the DDPG controller (which directly applies the DDPG algorithm to formulate control strategies) is thus avoided. For that reason alone, the AIEM-DDPG algorithm is of great practical significance. The authors will apply this algorithm to the actual PEMFC system in future work. APPENDIX See Table 3. REFERENCES [1] D. Zhao, Y. Huangfu, M. Dou, and F. Gao, ‘‘Cathode partial pressure estimation of a proton exchange membrane fuel cell for transportation applications,’’ in _Proc._ _IEEE_ _Conf._ _Expo_ _Transp._ _Electrific._ _Asia–Pacific_ _(ITEC Asia–Pacific)_, Beijing, China, Aug./Sep. 2014, pp. 1e–5e. [2] L. Sun, Y. Jin, L. Pan, J. Shen, and K. Y. Lee, ‘‘Efficiency analysis and control of a grid-connected PEM fuel cell in distributed generation,’’ _Energy Convers. Manage._, vol. 195, pp. 587–596, Sep. 2019. [3] Y. Qiu, P. Wu, T. Miao, J. Liang, K. Jiao, T. Li, J. Lin, and J. Zhang, ‘‘An intelligent approach for contact pressure optimization of PEM fuel cell gas diffusion layers,’’ _Appl. Sci._, vol. 10, no. 12, p. 4194, Jun. 2020. [4] R. M. Aslam, D. B. Ingham, M. S. Ismail, K. J. Hughes, L. Ma, and M. Pourkashanian, ‘‘Simultaneous direct visualisation of liquid water in the cathode and anode serpentine flow channels of proton exchange membrane (PEM) fuel cells,’’ _J._ _Energy_ _Inst._, vol. 91, no. 6, pp. 1057–1070, Dec. 2018. [5] J. T. Pukrushpan, A. G. Stefanopoulou, and H. Peng, ‘‘Control of fuel cell breathing,’’ _IEEE Control Syst._, vol. 24, no. 2, pp. 30–46, Apr. 2004. [6] J. T. Pukrushpan, H. Peng, and A. G. Stefanopoulou, ‘‘Control-oriented modeling and analysis for automotive fuel cell systems,’’ _J._ _Dyn._ _Syst.,_ _Meas., Control_, vol. 126, no. 1, pp. 14–25, Mar. 2004. [7] J. Sun and I. V. Kolmanovsky, ‘‘Load governor for fuel cell oxygen starvation protection: A robust nonlinear reference governor approach,’’ _IEEE_ _Trans._ _Control_ _Syst._ _Technol._, vol. 13, no. 6, pp. 911–920, Nov. 2005. [8] Y. Xiong and X. Deng, ‘‘Research on the control of the cathode gas flow and pressure of a small PEM fuel cell,’’ in _Proc. 6th World Congr. Intell._ _Control Automat._, Jun. 2006, pp. 7711–7715. [9] K.-W. Suh and A. G. Stefanopoulou, ‘‘Performance limitations of air flow control in power-autonomous fuel cell systems,’’ _IEEE Trans. Control Syst._ _Technol._, vol. 15, no. 3, pp. 465–473, May 2007. [10] A. Vahidi, A. Stefanopoulou, and H. Peng, ‘‘Model predictive control for starvation prevention in a hybrid fuel cell system,’’ in _Proc. Amer. Control_ _Conf._, vol. 1, Jun./Jul. 2004, pp. 834–839. [11] N. Chatrattanawet, T. Hakhen, S. Kheawhom, and A. Arpornwichanop, ‘‘Control structure design and robust model predictive control for controlling a proton exchange membrane fuel cell,’’ _J._ _Cleaner_ _Prod._, vol. 148, pp. 934–947, Apr. 2017. [12] H. Beirami, A. Z. Shabestari, and M. M. Zerafat, ‘‘Optimal PID plus fuzzy controller design for a PEM fuel cell air feed system using the self-adaptive differential evolution algorithm,’’ _Int. J. Hydrogen Energy_, vol. 40, no. 30, pp. 9422–9434, Aug. 2015. [13] J. Han, S. Yu, and S. Yi, ‘‘Adaptive control for robust air flow management in an automotive fuel cell system,’’ _Appl._ _Energy_, vol. 190, pp. 73–83, Mar. 2017. [14] J. K. Gruber, C. Bordons, and A. Oliva, ‘‘Nonlinear MPC for the airflow in a PEM fuel cell using a volterra series model,’’ _Control Eng. Pract._, vol. 20, no. 2, pp. 205–217, Feb. 2012. [15] Y.-X. Wang and Y.-B. Kim, ‘‘Real-time control for air excess ratio of a PEM fuel cell system,’’ _IEEE/ASME Trans. Mechatronics_, vol. 19, no. 3, pp. 852–861, Jun. 2014. [16] Y.-B. Kim, ‘‘Improving dynamic performance of proton-exchange mem brane fuel cell system using time delay control,’’ _J._ _Power_ _Sources_, vol. 195, no. 19, pp. 6329–6341, Oct. 2010. [17] M. A. Danzer, J. Wilhelm, H. Aschemann, and E. P. Hofer, ‘‘Model-based control of cathode pressure and oxygen excess ratio of a PEM fuel cell system,’’ _J. Power Sources_, vol. 176, no. 2, pp. 515–522, Feb. 2008. [18] S. Rodatz, G. Paganelli, and L. Guzzella, ‘‘Optimizing air supply control of a PEM fuel cell system,’’ in _Proc._ _Amer._ _Control_ _Conf._, Denver, CO, USA, Jun. 2003, pp. 2043–2048. [19] A. Arce, D. R. Ramirez, A. J. Del Real, and C. Bordons, ‘‘Constrained explicit predictive control strategies for PEM fuel cell systems,’’ in _Proc._ _46th_ _IEEE_ _Conf._ _Decis._ _Control_, New Orleans, LA, USA, Dec. 2007, pp. 6088–6093. [20] M. Abdullah and M. Idres, ‘‘Fuel cell starvation control using model predictive technique with Laguerre and exponential weight functions,’’ _J. Mech. Sci. Technol._, vol. 28, no. 5, pp. 1995–2002, May 2014. [21] G. Park and Z. Gajic, ‘‘A simple sliding mode controller of a fifth-order nonlinear PEM fuel cell model,’’ _IEEE_ _Trans._ _Energy_ _Convers._, vol. 29, no. 1, pp. 65–71, Mar. 2014. [22] R. J. Talj, D. Hissel, R. Ortega, M. Becherif, and M. Hilairet, ‘‘Experi mental validation of a PEM fuel-cell reduced-order model and a motocompressor higher order sliding-mode control,’’ _IEEE_ _Trans._ _Ind._ _Elec-_ _tron._, vol. 57, no. 6, pp. 1906–1913, Jun. 2010. [23] J. Liu, W. Luo, X. Yang, and L. Wu, ‘‘Robust model-based fault diagnosis for PEM fuel cell air-feed system,’’ _IEEE_ _Trans._ _Ind._ _Electron._, vol. 63, no. 5, pp. 3261–3270, May 2016. [24] L. Sun, J. Shen, Q. Hua, and K. Y. Lee, ‘‘Data-driven oxygen excess ratio control for proton exchange membrane fuel cell,’’ _Appl. Energy_, vol. 231, pp. 866–875, Dec. 2018. [25] K. Ou, Y.-X. Wang, and Y.-B. Kim, ‘‘Performance optimization for open cathode fuel cell systems with overheating protection and air starvation prevention,’’ _Fuel Cells_, vol. 17, no. 3, pp. 299–307, Jun. 2017. [26] J. G. Williams, G.-P. Liu, K. Thanapalan, and D. Rees, ‘‘Design and implementation of on-line self-tuning control for PEM fuel cells,’’ _World_ _Electr. Vehicle J._, vol. 2, no. 4, pp. 242–252, Dec. 2008. [27] M. Hatti and M. Tioursi, ‘‘Dynamic neural network controller model of PEM fuel cell system,’’ _Int._ _J._ _Hydrogen_ _Energy_, vol. 34, no. 11, pp. 5015–5021, Jun. 2009. [28] P. E. M. Almeida and M. G. Simoes, ‘‘Neural optimal control of PEM fuel cells with parametric CMAC networks,’’ _IEEE Trans. Ind. Appl._, vol. 41, no. 1, pp. 237–245, Jan. 2005. [29] J. G. Williams, G. Liu, S. Chai, and D. Rees, ‘‘Intelligent control for improvements in PEM fuel cell flow performance,’’ _Int. J. Autom. Comput._, vol. 5, no. 2, pp. 145–151, May 2008. [30] C. Damour, M. Benne, C. Lebreton, J. Deseure, and B. Grondin-Perez, ‘‘Real-time implementation of a neural model-based self-tuning PID strategy for oxygen stoichiometry control in PEM fuel cell,’’ _Int. J. Hydrogen_ _Energy_, vol. 39, no. 24, pp. 12819–12825, Aug. 2014. [31] K. Ou, Y.-X. Wang, Z.-Z. Li, Y.-D. Shen, and D.-J. Xuan, ‘‘Feedforward fuzzy-PID control for air flow regulation of PEM fuel cell system,’’ _Int. J._ _Hydrogen Energy_, vol. 40, no. 35, pp. 11686–11695, Sep. 2015. [32] Z. Baroud, M. Benmiloud, and A. Benalia, ‘‘Fuzzy self-tuning PID con troller for air supply on a PEM fuel cell system,’’ in _Proc._ _4th_ _Int._ _Conf._ _Elect. Eng. (ICEE)_, Boumerdes, Algeria, Dec. 2015, pp. 1–4. [33] J. Chen, Z. Liu, F. Wang, Q. Ouyang, and H. Su, ‘‘Optimal oxygen excess ratio control for PEM fuel cells,’’ _IEEE_ _Trans._ _Control_ _Syst._ _Technol._, vol. 26, no. 5, pp. 1711–1721, Sep. 2018. [34] D. Zhao, F. Li, R. Ma, G. Zhao, and Y. Huangfu, ‘‘An unknown input nonlinear observer based fractional order PID control of fuel cell air supply system,’’ _IEEE_ _Trans._ _Ind._ _Appl._, vol. 56, no. 5, pp. 5523–5532, Sep./Oct. 2020. [35] E. D. Sontag, _Input to State Stability: Basic Concepts and Results_ . Berlin, Germany: Springer, 2008, pp. 163–220. [36] X. Zhang, Z. Xu, T. Yu, B. Yang, and H. Wang, ‘‘Optimal mileage based AGC dispatch of a GenCo,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 35, no. 4, pp. 2516–2526, Jul. 2020. [37] X. Zhang, T. Tan, B. Zhou, T. Yu, B. Yang, and X. Huang, ‘‘Adaptive dis tributed auction-based algorithm for optimal mileage based AGC dispatch with high participation of renewable energy,’’ _Int. J. Electr. Power Energy_ _Syst._, vol. 124, Jan. 2021, Art. no. 106371. [38] T. P. Lillicrap, J. J. Hunt, A. Pritzel, N. Heess, and D. Wierstra, ‘‘Continu ous control with deep reinforcement learning,’’ _Comput. Sci._, vol. 8, no. 6, p. A187, Sep. 2015. [39] M. Zhu, X. Wang, and Y. Wang, ‘‘Human-like autonomous car-following model with deep reinforcement learning,’’ _Transp. Res. C, Emerg. Technol._, vol. 97, pp. 348–368, Dec. 2018. [40] P. Chen, Z. He, C. Chen, and J. Xu, ‘‘Control strategy of speed servo systems based on deep reinforcement learning,’’ _Algorithms_, vol. 11, no. 5, p. 65, May 2018. [41] L. Xi, J. Wu, Y. Xu, and H. Sun, ‘‘Automatic generation control based on multiple neural networks with actor-critic strategy,’’ _IEEE_ _Trans._ _Neural_ _Netw._ _Learn._ _Syst._, early access, Jul. 14, 2020, doi: [10.1109/TNNLS.2020.3006080.](http://dx.doi.org/10.1109/TNNLS.2020.3006080) [42] J. Duan, D. Shi, R. Diao, H. Li, Z. Wang, B. Zhang, D. Bian, and Z. Yi, ‘‘Deep-reinforcement-learning-based autonomous voltage control for power grid operations,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 35, no. 1, pp. 814–817, Jan. 2020. [43] H. Shi, Y. Sun, G. Li, F. Wang, D. Wang, and J. Li, ‘‘Hierarchical intermit tent motor control with deterministic policy gradient,’’ _IEEE Access_, vol. 7, pp. 41799–41810, Mar. 2019. [44] J. T. Pukrushpan, _Modeling_ _and_ _Control_ _of_ _Fuel_ _Cell_ _Systems_ _and_ _Fuel_ _Processors_ . Ann Arbor, MI, USA: Univ. Michigan, 2003. [45] B. V. Dasarathy and B. V. Sheela, ‘‘A composite classifier system design: Concepts and methodology,’’ _Proc._ _IEEE_, vol. 67, no. 5, pp. 708–713, May 1979. [46] H. Wang, Z. Lei, X. Zhang, B. Zhou, and J. Peng, ‘‘A review of deep learning for renewable energy forecasting,’’ _Energy_ _Convers._ _Manage._, vol. 198, Oct. 2019, Art. no. 111799. [47] H. Wang, Y. Liu, B. Zhou, C. Li, G. Cao, N. Voropai, and E. Barakhtenko, ‘‘Taxonomy research of artificial intelligence for deterministic solar power forecasting,’’ _Energy_ _Convers._ _Manage._, vol. 214, Jun. 2020, Art. no. 112909. [48] H. Z. Wang, G. B. Wang, G. Q. Li, J. C. Peng, and Y. T. Liu, ‘‘Deep belief network based deterministic and probabilistic wind speed forecasting approach,’’ _Appl. Energy_, vol. 182, pp. 80–93, Nov. 2016. [49] D. Xu, Q. Wu, B. Zhou, C. Li, L. Bai, and S. Huang, ‘‘Distributed multi energy operation of coupled electricity, heating, and natural gas networks,’’ _IEEE Trans. Sustain. Energy_, vol. 11, no. 4, pp. 2457–2469, Oct. 2020, doi: [10.1109/TSTE.2019.2961432.](http://dx.doi.org/10.1109/TSTE.2019.2961432) [50] V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski, S. Petersen, C. Beattie, A. Sadik, I. Antonoglou, H. King, D. Kumaran, D. Wierstra, S. Legg, and D. Hassabis, ‘‘Human-level control through deep reinforcement learning,’’ _Nature_, vol. 518, no. 7540, p. 529, Feb. 2015. [51] J. A. Adams, W. Yang, K. A. Oglesby, and K. D. Osborne, ‘‘The devel opment of Ford’s P2000 fuel cell vehicle,’’ _SAE_ _Trans._, vol. 6, no. 109, pp. 1634–1645, Mar. 2000. [52] J. M. Cunningham, M. A. Man, R. M. Moore, and D. J. Friedman, ‘‘Requirements for a flexible and realistic air supply model for incorporation into a fuel cell vehicle (FCV) system simulation,’’ _SAE Int._, vol. 108, pp. 3191–3196, Aug. 1999. [53] T. Nguyen and R. E. White, ‘‘A water and heat management model for proton-exchange-membrane fuel cells,’’ _J._ _Electrochem._ _Soc._, vol. 140, no. 8, pp. 2178–2186, Aug. 1993. [54] D. Horgan, J. Quan, D. Budden, G. Barth-Maron, M. Hessel, H. Van Hasselt, and D. Silver, ‘‘Distributed prioritized experience replay,’’ in _Proc. Int. Conf. Learn. Represent._, Mar. 2018, pp. 1–19. [55] S. Fujimoto, H. van Hoof, and D. Meger, ‘‘Addressing function approxima tion error in actor-critic methods,’’ Feb. 2018, _arXiv:1802.09477_ . [Online]. Available: http://arxiv.org/abs/1802.09477 JIAWEN LI received the M.S. degree in electrical engineering from Northeast Electric Power University, Jilin, China, in 2016. He is currently pursuing the D.Eng. degree in electrical engineering with the School of Electric Power, South China University of Technology. His research interest includes automatic generation control. TAO YU is currently a Professor of power system with the School of Electric Power, South China University of Technology (SCUT), Guangzhou, China. His research interest includes nonlinear and coordinated control theory. BO YANG received the B.Eng. degree in electrical engineering from the South China University of Technology, Guangzhou, China, in 2010, and the Ph.D. degree in electrical engineering from the University of Liverpool, Liverpool, U.K., in 2015. He joined the Faculty of Electric Power, Kunming University of Science and Technology, as a Lecturer. His research interests include nonlinear adaptive control, VSC-HVDC systems, and wind generations. He won the Full Scholarship from the China Scholarship Council in 2011.

섹션 본문 91문단 · 40,106자

(제목 없음)

1In this article, an adaptive Proportion integration (PI) controller for varying the output voltage of a proton exchange membrane fuel cell (PEMFC) is proposed. The PI controller operates on the basis of ambient intelligence large-scale deep reinforcement learning. It functions as a coefficient tuner based on an ambient intelligence exploration multi-delay deep deterministic policy gradient (AIEM-DDPG) algorithm. This algorithm is an improvement on the original deep deterministic police gradient (DDPG) algorithm, which incorporates ambient intelligence exploration. The DDPG algorithm serves as the core, and the AIEM-DDPG algorithm runs on a variety of deep reinforcement learning algorithms, including soft actor-critic (SAC), deep deterministic policy gradient (DDPG), proximal policy optimization (PPO) and double deep Q-network (DDQN) algorithms, to attain distributed exploration in the environment. In addition, a classified priority experience replay mechanism is introduced to improve the exploration efficiency. Clipping multi-Q learning, policy delayed updating, target policy smooth regularization and other methods are utilized to solve the problem of Q-value overestimation. A model-free algorithm with good global searching ability and optimization speed is demonstrated. Simulation results show that the AIEM-DDPG adaptive PI controller attains better robustness and adaptability, as well as a good control effect.INDEX TERMSDistributed deep reinforcement learning, ambient intelligence exploration multi-delay deep deterministic policy gradient, proton exchange membrane fuel cell, air mass flow control, intelligent controller. JIAWEN LI received the M.S. degree in electrical engineering from Northeast Electric Power University, Jilin, China, in 2016. He is currently pursuing the D.Eng.

I. INTRODUCTION

2In recognition of the serious environmental pollution caused by conventional fuels, many countries have invested into R&D on new energy fuels [1], [2]. The proton exchange membrane fuel cell (PEMFC) is a device that converts the chemical energy generated by hydrogen and oxygen into electric energy, with no harmful substances discharged. The PEMFC is characterized by higher generating efficiency and specific energy than those of ordinary lithium batteries, making it an ideal power generation candidate. Due to its characteristics of cleanliness, efficiency and low working temperature, PEMFCs could be used in a wide range of applications in the foreseeable future [3], [4].

3The associate editor coordinating the review of this manuscript and approving it for publication was Huai-Zhi Wang . According to the electrochemical reaction principle of the PEMFC, the output voltage will change in accordance with the change of load. As a PEMFC mainly uses hydrogen and oxygen as the reactive gases, and generates electric energy via an electrochemical reaction, its output voltage is affected by hydrogen flow, and thus a reasonable hydrogen flow control is required for stabilizing the output voltage.

4The PEMFC is a nonlinear system which has multiple inputs and outputs. In recent years, scholars have conducted a number of studies into PEMFC flow control.

5In [5], [6], the authors proposed and modeled an air supply system for a PEMFC and proposed an optimal feedback control method for air flow control. In [7], the authors elaborated on the method in [5], [6] by developing a robust servo control method. In [8], the authors proposed a coordinated control method for attenuating cathode flow and pressure in VOLUME 9, 2021 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ a small PEMFC. In [9], the authors designed a filter based on the control method in [5], [6], and demonstrated the effectiveness of its control system [9]. However, their feedback control method fails to take into account certain characteristics of hybrid fuel cell vehicles. Some control methods based on model predictive control are presented in [10]- [16], including model predictive control (MPC) [10], [11], internal model control (IMC) [12], model-based adaptive control [13], nonlinear model predictive control (NMPC) [14], nonlinear multivariable control [15], time delay control [16], and generalized model control [17]. In addition, many linear controllers gas control within the PEMFC have been proposed. A linear quadratic Gaussian (LQG) control method proposed in [18]. In [19], the authors have developed a multivariable linear quadratic regulator control (LQR) coupled with feed-forward control. In [20], the authors have proposed a linear parameter varying (LPV) control method. The above linear controls are able to control a PEMFC to a certain extent but cannot address the nonlinearity of that PEMFC.

6A large number of sliding-mode controls for PEMFC flow control have been developed. In [20], the authors have demonstrated a one-order sliding mode control, while a highorder ultra-twisted sliding mode control is proposed in [22]. In [23], the authors present a high order sliding mode control combing observer. However, due to the high-frequency discontinuous switching of a sliding-mode controller, the actual controlling effect of such a system is inconsistent over time. A sliding mode controller produces adverse ''buffeting'' to the controlled object, which makes this method unsuitable for precise control.

7An adaptive control algorithm can automatically adjust the control policy in accordance with the real-time state of the system; thus, such algorithms are widely used in the field of PEMFC control. Several researchers have proposed a variety of adaptive control algorithms: In [24], the authors proposed a data-driven adaptive control method; In [25], the authors have developed an adaptive control method based on parameter identification and pole assignment; an adaptive extremum search control method have proposed in [26]; In [27], the authors have produced a PID-neural network control method; In [28], the authors have proposed an interval type-2 fuzzy-PID control method; and, In [29], the authors have proposed a fuzzy adaptive PID control method.

8PID and its associated algorithms have been widely used in fuel cell control and other practical engineering applications due to their simple control policy and good robustness. A number of PID control methods have been proposed, including neural PID control [30], a fuzzy PID control [31], an algorithm combining PID and fuzzy control [32], a feedback linearization control policy (for transforming a nonlinear control model into a linear model) [33], and a fraction-order PID (FOPID) control based on nonlinear observer with unknown input [34].

9These proposed PIDs and associated algorithms can achieve better PEMFC control, but they cannot be adapted easily to address nonlinearity in the PEMFC [35]. An adaptive algorithm has superior robustness and adaptability, but often has an excessively complex control policy. In order to overcome such defects and obtain better control performance, it is necessary to choose an adaptive algorithm with simple control policy, better identification and decision-making ability. Deep deterministic policy gradient (DDPG) in deep reinforcement learning is a model-free method [36]- [38], which combines the perception of deep learning with the decision-making ability of reinforcement learning, and which has excellent self-adaptive ability, thus achieving timely response and accurate control. In contrast with conventional control methods, DDPG develops control policies through full interaction with the environment [39], [40] without identifying the model; this function makes DDPG compatible with a nonlinear control environment. Nevertheless, although DDPG is applied in various control fields [41]- [43], the algorithm is affected by the common problems associated with many deep reinforcement learning algorithms: it requires long time off-line training before practical application, and it cannot be generalized to every environment when training is insufficient; these lead to poor robustness whenever this algorithm is employed for decision-making. Therefore, this algorithm is seldom directly employed as a control algorithm in the control of the PEMFC, which in turn requires precise control. As mentioned above, an improved DDPG algorithm, and an output voltage adaptive PI controller (tuner) based on the AIEM-DDPG algorithm, are proposed in this article. This controller capitalizes on the excellent sensing ability and decision-making ability of AIEM-DDPG algorithm. It can actively regulate the coefficients of PID control according to the system state, so that it can regulate the hydrogen flow of anode in real time in order to control the output voltage.

10This article makes two unique contributions to the field:

111. An adaptive PI controller (of output voltage) based on deep reinforcement learning is proposed. The controller employs the deep reinforcement learning algorithm as the tuner, which regulates the output voltage of the PI controller by adjusting the coefficient of the PI controller in real time. It avoids the poor robustness caused by direct use of the deep reinforcement learning algorithm as the control algorithm of the controller, thus ensuring that the PEMFC can satisfy the real-time control requirements under different working conditions and improving the output characteristics of the fuel cell.

122. For the above framework, an AIEM-DDPG algorithm is proposed. This is a large-scale deep reinforcement learning algorithm based on DDPG, which has better global searching ability and optimization speed. The AIEM-DDPG algorithm adopts an ambient intelligence exploration policy, in that the algorithm enables multiple explorations running on the DDPG algorithm as well as other deep reinforcement learning algorithms with different principles such as SAC, DDPG, PPO and DDQN, in order to perform distributed exploration in the environment. In addition, the classified priority experience replay mechanism is introduced in order to improve the exploration efficiency. Clipping multi-Q learning, deferred policy updating, target policy smooth regularization and other methods are utilized to address overestimation of the Q-value. Simulation results show that the AIEM-DDPG controller achieve better control performance and robustness than controllers based on other control principles

II. MODEL OF THE PEMFC A. PEMFC DYNAMIC MODEL

13The voltage of a PEMFC is the sum of thermodynamic electromotive force, polarization overvoltage and Ohmic overpotential. When liquid water is produced, the ideal standard potential of a PEMFC is 1.229 V. During the electricity generation of an actual fuel cell, there is some irreversible voltage loss, called polarization overvoltage, which includes activation polarization overvoltage η ac , Ohmic polarization overvoltage η ohm and concentration polarization overvoltage η con . Such voltage loss will result in a smaller cell voltage than the ideal standard potential. The effect of activation polarization is severe at low current density, but the effect of concentration polarization is dominant at high current density. The output voltage V cell of a single cell can be basically expressed as follows [44]:

14For a fuel cell stack composed of N single cells in series connection, the output voltage V can be calculated as:

1) THERMODYNAMIC ELECTROMOTIVE FORCE

15According to the Nernst hydrogen/oxygen fuel cell equation, the thermodynamic electromotive force can be determined as follows:

16where G is Gibbs free energy, S is standard molar entropy, R is gas constant, F is Faraday constant, T is the operation temperature of the stack, T ref is the reference temperature, P H 2 and P O 2 are the differential pressures of hydrogen and oxygen respectively. After specific data are substituted, the equation can be converted as follows:

2) ACTIVATION OVERVOLTAGE

17When electrochemical reaction occurs on the electrode surface of PEMFC, the electrons pass through the external circuit load, and the protons pass through the proton exchange membrane. During the transfer process, the electrons and protons have to overcome the chemical energy of the reaction. Specifically, when a certain current pass through a cell, the electrode potential deviates from the reversible potential which results in the activation polarization overvoltage.

18The activation overvoltage of PEMFC consists of anodic overvoltage and cathodic overvoltage. The η act is shown as follows

19where I is the load current of PEMFC, ξ i is the model coefficient fitted by experimental data on basis of hydrodynamic force, thermal power and electrochemistry; c(O 2 ) is the dissolved oxygen concentration on the cathode catalyst interface. It is a function of temperature and oxygen differential pressure. According to Henry's law it is shown as follows:

203) OHMIC POLARIZATION OVERVOLTAGE η ohm mainly consists of the voltage due to the equivalent membrane impedance R m of proton membranes and the voltage drop due to the resistance R c against the passage of protons through proton membranes [45]:

21The internal resistance of a cell can be empirically expressed as follows:

4) CONCENTRATION POLARIZATION OVERVOLTAGE

22Concentration overvoltage is caused by mass transfer, which affects hydrogen and oxygens concentrations. The η con can express as:

23where β is decided by PEMFC and its working status; J is current density, and J max is the maximum current density.

5) CONCENTRATION POLARIZATION OVERVOLTAGE

24Charge double-layer exists in PEMFC: hydrogen ions accumulate on the electrolyte surface and electrons gather on the electrode surface. The voltage resulting from the above phenomenon is equivalent to a parallel connection of capacitance C on two ends of the polarization over-resistance R d , so that charge and energy can be stored on the electrode and electrolyte surfaces as well as in the nearby charge layer. This capacitance is called equivalent capacitance which can effectively ''smooth'' the voltage drop on the equivalent resistance. It is the double-layer charge capacitance that endows PEMFC with excellent dynamic properties. Hence, the fuel cell voltage dynamic property model can be established by adding capacitance C and inductance L under the stable status ( Figure 1). This section may be divided by subheadings. It should provide a concise and precise description of the experimental results, their interpretation as well as the experimental conclusions that can be drawn. As shown in Figure 1, let the polarizing voltage of R d be V d , so that the voltage change of a single cell can be expressed as a differential equation:

25The role of the DC/DC converter is not considered in the model, so the output voltage is equal to the stack voltage.

B. HYDROGEN FLOW RATE OF PEMFC

26Research implies that the output voltage of a system is largely related to the flow of reaction gases. Since the wind-cooling PEMFC cathode gases are mainly ventilated by blast apparatuses, the space-time gas flow is controlled by linear feedback during modeling, which can promptly trace hydrogen flow variation. Therefore, hydrogen flow is the main factor that determines the output voltage of PEMFC. In this study, together with the electrochemical model of PEMFC, a fuel cell dynamic model is built. The pressure at the hydrogen inlet is altered by controlling the flow of the hydrogen inlet, so as to indirectly control the output voltage of the cell and stabilize the voltage. According to the law of mass conservation and the ideal-gas equation, it can be shown as follows [36]:

27where V 0 is the total volume of the anode flow field; m H 2 is the hydrogen flow rate; P EH 2 is the hydrogen elimination pressure; K is the anode flow coefficient.

C. PEMFC OUTPUT VOLTAGE CONTROL PRINCIPLE

28Studies have shown that the output voltage of the system is mainly related to the flow rate of the reaction gas. Because the cathode gas of the air-cooled PEMFC is mainly delivered by the blower, linear feedback control is adopted for the air flow in modeling, which changes according to the needs of the hydrogen supply system in time. Therefore, the hydrogen flow is the main factor determining the output voltage of PEMFC in this article. A dynamic model of the PEMFC is established according to the electrochemical model of PEMFC. The coefficients of the adaptive PI controller are regulated in real time by the coefficient tuner based on AIEM-DDPG algorithm. Then the flow rate of the hydrogen is controlled by the adaptive PI controller thus indirectly controlling the output voltage of the PEMFC to achieve the purpose to stable output voltage. According to the conservation of mass and the conservation of ideal gas, formula (11) is obtained [36].

III. INTELLIGENCE CONTROL OF AIEM-DDPG A. DEEP REINFORCEMENT LEARNING

29The purpose of deep reinforcement learning is to realize end-to-end learning from the input to the output of decision-making results. Conventional deep reinforcement learning methods can be divided into two categories: ones based on value function, and those based on policy gradient. The former type often suffers from an unstable training process and cannot deal with the task of continuous action space; the latter type is designed to parameterize the policy, employ a deep neural network for approaching the policy, and seek the optimal policy by following the direction of the policy gradient. The latter type of algorithm is more stable in the training process, but its implementation is more complicated, and the variance resulting from learning by sampling is large [46]- [49].

B. COMMON POLICY GRADIENT ALGORITHMS 1) DDPG

30In [50], a DDPG algorithm is proposed, which is a deterministic policy algorithm. DDPG employs two deep neural networks, namely, policy network and value function network. They correspond to policy function π φ (s) and value function Q θ (s, a) respectively, with their parameters of φ and θ. DDPG is designed to find an optimal policy π φ which maximizes the expected return value

31The parameter updating of policy network by DDPG through the gradient ∇ φ J (φ) is expressed as the following formula:

32where Q π (s, a) = E s j −p r ,a i −π [r t | s, a] means the expected return value after the action a is taken in the state s under the condition of following the policy π.

33The parameter updating of value network is realized by the loss minimization function L(θ).

34where the φ and θ represent the parameter of target policy network and target value network respectively. DDPG sends the gradient information of the Q value function to the policy network through the value function network and formulate the policy along the direction of increasing the Q value according to formula (12).

2) SAC

35SAC is developed based on DDPG. For a policy of SAC, the greater the entropy, the higher the randomness of action selection. The expression of entropy is as follows:

36Then, the expression of optimal policy of SAC algorithm is as follows:

3) PPO

37Proximal policy optimization (PPO) is a stochastic policy algorithm to deal with the difficulty in determining the learning rate in conventional policy gradient algorithm. PPO algorithm uses the ratio of new policies to old policies to restrict the update range of new policy, making the algorithm insensitive to the learning rate and improving the training efficiency. PPO algorithm is improved based on TRPO, as follows: the reward is as follows:

38the target function of conventional TRPO is as follows:

39where the A 2 is the advantage function, that is, the gradient oscillation of the selection probability TRPO controlling the action in (s t , a t ) is extremely large. Therefore, in order to further control the update rate of policy gradient, PPO adds a CLIP function in the target function, so that the update of r t (θ) is restrained at the interval [r t (θ), 1+ε] or [1+ε, r t (θ)], so PPO proposes that the KL divergence should not be too large), and puts forward the following target function:

40PPO is an on-policy stochastic policy algorithm, and it has the advantages of stable convergence and online update.

4) DDQN AND DQN

41DQN learning is to ensure that the Q-estimate of the current value network is as close as possible to the target Q-value of the target value network. This process can be expressed as follows:

42where Q(s t , a t ; θ) is the Q-estimate of the current state, and Q target is the target value, denoted as

43The function of target value is expressed as follows:

44In order to solve the value estimation of DQN, double-Q estimation is adopted in DDQN, and the objective function value is expressed as follows:

45where r is the reward function value acquired by the agent from the environment; γ is the discount factor; θ t is the network parameter at the t th iteration; θ t is the target network parameter at the t th iteration.

C. AIEM-DDPG

46Ambient intelligence exploration multi-delay deep deterministic policy gradient (AIEM-DDPG) is a deep reinforcement learning algorithm based on DDPG [50]. In order to solve the Q-value overestimation in DDPG algorithm, this algorithm adopts three tricks: clipping multi-Q learning, policy delayed updating and target policy smooth regularization, which realize better stability and training efficiency of the algorithm. Conventional DDPG algorithm only employs one actor network to explore the environment, which makes it difficult to guarantee the diversity of samples, and the algorithm is easy to subject to local optimum. To solve this problem, three tricks including ambient intelligent exploration policy, classified priority experience replay, distributed training framework are introduced into the AIEM-DDPG algorithm, which realize better exploration effect of the algorithm.

1) CLIPPING MULTIPLE Q-LEARNING

47Inspired by the double-deep Q-learning (DDQN) method, we integrate the current actor network with AIEM-DDPG to select optimal action. Afterward, the policy is evaluated by the target critic network.

48In the DDPG, the ''soft update'' [25] method is applied to the target critic and actor networks, which share great similarity to the real network. Moreover, the separation of action policy evaluation becomes hard. For this reason, the target value is calculated by the clipped multiple Q-learning method in the AIEM-DDPG.

2) DELAYED POLICY UPDATING

49After the critic network is updated for d times, the actor network will be updated once so that it is able to achieve update under the low error of Q value, thus increasing the actor network's update efficiency.

3) SMOOTH REGULARIZATION OF TARGET POLICY

50Moreover, random noise is added to the target policy and the values of a mini-batch are averaged for the implementation of smooth regularization.

51Also, a stochastic noise is added to the target strategy, and the values of a mini-batch are averaged for the implementation of smooth regularization.

4) AMBIENT INTELLIGENCE EXPLORATION POLICY AND DISTRIBUTED TRAINING FRAMEWORK

52Distributed reinforcement learning, also known as large-scale deep reinforcement learning, is to obtain more generalized deep reinforcement learning policy by using neural network to approximately fit the policy function and the large-scale computing resources to achieve efficient training of neural network models. Ambient intelligence exploration policy has two meanings: one is that agents can continuously learn by themselves in various ways to enrich their own policies and experience; the other is that agents can obtain different information or experience samples by crossing different unrelated environments. Ambient intelligence exploration policy and large-scale deep reinforcement learning framework are combined together to promote agent learning. The training framework of AIEM-DDPG algorithm is as follows. This framework takes DDPG algorithm as main algorithm and employs explorers composed of many other deep reinforcement learning algorithms with different principles such as SAC, DDPG, PPO and DDQN to explore in different environments. These explorers are named SAC-explorer, DDPG-explorer, PPO-explorer and DDQN-explorer respectively. There are one leader and two experience pools, in which the leader includes three critic networks and one actor network. The framework uses these explorers to collect samples to enrich the learning samples of the leader, so as to achieve better exploration efficiency and training efficiency.

a: DDPG-EXPLORER

53Every DDPG-explorer contains one actor network with its own network model and environment. Different environment is explored by several different explorers in parallel. The actor network in different DDPG-explorers adopts different exploration policies, including greedy strategy, gaussian noise and OU noise.

54In Q-learning, the ε-greedy strategy indicates choosing any action within the action space with certain probability. Therefore, to imitate the exploration policy of Q learning, the exploration policy of actor network in 6 explorers is set as the greedy strategy, and it is named as the ε-explorer.

55The action of ε-DDPG-explorer is shown as follows: a l ε = π l θ (s) Withε probability a l rand With 1-εprobability (28) where the π l θ (s) is the actor network policy of lth ε-explorer, the a rand is the action in the total action space.

56In addition, the exploration policy of actor network in 6 explorers is set as the OU noise, and it is named as the OU-explorer. By using random OU noise with different variance, the noises among different explorers are different, which can reduce repetition among samples.

57The action of OU-DDPG-explorer is shown as follows:

58where the π j θ (s) is the actor network policy of jth OUexplorer, the N OU is the OU noise.

59Moreover, the optimization policy of actor network in 6 explorers is set as the Gaussian noise, and it is named as the Gaussian-DDPG-explorer. Random Gaussian noise with different variance is used in different explorers.

60where the π m θ (s) is the actor network policy of mth Gaussian -explorer, the N Gaussian is the Gaussian noise.

61As a result, by employing the above exploration policy based on different principles, the randomness and diversity of samples explored by explorers can be enhanced.

62In offline training, all DDPG-explorers generates the sam-

63) based on their own environment, and add the samples to the public experience pools according to the classified experience priority replay mechanism. Then the learner draws training samples from the pool according to the standard and keep learning. Finally, the actor network in DDPG-explorer regularly updates its network parameters from the latest actor network of the leader.

b: SAC-EXPLORER

64There is six SAC-explorers, each of which includes overall SAC structure and different network models and environments. Each SAC-explorer utilizes its own policy to explore in the environment, and puts the explored sample e SAC

65) into its own experience pool and the public experience pool of the leader at the same time. In addition, SAC-explorer regularly collects samples from its own experience pool for training and updating its parameters. In this article, the excellent exploration ability of SAC algorithm is utilized to explore in different environments and generate different samples, so as to diversify the samples.

c: PPO-EXPLORER

66There are six PPO-explorers, each of which includes complete PPO algorithm structure, different network models and environments, each PPO-explorer adopts its own policy to ) into the its own experience pools and the public experience pools of the leader at the same time. In addition, PPO-explorer regularly updates its parameters and empties each episode of its own experience pool. In this article, PPO algorithm which has policy constraint ability is utilized to obtain the samples explored with more smooth policy, so as to make the policy of the actor in leader converge quickly.

d: DDQN-EXPLORER

67There are six DDQN-explores, each of which has complete algorithm structure and different network models, parameters and environments. Each DDQN-explorer uses its own policy and different greedy coefficient ε to explore in the environment, and puts the explored sample e

68) into its own experience pools and the public experience pools of the leader at the same time. Since DDQN is a discrete deep reinforcement learning algorithm, it has the advantage of quick convergence, but is not feasible for solving the problem of continuous space. In this article, DDQN which has the advantage of quick convergence is utilized to quickly obtain the samples with higher value, thus guiding the training of the leader. Nevertheless, this algorithm is not applicable to continuous space, so the samples collected by it only play a guiding role.

e: LEADER

69The leader adopts the three tricks to deal with Q-value overestimation in DDPG. In addition, in offline training, the actor network in the leader converges to an optimal solution by continuously sampling and learning from the public experience pool according to the classified experience priority replay mechanism. The leader regularly transmits the parameters of the latest actor network to DDPG-explorer, without communicating with other explorers.

5) CLASSIFICATION EXPERIENCE REPLAY

70Classification experience replay standard for the average reward: Under the guidance of the ε-greed methods in Q-learning, the experiential samples are reserved by two independent buffer pools in AIEM-DDPG. In the process of network initialization, the average reward value of the samples in these two pools is marked to be 0. Every time a new sample is brought in, the value will be calculated again. Subsequently, the sample's reward and its average value are compared. When the sample's reward is less than or equal to the average value r a , then the sample should be put into the pool 1. If not, the sample should be put into pool 2.

71During offline training, as to pool 1, n ξ samples can be gotten with the probability of ξ . In pool 2, n (1−ξ ) samples can be gotten with the probability of 1-ξ . The detailed framework is displayed in Figure 3. The explicit process is displayed in Figure 4.

IV. DESIGN OF AIEM-DDPG CONTROLLER

72The adaptive PI controller in this article takes the anode hydrogen flow rate of PEMFC as the control amount and the output voltage of PEMFC as input. AIEM-DDPG algorithm is used as the tuner of the adaptive PI controller, and the coefficients of the PI controller are regulated in real time by the tuner. The input of the tuner includes output voltage and reference voltage, and the output is proportion coefficient and integral coefficient. The control interval of the tuner is 0.01s. The adaptive PI controller controls the flow rate of hydrogen, so that the output voltage of PEMFC can reach a predetermined value, thus ensuring the stability of the system. The objective of the controller is to make the output voltage of PEMFC strictly and accurately follow the reference voltage. Figure 5 shows the detailed control diagram.

A. ACTION SPACE

73The action space is expressed as formula (31):

74where k p is the proportionality coefficient of the PI controller, k max p is the integral coefficient of the PI controller, and k max p and k max i are the maximum of these two parameters.

B. STATE SPACE

75State is the error e(t) (output voltage error) between the output voltage of the input controller and the reference voltage, its integral to t, and the output voltage v st , as shown in formula (32).

C. SELECTION OF REWARD FUNCTION

76According to formula (33), a composite reward function is formed by the quadratic term of the output voltage error of each control interval, the linear weighting of the square of the action a made in the last control cycle and the control reward term.

77The reward function is expressed as follows:

78β = 0.8 e 2 (t) ≤ 0.02 0 e 2 (t) > 0.02 (34) where t is the discrete time; e(t) is the error of output voltage at time t; a(t-1) is the action of the agent at time t-1, β is the control reward term. When the control error e(t) is not greater than 0.02, the agent will give a positive reward.

V. SIMULATION

79The parameters used in the model are given in Table AI. The fuel cell stack employs 75kW stacks used in the FORD P2000 fuel cell prototype vehicle [51]. The active area of the fuel cell is calculated from the peak power of the stack. The compressor model is based on the Allied Signal compressor detailed in [52]. The membrane properties of Nafion 117 membrane are obtained from [53]. The values of volumes are approximated from the dimensions of the P2000 fuel cell system. The training graph is shown in Figure 5 and the relevant parameters are listed in Table 1. Both the simulation model and programs described in this article have been developed using a server consisting of 48 CPUs. The single CPU is a 2.10GHz Intel Xeon Platinum processor, and the RAM of the server is 192GB. The simulation software package used is MATALB/Simulink version 9.8.0 (R2020a).

A. PARAMETER SETTING

80The parameters of the AIEM-DDPG algorithm are shown in Table 1.

B. ONLINE APPLICATION WITH STEP LOAD

81The effectiveness of the algorithm is verified via simulation under two working conditions: 1. step load; and, 2. random load disturbance. This novel method is compared with the following methods: APEX-DDPG [54] adaptive PI (APEX-DDPG-PI) controller, TD3 [55] adaptive PI (TD3-PI) controller, DDPG [50] adaptive PI (DDPG-PI) controller, DQN [36] adaptive PI (DQN-PI) controller, and REF [30] adaptive PI (REF-PI) controller and DDPG controller. These controllers are all of the adaptive controller type. The PSO-optimized fuzzy PI (PSO-FPI) controller, fuzzy PI (FPI) controller [29] and PI controller are all conventional controllers. The simulation time of the step load is 5s. At 1s, the load current increases from 100A to 120A. Figures 6(a)∼(d) and Table 2 show the results of the simulation. The Rising time represents the first time at which 99% of the reference value is reached. The stabilization time is the time of stabilizing in the range of 0.1% of the reference value. As shown in Figure 6(a) and Table 2, compared with the other adaptive controllers, the AIEM-DDPG-PI controller has better control performance, smaller overshoot and faster response speed under load disturbance. In addition, it can be seen that the AIEM-DDPG-PI controller has the best control performance. This is because the AIEM-DDPG-PI controller adopts various tricks for improving exploration efficiency and attaining better control performance in the training. By contrast, the exploration policies of the APEX-DDPG-PI controller, TD3-PI controller and DDPG-PI controller are too narrow; as a result, these controllers are more likely to converge on a local optimal solution, making it impossible to obtain a control policy with better control performance.

82The DQN-PI controller adopts the discrete reinforcement learning algorithm DQN as the tuner, which leads to failure in the continuous regulation of k p and k i , resulting in poor control performance. Its stabilization time and overshoot are 6 times and 2.24 times that of AIEM-DDPG-PI controller, respectively. As shown in Figure 6(c), k p and k i of the AIEM-DDPG-PI controller constantly change with the system state, whereby k p is increased at the early stage of the load sudden change for rapid response, and is gradually decreased at the end of the disturbance in order to attain smooth regulation.

83In the REF-PI controller, a conventional REF neural network serves as the tuner of PI controller, which makes the controller vulnerable to the sample accuracy. Its stabilization time and overshoot are 6.17 times and 2.21 times that of the AIEM-DDPG-PI controller, respectively.

84The overshoot of AIEM-DDPG-PI is obviously smaller (3.83 times) than that of the DDPG controller, even though the latter has a similar response speed compared with the former (rising time equaling 0.01s), and the DDPG controller exhibits significant oscillation. This is because the DDPG algorithm is not generalized, which leads to poor robustness of the controller; meanwhile, the AIEM-DDPG-PI controller can smoothly regulate the output voltage.

85Compared with conventional controllers, the AIEM-DDPG-PI controller exhibits better control performance in terms of response speed, stability and overshoot. The maximum rising time of the controllers of conventional algorithms is about 11 times that of the AIEM-DDPG-PI controller, the maximum stabilization time is 18.17 times and the maximum overshoot is 11.22 times that of other controllers.

86The performance of controllers operating on conventional algorithms is affected by large overshoot and oscillation, due to their innate inability to handle nonlinear systems (for example, the PEMFC). As can be seen in Figure 6(b), the controller based on the AIEM-DDPG algorithm can ensure stability in the net power. Therefore, the AIEM-DDPG controller proposed in this article achieve better control performance and stability under step load.

C. ONLINE APPLICATION WITH STOCHASTIC LOAD

87In order to verify the robustness and control performance of the AIEM-DDPG controller, a simulation has been carried out under a stochastic load working condition. Appendix AI shows the stochastic load, where each condition lasts for 10s and the total simulation time is 51s. Figures.8(a)∼(d) show the results.

88As shown in Figures 7(a)∼(b), under different loads the AIEM-DDPG controller achieves the best control performance in terms of output voltage and power, with the most stable regulation curve and the smallest overshoot. This is because a large number of samples under different loads have been learned during offline training, which makes the controller highly adaptive and robust. In addition, it is found that the DDPG controller has poor robustness, therefore it attains completely different control performances under different load working conditions. At 31∼41s and 41∼51s, its response speed to output voltage is fast and overshoot is small; but under other conditions, especially at 1∼11s, its response speed is extremely slow and there is a great overshoot in output voltage. By comparison, the AIEM-DDPG-PI controller, in which the PI controller is the carrier, is an improvement on the DDPG framework. The AIEM-DDPG algorithm is only used as the tuner of the PI controller. The algorithm is not directly used as the control algorithm for developing the control strategy; as a consequence, the controller has greater adaptability and robustness. Because the AIEM-DDPG-PI controller maintains the output voltage, its net power is also relatively stable (Figure 7(b)). As can be seen in Figure 7(c), the dynamic response is in direct proportion to the overshoot of hydrogen pressure of the controller. The AIEM-DDPG-PI controller will have a reasonable hydrogen overshoot at the initial stage of load change due to its ability to maintain fast response speed, but it will soon return to the reference value. The DDPG controller will also exhibit a large overshoot of hydrogen pressure when its performance is poor; however, this emanates from the problem of the algorithm focusing excessively on the response speed and neglecting the static error.

VI. CONCLUSION

89In this article, an adaptive PI controller for PEMFC output voltage is proposed, and an AIEM-DDPG algorithm is proposed as the tuner of this PI controller for regulating the coefficient of the controller. This algorithm is an improvement on the DDPG algorithm. Its innovations include the ambient intelligence exploration policy (AIEM), which uses explorers with various exploration policies to conduct distributed exploration in the environment. In addition, the classified priority experience replay mechanism is introduced as it improves the efficiency of exploration and training. In addition, clipping multi-Q learning, delay policy updating, and target policy smooth regularization are used to solve the problem of Q value overestimation. Ultimately, a coefficient regulation algorithm with outstanding adaptability is obtained, which can actively regulate the coefficient of VOLUME 9, 2021 the PI controller in alignment with the varying state of the PEMFC.

902) By simulating the PEFMC under different working conditions, it is found that the AIEM-DDPG controller can meet the real-time control requirements under different operating load disturbances in the output voltage control system of the PEMFC.

91The AIEM-DDPG-PI controller in this article overcomes the problems of slow convergence and poor generalization of the DDPG algorithm, combines the robustness of PI controller with the perception of deep reinforcement learning, improves the performance of conventional PI controller, and realizes accurate and stable millisecond control of output voltage. The problem of low robustness of the DDPG controller (which directly applies the DDPG algorithm to formulate control strategies) is thus avoided. For that reason alone, the AIEM-DDPG algorithm is of great practical significance. The authors will apply this algorithm to the actual PEMFC system in future work.

참고문헌 56건

  1. Design and Implementation of On-Line Self-Tuning Control for PEM Fuel Cells World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2008 10.3390/wevj2040242
  2. Modeling and control of fuel cell systems and fuel processors. Deep Blue (University of Michigan) · University of Michigan · 2016
  3. Optimizing air supply control of a PEM fuel cell system 2004 10.1109/acc.2003.1243375
  4. A Simple Sliding Mode Controller of a Fifth-Order Nonlinear PEM Fuel Cell Model IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2014 10.1109/tec.2013.2288064
  5. Dynamic neural network controller model of PEM fuel cell system International Journal of Hydrogen Energy · Elsevier BV · 2009 10.1016/j.ijhydene.2008.12.094
  6. A Water and Heat Management Model for Proton‐Exchange‐Membrane Fuel Cells Journal of The Electrochemical Society · Institute of Physics · 1993 10.1149/1.2220792
  7. Nonlinear MPC for the airflow in a PEM fuel cell using a Volterra series model Control Engineering Practice · Elsevier BV · 2011 10.1016/j.conengprac.2011.10.014
  8. Improving dynamic performance of proton-exchange membrane fuel cell system using time delay control Journal of Power Sources · Elsevier BV · 2010 10.1016/j.jpowsour.2010.04.042
  9. Control-Oriented Modeling and Analysis for Automotive Fuel Cell Systems Journal of Dynamic Systems Measurement and Control · ASM International · 2004 10.1115/1.1648308
  10. Intelligent control for improvements in PEM fuel cell flow performance International Journal of Automation and Computing · Springer Science+Business Media · 2008 10.1007/s11633-008-0145-5
  11. Model-based control of cathode pressure and oxygen excess ratio of a PEM fuel cell system Journal of Power Sources · Elsevier BV · 2007 10.1016/j.jpowsour.2007.08.049
  12. Real-Time Control for Air Excess Ratio of a PEM Fuel Cell System IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tmech.2013.2262054
  13. Fuel cell starvation control using model predictive technique with Laguerre and exponential weight functions Journal of Mechanical Science and Technology · Springer Science+Business Media · 2014 10.1007/s12206-014-0348-3
  14. Real-time implementation of a neural model-based self-tuning PID strategy for oxygen stoichiometry control in PEM fuel cell International Journal of Hydrogen Energy · Elsevier BV · 2014 10.1016/j.ijhydene.2014.06.039
  15. Performance Limitations of Air Flow Control in Power-Autonomous Fuel Cell Systems IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2007 10.1109/tcst.2007.894640
  16. Load governor for fuel cell oxygen starvation protection: a robust nonlinear reference governor approach IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2005 10.1109/tcst.2005.854323
  17. Control of fuel cell breathing IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2004 10.1109/mcs.2004.1275430
  18. The Development of Ford's P2000 Fuel Cell Vehicle SAE technical papers on CD-ROM/SAE technical paper series · 2000 10.4271/2000-01-1061
  19. Experimental Validation of a PEM Fuel-Cell Reduced-Order Model and a Moto-Compressor Higher Order Sliding-Mode Control IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2009 10.1109/tie.2009.2029588
  20. Model predictive control for starvation prevention in a hybrid fuel cell system 2004 10.23919/acc.2004.1383709
  21. Constrained explicit predictive control strategies for PEM fuel cell systems 2007 10.1109/cdc.2007.4434556
  22. Human-level control through deep reinforcement learning Nature · Nature Portfolio · 2015 10.1038/nature14236
  23. Research on the Control of the Cathode Gas Flow and Pressure of A Small PEM Fuel Cell 2006 10.1109/wcica.2006.1713468
  24. A composite classifier system design: Concepts and methodology Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1979 10.1109/proc.1979.11321
  25. Continuous control with deep reinforcement learning arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1509.02971
  26. Fuzzy self-tuning PID controller for air supply on a PEM fuel cell system 2022 30th International Conference on Electrical Engineering (ICEE) · 2015 10.1109/intee.2015.7416690
  27. Robust Model-Based Fault Diagnosis for PEM Fuel Cell Air-Feed System IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2016 10.1109/tie.2016.2535118
  28. Deep belief network based deterministic and probabilistic wind speed forecasting approach Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.08.108
  29. Adaptive control for robust air flow management in an automotive fuel cell system Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2016.12.115
  30. Neural Optimal Control of PEM Fuel Cells With Parametric CMAC Networks IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2005 10.1109/tia.2004.836135
  31. Control structure design and robust model predictive control for controlling a proton exchange membrane fuel cell Journal of Cleaner Production · Elsevier BV · 2017 10.1016/j.jclepro.2017.02.033
  32. Performance Optimization for Open‐cathode Fuel Cell Systems with Overheating Protection and Air Starvation Prevention Fuel Cells · Wiley · 2017 10.1002/fuce.201600181
  33. Optimal Oxygen Excess Ratio Control for PEM Fuel Cells IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcst.2017.2723343
  34. Simultaneous direct visualisation of liquid water in the cathode and anode serpentine flow channels of proton exchange membrane (PEM) fuel cells Journal of the Energy Institute · Elsevier BV · 2017 10.1016/j.joei.2017.07.003
  35. Distributed Prioritized Experience Replay arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1803.00933
  36. Addressing Function Approximation Error in Actor-Critic Methods arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1802.09477
  37. Control Strategy of Speed Servo Systems Based on Deep Reinforcement Learning Algorithms · Multidisciplinary Digital Publishing Institute · 2018 10.3390/a11050065
  38. Data-driven oxygen excess ratio control for proton exchange membrane fuel cell Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.09.036
  39. Hierarchical Intermittent Motor Control With Deterministic Policy Gradient IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2904910
  40. 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
  41. A review of deep learning for renewable energy forecasting Energy Conversion and Management · Elsevier BV · 2019 10.1016/j.enconman.2019.111799
  42. Human-like autonomous car-following model with deep reinforcement learning Transportation Research Part C Emerging Technologies · Elsevier BV · 2018 10.1016/j.trc.2018.10.024
  43. Distributed Prioritized Experience Replay International Conference on Learning Representations · 2018
  44. Continuous control with deep reinforcement learning arXiv (Cornell University) · Cornell University · 2016
  45. Deep-Reinforcement-Learning-Based Autonomous Voltage Control for Power Grid Operations IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpwrs.2019.2941134
  46. Distributed Multi-Energy Operation of Coupled Electricity, Heating, and Natural Gas Networks IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2019 10.1109/tste.2019.2961432
  47. Optimal Mileage Based AGC Dispatch of a GenCo IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpwrs.2020.2966509
  48. Taxonomy research of artificial intelligence for deterministic solar power forecasting Energy Conversion and Management · Elsevier BV · 2020 10.1016/j.enconman.2020.112909
  49. An Unknown Input Nonlinear Observer Based Fractional Order PID Control of Fuel Cell Air Supply System IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2020 10.1109/tia.2020.2999037
  50. An Intelligent Approach for Contact Pressure Optimization of PEM Fuel Cell Gas Diffusion Layers Applied Sciences · Multidisciplinary Digital Publishing Institute · 2020 10.3390/app10124194
  51. Automatic Generation Control Based on Multiple Neural Networks With Actor-Critic Strategy IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tnnls.2020.3006080
  52. 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
  53. Requirements for a Flexible and Realistic Air Supply Model for Incorporation into a Fuel Cell Vehicle (FCV) System Simulation SAE technical papers on CD-ROM/SAE technical paper series · 1999 10.4271/1999-01-2912
  54. Input to State Stability: Basic Concepts and Results Lecture notes in mathematics · Springer Nature · 2008 10.1007/978-3-540-77653-6_3
  55. Feedforward fuzzy-PID control for air flow regulation of PEM fuel cell system International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2015.04.080
  56. 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