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

Proximal policy optimization-based reinforcement learning approach for DC-DC boost converter control: A comparative evaluation against traditional control techniques

관련 엔지니어링 플라스틱 · (22) POM(폴리아세탈)

기본 정보

저자
  1. Utsab Saha — Department of Electrical and Electronic Engineering, Bangladesh University of Engineering and Technology, Dhaka 1205, Bangladesh|||School of Data and Sciences, BRAC University, Dhaka 1212, Bangladesh
  2. Atik Jawad — Department of Electrical and Electronic Engineering, University of Liberal Arts Bangladesh, Dhaka 1207, Bangladesh
  3. Shakib Shahria — Department of Electrical and Electronic Engineering, Bangladesh University of Engineering and Technology, Dhaka 1205, Bangladesh
  4. A. B. M. Harun-ur Rashid — Department of Electrical and Electronic Engineering, Bangladesh University of Engineering and Technology, Dhaka 1205, Bangladesh
DOI
10.1016/j.heliyon.2024.e37823
저널
Heliyon
발행년도
2024
발행기관
Elsevier BV
피인용수
18
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.heliyon.2024.e37823
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4402494081

평가 내용

관련도
관련
사업분야
엔지니어링 플라스틱 · (22) POM(폴리아세탈)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '엔지니어링 플라스틱 > POM(폴리아세탈)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This article proposes a proximal policy optimization (PPO)-based reinforcement learning (RL) approach for DC-DC boost converter control that is compared with traditional control methods. The performance of the PPO algorithm is evaluated using MATLAB Simulink co-simulation, and the results demonstrate that the most efficient approach for achieving short settling time and stability is to combine the PPO algorithm with a reinforcement learning-based control method. The simulation results show that the control method based on RL with the PPO algorithm provides step response characteristics that outperform traditional control approaches, thereby enhancing DC-DC boost converter control. This research also highlights the inherent capability of the reinforcement learning method to enhance the performance of boost converter control.

본문 57,859자

