Next Article in Journal
Magnetic Gear Wireless Power Transfer System: Prototype and Electric Vehicle Charging
Previous Article in Journal
A Coordinated Frequency Regulation Strategy Integrating Power Generation, Energy Storage, and DC Transmission for Offshore Wind Power MMC-HVDC Transmission Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Coordinated Frequency Control for Electric Vehicles and a Thermal Power Unit via an Improved Recurrent Neural Network

School of Control and Computer Engineering, North China Electric Power University, Beijing 102206, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(3), 533; https://doi.org/10.3390/en18030533
Submission received: 19 December 2024 / Revised: 18 January 2025 / Accepted: 22 January 2025 / Published: 24 January 2025
(This article belongs to the Section E: Electric Vehicles)

Abstract

:
With the advancement of intelligent power generation and consumption technologies, an increasing number of renewable energy sources (RESs), smart loads, and electric vehicles (EVs) are being integrated into smart grids. This paper proposes a coordinated frequency control strategy for hybrid power systems with RESs, smart loads, EVs, and a thermal power unit (TPU), in which EVs and the TPU participate in short-term frequency regulation (FR) jointly. All EVs provide FR auxiliary services as controllable loads; specifically, the EV aggregations operate in charging mode when participating in FR. The proposed coordinated frequency control strategy is implemented by an improved recurrent neural network (IRNN), which combines a recurrent neural network with a functional-link layer. The weights and biases of the IRNN are trained by an improved backpropagation through time (BPTT) algorithm, in which a chaotic competitive swarm optimizer (CCSO) is proposed to optimize the learning rates. Finally, the simulation results verify the superiority of the coordinated frequency control strategy.

1. Introduction

To achieve the goals of “carbon peak” and “carbon neutralization”, the share of RESs such as wind and solar power in power systems will continue to rise, and it is possible to completely replace traditional generators [1]. However, the volatility, uncertainty, intermittency, and limited inertia capability of RESs introduce inevitable concerns over the frequency stability of the power system [2,3] and hence impose challenges on frequency regulation. When a disturbance occurs, such as a sudden loss of generation or a rapid increase in load, the balance between supply and demand is disrupted, causing the grid frequency to deviate from its nominal value [4]. This frequency variation could have a series of adverse effects and potentially damage the stability and security of power grids if not effectively addressed in a timely manner [5]. Therefore, effective short-term frequency regulation is crucial for the reliable operation of power systems in the face of growing renewable energy penetration.
As an important subset of demand-side response, electric vehicles (EVs) are becoming one of the key policy choices to achieve decarbonization in the transport sector. Moreover, given their vehicle-to-grid (V2G) capability and rapid response characteristics, EVs are advised to engage in frequency regulation [6]. V2G technology employs an appropriate grid-connected converter control algorithm, which can fully or partially simulate the frequency control characteristics of a synchronous motor based on the distributed power supply of a grid-connected converter [7]. Several studies have investigated frequency regulation using V2G technology [8,9,10,11]. For instance, the authors in [8] developed a sectional droop charging control strategy for EV aggregators to maintain frequency stability within a microgrid with high penetration of RESs. In another study [9], the authors took into account the charging requirements of EV users and proposed a novel frequency control strategy that can provide virtual inertia, damping, and frequency support, thereby enhancing the frequency stability of the microgrid. Additionally, a hierarchical control strategy was suggested, consisting of a fuzzy rule-based controller, a two-degree-of-freedom fractional-order PI controller, and a proportional resonant controller, which was further analyzed for its impact on stability when EVs participate in frequency regulation [10]. Another study [11] presented an adaptive primary frequency support strategy for EV clusters considering the operational constraints defined by their charging behavior.
Recent studies have increasingly explored the coordinated control of EVs with various frequency regulation resources, including thermal power [12,13], hydropower [14,15], photovoltaics [16], and so on, yielding significant improvements in performance. Notably, building on the fast response capabilities and flexible charging–discharging patterns of EVs in frequency regulation, integrating EVs with traditional TPUs presents a promising approach to enhance grid stability and efficiency. While TPUs have traditionally been the backbone of power systems due to their reliable and consistent generation, their slower response to frequency fluctuations becomes a limitation, particularly as the grid incorporates more RESs that introduce variability and uncertainty. By coordinated frequency control between EVs and TPUs, the slower dynamics of TPUs are complemented, resulting in a more responsive and adaptive frequency regulation strategy. The coordinated frequency control proposed in [12] considered time-varying delays, introducing an improved robust stability criterion to estimate the asymptotic stability for a hybrid power system. In [13], EVs were utilized to assist power plants in swiftly damping oscillations in system frequency following load demand changes in two-area thermal and hydrothermal power systems.
The aforementioned coordinated frequency control approaches not only enhance the overall stability of the power system but also improve the efficiency of thermal power plants by reducing the need for frequent and rapid adjustments to their output. Unfortunately, they often rely heavily on accurate mathematical models of the system, which can be difficult to obtain, especially in complex or highly nonlinear environments. Moreover, these model-based approaches may struggle to adapt to dynamic changes or uncertainties within the system. These limitations highlight the need for more flexible and adaptive control strategies. Deep learning, with its ability to learn directly from data without requiring an explicit model, provides a powerful alternative that can handle complex, nonlinear systems and adapt to changing conditions in real time [17]. The approaches and concepts of deep learning in control are reviewed in [18,19]. Deep learning has been successfully applied across various fields, including chemical engineering [20], semiconductor manufacturing [21], renewable energy generation [22,23], networked systems [24], and nuclear reactor technology [25]. RNNs, in particular, have been recognized for their ability to generate optimal control signals through online learning processes, making RNN-based control schemes increasingly prominent in recent research [26]. Therefore, this paper adopts an improved RNN as a controller to manage the participation of EV aggregators in frequency regulation.
During the operation of power systems incorporating RESs, the system is subjected to non-Gaussian disturbances caused by wind speed and solar irradiance [27], which the objective functions employed in existing deep learning control strategies struggle to address effectively. Meanwhile, recent advancements in information theoretic learning techniques have introduced a variety of statistical indices, including entropy, correntropy, higher-order moments, and survival information potential (SIP), which have been applied to system identification, filtering, and control in non-Gaussian environments [28]. Among these, SIP, defined using the survival function, has been shown to surpass the commonly used minimum error entropy criterion in managing non-Gaussian disturbances [29]. Its ease of estimation and resistance to translation invariance make it particularly effective for complex and dynamic systems.
Furthermore, the selection of hyperparameters significantly affects the performance and effectiveness of neural networks. In recent years, swarm intelligence algorithms have gained popularity for optimizing network parameters due to their simplicity and extensive search capabilities [30]. For example, an improved whale optimization algorithm has been proposed to optimize bi-directional long short-term memory networks [31], and the sparrow search algorithm has been used to optimize the hyperparameters of fast learning networks [32]. The competitive swarm optimizer (CSO), first introduced by Cheng et al. in 2015 [33], has demonstrated notable strengths in exploration, exploitation, avoiding local optima, and enhancing convergence performance. However, there remains room for improvement in the quality of the initial population.
Inspired by the above research, this paper proposes an IRNN-based control method for EVs and thermal power units participating in frequency regulation jointly. The main contributions include the following:
(1)
To reduce computational complexity, which refers to the challenge of modelling thousands of EVs, an aggregate model of EVs is formulated using the averaging method. In this approach, all EVs operate exclusively in charging mode, which avoids additional stress on the EV batteries compared to V2G operations. The power controllability of all EV aggregators is further defined.
(2)
The coordinated controller is designed based on a functional-link recurrent neural network (FLRNN) to enhance frequency regulation by adaptively managing the power output of TPUs and the charging power of EVs. The weights and biases of the FLRNN are trained by an improved BPTT algorithm, with a chaotic competitive swarm optimizer (CCSO) employed to optimize the learning rates.
(3)
The non-Gaussian characteristics of renewable energy sources are taken into account. To this end, this paper introduces the concept of survival information potential (SIP) as a performance metric for training the weights and biases of FLRNN.
The rest of this paper is as follows: in Section 2, an EV aggregator charging control framework is proposed. Then, Section 3 introduces the model of EV aggregators and thermal power units. Next, the coordinated frequency control strategy for EV aggregators and TPU is displayed in Section 4. Section 5 presents the simulation results and analysis, which are implemented using MATLAB/Simulink 2024B. Finally, Section 6 summarizes this paper.

