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

Fuzzy Logic Control with Long Short-Term Memory Neural Network for Hydrogen Production Thermal Control System

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

기본 정보

저자
  1. Hsing‐Cheng Yu — Department of Systems Engineering and Naval Architecture, National Taiwan Ocean University, 2 Pei-Ning Road, Keelung 20224, Taiwan
  2. Q. L. Wang — Department of Systems Engineering and Naval Architecture, National Taiwan Ocean University, 2 Pei-Ning Road, Keelung 20224, Taiwan
  3. Szu-Ju Li — Material and Chemical Research Laboratories, Industrial Technology Research Institute, 195, Sec. 4, Chung Hsing Road, Chutung, Hsinchu 31040, Taiwan
DOI
10.3390/app14198899
저널
Applied Sciences
발행년도
2024
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/app14198899
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4403063800

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
부품·응용 설계
확신도
0.80
근거 용어
water electrolysis, thermal control, PEM electrolysis, electrolysis stack, temperature stability
판단 근거
본 논문은 수전해(Water Electrolysis) 시스템의 스택 온도를 정밀하게 제어하기 위한 제어 알고리즘(FLC 및 LSTMNN)을 연구하고 있습니다. 이는 코오롱인더스트리의 수소연료전지 사업 중 PEM(고분자전해질) 관련 기술 및 시스템 안정화 연구와 기술적 원리 및 응용 측면에서 간접적인 관련성이 있습니다.
R&D 활용 포인트
수전해 또는 PEMFC 시스템의 열관리(Thermal Management) 최적화 및 스택의 내구성/효율 향상을 위한 제어 로직 개발에 활용 가능합니다.
평가 입력
섹션 본문 42,357자 중 30,032자 발췌

초록

In the development of decarbonization technologies and renewable energy, water electrolysis has emerged as a key technology. The efficiency of hydrogen production and its applications are significantly affected by power stability. Enhancing power stability not only improves hydrogen production efficiency and reduces maintenance costs but also ensures long-term reliable system operation. This study proposes a thermal control method that stabilizes hydrogen output by precisely adjusting the temperature of the electrolysis stack, thereby improving hydrogen production efficiency. Fluctuations in the electrolysis stack temperature can lead to instability in the hydrogen output and energy utilization, negatively affecting overall hydrogen production. To address this issue, this study introduces an innovative system architecture and a novel thermal control strategy combining fuzzy logic control with a long short-term memory neural network. This method predicts and adjusts the flow rate of chilled water to maintain the electrolysis stack temperature within a range of ±1 °C while sustaining a constant power output of 10 kW. This approach is crucial for ensuring system stability and maximizing hydrogen production efficiency. Long-term experiments have validated the effectiveness and reliability of this method, demonstrating that this thermal control strategy not only stabilizes the hydrogen production process but also increases the volume of hydrogen generated.

본문 42,898자