본문 펼치기
## Proximal Policy Optimization-Based Reinforcement Learning Approach for DC-DC Boost Converter Control: A Comparative Evaluation Against Traditional Control Techniques † Utsab Saha <sup>1,2</sup>, Atik Jawad <sup>3</sup>, Shakib Shahria <sup>1</sup>, A.B.M Harun-Ur Rashid <sup>1*</sup> 1Department of Electrical and Electronic Engineering, Bangldesh University of Engineering and Technology, Dhaka, 1205, Bangladesh. 2School of Data and Sciences, BRAC University, Dhaka, 1212, Bangladesh. 3Department of Electrical and Electronic Engineering, University of Liberal Arts Bangladesh, Dhaka, 1207, Bangladesh. *Corresponding author(s). E-mail(s): abmhrashid@eee.buet.ac.bd; Abstract This article proposes a proximal policy optimization (PPO)-based reinforcement learning (RL) approach for DC-DC boost converter control that is compared with traditional control methods. The performance of the PPO algorithm is evaluated using MATLAB Simulink co-simulation, and the results demonstrate that the most efficient approach for achieving short settling time and stability is to combine the PPO algorithm with a reinforcement learning-based control method. The simulation results show that the control method based on RL with the PPO algorithm provides step response characteristics that outperform traditional control approaches, thereby enhancing DC-DC boost converter control. This research also highlights the inherent capability of the reinforcement learning method to enhance the performance of boost converter control. Keywords: Reinforcement Learning, Proximal Policy Optimization, Artificial Neural Network, Boost Converter Control †This paper has been accepted and published by Elsevier Ltd. (Heliyon) 1 #### 1 Introduction In recent times, DC power systems have been favored over AC power systems in many applications due to their superior reliability and quality. DC loads are commonly used in modern electronics, as DC is a preferred option for microgrid (MG) designs [1], [2]. Moreover, there has been a significant focus on the production of electricity from sustainable energy sources. These systems require sophisticated control techniques in order to fully utilize their potential. This can involve adjusting the load to match the voltage of the source, known as maximum power-point tracking, to extract the maximum power. Alternatively, it can involve maintaining a steady power supply for a passive load. As a consequence, the investigation of a boost converter, which is a DC-to-DC converter that controls the voltage between a power supply and a load, has gained popularity. The performance of power electronic systems, particularly boost converters, can be greatly improved by using proper control methods. The converter output voltage and current are regulated as part of these control schemes to provide the necessary power at the desired condition. Boost converters are widely utilized in a variety of industries, including telecommunications [3], electric vehicles [4, 5], and renewable energy systems [6, 7] where the main function is to step up the voltage level to fulfill the needed power demand at the specified condition. However, a proper control circuit is essential for guaranteeing dependable performance, increasing efficiency, and extending the system lifespan of the converter. Boost converters are controlled using several control techniques such as proportional integral derivative (PID) [8, 9], artificial neural network (ANN) [10, 11], model predictive control (MPC) [12], fuzzy logic [13, 14], adaptive neuro-fuzzy inference system (ANFIS) control, sliding mode control [15], etc. Traditional control techniques, such as PI control, have been widely used due to their simplicity and robustness. PI control works by comparing the output voltage or current with the reference value and adjusting the duty cycle of the converter switch accordingly. However, PI control is a linear control technique and may not always be optimal for improving the performance of nonlinear systems [16]. Another popular control algorithm is the adaptive neuro-fuzzy inference system (ANFIS), which is described in [17, 18]. ANFIS is a type of fuzzy logic control that uses a neural network to tune the fuzzy logic system parameters. ANFIS combines the benefits of fuzzy logic and neural networks to provide a more accurate and efficient control approach. Artificial neural networks (ANN) is another machine learning technique used in power electronics control [19, 20]. ANN is a type of supervised learning that uses a backpropagation algorithm to optimize the control policy. ANN has shown promising results in improving the control of various power electronic systems, including boost converters, but to get an accurate model, it requires a proper dataset, more training time, and a slower speed of learning. Fuzzy logic control is another control technique that uses linguistic rules to control nonlinear systems. It works by defining the input and output variables in linguistic terms and using a set of fuzzy rules to map the inputs to the outputs. However, there are a few issues with fuzzy logic controllers. Fuzzy control methods rely on human ability and understanding. Defining specific fuzzy sets or membership functions takes time and effort. 2 Popular power converter control strategies employed for buck-boost converters with constant power loads (CPLs) encompass state-feedback controllers [21, 22], proportional-integral-derivative (PID) control [23, 24], model predictive control (MPC) [25, 26], adaptive feedback controller [27] and sliding mode control (SMC) [28–33]. Recent research endeavors focusing on voltage regulation and stabilization employing intelligent controllers have explored various techniques. These include the utilization of a quadratic D-stable fuzzy controller [34], fuzzy-PID control [35], as well as machine learning and reinforcement learning approaches such as deep deterministic policy gradient (DDPG) [36], and deep reinforcement learning (DRL) methods like Markov decision process (MDP) and deep Q network (DQN) algorithms [37], [38]. Additionally, a modified fast terminal sliding mode control (FTSMC) with a fixed switching frequency has been proposed to regulate the output voltage of DC-DC buck converters [39]. As boost converters are becoming an essential part of DC micro-grids as well as sustainable energy generation (i.e. solar PV systems), the problem associated with these applications should be considered very carefully. In DC microgrids (MGs), there are issues of voltage instability, which is caused by a constant power load (CPL), which has been extensively investigated and documented in existing literature [40], [41]. Over time, control techniques addressing this challenge have transitioned from model-based approaches to model-free methods. These techniques involve various controller systems, including traditional state feedback controllers, and more recently, the utilization of machine learning techniques. Based on the reviewed literature, the essential areas of research that need more investigation can be determined as follows: - The existence of CPLs in DC-MGs introduces a significant concern due to their nonlinear character. - Model-based strategies may exhibit limitations in effectively managing uncertainties encountered in practical applications. - In the case of neural network control, proper dataset and training time become a big challenge. - In DC-to-DC boost converters, the traditional control method exhibited increased instability and inferior step response characteristics in the presence of changes in dynamics in the system. Our Contribution. A potential solution to address these issues is the implementation of an intelligent controller capable of interacting with the system and learning to effectively handle both normal and abruptly changing system dynamics. By adapting and acquiring knowledge through interaction with the system, such intelligent controllers can improve the control performance in various operating conditions. Reinforcement learning can be an effective approach for tackling these difficulties associated with enhancing converter control. Reinforcement learning is a machine learning method that has drawn considerable interest in the domain of power electronics control. It has been extensively explored in recent studies [42–44]. RL operates by learning an optimal control policy through iterative interaction with the environment. This approach has shown promising outcomes in improving the control of diverse nonlinear systems, including several power converters. RL is a model-free framework that is capable 3 of solving optimum control problems. The controller in the general feedback control structure receives information about the condition of the system and responds correspondingly. Similarly, the decision rule used in reinforcement learning (RL) is a control law known as the policy [45]. This policy governs the actions taken by the system based on state feedback. The state of the system is changed by the applied actuation, and when it does so, the transition to the updated state is assessed using a reward function. Increasing the cumulative reward from each initial state is the main objective of optimal control. The ultimate objective is to optimize the system’s long-term performance because decision-making in this process is sequential. There are many reliable model-free RL methods. In this paper, a specific algorithm called proximal policy optimization (PPO) is implemented, which directly optimizes the policy parameters using observed data [45, 46]. The purpose of this study is to assist in the research of improving the utilization of renewable energy sources for generating electricity. The goal is to conserve fossil fuel energy resources. This involves applying concepts such as maximum point tracking to boost converters with a dynamic load, or to schemes that maintain a constant output voltage with a fixed resistance load. This work aims to design an adaptive control methodology to address the voltage instability and achieve the target voltage in DC-to-DC boost converters. The goal is to minimize the settling time. The paper’s key contribution can be summarized as follows - This work presents a method for controlling a boost converter using proximal policy optimization (PPO), an advanced reinforcement learning (RL) methodology known for its effective use in several control applications. - The performance of the PPO-based control approach is compared with traditional control techniques, including optimized proportional-integral (PI) control and artificial neural network (ANN) control. - The effectiveness of the proposed control approach in improving the performance of the boost converter control system is evaluated through simulations using the MATLAB Simulink solver. - To evaluate the reliability of the control performance, simulations are performed under both fixed and varying input conditions. Through extensive experimentation, it is observed that, in both scenarios, the step response characteristics remained consistently similar and almost better than the existing control methods. The subsequent sections of the paper are arranged in the following manner. Section 2 provides an explanation of the fundamental operational mechanism of the boost converter. The proposed methodology is outlined in Section 3, with a detailed algorithm provided to illustrate each step. Section 4 provides a comprehensive account of the experiments and simulation situations. Section 5 presents the validation of our method and a comparative study with existing studies. Section 6 presents a concise summary of our findings and insights. #### 2 Boost Converter Model The boost converter operates on the principle of complementary switching. It encompasses two complementary modes: the closed mode and the open mode [47]. In the 4 C R _Vout_ _-_ Diode _+_ _Vin_ L MOSFET Fig. 1 : Circuit diagram of DC-DC boost converter closed mode, energy is stored in the inductor while being released from the capacitor. Conversely, in the open mode, energy is released from the inductor while being stored in the capacitor. The operation of a boost converter relies on two fundamental principles, namely the energy balance principle and the charge balance principle, which ensure its ideal functioning [47]. The circuit diagram of the boost converter is shown in Fig. 1. Based on the charge balance and energy balance principles, the basic relationship between the input voltage and output voltage of the boost converter is given by Eq. (1). V _out_ = <sup><u>V</u></sup> <sup>_<u>in</u>_</sup> (1) 1 _−_ _d_ Where _Vin_ is the input voltage, _Vout_ is the output voltage and _d_ is the duty cycle. The averaging method is employed for the analysis and design of controllers in power electronics circuits. To utilize the averaging method for modeling purposes, the state space equations for the closed and open modal operations are represented by Eq. (2) and Eq. (3). _x_ ˙ = A1 _x_ + B1 _u_ (2) Here, _x_ ˙ is the state variable (inductor current and capacitor voltage) and _u_ is the input voltage, _Vin_ . _x_ ˙ = A2 _x_ + B2 _u_ (3) Then the average state space model is represented by Eq. (4). _x_ ˙ = A _x_ + B _u_ (4) where, _A_ = A1 _d_ + A2(1 _−_ _d_ ) _B_ = B1 _d_ + B2(1 _−_ _d_ ) A1 = �0 0 0 _−_ _RC_ <sup><u>1</u></sup> B1 = B2 = - <u>1</u> _L_ 0 A2 = - 0 _−_ _L_ <sup><u>1</u></sup> _L_ <u>1</u> _C_ <sup>_−_</sup> _RC_ <sup><u>1</u></sup> _RC_ 5 #### 3 Proposed Methodology This section depicts the proposed control method for the DC-DC boost converter. This paper introduces an improved method for controlling dc-to-dc boost converters, which combines reinforcement learning (RL) with proximal policy optimization (PPO). The proposed boost converter control technique is based on a feedback mechanism. It utilizes the observed voltage reading across the load or resistance as the feedback signal. The control action is dictated by the state of the MOSFET switch in the DC-toDC boost converter. The speed and efficiency at which the boost converter reaches the specified output voltage are determined by the sequence of control signals transmitted to the MOSFET switch. The subsequent subsections present a comprehensive depiction of the proposed method in detail. 3.1 Control Method Based on Reinforcement Learning Reinforcement learning (RL) is a machine learning technique where an agent learns to make optimal decisions by continuously interacting with its environment and maximizing a reward signal. This approach takes inspiration from the learning mechanisms observed in humans and animals, involving a trial-and-error process to acquire and improve decision-making skills. RL is applied in various domains where making effective decisions under challenging conditions is crucial. In practical scenarios, an agent encounters situations where it needs to make decisions, and it relies on feedback from the environment in the form of rewards or penalties to adjust and refine those decisions. To optimize the long-term cumulative reward, the agent must acquire a policy, a set of rules or strategies, that guides its decision-making process. Importantly, the agent does not receive explicit instructions or guidance on how to achieve this objective; instead, it learns by actively engaging with the environment, gaining knowledge through repeated attempts, and learning from both successful and unsuccessful outcomes. Reinforcement learning (RL) is a framework devoid of explicit models, capable of solving optimal control problems. The controller inside the general feedback control structure gets feedback in the form of state signals from the plant and acts accordingly. In RL, the decision rule is denoted as a policy, which operates based on state feedback control principles [45]. The system’s state is modified through actuation, and the resulting transition to the new state is assessed using a reward function. The objective of optimum control is to maximize the overall reward obtained from each initial state. The purpose of this process, which involves sequential decision-making, is to optimize the system’s long-term performance. Various robust model-free RL algorithms exist, and this paper focuses on a policy gradient method called proximal policy optimization (PPO) [45]. PPO directly optimizes policy parameters using observed data. In this study, the environment corresponds to the DC-DC boost converter system. The action, taken by the agent, involves generating the gate pulse that regulates the converter’s operation as shown in Fig. 2. The data analyzer block in Fig. 2 continuously monitors important parameters such as the output voltage, _Vout_, error (deviation from the desired value), _e_ ( _t_ ), and the rate of change of error, _e′_ ( _t_ ). These monitored signals are processed as state, _st−_ 1, and reward, _rt−_ 1, and provided to the RL agent, which is 6 state _,_ _st-1_ reward _,_ _rt-1_ Data Analyzer ### Reinforcement Learning Agent action _,_ _at_ L Diode _+_ e(t) e <sup>'</sup> (t) V _out_ _<mark>Vref</mark>_ _e(t)_ _Vin_ C R _Vout_ MOSFET Environment _-_ Fig. 2 : Diagram of proposed method shown in Fig. 2. Using the analyzed state, _st−_ 1, and reward information, _rt−_ 1 the RL agent makes informed decisions regarding the appropriate action (gate pulse) to be applied. The agent leverages its learned policy to select an action, that is expected to optimize the cumulative reward over time. Through a trial-and-error process, the agent explores different gate pulse actions and learns from the feedback received through the reward signal. By repeatedly adjusting its actions based on the observed outcomes, the agent adapts its decision-making strategy, gradually improving its control performance in regulating the boost converter. 3.2 Proximal Policy Optimization Algorithm The proximal policy optimization (PPO) algorithm is a model-free, online, or onpolicy reinforcement learning (RL) method. It updates the decision-making policy using small batches of experiences obtained from interacting with the environment. PPO keeps a balance between important factors like ease of implementation, tuning, sample complexity, and efficiency while minimizing the deviation from the previous policy. It learns from online data and ensures low variance in training [46]. In this work, the PPO algorithm follows an iterative process where it alternates between two key steps: sampling data by interacting with the environment which is the boost converter, and optimizing a clipped surrogate objective function using stochastic gradient ascent [48]. The algorithm ensures stability during agent training by utilizing the clipped surrogate objective function and constraining the magnitude of policy changes at each iteration [49]. This approach helps to prevent drastic policy updates and contributes to smoother and more reliable training of the agent. PPO is commonly implemented using the actor-critic model, which consists of two deep neural networks - one for action selection (actor) and the other for reward evaluation (critic). In reinforcement learning, 7 Input FC Layer Relu FC Layer Relu FC Layer Output FC = Fully Connected Relu = Rectified Linear Unit Input FC Layer Relu FC Layer Relu FC Layer Softmax Critic Network Actor Network Fig. 3 : Network architecture of actor-critic network the actor network is responsible for decision-making by selecting actions based on the current state of the environment which is a boost converter in this case. Its goal is to optimize a policy that maps states to actions effectively. On the other hand, the critic network evaluates the actions chosen by the actor network and provides feedback on the value of state-action pairs. This feedback helps the actor network to refine and improve its policy. The detailed architecture of the actor-critic network is shown in Fig. 3. In this work, to construct the state vector ( _st_ ) at each sample time step, the PPO agent calculates the output voltage ( _Vout_ ), the error value e(t), and the rate of change of the error _e′_ ( _t_ ) as shown in Fig. 2. The objective of the actor-critic network is to optimize the surrogate objective function, L( _θ_ ) with the aim of maximizing performance. The expression of L( _θ_ ) is described in Eq. (5). _′_ _t_ <sup>[</sup> <sup>_min_</sup> <sup>(r</sup> _t_ <sup>(</sup> <sup>_θ_</sup> <sup>))A</sup> _′_ _t_ <sup>]</sup> (5) _L_ ( _θ_ ) = E _′_ _t_ <sup>_, clip_</sup> <sup>(r</sup> _t_ <sup>(</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_,_</sup> <sup>1</sup> <sup>_−∈,_</sup> <sup>1+</sup> <sup>_∈_</sup> <sup>)A</sup> This function represents the expectation of the advantage function, where the advantage function is dependent on the estimated advantage A _t_, the policy parameters _θ_, and the probability ratio r _t_ ( _θ_ ). _<u>πθ</u>_ <u>(</u> _<u>at</u>_ _<u>| st</u>_ <u>)</u> _rt_ ( _θ_ ) = (6) _πθold_ ( _at_ _| st_ ) The probability ratio, r _t_ ( _θ_ ) in the context of the actor-critic network, refers to the comparison between the likelihood of taking a specific action when in state st at time _t_, based on the current policy parameters _πθ_, and the likelihood of taking the same action at in the same state _st_ at time _t_, utilizing the past or previous policy parameters 8 _θ_ old from the previous epoch, which is described in Eq. 6. During training, the PPObased RL agent learns by sampling actions according to its updated policy. This policy starts with random actions to explore the state-action space and gradually becomes more focused on actions that result in higher rewards. The PPO agent determines the probabilities for each action in its set of possible actions. It randomly chooses an action using these probabilities. The agent updates its actor and critic properties using mini-batches of data over multiple training sessions while interacting with the environment. The objective of the PPO agent is to train the coefficients of the actorcritic neural networks to minimize the difference between the desired output _Vref_ and the actual value _Vout_ . The general algorithmic structure of the PPO algorithm [44], [46] is described in Algorithm 1. The PPO algorithm follows a specific set of steps. Initially, the parameters of the actor-critic network are initialized. Next, a sequence of experiences is generated, consisting of state-action pairs and their corresponding reward values. For each time instance, the action-value function, _Q_ <sup>_π_</sup>, and advantage function, _A_ <sup>_π_</sup> are calculated. The action-value function represents the expected return when starting from a particular state and taking a specific action according to the policy. It is computed as the sum of the expected rewards associated with the state-action pair. On the other hand, the value function estimates the expected return of being in a particular state and reflects its desirability. It is computed as the sum of the expected rewards given the state as shown in Algorithm 1. The advantage function, _A_ <sup>_π_</sup> captures the difference between the action-value function and the value function. It provides insights into the advantages or disadvantages of choosing a specific action in a given state. During the training process, the PPO algorithm learns from a set of mini-batch experiences over a specified number of epochs, denoted as _k_ . The critic network’s parameters are updated by minimizing the critic loss function, denoted as _Lc_, which aims to minimize the loss over the sampled mini-batch of experiences. On the other hand, the actor network’s parameters are updated by repeating a series of steps until a terminating criterion is met. These steps involve maximizing a surrogate objective function that balances the exploration and exploitation trade-off. The objective is to find the policy that maximizes the expected reward. The training process continues iteratively, with the critic and actor networks being updated based on their respective loss functions and objectives. This iterative process allows the PPO algorithm to progressively refine the actor-critic networks and improve the overall decision-making capabilities. The training process persists until a predetermined termination criterion, such as attaining a maximum number of iterations or accomplishing a specified level of performance, is fulfilled. At this point, the PPO algorithm concludes its training process. 3.3 Reward Calculation Process for the RL Agent The subsequent crucial step is the computation of rewards, which accurately assesses the accuracy of the action generated by the RL agent. During the training of the RL agent, a fixed number of sample steps are used unless the termination criterion is met. If the output voltage of the boost converter exceeds the upper limit ( _Vup_ ) or is greater than _Vref_ and then crosses the lower limit ( _Vlow_ ), the training for that episode is 9 <u>Algorithm</u> <u>1:</u> <u>Proximal</u> <u>Policy</u> <u>Optimization</u> <u>Algorithm</u> Initialize the parameter of the actor-critic network while _termination_ _criteria_ _is_ _not_ _satisfied_ do Step 1: Generate N experiences �s _t_ 1 _,_ a _t_ 1 _,_ r _t_ 1� _,_ �s _t_ 2 _,_ a _t_ 2 _,_ r _t_ 2� _..._ - _,_ �s _t_ 2 _,_ a _t_ 2 _,_ r _t_ 2 - _..._ �s _t_ 1 _,_ a _t_ 1 _,_ r _t_ 1� _,_ �s _t_ 2 _,_ a _t_ 2 _,_ r _t_ 2� _..._ �s _tn,_ a _tn,_ r _tn_ �; Step 2: Calculate action-value function and advantage function at each �s _tn,_ a _tn,_ r _tn_ time step t, while _k̸_ = _epoch_ do Q <sup>_π_</sup> ( _s, a_ ) = V <sup>_π_</sup> ( _s_ ) = _t_ _t_ E _πθ_ [ _R_ ( _st, at_ ) _|s, a_ ] E _πθ_ [ _R_ ( _st, at_ ) _|s_ ] A <sup>_π_</sup> ( _s, a_ ) = Q <sup>_π_</sup> ( _s, a_ ) _−_ V <sup>_π_</sup> ( _s_ ) 1. The critic network’s parameters are updated by: L _c_ ( _θv_ ) = <sup><u>1</u></sup> _M_ _M_ �(Q <sup>_π_</sup> ( _s, a_ ) _−_ _V_ ( _s|θv_ )) <sup>2</sup> _t_ =1 2. The actor network’s parameters are updated by: L _a_ ( _θv_ ) = _−_ <sup><u>1</u></sup> _M_ <sup>[</sup> <sup>_min_</sup> <sup>(</sup> <sup>_rt_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_At, clip_</sup> <sup>(</sup> <sup>_rt_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_,_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_ϵ,_</sup> <sup>1 +</sup> <sup>_ϵ_</sup> <sup>)</sup> <sup>_At_</sup> <sup>)]</sup> end end terminated. This logic can be considered as a limiting mechanism that helps to reach and stay at the desired voltage level. At each sample time step ( _t_ ) during training, the RL agent takes the state, ( _st−_ 1) and the reward value, ( _rt−_ 1) as inputs to generate the next action, as shown in Fig. 2. The reward function, specified in Algorithm 2, determines the reward value based on the current state and desired outcomes, guiding the agent’s learning process. #### 4 Simulation result and analysis In this section, the simulation results using the proposed method are described. Table 1 shows the design specification of the boost converter used for this work. The simulations are operated for two different conditions, each of the conditions consists of three different scenarios, and results are compared with different existing control methods with different scenarios. The justification behind integrating the reinforcement learning technique to regulate the dc-to-dc boost converter is verified by an in-depth analysis of each situation. Table 2 provides a summary of the simulation conditions and scenarios. 10 <u>Algorithm</u> <u>2:</u> <u>Reward</u> <u>calculation</u> _Vout_ _←_ Output Voltage _Vref_ _←_ Desired Output (Reference) _eth_ _←_ Threshold Error _Vup_ _←_ Upper limit of voltage - _Vup_ = (1 + _eth_ ) _.Vref_ _Vlow_ _←_ Lower limit of voltage - _Vlow_ = (1 _−_ _eth_ ) _.Vref_ if _Vout_ _≥_ _Vref_ then flag = 1; end if ( _Vout_ _≥_ _Vup_ ) _∥_ ( _Vout_ _≤_ _Vlow_ && _flag_ == 1 _)_ then _r_ ( _t_ ) = _−_ 1; else _r_ ( _t_ ) = _abs_ (1 _e_ ( _t_ )) <sup>;</sup> end end Table 1 : Boost converter design specification Design Parameter Values Input Voltage, _Vin_ 24V Desired Output Voltage, _Vref_ 48/54/60V Load Resistance, _R_ 50Ω Inductor, _L_ 10 _µ_ H Capacitor, _C_ 400mF 4.1 Conditions and simulation scenarios The experimentation is conducted under two distinct conditions to evaluate the performance of the proposed method. In the first condition, a constant input voltage of 24 V is maintained. This specific setting allows for the observation and assessment of the control capability inherent in the traditional application of a boost converter. On the other hand, the second condition involves a dynamic scenario where the input voltage fluctuates between 24 V and 26 V. The primary objective here is to scrutinize the controller’s efficacy in managing the variable input behavior. Notably, to induce the input variation, a step change is introduced precisely at 0.5 s of the simulation. This comprehensive experimental design enables a thorough examination of the proposed method’s adaptability and control performance under both stable and dynamic operating conditions. For each condition, three scenarios are being taken into account. Each of those scenarios corresponds to a distinct reference voltage (48 V, 54 V, and 60 V). The objective of this experiment is to evaluate whether the suggested 11 Table 2 : Simulation conditions and scenarios. <u>Conditions</u> <u>Scenarios</u> I. Fixed Input (24 V) II. Variable Input (24 V–26 V) Ref-48 V Ref-54 V <u>Ref-60</u> <u>V</u> Ref-48 V Ref-54 V <u>Ref-60</u> <u>V</u> Fig. 4 : Output voltage of boost converter using proposed control method (Condition I) Table 3 : Step response characteristics of RL control method (Condition I) <u>Step</u> <u>Response</u> <u>Characteristics</u> <u>Ref</u> <u>48</u> <u>V</u> <u>Ref</u> <u>54</u> <u>V</u> <u>Ref</u> <u>60</u> <u>V</u> Rise time (sec) 0.056 0.135 0.239 Settling time (sec) 0.123 0.218 0.360 Overshoot (%) 0.364 0.367 0.275 <u>Undershoot</u> <u>(%)</u> <u>7</u> _<u>.</u>_ <u>3</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <u>7</u> <u>6</u> _<u>.</u>_ <u>5</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <u>7</u> <u>5</u> _<u>.</u>_ <u>8</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <u>7</u> controller can achieve the desired voltage level while exhibiting precise step response characteristics. 12 Fig. 5 : Output voltage of boost converter using proposed control method (Condition II) Table 4 : Step response characteristics of RL control method (Condition II) <u>Step</u> <u>Response</u> <u>Characteristics</u> <u>Ref</u> <u>48</u> <u>V</u> <u>Ref</u> <u>54</u> <u>V</u> <u>Ref</u> <u>60</u> <u>V</u> Rise time (sec) 0.093 0.155 0.259 Settling time (sec) 0.163 0.274 0.395 Overshoot (%) 0.347 0.056 0.161 <u>Undershoot</u> <u>(%)</u> <u>0.000</u> <u>0.000</u> <u>0.000</u> 4.2 Result analysis Condition I (Fixed Input Voltage): In the case of fixed input voltage, the performance of the proposed control method is shown in Fig. 4, and the step response characteristics are described in Table 3. It is quite evident that the proposed controller is capable of regulating the constant voltage at the output end with a good step response characteristic. Condition II (Varying Input Voltage): In the event of varying input voltage, the performance of the proposed control method can be observed in Fig. 5, and the step response characteristics are detailed in Table 4. The suggested controller is also capable of maintaining a constant voltage at the output, exhibiting a favorable step response characteristic, even when the input voltage varies. 13 #### 5 Validation of proposed method and performance comparison 5.1 Existing methods 5.1.1 PI Control The PI controller is a feedback control loop that calculates an error signal by measuring the difference between the system’s output and a desired reference value. This algorithm constantly examines the output voltage and modifies the duty cycle of the converter to uphold the desired output voltage level. To put it simply, it closely monitors the output voltage and adjusts it as needed to maintain the correct level. The PI controller utilizes a feedback control loop mechanism to minimize the influence of disturbances in a system, steer the system towards a desired state, and define explicit linkages between system variables. The input of the system is the error at a certain time, _e_ ( _t_ ), which represents the difference between the measured and reference values as shown in Fig. 6. The PI controller produces an output called ‘actuation’, denoted as _a_ ( _t_ ), which determines the action to be implemented for the given plant or system. The actuation, _a_ ( _t_ ), is determined by adding two components: the product of the proportional gain ( _kp_ ) and the magnitude of the error, and the product of the integral gain ( _ki_ ) and the integral of the error over time. The function, _a_ ( _t_ ), can be written as Eq. 7, Fig. 6 : Boost converter with PI control - _t_ _a_ ( _t_ ) = _kp ∗_ _e_ ( _t_ ) + _ki_ _e_ ( _t_ ) _dt_ (7) 0 The PI controller combines proportional and integral terms to generate a control signal, _a_ ( _t_ ), at time _t_ . The proportional term ( _kp_ ) responds to the current error, reducing steady-state error. However, relying solely on proportional gain can lead to oscillations. To mitigate this, the integral term ( _ki_ ) considers accumulated past errors, aiding in the gradual reduction of steady-state errors over time. To perform 14 properly, the PI controller parameters have to be appropriately selected. For this selection process in this work, two highly effective algorithms are used namely, the particle swarm algorithm (PSO) [50, 51] and the genetic algorithm (GA) [52, 53]. Leveraging PSO, the goal is to optimize _kp_ and _ki_ for efficient and accurate boost converter control. Initiating with the definition of the objective function as mean absolute error (MAE), it serves as the metric for evaluating solution quality. With two variables ( _kp_ and _ki_ ), search space is constrained by lower and upper bounds. Implementing PSO in MATLAB, the ‘particleswarm’ function is utilized, specifying parameters such as swarm size, maximum iterations, display options, and plot function. Executed by invoking ‘particleswarm’ with the objective function, variables, bounds, and designated options, the algorithm yields optimized _kp_ and _ki_ values assigned to specific parameters. The genetic algorithm (GA) is also used for validation to optimize the values of two control parameters, _kp_, and _ki_, which are critical for regulating a DC-DC boost converter. Configured with specific parameters and constraints, the GA uses the objective function MAE to guide optimization. The optimization process is initiated by invoking the ‘ga’ function in MATLAB, specifying the objective function, number of variables, and variable bounds. The resulting optimized solution provides values for _kp_ and _ki_ . 5.1.2 ANN Control A DC-DC boost converter with artificial neural network (ANN) control is a power converter that enhances the voltage of a DC input source by utilizing an advanced control mechanism based on neural network technology. The ANN control mechanism mimics the behavior of a human neural network, enabling the converter to adapt and enhance its performance in real time. The ANN control algorithm continuously checks both the converter’s input, _Vin_, and the target output, _Vref_ to ensure optimal performance as shown in Fig. 7, altering its control signals accordingly. A substantial amount of data (100000 data samples) is generated using the MATLAB editor during the development of an artificial neural network (ANN) model, generating the dataset. The dataset is made up of data samples with input and output voltages that serve as input features for the ANN model. 80% of the data is used for training, and the remaining 20% is used for testing. Following that, the neural network is built and trained using MATLAB’s graphical user interfaces (GUIs) intended exclusively for neural network (NN) applications. After the dataset has been built within the MATLAB workspace, these GUIs make it easier to create and train the neural network. To improve the performance of the neural network (NN) model, the training parameters were fine-tuned. Table 5 shows the specifications of the NN model. After training, the NN model is exported to the MATLAB workspace and converted into a Simulink block. This Simulink block manages the boost converter’s duty cycle, giving it control over its operation. 15 Fig. 7 : Boost converter with ANN control Table 5 : Specifications of neural network. <u>Parameters</u> <u>Training</u> <u>Configuration</u> Type of Network Feed-Forward Backpropagation Training Function TRAINLM Adaption Learning Function LEARNGDM Objective Function MSE Number of Layers 3 <u>Transfer</u> <u>Function</u> <u>TANSIG</u> 5.2 Performance analysis In this subsection, a comparative analysis between the proposed method and existing methods is depicted. The comparison is shown for both conditions with three individual scenarios. Condition I. When the input voltage remains constant, the optimized PI controller consistently achieves the shortest settling time compared to other control methods. Interestingly, for the PI controller, the settling time decreases as the desired voltage increases as shown in Fig. 8. The quantitative information on the settling time for different control methods under fixed input voltage conditions is presented in Table 6. The optimized PI controller consistently exhibited the shortest settling time across various scenarios, with the settling time decreasing as the desired voltage increased. This trend indicates the controller’s ability to achieve faster stabilization as the system becomes more aggressive in its response. This behavior can be attributed to the inherent dynamics and characteristics of the system being controlled. This could be due to the system becoming more responsive and active as the desired voltage increases. However, it’s important to note that this behavior may not be the same in all cases and can depend on the system’s characteristics and control parameters chosen. Different trends are observed when using RL and ANN control methods as depicted 16 in Fig. 8. Among the RL and ANN control methods, the boost converter with RL control performed better in terms of settling time which is quite evident in Table 6. This is because RL has unique learning and decision-making abilities that allow it to adapt and optimize the control policy according to the specific needs and dynamics of the boost converter system. When the input voltage is varied, the step response characteristics of the system are observed to remain relatively consistent for both ANN control and RL control methods depicted in Fig. 9. This implies that these methods are capable of adapting to the varying input voltage and maintaining stable step response characteristics. However, in the case of PI control, undesired voltage wave shapes are evident in Fig. 9. The step response characteristics are significantly degraded, indicating that the PI control method struggled to handle the input voltage variation effectively. Quantitatively comparing the performance of these control methods, RL control emerged as the superior method as depicted in Table 7. It exhibited the ability to seamlessly handle the input voltage variation and maintain step response characteristics similar to those observed under fixed input voltage conditions. This quality positions RL control as the best control method among the three in terms of adapting to varying input voltage and preserving stable step response characteristics. The RL control method’s effectiveness can be attributed to its capacity to learn and optimize the control policy based on the specific dynamics and requirements of the boost converter system. This adaptability allows RL-based control to consistently deliver reliable and robust performance, even in the presence of changing input voltage conditions. #### 6 Discussion 6.1 Duty of the proposed method The primary duty of the proposed PPO-based reinforcement learning (RL) method in the experimental setup is to improve the control performance of a DC-DC boost converter. The key duties and outcomes observed in the experiments are as follows: - The PPO-based RL method provided faster settling times and improved stability metrics, indicating a more responsive and stable control system. - The proposed method was tested under varying input voltage condition, where it demonstrated robust performance without significant degradation, thus validating its applicability in dynamic environments. - Throughout the training and testing phases, safety constraints were incorporated to ensure that the control actions remained within safe operating limits. The method successfully avoided unsafe states, thereby ensuring reliable and safe operation. 6.1.1 Requirements of the computational speed of controller The proposed PPO-based reinforcement learning (RL) method for DC-DC boost converter control does have slightly higher computational demands compared to traditional control methods. This is primarily due to the complexity of the PPO algorithm and the need for real-time data processing and decision-making. However, the increasing availability and affordability of powerful computational hardware, such as GPUs 17 and specialized processors, mitigate this concern. Additionally, further optimization of the PPO algorithm can reduce its computational load, making it more suitable for real-time applications. In practical implementations, careful selection of hardware and algorithmic optimizations can ensure that the computational requirements are met without compromising performance. 6.1.2 Safety of the training process Ensuring the safety of the training process for the PPO-based RL method is important, especially when dealing with power elec tronics like DC-DC converters. The following strategies can be employed to guarantee safety: - Conducting the majority of the training in a high-fidelity simulated environment (such as MATLAB Simulink) can prevent any risk to physical components during the initial learning phase. This allows the algorithm to learn and adapt without causing harm to actual hardware. - Incorporating safety constraints within the RL framework to ensure the actions taken by the algorithm do not lead to unsafe operating conditions. These constraints can be designed to limit voltage, current, and other critical parameters within safe ranges. - The trained model can be deployed gradually into the physical system. The system can be started with limited operational scenarios and progressively increase in complexity as it demonstrates a stable and safe response. By following these strategies, the safety of the training process can be effectively managed, ensuring reliable and secure deployment of the PPO-based RL method in practical applications. #### 7 Limitations While the proposed PPO-based reinforcement learning (RL) approach for DC-DC boost converter control shows significant promise, a few limitations should be noted. - The computational complexity of the proposed RL-based control method is slightly higher than that of traditional control methods. However, with the ongoing advancements in computational hardware, this limitation is becoming less significant. Future research can focus on optimizing the algorithm to reduce its computational requirements. - The performance of the proposed controller under varying operating conditions and disturbances needs further exploration. Although the current study shows positive results in controlled simulation environments, real-world conditions may present additional challenges. Future work can include extensive testing under diverse and unpredictable scenarios to enhance the algorithm’s robustness. - While this research is focused on DC-DC boost converters, the adaptability of the proposed PPO-based RL approach to other types of converters or applications has not been extensively tested. Future studies can extend this research to a broader range of applications to confirm the generalizability of the method. 18 By addressing these limitations in future research, the effectiveness and applicability of the proposed PPO-based RL approach can be further improved. Fig. 8 : Step response characteristics comparison (Condition I) #### 8 Summary and Outlook In this research, we introduced an effective control strategy for DC-DC boost converters based on proximal policy optimization (PPO), a reinforcement learning (RL) algorithm. Our approach addresses the limitations inherent in traditional control methods, of fering improved performance in controlling boost converters. To validate the effectiveness of our proposed method, we conducted a comparative analysis against conventional control techniques. The results showed that the RL-based control method performed more consistently than other methods when the inputs were fixed or changed, particularly in terms of step response characteristics. In contrast, the PI control methods, optimized using particle swarm optimization (PSO) and genetic algorithm (GA), exhibited comparable performance, while the ANN-based control system also maintained satisfactory results, highlighting the potential of artificial intelligence in converter control. Overall, our findings suggest that the PPO-based RL approach is the most effective among the evaluated methods, consistently delivering superior step response characteristics across varying input voltages. Despite some limitations, our approach shows significant promise. Future research should focus on addressing these limitations to further enhance the effectiveness and applicability of this RL-based control method in DC-DC boost converters. 19 20 21 Fig. 9 : Step response characteristics comparison (Condition II) #### References [1] Marx, D., Magne, P., Nahid-Mobarakeh, B., Pierfederici, S., Davat, B.: Large signal stability analysis tools in dc power systems with constant power loads and variable power loads—a review. IEEE Transactions on Power Electronics 27 (4), 1773–1787 (2011) [2] Singh, S., Rathore, N., Fulwani, D.: Mitigation of negative impedance instabilities in a dc/dc buck-boost converter with composite load. Journal of Power Electronics 16 (3), 1046–1055 (2016) [3] Khursheed, M., Mallick, M., Iqbal, A.: Tuning of controllers for a boost con verter used to interface battery source to bts load of a telecommunication site. In: Renewable Power for Sustainable Growth: Proceedings of International Conference on Renewal Power (ICRP 2020), pp. 415–426 (2021). Springer [4] Janabi, A., Wang, B.: Switched-capacitor voltage boost converter for electric and hybrid electric vehicle drives. IEEE Transactions on Power Electronics 35 (6), 5615–5624 (2019) [5] Kumar, K., Tiwari, R., Varaprasad, P.V., Babu, C., Reddy, K.J.: Performance evaluation of fuel cell fed electric vehicle system with reconfigured quadratic boost converter. International Journal of Hydrogen Energy 46 (11), 8167–8178 (2021) [6] Hasanpour, S., Siwakoti, Y.P., Mostaan, A., Blaabjerg, F.: New semiquadratic high step-up dc/dc converter for renewable energy applications. IEEE Transactions on Power Electronics 36 (1), 433–446 (2020) 22 [7] Alghaythi, M.L., O’Connell, R.M., Islam, N.E., Khan, M.M.S., Guerrero, J.M.: A high step-up interleaved dc-dc converter with voltage multiplier and coupled inductors for renewable energy systems. Ieee Access 8, 123165–123174 (2020) [8] Ounnas, D., Guiza, D., Soufi, Y., Dhaouadi, R., Bouden, A.: Design and implementation of a digital pid controller for dc–dc buck converter. In: 2019 1st International Conference on Sustainable Renewable Energy Systems and Applications (ICSRESA), pp. 1–4 (2019). IEEE [9] Arulselvi, S., Uma, G., Chidambaram, M.: Design of pid controller for boost converter with rhs zero. In: The 4th International Power Electronics and Motion Control Conference, 2004. IPEMC 2004., vol. 2, pp. 532–537 (2004). IEEE [10] Dhivya, B., Krishnan, V., Ramaprabha, R.: Neural network controller for boost converter. In: 2013 International Conference on Circuits, Power and Computing Technologies (ICCPCT), pp. 246–251 (2013). IEEE [11] Koduru, S.S., Machina, V.S.P., Madichetty, S.: Real-time implementation of deep learning technique in microcontroller-based dc-dc boost converter-a design approach. In: 2022 IEEE Delhi Section Conference (DELCON), pp. 1–6 (2022). IEEE [12] Kim, S.-K., Park, C.R., Kim, J.-S., Lee, Y.I.: A stabilizing model predictive con troller for voltage regulation of a dc/dc boost converter. IEEE Transactions on Control Systems Technology 22 (5), 2016–2023 (2014) [13] Ismail, N.N., Musirin, I., Baharom, R., Johari, D.: Fuzzy logic controller on dc/dc boost converter. In: 2010 IEEE International Conference on Power and Energy, pp. 661–666 (2010). IEEE [14] Bendaoud, K., Krit, S., Kabrane, M., Ouadani, H., Elaskri, M., Karimi, K., Elbousty, H., Elmaimouni, L.: Implementation of fuzzy logic controller (flc) for dcdc boost converter using matlab/simulink. Int. J. Sensors Sens. Networks, Spec. Issue Smart Cities Using a Wirel. Sens. Networks 5 (5-1), 1–5 (2017) [15] Guldemir, H.: Sliding mode control of dc-dc boost converter. Journal of Applied Sciences 5 (3), 588–592 (2005) [16] Aguilera, R.P., Acuna, P., Konstantinou, G., Vazquez, S., Leon, J.I.: Basic control principles in power electronics: Analog and digital control design. In: Control of Power Electronic Converters and Systems, pp. 31–68. Elsevier, ??? (2018) [17] Denai, M.A., Palis, F., Zeghbib, A.: Anfis based modelling and control of non linear systems: a tutorial. In: 2004 IEEE International Conference on Systems, Man and Cybernetics (IEEE Cat. No. 04CH37583), vol. 4, pp. 3433–3438 (2004). IEEE 23 [18] Saha, U., Shahria, S., Rashid, A.H.-U.: Intelligent control strategies for dc-dc boost converter: Performance analysis and optimization. In: 2023 International Conference on Smart Systems for Applications in Electrical Sciences (ICSSES), pp. 1–6 (2023). IEEE [19] Bose, B.K.: Artificial neural network applications in power electronics. In: IECON’01. 27th Annual Conference of the IEEE Industrial Electronics Society (Cat. No. 37243), vol. 3, pp. 1631–1638 (2001). IEEE [20] Zhao, S., Blaabjerg, F., Wang, H.: An overview of artificial intelligence appli cations for power electronics. IEEE Transactions on Power Electronics 36 (4), 4633–4658 (2020) [21] Wu, Z., Zhao, J., Zhang, J.: Cascade pid control of buck-boost-type dc/dc power converters. In: 2006 6th World Congress on Intelligent Control and Automation, vol. 2, pp. 8467–8471 (2006). IEEE [22] Mohamed, M.A., Guan, Q., Rashed, M.: Control of dc-dc converter for inter facing supercapcitors energy storage to dc micro grids. In: 2018 IEEE International Conference on Electrical Systems for Aircraft, Railway, Ship Propulsion and Road Vehicles & International Transportation Electrification Conference (ESARS-ITEC), pp. 1–8 (2018). IEEE [23] Sumita, R., Sato, T.: Pid control method using predicted output voltage for digitally controlled dc/dc converter. In: 2019 1st International Conference on Electrical, Control and Instrumentation Engineering (ICECIE), pp. 1–7 (2019). IEEE [24] Kobaku, T., Jeyasenthil, R., Sahoo, S., Ramchand, R., Dragicevic, T.: Quanti tative feedback design-based robust pid control of voltage mode controlled dc-dc boost converter. IEEE Transactions on Circuits and Systems II: Express Briefs 68 (1), 286–290 (2020) [25] Xu, Q., Yan, Y., Zhang, C., Dragicevic, T., Blaabjerg, F.: An offset-free composite model predictive control strategy for dc/dc buck converter feeding constant power loads. IEEE Transactions on Power Electronics 35 (5), 5331–5342 (2019) [26] Boutchich, N., Moufid, A., Bennis, N., El Hani, S.: A constrained mpc approach applied to buck dc-dc converter for greenhouse powered by photovoltaic source. In: 2020 International Conference on Electrical and Information Technologies (ICEIT), pp. 1–6 (2020). IEEE [27] Zhang, X., He, W., Zhang, Y.: An adaptive output feedback controller for boost converter. Electronics 11 (6), 905 (2022) [28] Fan, J., Li, S., Wang, J., Wang, Z.: A gpi based sliding mode control method for boost dc-dc converter. In: 2016 IEEE International Conference on Industrial 24 Technology (ICIT), pp. 1826–1831 (2016). IEEE [29] Louassaa, K., Chouder, A., Rus-Casas, C.: Robust nonsingular terminal sliding mode control of a buck converter feeding a constant power load. Electronics 12 (3), 728 (2023) [30] Singh, S., Fulwani, D., Kumar, V.: Robust sliding-mode control of dc/dc boost converter feeding a constant power load. IET Power Electronics 8 (7), 1230–1237 (2015) [31] Shen, X., Liu, J., Lin, H., Yin, Y., Alcaide, A.M., Leon, J.I.: Cascade control of grid-connected npc converters via sliding mode technique. IEEE Transactions on Energy Conversion 38 (3), 1491–1500 (2023) [32] Wu, L., Liu, J., Vazquez, S., Mazumder, S.K.: Sliding mode control in power converters and drives: A review. IEEE/CAA Journal of Automatica Sinica 9 (3), 392–406 (2021) [33] Liu, Z., Lin, X., Gao, Y., Xu, R., Wang, J., Wang, Y., Liu, J.: Fixed-time sliding mode control for dc/dc buck converters with mismatched uncertainties. IEEE Transactions on Circuits and Systems I: Regular Papers 70 (1), 472–480 (2022) [34] Mardani, M.M., Vafamand, N., Khooban, M.H., Dragiˇcevi´c, T., Blaabjerg, F.: Design of quadratic d-stable fuzzy controller for dc microgrids with multiple cpls. IEEE Transactions on Industrial Electronics 66 (6), 4805–4812 (2018) [35] Bastos, R.F., Aguiar, C.R., Gon¸calves, A.F., Machado, R.Q.: An intelligent con trol system used to improve energy production from alternative sources with dc/dc integration. IEEE Transactions on Smart Grid 5 (5), 2486–2495 (2014) [36] Gheisarnejad, M., Farsizadeh, H., Tavana, M.-R., Khooban, M.H.: A novel deep learning controller for dc–dc buck–boost converters in wireless power transfer feeding cpls. IEEE Transactions on Industrial Electronics 68 (7), 6379–6384 (2021) [37] Cui, C., Yan, N., Zhang, C.: An intelligent control strategy for buck dc dc converter via deep reinforcement learning. arXiv preprint arXiv:2008.04542 (2020) [38] Wu, C., Pan, W., Staa, R., Liu, J., Sun, G., Wu, L.: Deep reinforcement learning control approach to mitigating actuator attacks. Automatica 152, 110999 (2023) [39] Balta, G., G¨uler, N., Altin, N., et al.: Modified fast terminal sliding mode control for dc-dc buck power converter with switching frequency regulation. International Transactions on Electrical Energy Systems 2022 (2022) [40] Singh, S., Kumar, V., Fulwani, D.: Mitigation of destabilising effect of cpls in 25 island dc micro-grid using non-linear control. IET Power Electronics 10 (3), 387– 397 (2017) [41] Andalibi, M., Hajihosseini, M., Teymoori, S., Kargar, M., Gheisarnejad, M.: A time-varying deep reinforcement model predictive control for dc power converter systems. In: 2021 IEEE 12th International Symposium on Power Electronics for Distributed Generation Systems (PEDG), pp. 1–6 (2021). IEEE [42] Abel, D.: A theory of abstraction in reinforcement learning. arXiv preprint arXiv:2203.00397 (2022) [43] Cao, D., Hu, W., Zhao, J., Zhang, G., Zhang, B., Liu, Z., Chen, Z., Blaabjerg, F.: Reinforcement learning and its applications in modern power and energy systems: A review. Journal of modern power systems and clean energy 8 (6), 1029–1042 (2020) [44] Hajihosseini, M., Andalibi, M., Gheisarnejad, M., Farsizadeh, H., Khooban, M. H.: Dc/dc power converter control-based deep machine learning techniques: Realtime implementation. IEEE Transactions on Power Electronics 35 (10), 9971–9977 (2020) [45] Bu¸soniu, L., De Bruin, T., Toli´c, D., Kober, J., Palunko, I.: Reinforcement learn ing for control: Performance, stability, and deep approximators. Annual Reviews in Control 46, 8–28 (2018) [46] Prag, K., Woolway, M., Celik, T.: Data-driven model predictive control of dc-to-dc buck-boost converter. IEEE Access 9, 101902–101915 (2021) [47] Bououden, S., Hazil, O., Filali, S., Chadli, M.: Modelling and model predictive control of a dc-dc boost converter. In: 2014 15th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), pp. 643–648 (2014) [48] Schulman, J., Wolski, F., Dhariwal, P., Radford, A., Klimov, O.: Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347 (2017) [49] Liu, B., Cai, Q., Yang, Z., Wang, Z.: Neural proximal/trust region policy optimization attains globally optimal policy. arXiv preprint arXiv:1906.10306 (2019) [50] Juneja, M., Nagar, S.: Particle swarm optimization algorithm and its param eters: A review. In: 2016 International Conference on Control, Computing, Communication and Materials (ICCCCM), pp. 1–5 (2016). IEEE [51] Solihin, M.I., Tack, L.F., Kean, M.L.: Tuning of pid controller using particle swarm optimization (pso). In: Proceeding of the International Conference on Advanced Science, Engineering and Information Technology, vol. 1, pp. 458–461 26 (2011) [52] Meng, X., Song, B.: Fast genetic algorithms used for pid parameter optimization. In: 2007 IEEE International Conference on Automation and Logistics, pp. 2144– 2148 (2007). IEEE [53] Katoch, S., Chauhan, S.S., Kumar, V.: A review on genetic algorithm: past, present, and future. Multimedia tools and applications 80, 8091–8126 (2021) 27