2. EV Aggregator Charging Control Framework

The EV-integrated hybrid power system studied is depicted in Figure 1, encompassing RESs such as PV arrays and wind turbines, thermal power units, EVs, loads, and various electrical components. Wind and solar energy would contribute to stochastic power generation. A substantial number of EVs are connected in the form of EV aggregators.
Considering the charging requirement of EVs participating in frequency regulation, this study adopts a charge management system of EV aggregators proposed in [8]. When EVs are required for frequency regulation, EV owners can opt to charge in either managed charging mode or unmanaged charging mode. In managed mode, the EV charging power can be adjusted across a theoretical range extending from zero up to the rated charging power. EVs in unmanaged mode are charged at the rated charging power until the expected SOC is reached.
To balance the charging power demand of EVs and satisfaction of the EV owners, EVs will charge at two different power levels:
(1)
Charging at the rated power: applies to EVs operating in unmanaged mode or EVs operating in managed mode but having insufficient remaining time.
(2)
Charging at power levels below the rated power: applies to EVs in managed mode with sufficient remaining time, enabling these normally managed EVs to engage in frequency regulation.
Under this strategy, the EV battery will always operate in the charging state without damaging the battery life. Therefore, encouraged by the charging price policy, EV owners are more inclined to choose the managed charging mode.
It is assumed that the SOC states of EVs do not change in a short time. Thus, the minimum charging power and maximum charging power of all aggregators can be obtained as follows [8]:
P m i n = i = 1 N ( r i = 1 R i P r a t e , r i + m i = 1 M i P r a t e , m i )
P m a x = i = 1 N q i = 1 Q i P r a t e , q i
where R i is the quantity of EVs operating in unmanaged mode in the i t h   aggregator; M i stands for the quantity of EVs operating in managed mode but having insufficient remaining time in the i t h   aggregator; Q i represents the total of the charging EV in the i t h   aggregator, with i = 1 ,   2 N ; and P r a t e is the rated power of EVs.

3. Modelling of Hybrid Power System

3.1. Equivalent Model of EV Battery