본문 펼치기
In the development of decarbonization technologies and renewable energy, water electrolysis has emerged as a key technology.The efficiency of hydrogen production and its applications are significantly affected by power stability.Enhancing power stability not only improves hydrogen production efficiency and reduces maintenance costs but also ensures long-term reliable system operation.This study proposes a thermal control method that stabilizes hydrogen output by precisely adjusting the temperature of the electrolysis stack, thereby improving hydrogen production efficiency.Fluctuations in the electrolysis stack temperature can lead to instability in the hydrogen output and energy utilization, negatively affecting overall hydrogen production.To address this issue, this study introduces an innovative system architecture and a novel thermal control strategy combining fuzzy logic control with a long short-term memory neural network.This method predicts and adjusts the flow rate of chilled water to maintain the electrolysis stack temperature within a range of ±1 • C while sustaining a constant power output of 10 kW.This approach is crucial for ensuring system stability and maximizing hydrogen production efficiency.Long-term experiments have validated the effectiveness and reliability of this method, demonstrating that this thermal control strategy not only stabilizes the hydrogen production process but also increases the volume of hydrogen generated. Introduction Hydrogen is increasingly recognized as a key component in energy transition, offering a clean and renewable energy source that can significantly contribute to reducing global dependence on fossil fuels and mitigating climate change.Its role in decarbonizing various sectors is widely acknowledged, with applications spanning transportation, industrial production, and energy storage.Kovač et al. [1] reviewed the potential of hydrogen in energy transition and explored the development of green hydrogen technologies and efficient storage solutions.This aligned with global efforts to address climate change by reducing greenhouse gas emissions, a challenge that conventional energy sources are struggling to meet. Introduction Water electrolysis, used to produce hydrogen, represents a method for developing a sustainable energy system and reducing dependence on fossil fuels.This method not only converts renewable sources such as solar and wind power into storable and transportable hydrogen energy but also addresses the issue of supply instability.The advancement in water electrolysis technology contributes significantly to enhancing energy supply diversity and security, fostering technological innovation, and promoting the development of a green economy [2,3].However, temperature control during water electrolysis is important for ensuring the efficiency, performance, and safety of the electrolyzer.Proper temperature control not only maximizes energy conversion efficiency, reducing energy losses, but also prevents equipment damage and safety risks, extends equipment lifespan, and reduces long-term operational costs [4][5][6].Thus, effective temperature control is a key factor in ensuring the stability, safety, and economic viability of the water electrolysis process. Introduction The main types of water electrolysis include alkaline water electrolysis, proton exchange membrane (PEM) electrolysis, and solid oxide electrolysis, each offering unique advantages and applications [7].In this study, anion exchange membrane (AEM) electrolysis was utilized, a newer technology combining the benefits of traditional alkaline and PEM electrolysis.It provides a highly efficient and cost-effective method for hydrogen production using solid electrolyte membranes [8]. Introduction Various approaches for temperature control in water electrolysis systems include conventional proportional-integral-derivative (PID) control, fuzzy logic control (FLC), adaptive control, and predictive control.For example, Ahn et al. [9] utilized a proportionalintegral (PI) controller and thermal circuit state feedback in their experiment.O'Keefe et al. [10] developed a dynamic model of a water-cooled fuel cell stack and simulated it with a PI controller in a state-space model.Keller et al. [11] used conventional PID and optimized parameters through feedforward and adaptive PID parameter supply.Xu et al. [12] addressed the slow response and poor dynamic performance by developing a dynamic temperature model for PEM fuel cells and proposing a control strategy based on the sparrow search algorithm PID.Moreover, FLC provides a robust and flexible framework for managing systems characterized by uncertainties, vagueness, and imprecision.This approach originated from L. A. Zadeh's influential 1965 paper on fuzzy sets [13], which introduced the groundbreaking concept of handling partial membership between 0 and 1.This innovation allows systems to represent degrees of truth instead of relying solely on rigid true/false binaries.The framework laid the foundation for the application of FLC in a wide array of dynamic and complex systems, where conventional control methods, dependent on precise inputs, often prove inadequate.In 1975, Mamdani and Assilian [14] conducted a landmark experiment that marked the first practical implementation of an FLC controller, successfully modeling human-like reasoning and decision-making.This experiment opened avenues for FLC to address imprecise linguistic variables in real-world scenarios, including industrial processes, traffic control, and robotics.It demonstrated that FLC could outperform conventional methods in environments marked by high levels of uncertainty and complexity.Tabanjat et al. [15] enhanced the efficiency of a hybrid photovoltaic proton exchange membrane electrolyzer system by controlling the water temperature of the electrolyzer using FLC.Zou et al. [16] implemented an FLC controller to maintain the stack temperature in a medium-sized 5 kW residential PEM fuel cell system during dynamic load profiles.Further advancements in FLC included the development of multivariable fuzzy controllers, which expanded the FLC approach to handle multipleinput and multiple-output (MIMO) systems, enhancing its control efficiency in highly complex environments.Kiszka et al. [17] introduced a multivariable fuzzy controller based on Gödel's implication, which provided a more robust handling of interactions between variables in systems with complex interdependencies.More recently, Chen et al. [18] applied a MIMO FLC method for real-time temperature and humidity management in PEM fuel cells, demonstrating significantly improved performance compared to conventional PID control systems, particularly in maintaining system stability and efficiency under dynamic operating conditions.Huang et al. [19] developed a liquid-cooled PEM fuel cell control model incorporating thermal, electrical, and airflow components, and they suggested an adaptive control strategy for managing thermal dynamics during system startup and load changing.Sankar et al. [20] proposed a nonlinear observer-based multivariable sliding mode control scheme for PEM fuel cell systems to maintain various parameters including the output voltage, compressor gas flow rate, fuel cell system temperature, and hydrogen production rate from the water electrolyzer. Introduction Most existing thermal control methods for electrolyzers involve adjusting the flow rate of chilled water to either the electrolysis stack or the heat exchanger for effective cooling. Introduction Typically, these methods separate system cooling into two parts: cooling the hydrogen and cooling the electrolysis stack.However, due to space and cost considerations, our experimental setup deviated from conventional designs by integrating both cooling components to share a single chiller.An electric three-way valve was installed at the junction of gas and electrolyte cooling to regulate the flow rate of chilled water on both sides.The electric three-way valve cannot adjust the flow rate in real-time due to the delay in angle switching, which hinders precise control.Unlike other studies where cooling was achieved by directly controlling the flow rate of the chilled water, in this experiment, the chiller itself cannot adjust the flow rate and relies on the electric three-way valve for adjustments, making it difficult to achieve the ideal flow rate instantaneously.The chilled water temperature in this study also differs from others, being 5 • C instead of room-temperature water, which makes the flow rate even harder to control.Hence, this study proposes a novel thermal control strategy combining FLC and a long short-term memory neural network (LSTMNN), specifically designed for this experimental setup, to enhance the system's precision and stability.FLC can handle system uncertainty and nonlinearity, while the LSTMNN can predict temperature change trends.The LSTMNN, a type of recurrent neural network (RNN), is widely used for time series prediction due to its ability to capture both short-term and long-term dependencies.Originally developed by Hochreiter and Schmidhuber, the LSTMNN addresses the vanishing gradient problem that often plagues conventional RNNs, making it particularly effective for tasks involving sequential data.Staudemeyer and Morris [21] provided an in-depth tutorial on the inner workings of LSTM networks, highlighting their capacity to manage long-range dependencies and retain information over extended periods of time.This was particularly crucial for this study, where the accurate prediction of temporal data depended on the model's ability to capture complex patterns over varying time scales.The robustness of the LSTMNN in learning such intricate temporal structures makes it an ideal candidate for predicting the data trends discussed in this study.In similar applications, Guo et al. [22] successfully applied the LSTMNN to predict the temperature inside a temperature-controlled container equipped with a cold energy storage system.Their results demonstrated that the LSTMNN could capture the temperature fluctuations with high accuracy, proving its effectiveness in real-time predictive tasks.Likewise, Chen et al. [23] utilized a gated recurrent unit approach to predict the temperature in a reheating furnace.While both methods excel at handling time-dependent data, the ability of the LSTMNN to retain information over longer sequences makes it particularly well suited for complex temperature prediction scenarios.By combining the advantages of both the FLC and LSTMNN strategies, a flexible and predictive control method for the temperature of an electrolysis stack was achieved in this study. Introduction To guide the reader through the structure of this paper, Section 1 introduces the research motivation, literature review, and research methods, clearly identifying the gap our work aims to fill and emphasizing the innovative aspects.Section 2 details the architecture of the thermal control system for hydrogen production.Section 3 explains the design of the thermal controllers, including the implementation of the FLC and LSTMNN strategies.Section 4 presents the experimental setup and results, discussing the effectiveness and reliability of the proposed control strategies.Finally, Section 5 concludes the paper with key findings and suggestions for future research.All abbreviations and symbols used throughout this manuscript are listed in Table A1, which can be found in Appendix A. Thermal Control System Architecture Figure 1 illustrates the architecture of the thermal control system for hydrogen production.In Figure 1, ES represents the electrolysis stack, PHE denotes a plate heat exchanger, GLS is a gas-liquid separator, RTD stands for a resistance temperature detector, GPT refers to a gas purification tank, ETV represents the electric three-way valve, MCU denotes the microcontroller unit, and RPi stands for a Raspberry Pi control board.Gas cooling and electrolyte cooling both use the same chiller, which operates at a fixed flow rate and a set temperature of 5 • C. Both the cathode and anode sides of the electrolysis stack are equipped with a heat exchanger for cooling.The chiller outlet first goes through the gas heat exchanger.Then, the electric three-way valve adjusts the flow rate of the chilled water, which cools the electrolyte and passes through the heat exchangers on both sides of the electrolysis stack.The signals from the hydrogen production system are acquired through the microcontroller unit.A resistance temperature detector PT100 was used, which operated within a temperature range of 0 to 100 • C and had a temperature coefficient of resistance (α) of 0.00385/ • C. The Raspberry Pi control board manages the electric three-way valve, calculating and adjusting its angle based on the designed controllers.These functions are executed using relays.The electric three-way valve has two control lines: one for clockwise opening and the other for counterclockwise closing.When either control line is powered, the valve moves in the corresponding direction, and when neither is powered, the valve stops moving.The relays determine which control line is powered, and by doing so, they regulate the flow of chilled water through the electric three-way valve.The valve's stopping action locks the flow at the required rate.However, for precise control, the valve must fully close before reopening for the specified duration to achieve the desired flow rate.Due to the time lag introduced by the relays switching the electric three-way valve, there is a delay from when the valve starts moving to when it stops.This delay prevents the valve from adjusting the flow rate to match the calculated value in real time. Thermal Control System Architecture In a hydrogen production system, maintaining stable total current and power of the electrolysis stack is important for the efficiency, economic feasibility, and reliability of the hydrogen production process.Stable total current and power indicate high operational efficiency and optimal energy utilization, ensuring consistent hydrogen production.The current can be used to calculate the hydrogen production rate, and the relationship between the current and power is proportional.Stable current levels enable predictable hydrogen production costs and support economic analysis and long-term planning.Additionally, stable power operation reduces system wear and extends the lifetime of the electrolysis equipment and hydrogen production system.Power refers to the electrical consumption rate necessary for the hydrogen production system and can be expressed as Thermal Control System Architecture where I s and V s are the total current and voltage of the electrolysis stack, respectively.The hydrogen production rate is an important indicator of hydrogen production efficiency, especially during the water electrolysis process, where the hydrogen production rate can be expressed as Thermal Control System Architecture where n is the number of moles of electrons required to produce 1 mole of hydrogen, F is the Faraday constant, and V m is the molar volume of the gas. Thermal Control System Architecture Figure 1.Architecture of the hydrogen production thermal control system, depicting the overall design, including circulation paths for chilled water and electrolyte, signal configuration, and the interactions between components to manage and optimize temperature control during hydrogen production. Fuzzy Logic Control Method FLC mimics human thinking and decision-making processes to handle system uncertainty and vagueness.Unlike conventional binary logic control systems that consider only all-or-nothing situations, FLC allows for varying degrees between complete truth and complete falsehood, providing a more flexible and adaptive control strategy.Hence, this study presents an FLC rule to address specific thermal control problems mainly because it effectively handles temperature uncertainty and nonlinearity.First, a set of fuzzy rules was defined and constructed based on expert knowledge and practical operational experience to describe the behavior of the thermal control system.Next, a fuzzy inference engine was utilized to evaluate these rules and assess the degree of fuzziness of the control actions based on real-time input data.Finally, through a defuzzification process, the fuzzy control actions were converted into crisp output values, which drove the thermal control system to achieve the desired temperature performance by determining the flow rate required by the electric three-way valve.This flow rate was subsequently adjusted within the hydrogen production system based on feedback from the RTD. Fuzzy Logic Control Method The design of FLC typically follows a systematic framework based on the Mamdani inference method.The process begins with the definition of fuzzy variables and their corresponding membership functions, which represent the inputs and outputs of the system.These functions are often modeled using triangular or trapezoidal shapes to effectively handle uncertainty and vagueness.Next, fuzzy rules are established, capturing expert knowledge through IF-THEN statements that describe the relationships between inputs and desired outputs.This step is essential, as the rules form the foundation for the decisionmaking process of the FLC controller.In the inference phase, the Mamdani approach employs fuzzy reasoning to evaluate the formulated rules, determining the degree to which each rule is activated based on the current inputs.This evaluation allows the controller to derive suitable control actions from the fuzzy rules.Finally, the process concludes with defuzzification, where the aggregated fuzzy output is converted back into a crisp value.This is commonly achieved using the centroid method, which calculates the precise control action needed.Overall, this structured approach enables FLC to manage complex, nonlinear systems, providing robustness and flexibility in various control applications [24].The detailed design steps are as follows. Fuzzy Logic Control Method Step 1: The fuzzification of input variables involves converting real-valued input values into fuzzy values.This step utilizes fuzzy sets and membership functions to describe the degree of each input variable.Assuming x is an input value, µ A i (x) represents the membership degree of x to the i-th fuzzy set Ai, in the range of [0, 1]. Fuzzy Logic Control Method Step 2: The establishment of a rule base involves creating a set of fuzzy rules that describe the relationship between the input variables and output variables.These rules, based on expert experience or knowledge, take the form of "IF...THEN..." conditional statements, determining how output decisions are derived from specific input conditions.For example, a fuzzy rule R j could be structured as the following: R j = IF x is A i AND y is B i , THEN z is C i , where A i , B i , and C i represent fuzzy sets associated with input x, y, and output z, respectively. Fuzzy Logic Control Method Step 3: Mamdani inference involves performing inference on the fuzzified inputs using the Mamdani inference method to generate fuzzy outputs.This method compares the degree of matching between the inputs and the input conditions of each rule, determining the shape of the output membership function based on these matches.The output membership function µ C i (z) of a rule is determined by the minimum value of the input membership degrees µ A i (x) and µ B i (y) through AND logic.Subsequently, all output fuzzy sets from rules are aggregated into a single fuzzy set.The aggregated output fuzzy set µ C (z) is obtained through the OR logic operation of the output membership degrees µ C i (z) from each rule. Fuzzy Logic Control Method Step 4: The centroid method for defuzzification converts the fuzzy output set generated during the inference process into a crisp output value.This method calculates the centroid of the fuzzy set to determine a specific output value.It considers the membership degrees µ C (z) of all points on the fuzzy set and calculates the weighted average position of these points, represented mathematically as Fuzzy Logic Control Method where Z centroid is the crisp output value obtained by calculating the weighted average of z, and µ C (z) represents the membership degree of z in the output fuzzy set C. This precise value effectively represents the fuzzy output used for control decisions. Fuzzy Logic Control Method In the experimental setup of this study, a thermal controller based on FLC with dual inputs and a single output was utilized, as shown in Figure 2a.The inputs represented the desired temperature (T * ) and temperature difference (e T ) in the electrolysis stack, respectively, while the output determined the required the flow rate of the chilled water.In the literature on stack temperature control, the temperature difference and its derivative are commonly used as dual inputs for FLC to achieve rapid cooling.However, in this study, using a large amount of chilled water for cooling was not suitable, as a high chilled water flow rate could have led to a rapid decrease in power output.Thus, using the derivative of the stack temperature difference as an input was not appropriate.The chilled water flow rate was chosen as the output because it was the main factor influencing the stack temperature.The FLC used adopted a design with dual inputs and single output, with triangular and trapezoidal membership functions.Hence, the membership functions for the dual inputs, the temperature and temperature difference in the electrolysis stack, and the single output, the chilled water flow rate, are shown in Figure 2b-d, respectively.A set of 25 fuzzy rules is defined in Table 1, where VS denotes very small, S denotes small, M denotes medium, B denotes big, and VB denotes very big. Fuzzy Logic Control Method The main challenges in applying FLC to the hydrogen production thermal control system included designing appropriate membership functions and fuzzy rules, which can be complex due to the nonlinearities and uncertainties of the temperature variations in an electrolysis stack.Additionally, the computational demands of fuzzy inference can impact real-time performance, especially in systems that require quick responses.Integrating FLC with other control strategies, such as the LSTMNN algorithm, also requires careful calibration to avoid control conflicts.To address these challenges, it is important to select membership functions that accurately represent the characteristics of the input and output variables.For example, triangular and trapezoidal membership functions can effectively represent the temperature and temperature difference in the electrolysis stack and chilled water flow rate.The selection of these functions should be based on empirical data and expert knowledge and should be refined iteratively through testing to ensure optimal control performance. Long Short-Term Memory Neural Network The LSTMNN was specifically designed to address the vanishing and exploding gradient problems that conventional RNNs encounter when processing long sequences.It features three critical gates: the forget gate, input gate, and output gate.The forget gate discards irrelevant data, ensuring that only valuable information is retained.The input gate regulates the amount of new information added to memory, while the output gate manages how much information is sent to the next hidden state, which is crucial for making accurate predictions.Additionally, the LSTMNN maintains a cell state that acts as a memory highway, allowing essential information to across many time steps without significant alteration.This design enables the LSTMNN to capture long-term dependencies, effectively overcoming the limitation of a standard RNN.The ability of the forget gate to reset cell states prevents unnecessary information from accumulating, making the model robust for long-sequence tasks.The mathematical representations of the gates are in the following forms [25]: Long Short-Term Memory Neural Network Furthermore, the new hidden state and the updated cell state can be mathematically represented as Long Short-Term Memory Neural Network . Long Short-Term Memory Neural Network where σ and tanh are activation functions.σ is the sigmoid function, with values in the range of [0, 1], and tanh is the hyperbolic tangent function, with values in the range of [−1, 1].In this study, an LSTMNN was utilized to process and predict time series data, capitalizing on its ability to effectively capture temporal dependencies.Through the design of gate mechanisms, the LSTMNN retains long-term dependencies while filtering out irrelevant data, thereby improving the accuracy and efficiency of the time series prediction models.Each gate receives inputs from the previous hidden state (h t ) and the current input (x t ), including the ambient temperature around the electrolysis stack, the power of the electrolysis stack, the flow rate of the chilled water, the temperature difference measured each time for the electrolysis stack, and the temperature of the electrolysis stack.These inputs are concatenated and passed through the sigmoid function, which determines the new candidate values applied to the cell state.The weight matrices w f , w i , and w o , along with the corresponding bias vectors b f , b i , and b o , control the activation values of the forget gate, input gate, and output gate.The weight matrix w c and bias vector b c manage the updates to the cell state. FLC with LSTMNN for Hydrogen Production Thermal Control System In the thermal control system for hydrogen production of this study, the output from the FLC controller, once defuzzified, is passed to the electric three-way valve.However, due to delays in adjusting the chilled water flow rate to the electrolyte, discrepancies arise between expected and actual temperature differences in the hydrogen production system.To address this challenge caused by the operational delay of the electric three-way valve, it became necessary to predict the temperature of the electrolysis stack when the suitable flow rate was achieved after the electric three-way valve was turned on.To overcome this, this study employed the thermal controller combining FLC and LSTMNN strategies in the hydrogen production system, as illustrated in Figure 3.The robust capability of the LSTMNN in learning from time series data enabled the hydrogen production system to forecast temperature trends post adjustment of the electric three-way valve.Moreover, integrating the real-time adjustment capability of the FLC controller allows the hydrogen production system to proactively respond to anticipated temperature variations.Through comprehensive performance evaluation during actual application testing, the effectiveness of the control strategy in enhancing prediction accuracy and system stability was validated. Experimental Setup The hydrogen production thermal control system was previously outlined in Figure 1.The experimental setup in this study was designed to assess the effectiveness of the proposed thermal control strategy.The main components of the experimental apparatus are the following: • Electrolysis Stack (ES)-The electrolysis stack is the key component for hydrogen production, as it directly facilitates the electrolysis process.Ensuring the temperature stability of the electrolysis stack is crucial for maintaining optimal performance and efficiency in hydrogen production. • Plate Heat Exchanger (PHE)-Located on both the cathode and anode sides of the electrolysis stack, the PHE is responsible for cooling the electrolyte and maintaining the stack temperature within the desired range. • Gas-Liquid Separator (GLS)-This component separates the hydrogen gas produced from the liquid electrolyte, ensuring that the gas output is free of impurities. • Resistance Temperature Detector (RTD)-The PT100 RTD is employed to precisely measure the temperature of the electrolysis stack.It operates based on the principle that the electrical resistance of the RTD changes with temperature.This accurate and reliable measurement is essential for monitoring and controlling the temperature of the electrolysis stack to ensure efficient and stable hydrogen production. • Gas Pressure Transducer (GPT)-This device measures and monitors the pressure of the hydrogen gas.It is also used to purify the hydrogen gas further by ensuring that it meets the necessary pressure and quality standards before being collected or utilized in subsequent applications.This helps in maintaining the purity and efficiency of the hydrogen output. • Electric Three-Way Valve (ETV)-Positioned at the junction of gas and electrolyte cooling, the ETV regulates the flow rate of chilled water on both sides.The valve's angle is adjusted based on signals from the control system to maintain the desired temperature. • Microcontroller Unit (MCU) and Raspberry Pi (RPi) Control Board-The MCU and RPi are used for data acquisition and control operations within the experimental setup. • The MCU handles the integration of various sensors and components, while the RPi manages the ETV.Specifically, the RPi calculates and adjusts the angle of the ETV based on control algorithms.This adjustment is executed using relays, enabling precise regulation of the flow rate of chilled water to maintain optimal temperature conditions. • Chilled Water System-A single chiller serves both gas and electrolyte cooling, operating at a fixed flow rate and a temperature of 5 • C.This configuration was chosen due to space and cost constraints, despite the challenge of achieving precise flow rate control. • The experimental procedure began with pre-cooling the electrolysis stack to below 40 • C using chilled water.Once this initial cooling was achieved, the hydrogen production system was activated, and the temperature of the electrolysis stack was continuously monitored.The thermal control strategy, which integrated FLC and the LSTMNN, was employed to maintain the temperature within the target range of 70-75 • C.This involved adjusting the flow rate of chilled water through the electric three-way valve as necessary.Real-time temperature signals from the RTD were used to dynamically adjust the control parameters, ensuring stable operation and efficient hydrogen production throughout the experimental process. Experimental Results and Discussion Before each experiment, chilled water was initially introduced to reduce the temperature of the electrolysis stack below 40 • C. Subsequently, the hydrogen production system was started.During the initial phase of hydrogen production system startup, the electrolysis stack temperature continued to decrease slightly due to the influence of the chilled water before gradually rising again.Due to varying initial cooling conditions, each experiment could not start at the same initial temperature.However, the initial current value at the starting voltage remained relatively low and did not affect the final experimental results.When the hydrogen production system started operating, the voltage of the electrolysis stack gradually increased from the starting voltage to the target voltage over time, and the temperature of the electrolysis stack also rose slowly.Before the temperature of the electrolysis stack reached 65 • C, no chilled water entered the electrolyte for cooling.Once the temperature of the electrolysis stack reached 65 • C, the thermal control algorithm automatically activated to adjust the angle of the electric three-way valve, allowing the chilled water to enter the plate heat exchanger for electrolyte cooling.This kept the temperature of the electrolysis stack controlled within the optimal operating temperature range of 70-75 • C. To prevent the temperature of the electrolysis stack from exceeding the optimal operating temperature range, the target temperature was adjusted to the midpoint of the range, specifically 72.5 • C. Experimental Results and Discussion In the experimental results, Figure 5 illustrates the temperature response of the electrolysis stack in the hydrogen production system under various thermal control strategies.It can be observed that there was a significant variation in the temperature of the electrolysis stack, varying within a range of 72.5 ± 2 • C.These variations are primarily due to the delayed response of the electric three-way valve, which adjusted flow rates only after receiving output from the FLC strategy.As the electric three-way valve adjusts to the set flow rate, a noticeable temperature discrepancy occurs between the current temperature and the temperature output from the FLC strategy, resulting in suboptimal thermal control outcomes.Therefore, by using an LSTMNN algorithm to predict the temperature of the electrolysis stack after the relay is opened, followed by applying the FLC method for calculation, significant improvements can be achieved in the thermal control of the electrolysis stack compared to the original FLC strategy.The temperature prediction approach reduced the temperature discrepancy, enabling the final experimental results to maintain the temperature of the electrolysis stack within a narrower range of 72.5 ± 1 • C. Figure 6 illustrates the power response of the hydrogen production system under two different thermal control strategies: one using FLC alone and the other incorporating the LSTMNN.From the comparison of the power outputs, it was observed that the thermal control results using FLC with the LSTMNN consistently maintained the power around 10 kW, with very minimal fluctuations upon reaching a steady state.This indicates improved stability compared to using the FLC method alone, which showed significantly reduced temperature fluctuations.Figure 7 shows the current response of the electrolysis stack in the hydrogen production system using the two thermal control strategies.The current remained stable at approximately 263 A, showing negligible fluctuations compared to results from the FLC method alone.Hydrogen production rates were separately calculated for both thermal control methods using Equation (2).The cumulative hydrogen production was 1.3997 m 3 and 1.4012 m 3 , respectively, indicating a slight increase in production.Previous experimental results demonstrated that short-term thermal control did not lead to uncontrolled temperature variations, allowing for extended operation to assess system stability, reliability, and performance improvements.Figure 8 illustrates the temperature response of the electrolysis stack in the hydrogen production system during a long-term experiment, where the temperature of the electrolysis stack was consistently maintained within a range of 72.5 ± 1 • C. The experimental result also demonstrates stable power and energy consumption, confirming the feasibility, effectiveness, and reliability of the thermal control strategy using FLC with the LSTMNN.The experimental results investigated the integration of the FLC and LSTMNN strategies in the thermal control system to achieve more precise temperature regulation of the electrolysis stack in the hydrogen production system.Table 2 presents a detailed perfor-mance analysis comparing the FLC method alone with the combined FLC and LSTMNN strategies.Using the FLC method alone, the temperature of the electrolysis stack could be regulated within a ±2 • C range, yet significant variations persisted due to the slow response of the electric three-way valve.This delay caused discrepancies between the actual and target temperatures as the FLC signal failed to promptly adjust the valve.To overcome these limitations, the designed LSTMNN algorithm predicts temperature based on measured data before feeding it into the FLC controller.This approach reduces steady-state error variations in the electrolysis stack temperature, enhancing thermal control effectiveness.As shown in Table 2, the combined hydrogen production thermal control system, employing the FLC and LSTMNN strategies, demonstrates robust stability during long-term experiments.It consistently maintained temperatures within ±1 • C and stabilized the power output at 10 kW.This integrated approach, highlighted in Table 2, enhances overall system performance, as confirmed by extended experimental testing, emphasizing its feasibility, effectiveness, and reliability.Therefore, the thermal control strategy in this study, integrating FLC with an LSTMNN, significantly improves the thermal control capabilities in a hydrogen production system.Its high stability in long-term experiments underscores its potential and practicality in actual applications.Maintained power output consistently around 10 kW with minimal variations, indicating higher energy utilization efficiency and a more stable hydrogen production process.Hydrogen Production Rate Similar cumulative hydrogen production, but slightly lower production efficiency due to less precise temperature control, leading to higher energy loss. Experimental Results and Discussion Slightly improved production efficiency was achieved due to precise temperature control, which optimized electrolysis conditions, reduced energy loss, prevented thermal stress, and significantly enhanced overall system efficiency and performance.Overall Performance and Implications Performed well under certain operating conditions but had room for improvement in overall stability and efficiency. Experimental Results and Discussion Outperformed the FLC-only strategy by enhancing temperature stability, power output consistency, and hydrogen production efficiency, while also extending the equipment's lifespan. Conclusions Water electrolysis is an effective method for converting renewable energy into hydrogen, significantly enhancing energy supply diversity, ensuring security, fostering technological innovation, and promoting the development of a green economy.However, precise thermal control during water electrolysis is essential for optimizing the efficiency, performance, and safety of an electrolysis stack.Proper thermal control can maximize energy conversion efficiency, reduce energy losses, prevent equipment damage, extend equipment lifetime, and lower long-term operational costs.Hence, developing effective thermal control strategies is important for ensuring the stability, safety, and economic efficiency of a water electrolysis process.This study proposes a thermal control strategy combining fuzzy logic control (FLC) and a long short-term memory neural network (LSTMNN) to enhance the stability and efficiency of a hydrogen production system.Water electrolysis is crucial for converting renewable into hydrogen, but precise thermal control is needed to optimize the efficiency, performance, and safety of the electrolysis stack.The proposed thermal control strategy effectively integrated FLC and the LSTMNN, allowing for predictive temperature control, maintaining the stack temperature within 72.5 ± 1 • C, stabilizing the power output at 10 kW, and maintaining a stable current of 263 A. These improvements maximized energy efficiency, reduced losses, and extended the equipment's lifespan.Although these results are based on a specific experimental setup, they highlight the benefits of predictive control in managing system uncertainties.Future studies should focus on integrating advanced machine learning models, optimizing control strategies, incorporating remote monitoring through the IoT, and evaluating long-term operational reliability to advance the development of more efficient and sustainable hydrogen production systems. Figure 2 . Figure 2. Thermal controller based on FLC: (a) control block diagram; (b) membership function for temperature; (c) membership function for temperature difference; (d) membership function for chilled water flow rate. Figure 3 . Figure3.Thermal controller with FLC and LSTMNN strategies in the hydrogen production system, illustrating the integration of these strategies within the thermal control system to enhance temperature regulation and overall performance. Figure 4 Figure 4 illustrates the thermal control flowchart of the hydrogen production system.Utilizing an FLC controller alone maintained the desired temperature within a range of ±2 • C.However, integrating the LSTMNN algorithm for temperature prediction enhanced the control effectiveness, achieving the desired temperature within a narrower range of ±1 • C, thus enhancing the existing framework. Figure 4 . Figure 4. Flowchart of thermal control in the hydrogen production system, outlining the sequential steps and decision-making processes involved in the thermal control strategy from data acquisition to control action implementation. Figure 5 . Figure 5. Temperature response of the electrolysis stack with different thermal control strategies, comparing temperature stability under various approaches and demonstrating how the two strategies affected temperature regulation. Figure 6 . Figure 6.Power response of the hydrogen production system under two different thermal control strategies, displaying variations in power output when using different approaches and illustrating their impact on system performance. Figure 7 . Figure 7. Current response of the electrolysis stack using two thermal control strategies, presenting current variations under these strategies and highlighting differences in electrical performance. Figure 8 . Figure 8. Temperature response of the electrolysis stack in a long-term hydrogen production experiment, showing temperature trends over an extended period and demonstrating the effectiveness of the thermal control strategy in maintaining stability during prolonged operation. Table 1 . A set of 25 fuzzy rules used in the FLC strategy outlining specific rules that evaluated dual inputs, which were the temperature and temperature difference in the electrolysis stack, to determine a single output, which was the chilled water flow rate. Table 2 . Performance analysis of FLC versus the combined FLC and LSTMNN strategies. Strategies FLC Strategy Combined FLC with LSTMNN Strategy Temperature Control and Stability Maintained stack temperature within a ±2 • C range, but noticeable fluctuations occurred during rapid changes in operating conditions.Reduced temperature variations, maintaining the stack temperature within a ±1 • C range.The LSTMNN predicted temperature changes and proactively adjusted control parameters, thereby enhancing stability.Power Output Stability Significant power output fluctuations, especially when adjusting to temperature changes, may have reduced production efficiency and increased equipment wear. Table A1 . Cont. , w i , w c , w o Weight matrices b f , b i , b c , b o