섹션 본문 69문단 · 36,342자

(제목 없음)

1This article presents a proximal policy optimization (PPO) based reinforcement learning (RL) approach for DC-DC boost converter control, which is compared to traditional control methods.The performance of the PPO algorithm is evaluated using MATLAB Simulink co-simulation, and the results demonstrate that the most efficient approach for achieving short settling time and stability is to combine the PPO algorithm with reinforcement learning based control method.The simulation results indicate that the step response characteristics provided using the control method based on RL with the PPO algorithm outperform traditional control approaches, which can be used to improve DC-DC boost converter control.This research also highlights the inherent capability of the reinforcement learning method to enhance the performance of boost converter control.

Introduction

2The performance of power electronic systems, particularly boost converters, can be greatly improved by using proper control methods.The converter output voltage and current are regulated as part of these control schemes to provide the necessary power at the desired condition.Boost converters are widely utilised in a variety of industries, including telecommunications [1], electric vehicles [2], [3], and renewable energy systems [4], [5] where the main function is to step up the voltage level to fulfil the needed power demand at the specified condition.However, proper control circuit is essential for guaranteeing dependable performance, increasing efficiency, and extending system lifespan of the converter.Boost converters are controlled using several control techniques such as proportional integral derivative (PID) [6], [7], artificial neural network (ANN) [8], [9], model predictive control (MPC) [10], fuzzy logic [11], [12], adaptive neuro-fuzzy inference system (ANFIS) control, sliding mode control [13] etc.