The modelling of battery technology in EVs is fundamental and crucial for researching the involvement of electric vehicles in frequency regulation. General battery models encompass electrochemical, mathematical, and equivalent circuit models [9]. Among these, the equivalent circuit model is used in this paper due to its intuitive nature, allowing for the precise simulation of battery charging characteristics. Figure 2 depicts an equivalent battery model for EVs. This model captures the battery’s dynamic behavior and internal energy losses, enabling its effective use in simulations of EV systems.
In Figure 2, U b and U c are the terminal voltage and open-circuit voltage of the EV battery, respectively. R ,   R 1 , and R 2 represent the self-discharge resistance, over-voltage resistance, and inner-circuit resistance, respectively. C 1 denotes the over-voltage capacitance, which reflects the transient process of the battery, and C stand for the equivalent capacitance of the EV battery. The dynamic equation of an EV battery is shown as follows:
C d U c d t = I b U c R C 1 d U c 1 d t = I b U c 1 R 1
To simplify the calculations, converter and transformer losses are ignored, allowing the battery’s output power to be calculated using the following:
P E V = U b I b
This leads to the following equation:
Δ P E V = Δ U I b 0 + U b 0 Δ I + Δ U Δ I
where U b 0 and I b 0 denote the initial DC voltage and current of the battery, respectively, and U and I represent the voltage and current variations. In the course of battery power regulation, the variation in current I is minimal and can be effectively neglected. Thus, the battery’s output power simplifies to
Δ P E V Δ U I b 0
When the EV participates in the frequency regulation, the increase in DC voltage U is controlled by the frequency deviation. The dynamic equation is then given by
Δ U = Δ f k ( S O C ) 1 + T B s
where k (SOC) is the proportionality coefficient related to the state of charge (SOC) and T B is the control signal delay time of the power electronics, which is minimal. Therefore,
Δ P E V = I b 0 Δ f k ( S O C ) 1 + T B s = Δ f K ( S O C ) 1 + T B s
with K ( S O C ) = I b 0 k ( S O C ) , defining the participation factor for an EV in power grid frequency regulation.

3.2. Aggregate Model of EVs

Denote E V i j as the j t h normally managed EV in the i t h aggregator. When E V i j   receives a control signal to adjust its power consumption, it will either decrease or increase the charging power. The transfer function of E V i j is
G E V i j ( s ) = K i j ( S O C i j ) 1 + s T i j
where K i j S O C i j is the charging coefficient of E V i j related to its SOC and T i j represents the time constant of E V i j .
Denote the i t h   EV aggregator as A i .   K i , which stands for charging coefficient of A i , can be calculated by [34]
K i = 0 1 K i j ( S O C i j ) ϕ s o c i j d ( S O C i j )
where ϕ S O C i j is the probability distribution function of the real-time SOC of E V i j   with the mean value of S O C i .
In this work, we assume that the time constant of E V i j in A i is identical for simplicity and then denote T i j = T i . The number of the normally controlled EVs M i in the i t h aggregator is regarded as its gain.
The transfer function of A i can be described by
G A i ( s ) = K i M i 1 + s T i
As each EV involved in frequency regulation exclusively charges, EV aggregators reduce their charging power consumption when the frequency drops, virtually increasing the power supplied to the grid. Conversely, they increase their charging power consumption when the frequency rises. Denote P c g r a n t as the charging power granted by the smart grid to all EV aggregators when EVs are not participating in frequency regulation. Then, the power controllability of all EV aggregators P E V A can be expressed as
Δ P E V A Δ P E V A , Δ P E V A +
where P E V A = P c g r a n t P m a x , P E V A + = P c g r a n t P m i n .

3.3. Model of TPU

A traditional TPU is mainly composed of a speed governor and reheat turbine, and the transfer function of a TPU is formulated as follows [35]:
G T ( s ) = 1 + s F H P T R H ( 1 + s T G ) ( 1 + s T C H ) ( 1 + s T R H )
where T G is the action time constant of the governor, T C H is the time constant of the main steam inlet chamber, T R H is the time constant of the reheater, and F H P is the high-pressure turbine mechanical torque.

4. Coordinated Frequency Control Strategy for EV Aggregators and a TPU

In this section, a coordinated frequency control strategy for EV aggregators and a TPU is shown in Figure 3. To handle uncertain load changes and random power generations introduced by renewable energy, an improved RNN-based controller is developed to generate control signals P C T for the TPU and P C E V 1 , P C E V 2 , … P C E V N for the EV aggregators, respectively. f stands for the system frequency deviation. P R and P L are the renewable power disturbance and load disturbance, respectively. P W , P P V , P T , and P E V A are the wind power change, the PV power change, the thermal power change, and the output power variation of the EV aggregators, respectively. H Σ and D are the equivalent inertia constant and load damping coefficient, respectively.

4.1. FLRNN with SIP as the Performance Index