섹션 본문 55문단 · 41,732자

(제목 없음)

1In the development of decarbonization technologies and renewable energy, water electrolysis has emerged as a key technology.The efficiency of hydrogen production and its applications are significantly affected by power stability.Enhancing power stability not only improves hydrogen production efficiency and reduces maintenance costs but also ensures long-term reliable system operation.This study proposes a thermal control method that stabilizes hydrogen output by precisely adjusting the temperature of the electrolysis stack, thereby improving hydrogen production efficiency.Fluctuations in the electrolysis stack temperature can lead to instability in the hydrogen output and energy utilization, negatively affecting overall hydrogen production.To address this issue, this study introduces an innovative system architecture and a novel thermal control strategy combining fuzzy logic control with a long short-term memory neural network.This method predicts and adjusts the flow rate of chilled water to maintain the electrolysis stack temperature within a range of ±1 • C while sustaining a constant power output of 10 kW.This approach is crucial for ensuring system stability and maximizing hydrogen production efficiency.Long-term experiments have validated the effectiveness and reliability of this method, demonstrating that this thermal control strategy not only stabilizes the hydrogen production process but also increases the volume of hydrogen generated.

Introduction

2Hydrogen is increasingly recognized as a key component in energy transition, offering a clean and renewable energy source that can significantly contribute to reducing global dependence on fossil fuels and mitigating climate change.Its role in decarbonizing various sectors is widely acknowledged, with applications spanning transportation, industrial production, and energy storage.Kovač et al. [1] reviewed the potential of hydrogen in energy transition and explored the development of green hydrogen technologies and efficient storage solutions.This aligned with global efforts to address climate change by reducing greenhouse gas emissions, a challenge that conventional energy sources are struggling to meet.