3Traditional control techniques, such as PI control, have been widely used due to their simplicity and robustness.PI control works by comparing the output voltage or current with the reference value and adjusting the duty cycle of the converter switch accordingly.However, PI control is a linear control technique and may not always be optimal for improving the performance of nonlinear systems [14].Another popular control algorithm is the adaptive neuro-fuzzy inference system (ANFIS), which is described in [15], [16].ANFIS is a type of fuzzy logic control that uses a neural network to tune the fuzzy logic system parameters.ANFIS combines the benefits of fuzzy logic and neural networks to provide a more accurate and efficient control approach.Artificial neural networks (ANN) is another machine learning technique used in power electronics control [17], [18].ANN is a type of supervised learning that uses a back propagation algorithm to optimize the control policy.ANN has shown promising results in improving the control of various power electronic systems, including boost converters, but to get an accurate model, it requires more training time and a slower speed of learning.Fuzzy logic control is another control technique that uses linguistic rules to control nonlinear systems.It works by defining the input and output variables in linguistic terms and using a set of fuzzy rules to map the inputs to the outputs.But there are few issues with fuzzy logic controllers.Fuzzy control methods rely on human ability and understanding.Defining specific fuzzy sets or membership functions takes time and effort.

4A potential solution to address these issues is the implementation of an intelligent controller capable of interacting with the system and learning to effectively handle both normal and abruptly changing system dynamics.By adapting and acquiring knowledge through interaction with the system, such intelligent controller can improve the control performance in various operating conditions.Reinforcement learning can be a valuable approach for addressing these challenges in boost converter control.Reinforcement learning is a machine learning technique that has gained significant attention in the field of power electronics control.It has been extensively explored in recent studies [19], [20], [21].RL operates by learning an optimal control policy through iterative interaction with the environment.This approach has shown promising outcomes in improving the control of diverse nonlinear systems, including several power converters.RL is a model-free framework that is capable of solving optimum control problems.