As shown in Figure 3, the FLRNN consists of one input layer, one functional expansion layer, two hidden layers, and one output layer. The input of the FLRNN u ( k ) includes the frequency deviation f ( k ) and the rate of change of frequency d f / d t ( k ) at instant k. The input layer utilizes functional-link expansion, chosen for its rapid convergence rate and reduced computational burden [36]. Each node in the input layer of the RNN can then be expanded by a trigonometric polynomial basis function. The two hidden layers shown in Figure 3 consist of a recurrent layer and a fully connected layer. The output y k   of the FLRNN represents the control inputs to thermal power unit P C T and EV aggregators P C E V 1 , P C E V 2 , …, P C E V N . These control signals enable more precise adjustments to system dynamics, providing enhanced adaptability in response to varying operating conditions compared to traditional methods. The forward pass of the FLRNN is as follows:
I ( k ) = u ( k )
F ( k ) = [ 1 , sin ( π u ( k ) ) , cos ( π u ( k ) ) , sin ( 2 π u ( k ) ) , cos ( 2 π u ( k ) ) ]
X ( k ) = g ( W x f F ( k ) + W x x X ( k 1 ) + b x )
C ( k ) = g ( W c x X ( k ) + b c )
y ( k ) = W y c C ( k ) + b y
where I ( k ) is the output of the input layer. F ( k ) is the output of the functional expansion layer. C ( k ) and F ( k ) are the outputs of the hidden layers at instant k, respectively. W x f , W x x , W c x , and W y c denote the corresponding weights between adjacent layers, while b x , b c , and b y are the corresponding biases. The activation function is a tanh function, g ( z ) = ( e z e z ) / ( e z + e z ) .
In this context, the survival information potential (SIP) [29] is employed to handle non-Gaussian disturbances from wind and solar power. Here, e ( k ) = Δ f ( k ) , and the SIP of the frequency deviation serves as the cost function for training the FLRNN. It can be estimated using the Parzen window technique:
J ( k ) = j = k L + 1 k λ j e α ( j )
where λ j = k j + 1 L 2 k j L 2 and the frequency deviation series [ e ( k L + 1 ) , e ( k L + 2 ) ,   . . . , e ( k ) ] are collected within the sliding window, whose width is L. In this paper, α = 2 .

4.2. BPTT Learning Rate Optimization Using CCSO

The FLRNN was trained to minimize the cost function of (19) by using an improved backpropagation through time (IBPTT) algorithm, which employs a chaotic competitive swarm optimizer (CCSO) by combing the theories of chaos maps and competitive swarm optimizer (CSO) to optimize the learning rates.
The competitive swarm optimizer (CSO) [33] is a swarm algorithm characterized by its pairwise competition mechanism. The general concept is illustrated in Figure 4. While the CSO has demonstrated notable capabilities in exploration, exploitation, local optima avoidance, and convergence performance, there remains significant potential for further enhancement. Meanwhile, chaotic maps exhibit traits such as unpredictability, ergodicity, randomness, aperiodicity, and sensitivity to initial conditions and parameters [37]. Utilizing chaotic maps to initialize the positions of a population can yield a more uniformly distributed population in space compared to random initialization. Therefore, a novel chaotic competitive swarm optimizer (CCSO) is proposed to solve the optimal optimization problem by combing the CSO and the theories of chaos maps. There are various forms of chaotic map equations, with typical examples including the Logistic map, Circle map, and Spatial Pyramid Matching (SPM) map, among others. This paper employs the SPM map for population initialization. The specifics of the CCSO are detailed below:
  • Define the population size of the swarm P c as N ¯ , where N ¯ is an even number. The dimension of search paths is denoted as D ¯ , and the maximum number of iterations is m a x N . The position of the l t h agent by x l = x l 1 , , x l d , , x l D ¯ , where x l d is the value of the d t h dimension of particle l .
  • Initialize the particles of swarm P c through the SPM map.
    x l + 1 d = mod x l d p + μ sin ( π x l d ) + r , 1 , 0 x l d < p mod x l d p ( 0.5 p ) + μ sin ( π x l d ) + r , 1 , p x l d < 0.5 mod 1 x l d p ( 0.5 p ) + μ sin ( π ( 1 x l d ) ) + r , 1 , 0.5 x l d < 1 p mod 1 x l d p + μ sin ( π ( 1 x l d ) ) + r , 1 , 1 p x l d < 1
    where p ( 0 , 1 ) , μ 0 , 1 , x 1 d , and r are random numbers from 0 to 1, respectively.
  • For each particle, a fitness value is evaluated using the integral of time-weighted absolute error (ITAE) as the fitness function, defined by the following equation:
    J I T A E = τ t ( t τ ) Δ f t d t
  • Divide the swarm P c into two components with equal size randomly. In each pair, a competition occurs between the two particles. The particle with smaller ITAE, termed as the winner, is selected to proceed directly to the next generation P ( c + 1 ) , while the loser particle updates its position and velocity by learning from the winner and is subsequently sent to P ( c + 1 ) .
    v l , k ¯ ( c + 1 ) = R 1 ( k ¯ , c ) v l , k ¯ ( c ) + R 2 ( k ¯ , c ) x w , k ¯ ( c ) x l , k ¯ ( c ) + φ R 3 ( k ¯ , c ) x ¯ k ¯ ( c ) x l , k ¯ ( c )
    x l , k ¯ ( c + 1 ) = x l , k ¯ ( c ) + v l , k ¯ ( c + 1 )
    where k ¯ = N ¯ / 2 . R 1 ( k ¯ , c ) , R 2 ( k ¯ , c ) , R 3 ( k ¯ , c ) [ 0,1 ] n represent three randomly generated vectors after the k ¯ t h round of competition and learning process in generation c, x ¯ k ¯ ( c ) stands for the mean position value of the relevant particles, and φ denotes a parameter that governs the influence of x ¯ k ¯ ( c ) .
  • Repeat step (4) until no particles remain in P c , then set c = c + 1 .
  • Repeat steps (3) to (5) until the termination condition is satisfied.