3Water electrolysis, used to produce hydrogen, represents a method for developing a sustainable energy system and reducing dependence on fossil fuels.This method not only converts renewable sources such as solar and wind power into storable and transportable hydrogen energy but also addresses the issue of supply instability.The advancement in water electrolysis technology contributes significantly to enhancing energy supply diversity and security, fostering technological innovation, and promoting the development of a green economy [2,3].However, temperature control during water electrolysis is important for ensuring the efficiency, performance, and safety of the electrolyzer.Proper temperature control not only maximizes energy conversion efficiency, reducing energy losses, but also prevents equipment damage and safety risks, extends equipment lifespan, and reduces long-term operational costs [4][5][6].Thus, effective temperature control is a key factor in ensuring the stability, safety, and economic viability of the water electrolysis process.

4The main types of water electrolysis include alkaline water electrolysis, proton exchange membrane (PEM) electrolysis, and solid oxide electrolysis, each offering unique advantages and applications [7].In this study, anion exchange membrane (AEM) electrolysis was utilized, a newer technology combining the benefits of traditional alkaline and PEM electrolysis.It provides a highly efficient and cost-effective method for hydrogen production using solid electrolyte membranes [8].

5Various approaches for temperature control in water electrolysis systems include conventional proportional-integral-derivative (PID) control, fuzzy logic control (FLC), adaptive control, and predictive control.For example, Ahn et al. [9] utilized a proportionalintegral (PI) controller and thermal circuit state feedback in their experiment.O'Keefe et al. [10] developed a dynamic model of a water-cooled fuel cell stack and simulated it with a PI controller in a state-space model.Keller et al. [11] used conventional PID and optimized parameters through feedforward and adaptive PID parameter supply.Xu et al. [12] addressed the slow response and poor dynamic performance by developing a dynamic temperature model for PEM fuel cells and proposing a control strategy based on the sparrow search algorithm PID.Moreover, FLC provides a robust and flexible framework for managing systems characterized by uncertainties, vagueness, and imprecision.This approach originated from L. A. Zadeh's influential 1965 paper on fuzzy sets [13], which introduced the groundbreaking concept of handling partial membership between 0 and 1.This innovation allows systems to represent degrees of truth instead of relying solely on rigid true/false binaries.The framework laid the foundation for the application of FLC in a wide array of dynamic and complex systems, where conventional control methods, dependent on precise inputs, often prove inadequate.In 1975, Mamdani and Assilian [14] conducted a landmark experiment that marked the first practical implementation of an FLC controller, successfully modeling human-like reasoning and decision-making.This experiment opened avenues for FLC to address imprecise linguistic variables in real-world scenarios, including industrial processes, traffic control, and robotics.It demonstrated that FLC could outperform conventional methods in environments marked by high levels of uncertainty and complexity.Tabanjat et al. [15] enhanced the efficiency of a hybrid photovoltaic proton exchange membrane electrolyzer system by controlling the water temperature of the electrolyzer using FLC.Zou et al. [16] implemented an FLC controller to maintain the stack temperature in a medium-sized 5 kW residential PEM fuel cell system during dynamic load profiles.Further advancements in FLC included the development of multivariable fuzzy controllers, which expanded the FLC approach to handle multipleinput and multiple-output (MIMO) systems, enhancing its control efficiency in highly complex environments.Kiszka et al. [17] introduced a multivariable fuzzy controller based on Gödel's implication, which provided a more robust handling of interactions between variables in systems with complex interdependencies.More recently, Chen et al. [18] applied a MIMO FLC method for real-time temperature and humidity management in PEM fuel cells, demonstrating significantly improved performance compared to conventional PID control systems, particularly in maintaining system stability and efficiency under dynamic operating conditions.Huang et al. [19] developed a liquid-cooled PEM fuel cell control model incorporating thermal, electrical, and airflow components, and they suggested an adaptive control strategy for managing thermal dynamics during system startup and load changing.Sankar et al. [20] proposed a nonlinear observer-based multivariable sliding mode control scheme for PEM fuel cell systems to maintain various parameters including the output voltage, compressor gas flow rate, fuel cell system temperature, and hydrogen production rate from the water electrolyzer.