5The controller in the general feedback control structure receives information about the condition of the system and responds correspondingly.Similarly, the decision rule used in reinforcement learning (RL) is a control law known as the policy [22].This policy governs the actions taken by the system based on state feedback.The state of the system is changed by the applied actuation, and when it does so, the transition to the updated state is assessed using a reward function.Increasing the cumulative reward from each initial state is the main objective of optimal control.The ultimate objective is to optimise the system's long-term performance because decision-making in this process is sequential.There are many reliable model-free RL methods.In this paper, a specific algorithm called proximal policy optimization (PPO) is implemented, which directly optimizes the policy parameters using observed data [22], [23].

6The issue of voltage instability caused by a constant power load (CPL) in DC microgrids (MGs) has been extensively investigated and documented in existing literature [24], [25].Over time, control techniques addressing this challenge have transitioned from model-based approaches to model-free methods.These techniques involve various controller systems, including traditional state feedback controllers, and more recently, the utilization of machine learning techniques.Popular power converter control strategies employed for buck-boost converters with constant power loads (CPLs) encompass state-feedback controllers [26], [27], proportional-integral-derivative (PID) control [28], [29], model predictive control (MPC) [30], [31], adaptive feedback controller [32] and sliding model control (SMC) [33], [34], [35].Recent research endeavors focusing on voltage regulation and stabilization employing intelligent controllers have explored various techniques.These include the utilization of a quadratic D-stable fuzzy controller [36], fuzzy-PID control [37], as well as machine learning and reinforcement learning approaches such as deep deterministic policy gradient (DDPG) [38], and deep reinforcement learning (DRL) methods like markov decision process (MDP) and deep Q network (DQN) algorithms [39].Additionally, a modified fast terminal sliding mode control (FTSMC) with a fixed switching frequency has been proposed to regulate the output voltage of DC-DC buck converters [40].