The optimal learning rates for the BPTT are selected based on the solution with the lowest ITAE value. And a flow chart of the proposed CCSO is illustrated in Figure 5.
Finally, the procedure of training the FLRNN using improved BPTT with learning rate optimization by CCSO is summarized as shown in Algorithm 1.
Algorithm 1 Training the FLRNN using improved BPTT with learning rate optimization by CCSO
Initialization
Initialize the weights and biases of the FLRNN.
Forward
I ( k ) = u ( k ) F ( k ) = [ 1 , sin ( π u ( k ) ) , cos ( π u ( k ) ) , sin ( 2 π u ( k ) ) , cos ( 2 π u ( k ) ) ] X ^ ( k ) = W x f F ( k ) + W x x X ( k 1 ) + b x X ( k ) = g ( X ^ ( k ) ) C ^ ( k ) = W c x X ( k ) + b c C ( k ) = g ( C ^ ( k ) ) y ( k ) = W y c C ( k ) + b y J ( k ) = j = k L + 1 k λ j e 2 ( j )
Backward
δ y ( k ) = y ( k ) y ( k 1 ) δ C ( k ) = J ( k ) C ( k ) = W y c T δ y ( k ) δ C ^ ( k ) = J ( k ) X ( k ) = δ C ( k ) g ( C ^ ( k ) ) δ X ( k ) = J ( k ) X ( k ) = W c x T δ C ^ ( k ) δ X ^ ( k ) = J ( k ) X ^ ( k ) = δ X ( k ) g ( X ^ ( k ) ) δ F ( k ) = J ( k ) F ( k ) = W x f T δ X ^ ( k ) + W x x T δ X ( k + 1 ) d W y c d W y c + δ y ( k ) C ( k ) d b y d b y + δ y ( k ) d W c x d W c x + δ C ^ ( k ) X ( k ) d b c d b c + δ C ^ ( k ) d W x f d W x f + δ X ^ ( k ) F ( k ) d W x x d W x x + δ X ^ ( k ) X ( k 1 ) d b x d b x + δ X ^ ( k )
Optimization
Obtain the optimal learning rates ( η x f ,   η x x ,   η c x , η y c ,   η x , η c , η y ) by CCSO
Update
W m W m + η m d W m ; m x f , x x , c x , y c b n b n + η n d b n ; n x , c , y

5. Simulation Results and Discussion

The investigated power grid shown in Figure 1 is composed of a 600 MW reheat steam thermal power unit, a 150 MW PV plant with 300 × 0.5 MW PV arrays, a 150 MW wind power plant with 100 × 1.5 MW DFIG wind turbine generators, and two EV aggregators with 10,000 EVs and 20,000 EVs in managed mode, respectively. The EVs have a rated charging power of 3 kW. The value of the initial load is 603 MW. The parameters of the thermal power unit, EV aggregators, and optimal method are listed in Table 1, and the distribution graph of the SPM map is shown in Figure 6.

5.1. Scenario 1

A 0.05 p.u. step load disturbance occurred at 5 s; consequently, the power system operated under rated frequency. The traditional droop control is compared with the proposed algorithm. The droop coefficients of the thermal plant and EV aggregators are 0.05 and 0.2, respectively. The system frequency response (SFR) curves are shown in Figure 7. It can be observed that the nadir of frequency in the SFR curves obtained from FLRNN + CCSO-based control, FLRNN-based control, and traditional droop control are 49.724 Hz, 49.656 Hz, and 49.613 Hz, respectively; the steady-state frequencies are reached at 49.961 Hz, 49.961 Hz, and 49.749 Hz, respectively. The frequency response using the FLRNN + CCSO-based controller exhibits smaller fluctuations. Correspondingly, the power changes of the thermal power unit and EV aggregators are shown in Figure 8 and Figure 9, respectively. The ITAE is used to evaluate the performance of three control strategies by measuring the cumulative time-weighted frequency deviation, with a lower ITAE value indicating better control system performance in maintaining the desired frequency over time. The ITAE values for the three control strategies are presented in Table 2, where the ITAE is 70.17, 73.43, and 317.98 for FLRNN + CCSO-based control, FLRNN-based control, and traditional droop control, respectively. While the ITAE values for the FLRNN + CCSO and FLRNN methods are similar, it is important to note that the nadir of the SFR curve differs between the two methods, with the frequencies being 49.724 Hz for FLRNN + CCSO and 49.656 Hz for FLRNN. The experimental results clearly demonstrate the superior performance of the proposed FLRNN control strategy and FLRNN + CCSO control strategy over conventional droop methods. Notably, the FLRNN + CCSO method exhibits exceptional capability in handling large-scale disturbances, effectively maintaining the system frequency within safe operational limits. Furthermore, the FLRNN method demonstrates remarkable frequency regulation performance under small disturbances while maintaining lower computational requirements.
The superiority of the proposed FLRNN + CCSO control strategy over the other two methods has been clearly demonstrated.

5.2. Scenario 2

In this scenario, random renewable energy sources are introduced, leading to power disturbances characterized by stochastic and intermittent patterns. Non-Gaussian wind power disturbances are shown in Figure 10, while non-Gaussian PV power disturbances are shown in Figure 11. The SFR curves under the non-Gaussian disturbances are shown in Figure 12. It is evident that even under complex and random disturbances, the proposed FLRNN + CCSO-based control strategy still achieves excellent control performance. In addition, it is obvious from Figure 13 that the probability density function (PDF) of the frequency deviation γ f with the FLRNN + CCSO-based control strategy can be quickly adjusted to a sharp and narrow shape near a specific value following a wind or PV change. The output power changes of the thermal power unit and EVs are depicted in Figure 14 and Figure 15, respectively. It can be seen that, under the FLRNN + CCSO-based control strategy, the output power of generators and especially EVs dynamically adjust their output to mitigate power mismatches, thereby minimizing frequency fluctuations and effectively utilizing EV flexibility. The simulation results, presented in Table 3, show ITAE values of 30.24, 34.62, and 92.98 for the three control strategies, respectively. Thus, it is evident that the proposed FLRNN + CCSO-based control method outperforms the other two control strategies.