6Most existing thermal control methods for electrolyzers involve adjusting the flow rate of chilled water to either the electrolysis stack or the heat exchanger for effective cooling.

7Typically, these methods separate system cooling into two parts: cooling the hydrogen and cooling the electrolysis stack.However, due to space and cost considerations, our experimental setup deviated from conventional designs by integrating both cooling components to share a single chiller.An electric three-way valve was installed at the junction of gas and electrolyte cooling to regulate the flow rate of chilled water on both sides.The electric three-way valve cannot adjust the flow rate in real-time due to the delay in angle switching, which hinders precise control.Unlike other studies where cooling was achieved by directly controlling the flow rate of the chilled water, in this experiment, the chiller itself cannot adjust the flow rate and relies on the electric three-way valve for adjustments, making it difficult to achieve the ideal flow rate instantaneously.The chilled water temperature in this study also differs from others, being 5 • C instead of room-temperature water, which makes the flow rate even harder to control.Hence, this study proposes a novel thermal control strategy combining FLC and a long short-term memory neural network (LSTMNN), specifically designed for this experimental setup, to enhance the system's precision and stability.FLC can handle system uncertainty and nonlinearity, while the LSTMNN can predict temperature change trends.The LSTMNN, a type of recurrent neural network (RNN), is widely used for time series prediction due to its ability to capture both short-term and long-term dependencies.Originally developed by Hochreiter and Schmidhuber, the LSTMNN addresses the vanishing gradient problem that often plagues conventional RNNs, making it particularly effective for tasks involving sequential data.Staudemeyer and Morris [21] provided an in-depth tutorial on the inner workings of LSTM networks, highlighting their capacity to manage long-range dependencies and retain information over extended periods of time.This was particularly crucial for this study, where the accurate prediction of temporal data depended on the model's ability to capture complex patterns over varying time scales.The robustness of the LSTMNN in learning such intricate temporal structures makes it an ideal candidate for predicting the data trends discussed in this study.In similar applications, Guo et al. [22] successfully applied the LSTMNN to predict the temperature inside a temperature-controlled container equipped with a cold energy storage system.Their results demonstrated that the LSTMNN could capture the temperature fluctuations with high accuracy, proving its effectiveness in real-time predictive tasks.Likewise, Chen et al. [23] utilized a gated recurrent unit approach to predict the temperature in a reheating furnace.While both methods excel at handling time-dependent data, the ability of the LSTMNN to retain information over longer sequences makes it particularly well suited for complex temperature prediction scenarios.By combining the advantages of both the FLC and LSTMNN strategies, a flexible and predictive control method for the temperature of an electrolysis stack was achieved in this study.

8To guide the reader through the structure of this paper, Section 1 introduces the research motivation, literature review, and research methods, clearly identifying the gap our work aims to fill and emphasizing the innovative aspects.Section 2 details the architecture of the thermal control system for hydrogen production.Section 3 explains the design of the thermal controllers, including the implementation of the FLC and LSTMNN strategies.Section 4 presents the experimental setup and results, discussing the effectiveness and reliability of the proposed control strategies.Finally, Section 5 concludes the paper with key findings and suggestions for future research.All abbreviations and symbols used throughout this manuscript are listed in Table A1, which can be found in Appendix A.

Thermal Control System Architecture