7In this paper, an approach for boost converter control is proposed based on proximal policy optimization (PPO), which is a state-of-the-art reinforcement learning (RL) algorithm renowned for its successful implementation in various control applications.The performance of the PPO-based control approach is compared with traditional control techniques, including optimized proportional-integral (PI) control and artificial neural network (ANN) control.The effectiveness of the proposed control approach in improving the performance of the boost converter control system is evaluated through simulations using the MATLAB Simulink solver.To evaluate the reliability of the control performance, simulations are performed under both fixed and varying input conditions.It is observed that, in both scenarios, the step response characteristics remained consistently similar and almost better than other two control methods.

Boost Converter Model

8The boost converter operates on the principle of complementary switching.It encompasses two complementary modes: the closed mode and the open mode.In the closed mode, energy is stored in the inductor while being released from the capacitor.Conversely, in the open mode, energy is released from the inductor while being stored in the capacitor.The operation of a boost converter relies on two fundamental principles, namely the energy balance principle and the charge balance principle, which ensure its ideal functioning.The circuit diagram of boost converter is shown in Fig. 1.The energy balance that the input energy equals to the output energy.

9The charge balance implies the input charge equal to output charge.

10⇒ I in × (1 − d) × T = I out × T Based on the charge balance and energy balance principles, the basic relationship between the input voltage and output voltage of boost converter is given by eqn. 3

11The averaging method is employed for the analysis and design of controllers in power electronics circuits.In order to utilize the averaging method for modeling purposes, the closed and open modal operations are represented as follows:

State Space Modelling

12Initially, the state space models are derived for the open mode and closed mode.Subsequently, these two modes are combined utilizing the averaging method to obtain the average state space model.Circuit diagram for closed mode conduction is shown in Fig. 2:

13The resulting dynamic state equations are given by:

14where, i L = i in = the current of inductor v c = v out = the voltage of the capacitor Let the state variable, x 1 = i L and x 2 = v c output equation, y = x 2 = v c Therefore, the state equation for closed mode state space can be written as:

15Therefore, the state space equations for open mode state space can be written as-

16The averaging method combines the state space models of the two modes to obtain: ẋ = Ax + Bu where,

Reinforcement Learning

17Reinforcement learning (RL) is a machine learning technique where an agent learns to make optimal decisions by continuously interacting with its environment and maximizing a reward signal.This approach takes inspiration from the learning mechanisms observed in humans and animals, involving a trial-and-error process to acquire and improve decision-making skills.RL is applied in various domains where making effective decisions under challenging conditions is crucial.

18In practical scenarios, an agent encounters situations where it needs to make decisions, Fig. 4: Diagram of proposed method and it relies on feedback from the environment in the form of rewards or penalties to adjust and refine those decisions.To optimize the long-term cumulative reward, the agent must acquire a policy, a set of rules or strategies, that guides its decision-making process.Importantly, the agent does not receive explicit instructions or guidance on how to achieve this objective; instead, it learns by actively engaging with the environment, gaining knowledge through repeated attempts and learning from both successful and unsuccessful outcomes.Reinforcement learning (RL) is a framework devoid of explicit models, capable of solving optimal control problems.The controller inside the general feedback control structure gets feedback in the form of state signals from the plant and acts accordingly.In RL, the decision rule is denoted as a policy, which operates based on state feedback control principles [22].The system's state is changed via actuation, and the subsequent transition to the new state is evaluated using a reward function.The goal of optimal control is to increase the total reward from each initial state.The purpose of this process, which involves sequential decision-making, is to optimise the system's long-term performance.Various robust model-free RL algorithms exist, and this paper focuses on a policy gradient method called proximal policy optimization (PPO) [22].PPO directly optimizes policy parameters using observed data.

19In this study, the environment corresponds to the DC-DC boost converter system.The action, a t taken by the agent involves generating the gate pulse that regulates the converter's operation as shown in Fig. 4. The data analyzer block continuously monitors important parameters such as the output voltage, v out error (deviation from the desired value), e(t) and the rate of change of error, e ′ (t).These monitored signals are processed as state, s t−1 and reward, r t−1 and provided to the RL agent, which is shown in Fig. 4. Using the analyzed state, s t−1 and reward information, r t−1 the RL agent makes informed decisions regarding the appropriate gate pulse to be applied.The agent leverages its learned policy to select an action, a t that is expected to optimize the cumulative reward over time.Through a trial-and-error process, the agent explores different gate pulse actions and learns from the feedback received through the reward signal.By repeatedly adjusting its actions based on the observed outcomes, the agent adapts its decision-making strategy, gradually improving its control performance in regulating the boost converter.

Proximal Policy Optimization

20The proximal policy optimization (PPO) algorithm is a model-free, online, or onpolicy reinforcement learning (RL) method.It updates the decision-making policy using small batches of experiences obtained from interacting with the environment.PPO keeps a balance between important factors like ease of implementation, tuning, sample complexity, and efficiency, while minimizing the deviation from the previous policy.It learns from online data and ensures low variance in training [23].The PPO algorithm follows an iterative process where it alternates between two key steps: sampling data by interacting with the environment, and optimizing a clipped surrogate objective function using stochastic gradient ascent [41].The algorithm ensures stability during agent training by utilizing the clipped surrogate objective function and constraining the magnitude of policy changes at each iteration [42].This approach helps to prevent drastic policy updates and contributes to smoother and more reliable training of the agent.

21PPO is commonly implemented using the actor-critic Model, which consists of two deep neural networks -one for action selection (actor) and the other for reward evaluation (critic).In reinforcement learning, the actor network is responsible for decision-making by selecting actions based on the current state of the environment.Its goal is to optimize a policy that maps states to actions effectively.On the other hand, the critic network evaluates the actions chosen by the actor network and provides feedback on the value of state-action pairs.This feedback helps the actor network refine and improve its policy.

22The objective of the actor-critic network is to optimize the surrogate objective function, L(θ) with the aim of maximizing performance.

23This function represents the expectation of the advantage function, where the advantage function is dependent on the estimated advantage A t , the policy parameters θ, and the probability ratio r t (θ).

24The probability ratio, r t (θ) in the context of the actor-critic network refers to the comparison between the likelihood of taking a specific action a t when in state s t at time t, based on the current policy parameters π θ , and the likelihood of taking the same action a t in the same state s t at time t, utilizing the past or previous policy parameters θ old from the previous epoch.During training, the PPO-based RL agent learns by sampling actions according to its updated policy.This policy starts with random actions to explore the state-action space and gradually becomes more focused on actions that result in higher rewards.The PPO agent determines the probabilities for each action in its set of possible actions.It randomly chooses an action using these probabilities.The agent updates its actor and critic properties using mini-batches of data over multiple training sessions while interacting with the environment.The objective of the PPO agent is to train the coefficients of the actor-critic neural networks to minimize the difference between the desired output V ref and the actual value V out .

25The general algorithmic structure of the PPO algorithm [21], [23] is as follows:

26The PPO algorithm follows a specific set of steps.Initially, the parameters of the actor-critic network are initialized.Next, a sequence of experiences is generated, consisting of state-action pairs and their corresponding reward values.For each time instance, the action-value function, Q π and advantage function, A π are calculated.

27The action-value function represents the expected return when starting from a particular state and taking a specific action according to the policy.It is computed as the sum of the expected rewards associated with the state-action pair.On the other hand, the value function estimates the expected return of being in a particular state and reflects its desirability.It is computed as the sum of the expected rewards given the state as shown in algorithm 1.The advantage function, A π captures the difference between the action-value function and the value function.It provides insights into the advantage or disadvantage of choosing a specific action in a given state.During the training process, the PPO algorithm learns from a set of mini-batch experiences over a specified number of epochs, denoted as K.The critic network's parameters are updated by minimizing the critic loss function, denoted as Lc, which aims to minimize the loss over the sampled mini-batch of experiences.