6. Conclusions

This paper presents a coordinated control strategy for EVs participating in hybrid power system frequency regulation via a functional-link recurrent neural network. To address the non-Gaussian disturbances in power systems with RESs, the SIP is employed as a performance metric for FLRNN training. Furthermore, the weights and biases of the FLRNN are trained by an improved BPTT algorithm, with a CCSO employed to optimize the learning rates. The simulation results validate the efficacy of the proposed strategy in improving frequency regulation. Note that our study focuses on EVs participating in frequency regulation while in the charging state, thereby preventing any potential damage to battery life. Hence, future work will explore EVs participating in frequency regulation as responsive loads and power supplies and develop more effective control strategies.

Author Contributions

Conceptualization, J.Z.; methodology, Y.W.; software, Y.W.; validation, Y.W.; formal analysis, Y.W.; investigation, Y.W.; resources, Y.W.; data curation, Y.W.; writing—original draft preparation, Y.W.; writing—review and editing, J.Z.; visualization, Y.W.; supervision, J.Z.; project administration, J.Z.; funding acquisition, J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of China (62473151, 61973116), the National Key R&D Program of China (2019YFB1505400), and the Fundamental Research Funds for the Central Universities (2023JC001).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Sattar, F.; Ghosh, S.; Isbeih, Y.J.; El Moursi, M.S.; Al Durra, A.; El Fouly, T.H.M. A predictive tool for power system operators to ensure frequency stability for power grids with renewable energy integration. Appl. Energy 2024, 353, 122226. [Google Scholar] [CrossRef]
  2. Zhang, J.; Hu, S.; Zhang, Z.; Li, Y.; Lin, J.; Wu, J.; Gong, Y.; He, L. An adaptive frequency regulation strategy with high renewable energy participating level for isolated microgrid. Renew. Energy 2023, 212, 683–698. [Google Scholar] [CrossRef]
  3. Baskarad, T.; Kuzle, I.; Holjevac, N. Photovoltaic system power reserve determination using parabolic approximation of frequency response. IEEE Trans. Smart Grid 2021, 12, 3175–3184. [Google Scholar] [CrossRef]
  4. Li, Z.; Guo, L.; Yu, S.S.; Zhang, M.; Ren, Y.; Zhang, N.; Li, W. An efficient full-response analytical model for probabilistic production simulation in fast frequency response reserve planning. Energy 2023, 273, 127268. [Google Scholar] [CrossRef]
  5. Hong, F.; Ji, W.; Pang, Y.; Hao, J.; Du, M.; Fang, F.; Liu, J. A new energy state-based modeling and performance assessment method for primary frequency control of thermal power plants. Energy 2023, 276, 127594. [Google Scholar] [CrossRef]
  6. Mu, C.; Liu, W.; Xu, W. Hierarchically adaptive frequency control for an EV-integrated smart grid with renewable energy. IEEE Trans. Ind. Inf. 2018, 14, 4254–4263. [Google Scholar] [CrossRef]
  7. Guo, Z.; Wu, W. Data-driven model predictive control method for wind farms to provide frequency support. IEEE Trans. Energy Convers. 2022, 37, 1304–1313. [Google Scholar] [CrossRef]
  8. Zhu, X.; Xia, M.; Chiang, H.-D. Coordinated sectional droop charging control for EV aggregator enhancing frequency stability of microgrid with high penetration of renewable energy sources. Appl. Energy 2018, 210, 936–943. [Google Scholar] [CrossRef]
  9. Li, P.; Hu, W.; Xu, X.; Huang, Q.; Liu, Z.; Chen, Z. A frequency control strategy of electric vehicles in microgrid using virtual synchronous generator control. Energy 2019, 189, 116389. [Google Scholar] [CrossRef]
  10. Liu, T.; Wang, P.; Peng, Q.; Zhang, M.; Wang, T.; Meng, J. Operation-area-constrained adaptive primary frequency support strategy for electric vehicle clusters. J. Mod. Power Syst. Clean Energy 2023, 11, 1982–1994. [Google Scholar] [CrossRef]
  11. Latif, A.; Hussain, S.M.S.; Al-Durra, A.; Iqbal, A. Hierarchical fuzzy framework for EV supported islanded microgrid frequency stabilization. IEEE Open J. Ind. Electron. Soc. 2024, 5, 704–721. [Google Scholar] [CrossRef]
  12. Jia, H.; Li, X.; Mu, Y.; Xu, C.; Jiang, Y.; Yu, X.; Wu, J.; Dong, C. Coordinated control for EV aggregators and power plants in frequency regulation considering time-varying delays. Appl. Energy 2018, 210, 1363–1376. [Google Scholar] [CrossRef]
  13. Arya, Y. Effect of electric vehicles on load frequency control in interconnected thermal and hydrothermal power systems utilising CF-FOIDF controller. IET Gener. Transm. Distrib. 2020, 14, 2666–2675. [Google Scholar] [CrossRef]
  14. Hajiakbari Fini, M.; Golshan, M.E.H.; Martí, J.R. Coordinated participation of electric vehicles and generating units in primary frequency control in the presence of renewables. IEEE Trans. Transp. Electrific. 2023, 9, 130–141. [Google Scholar] [CrossRef]
  15. Singh, K.; Arya, Y. Tidal turbine support in microgrid frequency regulation through novel cascade fuzzy-fopid droop in de-loaded region. ISA Trans. 2023, 133, 218–232. [Google Scholar] [CrossRef] [PubMed]
  16. Vermeer, W.; Mouli, G.R.C.; Bauer, P. Optimal sizing and control of a PV-EV-BES charging system including primary frequency control and component degradation. IEEE Open J. Ind. Electron. Soc. 2022, 3, 236–251. [Google Scholar] [CrossRef]
  17. Li, Y.; Ding, Y.; He, S.; Hu, F.; Duan, J.; Wen, G.; Geng, H.; Wu, Z.; Gooi, H.B.; Zhao, Y.; et al. Artificial intelligence-based methods for renewable power system operation. Nat. Rev. Electr. Eng. 2024, 1, 163–179. [Google Scholar] [CrossRef]
  18. Liu, W.; Wang, Z.; Liu, X.; Zeng, N.; Liu, Y.; Alsaadi, F.E. A survey of deep neural network architectures and their applications. Neurocomputing 2017, 234, 11–26. [Google Scholar] [CrossRef]
  19. Zhang, Y.; Shi, X.; Zhang, H.; Cao, Y.; Terzija, V. Review on deep learning applications in frequency analysis and control of modern power system. Int. J. Electr. Power Energy Syst. 2022, 136, 107744. [Google Scholar] [CrossRef]
  20. Wang, G.; Jia, Q.-S.; Qiao, J.; Bi, J.; Zhou, M. Deep learning-based model predictive control for continuous stirred-tank reactor system. IEEE Trans. Neural. Netw. Learn. Syst. 2021, 32, 3643–3652. [Google Scholar] [CrossRef]
  21. Ren, J.-C.; Liu, D.; Wan, Y. Model-free adaptive iterative learning control method for the Czochralski silicon monocrystalline batch process. IEEE Trans. Semicond. Manufact. 2021, 34, 398–407. [Google Scholar] [CrossRef]
  22. Saadatmand, S.; Shamsi, P.; Ferdowsi, M. Power and frequency regulation of synchronverters using a model free neural network-based predictive controller. IEEE Trans. Ind. Electron. 2021, 68, 3662–3671. [Google Scholar] [CrossRef]
  23. Lu, K.-H.; Hong, C.-M.; Xu, Q. Recurrent wavelet-based elman neural network with modified gravitational search algorithm control for integrated offshore wind and wave power generation systems. Energy 2019, 170, 40–52. [Google Scholar] [CrossRef]
  24. Zhang, J.; Wang, Q.G.; Marwala, T.; Sun, J. Neural network-based control for RRP-based networked systems under DoS attacks with power interval. Automatica 2022, 145, 110555. [Google Scholar] [CrossRef]
  25. Hui, J.; Yuan, J. Neural network-based adaptive fault-tolerant control for load following of a MHTGR with prescribed performance and CRDM faults. Energy 2022, 257, 124663. [Google Scholar] [CrossRef]
  26. Su, H.; Hu, Y.; Karimi, H.R.; Knoll, A.; Ferrigno, G.; De Momi, E. Improved recurrent neural network-based manipulator control with remote center of motion constraints: Experimental results. Neural. Netw. 2020, 131, 291–299. [Google Scholar] [CrossRef] [PubMed]
  27. Schäfer, B. Non-Gaussian power grid frequency fluctuations characterized by lévy-stable laws and superstatistics. Nat. Energy 2018, 3, 119–126. [Google Scholar] [CrossRef]
  28. Zhang, J.; Wang, Y.; Zhou, G.; Wang, L.; Li, B.; Li, K. Integrating physical and data-driven system frequency response modelling for wind-pv-thermal power systems. IEEE Trans. Power Syst. 2024, 39, 217–228. [Google Scholar] [CrossRef]
  29. Chen, B.; Zhu, P.; Principe, J.C. Survival information potential: A new criterion for adaptive system training. IEEE Trans. Signal Process. 2012, 60, 1184–1194. [Google Scholar] [CrossRef]
  30. Hou, G.L.; Ye, L.L.; Huang, T.; Huang, C.Z. Intelligent modeling of combined heat and power unit under full operating conditions via improved Crossformer and precise sparrow search algorithm. Energy 2024, 308, 132879. [Google Scholar] [CrossRef]
  31. Ji, C.; Zhang, C.; Suo, L.; Liu, Q.; Peng, T. Swarm intelligence based deep learning model via improved whale optimization algorithm and Bi-directional long short-term memory for fault diagnosis of chemical processes. ISA Trans. 2024, 147, 227–238. [Google Scholar] [CrossRef] [PubMed]
  32. Li, J.; Wang, X.; Zhao, J.; Yang, Q.; Qie, H. Predicting mechanical properties lower upper bound for cold-rolling strip by machine learning-based artificial intelligence. ISA Trans. 2024, 147, 328–336. [Google Scholar] [CrossRef] [PubMed]
  33. Cheng, R.; Jin, Y. A competitive swarm optimizer for large scale optimization. IEEE Trans. Cybern. 2015, 45, 191–204. [Google Scholar] [CrossRef]
  34. Izadkhast, S.; Garcia-Gonzalez, P.; Frias, P. An aggregate model of plug-in electric vehicles for primary frequency control. IEEE Trans. Power Syst. 2015, 30, 1475–1482. [Google Scholar] [CrossRef]
  35. Kundur, P.; Balu, N.; Lauby, M. Power System Stability and Control; McGraw-Hill: New York, NY, USA, 2009. [Google Scholar]
  36. Zhang, Z.; Zhang, J. Chebyshev functional link spline neural filter for nonlinear dynamic system identification. IEEE Trans. Circuits Syst. II 2022, 69, 1907–1911. [Google Scholar] [CrossRef]
  37. Mou, J.; Han, Z.; Cao, Y.; Banerjee, S. Discrete second-order memristor and its application to chaotic map. IEEE Trans. Circuits Syst. II 2024, 71, 2824–2828. [Google Scholar] [CrossRef]