9Figure 1 illustrates the architecture of the thermal control system for hydrogen production.In Figure 1, ES represents the electrolysis stack, PHE denotes a plate heat exchanger, GLS is a gas-liquid separator, RTD stands for a resistance temperature detector, GPT refers to a gas purification tank, ETV represents the electric three-way valve, MCU denotes the microcontroller unit, and RPi stands for a Raspberry Pi control board.Gas cooling and electrolyte cooling both use the same chiller, which operates at a fixed flow rate and a set temperature of 5 • C. Both the cathode and anode sides of the electrolysis stack are equipped with a heat exchanger for cooling.The chiller outlet first goes through the gas heat exchanger.Then, the electric three-way valve adjusts the flow rate of the chilled water, which cools the electrolyte and passes through the heat exchangers on both sides of the electrolysis stack.The signals from the hydrogen production system are acquired through the microcontroller unit.A resistance temperature detector PT100 was used, which operated within a temperature range of 0 to 100 • C and had a temperature coefficient of resistance (α) of 0.00385/ • C. The Raspberry Pi control board manages the electric three-way valve, calculating and adjusting its angle based on the designed controllers.These functions are executed using relays.The electric three-way valve has two control lines: one for clockwise opening and the other for counterclockwise closing.When either control line is powered, the valve moves in the corresponding direction, and when neither is powered, the valve stops moving.The relays determine which control line is powered, and by doing so, they regulate the flow of chilled water through the electric three-way valve.The valve's stopping action locks the flow at the required rate.However, for precise control, the valve must fully close before reopening for the specified duration to achieve the desired flow rate.Due to the time lag introduced by the relays switching the electric three-way valve, there is a delay from when the valve starts moving to when it stops.This delay prevents the valve from adjusting the flow rate to match the calculated value in real time.

10In a hydrogen production system, maintaining stable total current and power of the electrolysis stack is important for the efficiency, economic feasibility, and reliability of the hydrogen production process.Stable total current and power indicate high operational efficiency and optimal energy utilization, ensuring consistent hydrogen production.The current can be used to calculate the hydrogen production rate, and the relationship between the current and power is proportional.Stable current levels enable predictable hydrogen production costs and support economic analysis and long-term planning.Additionally, stable power operation reduces system wear and extends the lifetime of the electrolysis equipment and hydrogen production system.Power refers to the electrical consumption rate necessary for the hydrogen production system and can be expressed as

11where I s and V s are the total current and voltage of the electrolysis stack, respectively.The hydrogen production rate is an important indicator of hydrogen production efficiency, especially during the water electrolysis process, where the hydrogen production rate can be expressed as

12where n is the number of moles of electrons required to produce 1 mole of hydrogen, F is the Faraday constant, and V m is the molar volume of the gas.

13Figure 1.Architecture of the hydrogen production thermal control system, depicting the overall design, including circulation paths for chilled water and electrolyte, signal configuration, and the interactions between components to manage and optimize temperature control during hydrogen production.

Fuzzy Logic Control Method

14FLC mimics human thinking and decision-making processes to handle system uncertainty and vagueness.Unlike conventional binary logic control systems that consider only all-or-nothing situations, FLC allows for varying degrees between complete truth and complete falsehood, providing a more flexible and adaptive control strategy.Hence, this study presents an FLC rule to address specific thermal control problems mainly because it effectively handles temperature uncertainty and nonlinearity.First, a set of fuzzy rules was defined and constructed based on expert knowledge and practical operational experience to describe the behavior of the thermal control system.Next, a fuzzy inference engine was utilized to evaluate these rules and assess the degree of fuzziness of the control actions based on real-time input data.Finally, through a defuzzification process, the fuzzy control actions were converted into crisp output values, which drove the thermal control system to achieve the desired temperature performance by determining the flow rate required by the electric three-way valve.This flow rate was subsequently adjusted within the hydrogen production system based on feedback from the RTD.

15The design of FLC typically follows a systematic framework based on the Mamdani inference method.The process begins with the definition of fuzzy variables and their corresponding membership functions, which represent the inputs and outputs of the system.These functions are often modeled using triangular or trapezoidal shapes to effectively handle uncertainty and vagueness.Next, fuzzy rules are established, capturing expert knowledge through IF-THEN statements that describe the relationships between inputs and desired outputs.This step is essential, as the rules form the foundation for the decisionmaking process of the FLC controller.In the inference phase, the Mamdani approach employs fuzzy reasoning to evaluate the formulated rules, determining the degree to which each rule is activated based on the current inputs.This evaluation allows the controller to derive suitable control actions from the fuzzy rules.Finally, the process concludes with defuzzification, where the aggregated fuzzy output is converted back into a crisp value.This is commonly achieved using the centroid method, which calculates the precise control action needed.Overall, this structured approach enables FLC to manage complex, nonlinear systems, providing robustness and flexibility in various control applications [24].The detailed design steps are as follows.

16Step 1: The fuzzification of input variables involves converting real-valued input values into fuzzy values.This step utilizes fuzzy sets and membership functions to describe the degree of each input variable.Assuming x is an input value, µ A i (x) represents the membership degree of x to the i-th fuzzy set Ai, in the range of [0, 1].

17Step 2: The establishment of a rule base involves creating a set of fuzzy rules that describe the relationship between the input variables and output variables.These rules, based on expert experience or knowledge, take the form of "IF...THEN..." conditional statements, determining how output decisions are derived from specific input conditions.For example, a fuzzy rule R j could be structured as the following: R j = IF x is A i AND y is B i , THEN z is C i , where A i , B i , and C i represent fuzzy sets associated with input x, y, and output z, respectively.

18Step 3: Mamdani inference involves performing inference on the fuzzified inputs using the Mamdani inference method to generate fuzzy outputs.This method compares the degree of matching between the inputs and the input conditions of each rule, determining the shape of the output membership function based on these matches.The output membership function µ C i (z) of a rule is determined by the minimum value of the input membership degrees µ A i (x) and µ B i (y) through AND logic.Subsequently, all output fuzzy sets from rules are aggregated into a single fuzzy set.The aggregated output fuzzy set µ C (z) is obtained through the OR logic operation of the output membership degrees µ C i (z) from each rule.

19Step 4: The centroid method for defuzzification converts the fuzzy output set generated during the inference process into a crisp output value.This method calculates the centroid of the fuzzy set to determine a specific output value.It considers the membership degrees µ C (z) of all points on the fuzzy set and calculates the weighted average position of these points, represented mathematically as

20where Z centroid is the crisp output value obtained by calculating the weighted average of z, and µ C (z) represents the membership degree of z in the output fuzzy set C. This precise value effectively represents the fuzzy output used for control decisions.

21In the experimental setup of this study, a thermal controller based on FLC with dual inputs and a single output was utilized, as shown in Figure 2a.The inputs represented the desired temperature (T * ) and temperature difference (e T ) in the electrolysis stack, respectively, while the output determined the required the flow rate of the chilled water.In the literature on stack temperature control, the temperature difference and its derivative are commonly used as dual inputs for FLC to achieve rapid cooling.However, in this study, using a large amount of chilled water for cooling was not suitable, as a high chilled water flow rate could have led to a rapid decrease in power output.Thus, using the derivative of the stack temperature difference as an input was not appropriate.The chilled water flow rate was chosen as the output because it was the main factor influencing the stack temperature.The FLC used adopted a design with dual inputs and single output, with triangular and trapezoidal membership functions.Hence, the membership functions for the dual inputs, the temperature and temperature difference in the electrolysis stack, and the single output, the chilled water flow rate, are shown in Figure 2b-d, respectively.A set of 25 fuzzy rules is defined in Table 1, where VS denotes very small, S denotes small, M denotes medium, B denotes big, and VB denotes very big.

22The main challenges in applying FLC to the hydrogen production thermal control system included designing appropriate membership functions and fuzzy rules, which can be complex due to the nonlinearities and uncertainties of the temperature variations in an electrolysis stack.Additionally, the computational demands of fuzzy inference can impact real-time performance, especially in systems that require quick responses.Integrating FLC with other control strategies, such as the LSTMNN algorithm, also requires careful calibration to avoid control conflicts.To address these challenges, it is important to select membership functions that accurately represent the characteristics of the input and output variables.For example, triangular and trapezoidal membership functions can effectively represent the temperature and temperature difference in the electrolysis stack and chilled water flow rate.The selection of these functions should be based on empirical data and expert knowledge and should be refined iteratively through testing to ensure optimal control performance.

Long Short-Term Memory Neural Network

23The LSTMNN was specifically designed to address the vanishing and exploding gradient problems that conventional RNNs encounter when processing long sequences.It features three critical gates: the forget gate, input gate, and output gate.The forget gate discards irrelevant data, ensuring that only valuable information is retained.The input gate regulates the amount of new information added to memory, while the output gate manages how much information is sent to the next hidden state, which is crucial for making accurate predictions.Additionally, the LSTMNN maintains a cell state that acts as a memory highway, allowing essential information to across many time steps without significant alteration.This design enables the LSTMNN to capture long-term dependencies, effectively overcoming the limitation of a standard RNN.The ability of the forget gate to reset cell states prevents unnecessary information from accumulating, making the model robust for long-sequence tasks.The mathematical representations of the gates are in the following forms [25]:

24Furthermore, the new hidden state and the updated cell state can be mathematically represented as

25.

26where σ and tanh are activation functions.σ is the sigmoid function, with values in the range of [0, 1], and tanh is the hyperbolic tangent function, with values in the range of [−1, 1].In this study, an LSTMNN was utilized to process and predict time series data, capitalizing on its ability to effectively capture temporal dependencies.Through the design of gate mechanisms, the LSTMNN retains long-term dependencies while filtering out irrelevant data, thereby improving the accuracy and efficiency of the time series prediction models.Each gate receives inputs from the previous hidden state (h t ) and the current input (x t ), including the ambient temperature around the electrolysis stack, the power of the electrolysis stack, the flow rate of the chilled water, the temperature difference measured each time for the electrolysis stack, and the temperature of the electrolysis stack.These inputs are concatenated and passed through the sigmoid function, which determines the new candidate values applied to the cell state.The weight matrices w f , w i , and w o , along with the corresponding bias vectors b f , b i , and b o , control the activation values of the forget gate, input gate, and output gate.The weight matrix w c and bias vector b c manage the updates to the cell state.

FLC with LSTMNN for Hydrogen Production Thermal Control System

27In the thermal control system for hydrogen production of this study, the output from the FLC controller, once defuzzified, is passed to the electric three-way valve.However, due to delays in adjusting the chilled water flow rate to the electrolyte, discrepancies arise between expected and actual temperature differences in the hydrogen production system.To address this challenge caused by the operational delay of the electric three-way valve, it became necessary to predict the temperature of the electrolysis stack when the suitable flow rate was achieved after the electric three-way valve was turned on.To overcome this, this study employed the thermal controller combining FLC and LSTMNN strategies in the hydrogen production system, as illustrated in Figure 3.The robust capability of the LSTMNN in learning from time series data enabled the hydrogen production system to forecast temperature trends post adjustment of the electric three-way valve.Moreover, integrating the real-time adjustment capability of the FLC controller allows the hydrogen production system to proactively respond to anticipated temperature variations.Through comprehensive performance evaluation during actual application testing, the effectiveness of the control strategy in enhancing prediction accuracy and system stability was validated.

Experimental Setup

28The hydrogen production thermal control system was previously outlined in Figure 1.The experimental setup in this study was designed to assess the effectiveness of the proposed thermal control strategy.The main components of the experimental apparatus are the following:

•

29Electrolysis Stack (ES)-The electrolysis stack is the key component for hydrogen production, as it directly facilitates the electrolysis process.Ensuring the temperature stability of the electrolysis stack is crucial for maintaining optimal performance and efficiency in hydrogen production.

30Plate Heat Exchanger (PHE)-Located on both the cathode and anode sides of the electrolysis stack, the PHE is responsible for cooling the electrolyte and maintaining the stack temperature within the desired range.

31Gas-Liquid Separator (GLS)-This component separates the hydrogen gas produced from the liquid electrolyte, ensuring that the gas output is free of impurities.

32Resistance Temperature Detector (RTD)-The PT100 RTD is employed to precisely measure the temperature of the electrolysis stack.It operates based on the principle that the electrical resistance of the RTD changes with temperature.This accurate and reliable measurement is essential for monitoring and controlling the temperature of the electrolysis stack to ensure efficient and stable hydrogen production.

33Gas Pressure Transducer (GPT)-This device measures and monitors the pressure of the hydrogen gas.It is also used to purify the hydrogen gas further by ensuring that it meets the necessary pressure and quality standards before being collected or utilized in subsequent applications.This helps in maintaining the purity and efficiency of the hydrogen output.

34Electric Three-Way Valve (ETV)-Positioned at the junction of gas and electrolyte cooling, the ETV regulates the flow rate of chilled water on both sides.The valve's angle is adjusted based on signals from the control system to maintain the desired temperature.

35Microcontroller Unit (MCU) and Raspberry Pi (RPi) Control Board-The MCU and RPi are used for data acquisition and control operations within the experimental setup.

36The MCU handles the integration of various sensors and components, while the RPi manages the ETV.Specifically, the RPi calculates and adjusts the angle of the ETV based on control algorithms.This adjustment is executed using relays, enabling precise regulation of the flow rate of chilled water to maintain optimal temperature conditions.

37Chilled Water System-A single chiller serves both gas and electrolyte cooling, operating at a fixed flow rate and a temperature of 5 • C.This configuration was chosen due to space and cost constraints, despite the challenge of achieving precise flow rate control.

38The experimental procedure began with pre-cooling the electrolysis stack to below 40 • C using chilled water.Once this initial cooling was achieved, the hydrogen production system was activated, and the temperature of the electrolysis stack was continuously monitored.The thermal control strategy, which integrated FLC and the LSTMNN, was employed to maintain the temperature within the target range of 70-75 • C.This involved adjusting the flow rate of chilled water through the electric three-way valve as necessary.Real-time temperature signals from the RTD were used to dynamically adjust the control parameters, ensuring stable operation and efficient hydrogen production throughout the experimental process.

Experimental Results and Discussion

39Before each experiment, chilled water was initially introduced to reduce the temperature of the electrolysis stack below 40 • C. Subsequently, the hydrogen production system was started.During the initial phase of hydrogen production system startup, the electrolysis stack temperature continued to decrease slightly due to the influence of the chilled water before gradually rising again.Due to varying initial cooling conditions, each experiment could not start at the same initial temperature.However, the initial current value at the starting voltage remained relatively low and did not affect the final experimental results.When the hydrogen production system started operating, the voltage of the electrolysis stack gradually increased from the starting voltage to the target voltage over time, and the temperature of the electrolysis stack also rose slowly.Before the temperature of the electrolysis stack reached 65 • C, no chilled water entered the electrolyte for cooling.Once the temperature of the electrolysis stack reached 65 • C, the thermal control algorithm automatically activated to adjust the angle of the electric three-way valve, allowing the chilled water to enter the plate heat exchanger for electrolyte cooling.This kept the temperature of the electrolysis stack controlled within the optimal operating temperature range of 70-75 • C. To prevent the temperature of the electrolysis stack from exceeding the optimal operating temperature range, the target temperature was adjusted to the midpoint of the range, specifically 72.5 • C.

40In the experimental results, Figure 5 illustrates the temperature response of the electrolysis stack in the hydrogen production system under various thermal control strategies.It can be observed that there was a significant variation in the temperature of the electrolysis stack, varying within a range of 72.5 ± 2 • C.These variations are primarily due to the delayed response of the electric three-way valve, which adjusted flow rates only after receiving output from the FLC strategy.As the electric three-way valve adjusts to the set flow rate, a noticeable temperature discrepancy occurs between the current temperature and the temperature output from the FLC strategy, resulting in suboptimal thermal control outcomes.Therefore, by using an LSTMNN algorithm to predict the temperature of the electrolysis stack after the relay is opened, followed by applying the FLC method for calculation, significant improvements can be achieved in the thermal control of the electrolysis stack compared to the original FLC strategy.The temperature prediction approach reduced the temperature discrepancy, enabling the final experimental results to maintain the temperature of the electrolysis stack within a narrower range of 72.5 ± 1 • C. Figure 6 illustrates the power response of the hydrogen production system under two different thermal control strategies: one using FLC alone and the other incorporating the LSTMNN.From the comparison of the power outputs, it was observed that the thermal control results using FLC with the LSTMNN consistently maintained the power around 10 kW, with very minimal fluctuations upon reaching a steady state.This indicates improved stability compared to using the FLC method alone, which showed significantly reduced temperature fluctuations.Figure 7 shows the current response of the electrolysis stack in the hydrogen production system using the two thermal control strategies.The current remained stable at approximately 263 A, showing negligible fluctuations compared to results from the FLC method alone.Hydrogen production rates were separately calculated for both thermal control methods using Equation (2).The cumulative hydrogen production was 1.3997 m 3 and 1.4012 m 3 , respectively, indicating a slight increase in production.Previous experimental results demonstrated that short-term thermal control did not lead to uncontrolled temperature variations, allowing for extended operation to assess system stability, reliability, and performance improvements.Figure 8 illustrates the temperature response of the electrolysis stack in the hydrogen production system during a long-term experiment, where the temperature of the electrolysis stack was consistently maintained within a range of 72.5 ± 1 • C. The experimental result also demonstrates stable power and energy consumption, confirming the feasibility, effectiveness, and reliability of the thermal control strategy using FLC with the LSTMNN.The experimental results investigated the integration of the FLC and LSTMNN strategies in the thermal control system to achieve more precise temperature regulation of the electrolysis stack in the hydrogen production system.Table 2 presents a detailed perfor-mance analysis comparing the FLC method alone with the combined FLC and LSTMNN strategies.Using the FLC method alone, the temperature of the electrolysis stack could be regulated within a ±2 • C range, yet significant variations persisted due to the slow response of the electric three-way valve.This delay caused discrepancies between the actual and target temperatures as the FLC signal failed to promptly adjust the valve.To overcome these limitations, the designed LSTMNN algorithm predicts temperature based on measured data before feeding it into the FLC controller.This approach reduces steady-state error variations in the electrolysis stack temperature, enhancing thermal control effectiveness.As shown in Table 2, the combined hydrogen production thermal control system, employing the FLC and LSTMNN strategies, demonstrates robust stability during long-term experiments.It consistently maintained temperatures within ±1 • C and stabilized the power output at 10 kW.This integrated approach, highlighted in Table 2, enhances overall system performance, as confirmed by extended experimental testing, emphasizing its feasibility, effectiveness, and reliability.Therefore, the thermal control strategy in this study, integrating FLC with an LSTMNN, significantly improves the thermal control capabilities in a hydrogen production system.Its high stability in long-term experiments underscores its potential and practicality in actual applications.Maintained power output consistently around 10 kW with minimal variations, indicating higher energy utilization efficiency and a more stable hydrogen production process.Hydrogen Production Rate Similar cumulative hydrogen production, but slightly lower production efficiency due to less precise temperature control, leading to higher energy loss.

41Slightly improved production efficiency was achieved due to precise temperature control, which optimized electrolysis conditions, reduced energy loss, prevented thermal stress, and significantly enhanced overall system efficiency and performance.Overall Performance and Implications Performed well under certain operating conditions but had room for improvement in overall stability and efficiency.

42Outperformed the FLC-only strategy by enhancing temperature stability, power output consistency, and hydrogen production efficiency, while also extending the equipment's lifespan.

Conclusions

43Water electrolysis is an effective method for converting renewable energy into hydrogen, significantly enhancing energy supply diversity, ensuring security, fostering technological innovation, and promoting the development of a green economy.However, precise thermal control during water electrolysis is essential for optimizing the efficiency, performance, and safety of an electrolysis stack.Proper thermal control can maximize energy conversion efficiency, reduce energy losses, prevent equipment damage, extend equipment lifetime, and lower long-term operational costs.Hence, developing effective thermal control strategies is important for ensuring the stability, safety, and economic efficiency of a water electrolysis process.This study proposes a thermal control strategy combining fuzzy logic control (FLC) and a long short-term memory neural network (LSTMNN) to enhance the stability and efficiency of a hydrogen production system.Water electrolysis is crucial for converting renewable into hydrogen, but precise thermal control is needed to optimize the efficiency, performance, and safety of the electrolysis stack.The proposed thermal control strategy effectively integrated FLC and the LSTMNN, allowing for predictive temperature control, maintaining the stack temperature within 72.5 ± 1 • C, stabilizing the power output at 10 kW, and maintaining a stable current of 263 A. These improvements maximized energy efficiency, reduced losses, and extended the equipment's lifespan.Although these results are based on a specific experimental setup, they highlight the benefits of predictive control in managing system uncertainties.Future studies should focus on integrating advanced machine learning models, optimizing control strategies, incorporating remote monitoring through the IoT, and evaluating long-term operational reliability to advance the development of more efficient and sustainable hydrogen production systems.

Figure 2 .

44Figure 2. Thermal controller based on FLC: (a) control block diagram; (b) membership function for temperature; (c) membership function for temperature difference; (d) membership function for chilled water flow rate.

Figure 3 .

45Figure3.Thermal controller with FLC and LSTMNN strategies in the hydrogen production system, illustrating the integration of these strategies within the thermal control system to enhance temperature regulation and overall performance.

Figure 4

46Figure 4 illustrates the thermal control flowchart of the hydrogen production system.Utilizing an FLC controller alone maintained the desired temperature within a range of ±2 • C.However, integrating the LSTMNN algorithm for temperature prediction enhanced the control effectiveness, achieving the desired temperature within a narrower range of ±1 • C, thus enhancing the existing framework.

Figure 4 .

47Figure 4. Flowchart of thermal control in the hydrogen production system, outlining the sequential steps and decision-making processes involved in the thermal control strategy from data acquisition to control action implementation.

Figure 5 .

48Figure 5. Temperature response of the electrolysis stack with different thermal control strategies, comparing temperature stability under various approaches and demonstrating how the two strategies affected temperature regulation.

Figure 6 .

49Figure 6.Power response of the hydrogen production system under two different thermal control strategies, displaying variations in power output when using different approaches and illustrating their impact on system performance.

Figure 7 .

50Figure 7. Current response of the electrolysis stack using two thermal control strategies, presenting current variations under these strategies and highlighting differences in electrical performance.

Figure 8 .

51Figure 8. Temperature response of the electrolysis stack in a long-term hydrogen production experiment, showing temperature trends over an extended period and demonstrating the effectiveness of the thermal control strategy in maintaining stability during prolonged operation.

Table 1 .

52A set of 25 fuzzy rules used in the FLC strategy outlining specific rules that evaluated dual inputs, which were the temperature and temperature difference in the electrolysis stack, to determine a single output, which was the chilled water flow rate.

Table 2 .

53Performance analysis of FLC versus the combined FLC and LSTMNN strategies.

Strategies FLC Strategy Combined FLC with LSTMNN Strategy Temperature

54Control and Stability Maintained stack temperature within a ±2 • C range, but noticeable fluctuations occurred during rapid changes in operating conditions.Reduced temperature variations, maintaining the stack temperature within a ±1 • C range.The LSTMNN predicted temperature changes and proactively adjusted control parameters, thereby enhancing stability.Power Output Stability Significant power output fluctuations, especially when adjusting to temperature changes, may have reduced production efficiency and increased equipment wear.

Table A1 .

55Cont. , w i , w c , w o Weight matrices b f , b i , b c , b o

참고문헌 23건

  1. Hydrogen Production From Water Electrolysis: Current Status and Future Trends Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2011 10.1109/jproc.2011.2156750
  2. Fuzzy logic-based water heating control methodology for the efficiency enhancement of hybrid PV–PEM electrolyser systems International Journal of Hydrogen Energy · Elsevier BV · 2015 10.1016/j.ijhydene.2014.11.135
  3. Coolant controls of a PEM fuel cell system Journal of Power Sources · Elsevier BV · 2007 10.1016/j.jpowsour.2007.12.066
  4. Temperature dynamics and control of a water-cooled fuel cell stack Journal of Power Sources · Elsevier BV · 2014 10.1016/j.jpowsour.2013.12.100
  5. Multivariable fuzzy controller under Gödel's implication Fuzzy Sets and Systems · Elsevier BV · 1990 10.1016/0165-0114(90)90217-t
  6. Evaluation and calculation on the efficiency of a water electrolysis system for hydrogen production International Journal of Hydrogen Energy · Elsevier BV · 2010 10.1016/j.ijhydene.2010.07.088
  7. Influences of flow direction, temperature and relative humidity on the performance of a representative anion exchange membrane fuel cell: A computational analysis International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.12.003
  8. Development of efficient membrane electrode assembly for low cost hydrogen production by anion exchange membrane electrolysis International Journal of Hydrogen Energy · Elsevier BV · 2017 10.1016/j.ijhydene.2017.03.069
  9. Adaptive thermal control for PEMFC systems with guaranteed performance International Journal of Hydrogen Energy · Elsevier BV · 2018 10.1016/j.ijhydene.2017.12.121
  10. Fuzzy Control Systems: Past, Present and Future IEEE Computational Intelligence Magazine · Institute of Electrical and Electronics Engineers · 2019 10.1109/mci.2018.2881644
  11. Temperature Control for a 5 kW Water-Cooled PEM Fuel Cell System for a Household Application IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2945986
  12. Hydrogen in energy transition: A review International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2020.11.256
  13. Nonlinear control of a PEM fuel cell integrated system with water electrolyzer Process Safety and Environmental Protection · Elsevier BV · 2021 10.1016/j.cherd.2021.05.014
  14. Temperature and humidity management of PEM fuel cell power system using multi-input and multi-output fuzzy method Applied Thermal Engineering · Elsevier BV · 2021 10.1016/j.applthermaleng.2021.117865
  15. An adaptive model-based feedforward temperature control of a 100 kW PEM electrolyzer Control Engineering Practice · Elsevier BV · 2021 10.1016/j.conengprac.2021.104992
  16. Fuzzy sets Information and Control · Academic Press · 1965 10.1016/s0019-9958(65)90241-x
  17. Temperature Prediction for Reheating Furnace by Gated Recurrent Unit Approach IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3162424
  18. An experiment in linguistic synthesis with a fuzzy logic controller International Journal of Man-Machine Studies · Academic Press · 1975 10.1016/s0020-7373(75)80002-2
  19. Sparrow search algorithm applied to temperature control in PEM fuel cell systems International Journal of Hydrogen Energy · Elsevier BV · 2022 10.1016/j.ijhydene.2022.09.141
  20. An overview of water electrolysis technologies for green hydrogen production Energy Reports · Elsevier BV · 2022 10.1016/j.egyr.2022.10.127
  21. The economic analysis for hydrogen production cost towards electrolyzer technologies: Current and future competitiveness International Journal of Hydrogen Energy · Elsevier BV · 2023 10.1016/j.ijhydene.2022.12.204
  22. Recent progress in anion exchange membranes (AEMs) in water electrolysis: synthesis, physio-chemical analysis, properties, and applications Journal of Materials Chemistry A · Royal Society of Chemistry · 2023 10.1039/d3ta04298g
  23. Temperature Prediction of a Temperature-Controlled Container with Cold Energy Storage System Based on Long Short-Term Memory Neural Network Applied Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/app14020854