28On the other hand, the actor network's parameters are updated by repeating a series of steps until a terminating criterion is met.These steps involve maximizing a surrogate objective function that balances the exploration and exploitation tradeoff.The objective is to find the policy that maximizes the expected reward.The training process continues iteratively, with the critic and actor networks being updated based on their respective loss functions and objectives.This iterative process allows the PPO algorithm to progressively refine the actor-critic networks and improve the overall decision-making capabilities.The training continues until a specific termination criterion, such as reaching a maximum number of iterations or achieving a desired level of performance, is met.At this point, the PPO algorithm concludes its training process.

Algorithm 1: Proximal Policy Optimization Algorithm

29Initialize the parameter of actor-critic network while termination criteria is not satisfied do

30Step 1: Generate N experiences s t1 , a t1 , r t1 , s t2 , a t2 , r t2 ... s tn , a tn , r tn ; Step 2: Calculate action-value function and advantage function at each time step t,

31The critic network's parameters are updated by:

322. The actor network's parameters are updated by:

33end end

PI Control

34The proportional integral (PI) controller is a feedback control loop that computes an error signal by determining the disparity between the system's output and a reference or desired value.This algorithm continuously monitors the output voltage and adjusts the duty cycle of the converter to maintain the desired output voltage level.In simpler terms, it keeps a close eye on the output voltage and makes necessary changes to ensure it stays at the right level.

35The PI controller employs a feedback control loop mechanism to mitigate the impact of disturbances in a system, guide the system towards a desired state, and establish clear relationships between system variables.It takes the error at a specific time, e(t), as its input, which indicates the disparity between the measured and reference values.The PI controller generates an output termed as "actuation", a(t), which specifies the action to be taken for the considered plant or system.The actuation, a(t), is calculated as the sum of two components: the proportional gain (k p ) multiplied by the magnitude of the error, and the integral gain (k i ) multiplied by the integral of the Fig. 5: Boost converter with PI control error over time as shown in Fig. 5.The action, a(t) can be written as,

36The PI controller generates a control signal, a(t) at time t by summing the proportional (P) and integral (I) terms.The control signal exhibits a proportional increase in response to the error, aiming to reduce the steady-state error.This error correction is based on the current steady-state error.The proportional gain (k p ) alone can lead to oscillations due to quick reactions.To address this, the integral gain (k i ) contributes to the control signal based on accumulating past steady-state errors, helping to reduce steady-state errors over time.

Particle Swarm Optimization

37The particle swarm optimization (PSO) algorithm is an optimization algorithm inspired by swarm behaviour observed in nature, such as fish schooling and bird flocking [43], [44].Introduced in 1995, particle swarm optimization (PSO) has evolved to enhance it's performance.PSO uses particles to iteratively adapt flight based on personal and social experiences..The best previous position (p best ) for each particle and the best position among all particles (g best ) are tracked.The particles are updated based on equations that involve velocity and position adjustments.These updates consider the particle's previous velocity, its distances from its best experience and the group's best experience.The algorithm's performance is measured using a predefined fitness function which is mean absolute error (MAE) used in this work.An inertia weight, introduced to balance global and local search capabilities, is incorporated into the equations.The velocity of each particle at time t, denoted as v i , is calculated according to equations (11) and position x i is calculated using (12).As a result, the particles are updated based on these equations.

38x

39In equation (11), the particle's new velocity is calculated based on its previous velocity, the distances between its current position and its own best experience, and the group's best experience.This update guides the particle to fly towards a new position, as described in equation (12).The performance of each particle is evaluated using mean absolute error (MAE).The inertia weight, denoted as w is introduced to balance the trade-off between global and local search capabilities.It can be a positive constant or a time-dependent function, allowing for adjustments during the optimization process.The primary goal of employing the Particle Swarm Optimization (PSO) algorithm in this context is to obtain the optimized values of k p and k i .These control parameters are crucial for the effective regulation and control of the boost converter.By leveraging PSO, we aim to determine the optimal values of k p and k i that will enable the PI controller to achieve efficient and accurate control over the boost converter system.The implementation begins by defining the objective function as the mean absolute error (MAE), which serves as a performance metric for evaluating solution quality.The problem dimension is specified as having two variables (k p and k i ).Lower bounds and upper bounds are set to constrain the search space.The particle swarm optimization (PSO) algorithm is implemented using the particleswarm function in MATLAB, incorporating parameters such as swarm size, maximum iterations, display options, and plot function.The PSO algorithm is executed by invoking the particleswarm function with the objective function, number of variables, lower and upper bounds, and the designated options.Finally, the optimized values of the variables are assigned to specific parameters (k p and k i ).

Genetic Algorithm

40genetic algorithm (GA) is an optimization method inspired by natural selection and genetics [45], [46].GA uses parallel and random search to find high-performing solutions.It employs reproduction, crossover, and mutation operators for optimization.GA is effective for complex non-linear and non-convex problems.

41The flowchart of the genetic algorithm (GA) is illustrated in Fig. 6.The fitness function employed in this algorithm is the mean absolute error (MAE).The MAE serves as a quantitative measure to evaluate the quality or fitness of each potential solution generated by the GA.The GA commences by initializing a population of potential solutions.Following the initialization step, the GA progresses through iterative generations, aiming to improve the quality of the solutions.The iterative process of generation, selection, crossover, and mutation continues until a termination criterion is met.

42The methodology employed in this study utilizes the genetic algorithm (GA) to optimize the values of two control parameters, namely k p and k i , that are vital for regulating a dc-dc boost converter.The GA is implemented using the ga function in Fig. 6: Flowchart of Genetic Algorithm MATLAB with carefully chosen parameters and constraints.The objective function, mean absolute error (MAE) is employed as a measure of fitness to guide the optimization process.The GA is configured by specifying the population size, maximum number of generations, display options, and a plot function using the optimoptions function.To initiate the optimization process, the ga function is invoked, providing the objective function, number of variables, lower and upper bounds for the variables.The resulting optimized solution obtained represents the values of k p and k i .

ANN Control

43A DC-DC boost converter equipped with artificial neural network (ANN) control is a power converter that raises the voltage of a DC input source using an advanced control technique based on neural network technology.The ANN control method emulates the behavior of a human neural network, allowing the converter to adapt and improve its performance in real-time.To ensure optimal operation, the ANN control algorithm continually monitors both the input of the converter and the desired output, adjusting its control signals accordingly, as illustrated in Fig. 7.In the process of developing an artificial neural network (ANN) model, a significant amount of data of (100000 data samples), is generated using the MATLAB editor, forming the dataset.The dataset consists of data samples that include input voltage and output voltage, which serve as the input features for the ANN model.For training purpose 80% data is used and rest of the data (20%) is used for testing purpose.Subsequently, the neural network is constructed and trained using MATLAB's graphical user interfaces (GUIs) specifically designed for NN applications.These GUIs facilitate the creation and training of the Neural Network after the dataset has been established within the MATLAB workspace.Enhancing the performance of the neural network (NN) model involves fine-tuning the training parameters.The specifications of the NN model are presented in TABLE 1. Once the NN model is trained, it is exported to the MATLAB workspace and subsequently transformed into a Simulink block.This Simulink block governs the duty cycle of the boost converter, exerting control over its operation.

Experiment

44The design specification of DC-DC boost converter used in this work is shown in Table 2.In this paper, three control methods are evaluated namely optimized PI, ANN and RL.Two experiments are conducted to examine the controller's performance under different conditions.In the first case, the input voltage is held constant at 24 volts.In the second case, the input voltage is varied between 24 volts and 26 volts to assess the controller's ability to handle varying input behavior.To introduce the input variation, a step change is applied at 0.5 seconds.

45The RL agent maintains consistent performance across three different reference voltage cases: 48V, 54V, and 60V.The simulation duration is set to 1 seconds, with a sample time of 0.0002 seconds.The specific parameters of the PPO algorithm and the actor-critic networks used in the experiments can be found in Table 3.These parameters governed the training and operation of the RL agent in regulating the Fig. 7: Boost converter with ANN control boost converter.The error value at each sample time (t) in the PPO implementation is defined as the difference between the reference voltage value (V ref ) and the output voltage (V out ).

46To construct the state vector (s t ) at each sample time step, the PPO agent calculates the output voltage (V out ), the error value (e t ), and the rate of change of the error (e ′ t ).During the training of the RL agent, a fixed number of sample steps are used unless the termination criterion is met.If the output voltage exceeds the upper limit (V up ) or greater than V ref and then crossing the lower limit (V low ), the training for that episode is terminated.This logic can be considered as a limiting mechanism that help to reach and stay at desired voltage level.At each sample time step (t) during training, the RL agent takes the state, (s t−1 ) and the reward value, (r t−1 ) as inputs to generate the next action, a t as shown in Fig. 4. The reward function, specified in algorithm 2, determines the reward value based on the current state and desired outcomes, guiding the agent's learning process.

Experimental result

47In this work the PI control parameters (k p and k i ) as optimized using PSO and GA algorithm.The design parameters of PI controller after optimizations are shown in Table 4.

48In the case of a fixed input voltage, three control methods, namely RL, ANN, and optimized PI, are evaluated and compared.The evaluation focuses on key performance metrics obtained from analyzing the step response characteristics of the system.These metrics included parameters such as rise time, settling time, overshoot, and undershoot.By observing and analyzing the step response characteristics, important insights are gained into the dynamic behavior and performance of each control method.The rise time, which measures the time taken for the system's output to reach a specified percentage of its final value, provides information about the speed of response.The settling time, representing the time required for the system's output to stabilize within a specified tolerance band around the desired value, indicates the system's ability to achieve steady-state operation.Overshoot and undershoot, on the other hand, provides insights into the presence and magnitude of any oscillatory behavior or deviation from the desired response.By considering these evaluation metrics, a comprehensive understanding of the strengths and weaknesses of each control method is obtained, enabling informed comparisons and the identification of the most effective approach for regulating the boost converter under fixed input voltage conditions.Algorithm 2: Reward calculation

49abs(e(t)) ; end end When the input voltage remains constant, the optimized PI controller consistently achieves the shortest settling time compared to other control methods.Interestingly, for the PI controller, the settling time decreases as the desired voltage increases as shown in Fig. 8.

50The quantitative information of the settling time for different control methods under fixed input voltage conditions is presented in Table 5.The optimized PI controller consistently exhibited the shortest settling time across various scenarios, with the settling time decreasing as the desired voltage increased.This trend indicates the controller's ability to achieve faster stabilization as the system becomes more aggressive in its response.This behavior can be attributed to the inherent dynamics and characteristics of the system being controlled.This could be due to the system becoming more responsive and active as the desired voltage increased.

51However, it's important to note that this behavior may not be the same in all cases and can depend on the system's characteristics and control parameters chosen.Different trends are observed when using RL and ANN control methods as depicted in Fig. 8.Among the RL and ANN control methods, the boost converter with RL control performed the better in terms of settling time which is quite evident in Table .This is because RL has unique learning and decision-making abilities that allow it to adapt and optimize the control policy according to the specific needs and dynamics of the boost converter system.When the input voltage is varied, the step response characteristics of the system are observed to remain relatively consistent for both ANN control and RL control methods depicted in Fig. 9.This implies that these methods are capable of adapting to the varying input voltage and maintaining stable step response characteristics.However, in the case of PI control, an undesired voltage wave shapes are evident in Fig. 9.The step response characteristics are significantly degraded, indicating that the PI control method struggled to handle the input voltage variation effectively.Quantitatively comparing the performance of these control methods, RL control emerged as the superior method as depicted in Tables 9 and 10.It exhibited the ability to seamlessly handle the input voltage variation and maintain step response characteristics similar to those observed under fixed input voltage conditions.This quality positions RL control as the best control method among the three in terms of adapting to varying input voltage and preserving stable step response characteristics.The RL control method's success can be attributed to its capacity to learn and optimize the control policy based on the specific dynamics and requirements of the boost converter system.This adaptability allows RL control to consistently deliver reliable and robust performance, even in the presence of changing input voltage conditions.

Discussion

52The struggle of the PI control method in handling the varying input voltage can be attributed to its inherent limitations and design characteristics.PI control relies on a fixed set of proportional and integral gains to regulate the system's output.When the input voltage varies, the system dynamics change, and the fixed gains may no longer be optimal for achieving desired performance.The PI control method lacks the adaptability and flexibility to effectively adjust its parameters in response to changing conditions.As a result, it struggles to accurately track the desired output and maintain stable step response characteristics when the input voltage varies.The undesired voltage waveshape observed in the step response is a clear indication of this struggle.

53In contrast, RL control and ANN control methods have the advantage of learning and adapting their control policies based on the observed system behavior.This allows them to dynamically adjust their actions and responses, leading to improved performance and the ability to handle input voltage variations more effectively.

54Overall, the limitations of fixed gains and lack of adaptability make the PI control method less suited for applications where the input voltage can vary.Alternative control methods that offer more flexibility and adaptive capabilities, such as RL and ANN control, are better equipped to handle such dynamic scenarios.

Conclusion

55In summary, the comparative analysis revealed that the reinforcement learning (RL) control method almost outperforms than other methods in fixed and variable input Noticeably, PI control method with particle swarm optimization (PSO) and genetic algorithm (GA) optimization exhibited similar performance in both cases.In case of ANN control the system maintains an adequate performance, showing the significance of artificial intelligence in converter control systems.Overall, the RL control method emerged as the preferred choice among the boost converter controllers, as it maintained consistent and better step response characteristics in both fixed and varying input voltage cases.These findings underscore the significance of selecting the appropriate control method and optimizing the controllers for achieving optimal control system performance.

Fig. 1 :

56Fig. 1: Circuit Diagram of DC-DC Boost Converter

Fig. 3 :

57Fig. 3: Off Mode

Fig. 8 :

58Fig. 8: Output voltage using different control methods (Fixed Input)

Fig. 9 :

59Fig. 9: Output voltage using different control methods (Varying Input)

Table 1 :

60Neural Network Specification

Table 2 :

61Boost Converter Design Specification

Table 3 :

62PPO parameters for the DC-to-DC Boost converter.

Table 4 :

63Values of PI control parameters after Optimization

Table 5 :

64Step response characteristics using PI control (Fixed Input)

Table 6 :

65Step response characteristics of ANN control method

Table 7 :

66Step response characteristics of RL control method

Table 8 :

67Step response characteristics of ANN control method (Variable Input)

Table 9 :

68Step response characteristics of RL control method (Variable Input)

Table 10 :

69Step response characteristics using PI control (Variable Input)

참고문헌 50건

  1. Tuning of PID Controller Using Particle Swarm Optimization (PSO) International Journal on Advanced Science Engineering and Information Technology · Insight Society · 2011 10.18517/ijaseit.1.4.93
  2. Design of PID controller for boost converter with RHS zero International Power Electronics and Motion Control Conference · 2004
  3. A Stabilizing Model Predictive Controller for Voltage Regulation of a DC/DC Boost Converter IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcst.2013.2296508
  4. An Intelligent Control System Used to Improve Energy Production From Alternative Sources With DC/DC Integration IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2014 10.1109/tsg.2014.2309491
  5. Sliding Mode Control of Dc-Dc Boost Converter Journal of Applied Sciences · Multidisciplinary Digital Publishing Institute · 2005 10.3923/jas.2005.588.592
  6. Robust sliding‐mode control of dc/dc boost converter feeding a constant power load IET Power Electronics · Institution of Engineering and Technology · 2015 10.1049/iet-pel.2014.0534
  7. Large Signal Stability Analysis Tools in DC Power Systems With Constant Power Loads and Variable Power Loads—A Review IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tpel.2011.2170202
  8. Cascade PID Control of Buck-Boost-Type DC/DC Power Converters 2006 10.1109/wcica.2006.1713630
  9. Artificial neural network applications in power electronics 2002 10.1109/iecon.2001.975533
  10. ANFIS based modelling and control of non-linear systems: a tutorial 2005 10.1109/icsmc.2004.1400873
  11. Mitigation of Negative Impedance Instabilities in a DC/DC Buck-Boost Converter with Composite Load Journal of Power Electronics · Springer Science+Business Media · 2016 10.6113/jpe.2016.16.3.1046
  12. Mitigation of destabilising effect of CPLs in island DC micro‐grid using non‐linear control IET Power Electronics · Institution of Engineering and Technology · 2016 10.1049/iet-pel.2015.0520
  13. Diagnosing Non-Intermittent Anomalies in Reinforcement Learning Policy Executions (Short Paper) arXiv (Cornell University) · Cornell University · 2017 10.4230/oasics.dx.2024.16
  14. Design of Quadratic D-Stable Fuzzy Controller for DC Microgrids With Multiple CPLs IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2851971
  15. Reinforcement learning for control: Performance, stability, and deep approximators Annual Reviews in Control · Elsevier BV · 2018 10.1016/j.arcontrol.2018.09.005
  16. An Offset-Free Composite Model Predictive Control Strategy for DC/DC Buck Converter Feeding Constant Power Loads IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpel.2019.2941714
  17. Switched-Capacitor Voltage Boost Converter for Electric and Hybrid Electric Vehicle Drives IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpel.2019.2949574
  18. Hardware Implementation of Digital PID Controller for DC–DC Boost Converter 2019 10.1109/icpea1.2019.8911129
  19. DC/DC Power Converter Control-Based Deep Machine Learning Techniques: Real-Time Implementation IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpel.2020.2977765
  20. Quantitative Feedback Design-Based Robust PID Control of Voltage Mode Controlled DC-DC Boost Converter IEEE Transactions on Circuits & Systems II Express Briefs · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcsii.2020.2988319
  21. A Novel Deep Learning Controller for DC–DC Buck–Boost Converters in Wireless Power Transfer Feeding CPLs IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tie.2020.2994866
  22. An Overview of Artificial Intelligence Applications for Power Electronics IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpel.2020.3024914
  23. New Semiquadratic High Step-Up DC/DC Converter for Renewable Energy Applications IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tpel.2020.2999402
  24. A High Step-Up Interleaved DC-DC Converter With Voltage Multiplier and Coupled Inductors for Renewable Energy Systems IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3007137
  25. An Intelligent Control Strategy for buck DC-DC Converter via Deep Reinforcement Learning arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2008.04542
  26. A review on genetic algorithm: past, present, and future Multimedia Tools and Applications · Springer Science+Business Media · 2020 10.1007/s11042-020-10139-6
  27. Reinforcement Learning and Its Applications in Modern Power and Energy Systems: A Review Journal of Modern Power Systems and Clean Energy · Springer Nature · 2020 10.35833/mpce.2020.000552
  28. Performance evaluation of fuel cell fed electric vehicle system with reconfigured quadratic boost converter International Journal of Hydrogen Energy · Elsevier BV · 2020 10.1016/j.ijhydene.2020.11.272
  29. Neural proximal/trust region policy optimization attains globally optimal policy neural information processing systems · 2019
  30. Data-Driven Model Predictive Control of DC-to-DC Buck-Boost Converter IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3098169
  31. Sliding Mode Control in Power Converters and Drives: A Review IEEE/CAA Journal of Automatica Sinica · Institute of Electrical and Electronics Engineers · 2021 10.1109/jas.2021.1004380
  32. An Adaptive Output Feedback Controller for Boost Converter Electronics · Multidisciplinary Digital Publishing Institute · 2022 10.3390/electronics11060905
  33. 2022 IEEE Delhi Section Conference (DELCON) 2022 IEEE Delhi Section Conference (DELCON) · 2022 10.1109/delcon54057.2022
  34. A Theory of Abstraction in Reinforcement Learning arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2203.00397
  35. 2019 4th International Conference on Power Electronics and their Applications (ICPEA) 2019 10.1109/icpea47644.2019
  36. 2008 IEEE International Conference on Automation and Logistics 2008 10.1109/ical14380.2008
  37. 2020 International Conference on Electrical and Information Technologies (ICEIT) 2020 10.1109/iceit48248.2020
  38. 2019 1st International Conference on Electrical, Control and Instrumentation Engineering (ICECIE) 2019 10.1109/icecie47765.2019
  39. Control of Power Electronic Converters and Systems Elsevier eBooks · Elsevier BV · 2018 10.1016/c2017-0-04756-0
  40. 2014 International Conference on Circuits, Power and Computing Technologies [ICCPCT-2014] 2014 10.1109/iccpct32810.2014
  41. 2016 International Conference on Control, Computing, Communication and Materials (ICCCCM) 2016 10.1109/iccccm39191.2016
  42. 2017 IEEE International Conference on Industrial Technology (ICIT) 2022 IEEE International Conference on Industrial Technology (ICIT) · 2017 10.1109/icit39372.2017
  43. 2010 IEEE International Conference on Power and Energy 2010 10.1109/pecon17546.2010
  44. Modified Fast Terminal Sliding Mode Control for DC-DC Buck Power Converter with Switching Frequency Regulation International Transactions on Electrical Energy Systems · Wiley · 2022 10.1155/2022/5076611
  45. 2022 IEEE 13th International Symposium on Power Electronics for Distributed Generation Systems (PEDG) 2022 IEEE 13th International Symposium on Power Electronics for Distributed Generation Systems (PEDG) · 2022 10.1109/pedg54999.2022
  46. Fixed-Time Sliding Mode Control for DC/DC Buck Converters With Mismatched Uncertainties IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2022 10.1109/tcsi.2022.3217612
  47. Robust Nonsingular Terminal Sliding Mode Control of a Buck Converter Feeding a Constant Power Load Electronics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/electronics12030728
  48. Cascade Control of Grid-Connected NPC Converters via Sliding Mode Technique IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2023 10.1109/tec.2023.3247432
  49. Deep reinforcement learning control approach to mitigating actuator attacks Automatica · Elsevier BV · 2023 10.1016/j.automatica.2023.110999
  50. 2023 International Conference on Smart Systems for applications in Electrical Sciences (ICSSES) 2023 10.1109/icsses58299.2023