Figure 1. Schematic view of EV-integrated hybrid power system.
Figure 1. Schematic view of EV-integrated hybrid power system.
Energies 18 00533 g001
Figure 2. Equivalent battery model of EV.
Figure 2. Equivalent battery model of EV.
Energies 18 00533 g002
Figure 3. Coordinated frequency control strategy for EV aggregators and a TPU.
Figure 3. Coordinated frequency control strategy for EV aggregators and a TPU.
Energies 18 00533 g003
Figure 4. General concept of CSO.
Figure 4. General concept of CSO.
Energies 18 00533 g004
Figure 5. The flow chart of the proposed CCSO.
Figure 5. The flow chart of the proposed CCSO.
Energies 18 00533 g005
Figure 6. Distribution graph of chaotic maps.
Figure 6. Distribution graph of chaotic maps.
Energies 18 00533 g006
Figure 7. The system frequency response curve.
Figure 7. The system frequency response curve.
Energies 18 00533 g007
Figure 8. Output power change of turbine under load disturbance.
Figure 8. Output power change of turbine under load disturbance.
Energies 18 00533 g008
Figure 9. Output power change of EVs under load disturbance.
Figure 9. Output power change of EVs under load disturbance.
Energies 18 00533 g009
Figure 10. Non-Gaussian disturbances from wind energy.
Figure 10. Non-Gaussian disturbances from wind energy.
Energies 18 00533 g010
Figure 11. Non-Gaussian disturbances from solar energy.
Figure 11. Non-Gaussian disturbances from solar energy.
Energies 18 00533 g011
Figure 12. System frequency response under non-Gaussian disturbances.
Figure 12. System frequency response under non-Gaussian disturbances.
Energies 18 00533 g012
Figure 13. PDF of the frequency deviation with the FLRNN + CCSO-based control strategy.
Figure 13. PDF of the frequency deviation with the FLRNN + CCSO-based control strategy.
Energies 18 00533 g013
Figure 14. Output power change of thermal turbine under non-Gaussian disturbances.
Figure 14. Output power change of thermal turbine under non-Gaussian disturbances.
Energies 18 00533 g014
Figure 15. Output power change of EVs under non-Gaussian disturbances.
Figure 15. Output power change of EVs under non-Gaussian disturbances.
Energies 18 00533 g015
Table 1. Parameters of TPU, EV aggregators, CCSO, and FLRNN.
Table 1. Parameters of TPU, EV aggregators, CCSO, and FLRNN.
ParameterValuesParameterValues
Governor time constant T G 0.3 sHigh-pressure turbine mechanical torque F H P 0.4
Main steam inlet chamber constant T C H 0.5 sEquivalent inertia constant H Σ 6.5 s
Reheat time constant T R H 14 sLoad damping coefficient D 0.012
Power variation lower limit for EV aggregators in frequency regulation P E V A 0.06 p.u.Power variation upper limit for EV aggregators in frequency regulation P E V A + 0.05 p.u.
Time constant of EV aggregator 1 T A 1 35 msTime constant of EV aggregator 2 T A 2 38 ms
Average SOC of EV aggregator 1 S O C 1 0.6 p.u.Average SOC of EV aggregator 2 S O C 2 0.55 p.u.
Population size of the swarm P c   N ¯ 200Dimension of search paths D ¯ 20
Threshold constant of the SPM map p 0.4Coefficient of the SPM map μ 0.3
Number of neurons in the recurrent layer12Number of neurons in the connected layer6
Table 2. ITAE values for three different control methods in Scenario 1.
Table 2. ITAE values for three different control methods in Scenario 1.
MethodsFLRNN + CCSOFLRNNDroop
ITAE70.1773.43317.98
Table 3. ITAE values for three different control methods in Scenario 2.
Table 3. ITAE values for three different control methods in Scenario 2.
MethodsFLRNN + CCSOFLRNNDroop
ITAE30.2434.6292.98
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, J.; Wang, Y. Coordinated Frequency Control for Electric Vehicles and a Thermal Power Unit via an Improved Recurrent Neural Network. Energies 2025, 18, 533. https://doi.org/10.3390/en18030533

AMA Style

Zhang J, Wang Y. Coordinated Frequency Control for Electric Vehicles and a Thermal Power Unit via an Improved Recurrent Neural Network. Energies. 2025; 18(3):533. https://doi.org/10.3390/en18030533

Chicago/Turabian Style

Zhang, Jianhua, and Yongyue Wang. 2025. "Coordinated Frequency Control for Electric Vehicles and a Thermal Power Unit via an Improved Recurrent Neural Network" Energies 18, no. 3: 533. https://doi.org/10.3390/en18030533

APA Style

Zhang, J., & Wang, Y. (2025). Coordinated Frequency Control for Electric Vehicles and a Thermal Power Unit via an Improved Recurrent Neural Network. Energies, 18(3), 533. https://doi.org/10.3390/en18030533

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop