Abstract

Battery energy storage is the pivotal project of renewable energy systems reform and an effective regulator of energy flow. Parallel battery packs can effectively increase the capacity of battery modules. However, the power loss caused by the uncertainty of parallel battery branch current poses severe challenge to the economy and safety of electric vehicles. Accuracy of battery branch current prediction is needed to improve the parallel connection. This paper proposes a radial basis function neural network model based on the pigeon-inspired optimization method and successfully applies the algorithm to predict the parallel branch current of the battery pack. Numerical results demonstrate the high accuracy of the proposed pigeon-inspired optimized RBF model for parallel battery branch forecasting and provide a useful tool for the prediction of parallel branch currents of battery packs.

1. Introduction

As an important part of electric vehicles, the life and safety of lithium-ion battery have a profound impact on the service range of electric vehicles. In order to meet the high power and high energy output requirements of these devices, it is usually necessary to perform series and/or parallel topology on battery modules [1, 2]. The series connection of batteries can increase the operating voltage, while the parallel connection of batteries can increase the capacity. For series-connected battery packs, the battery management system usually provides a balancing module. For parallel battery packs, the single cells will maintain the same terminal voltage and have a certain self-balance. However, the unbalanced current caused by the inconsistency between the single cells will affect the state-of-charge of the battery and the life and safety of the battery pack in the long run [3].

For battery producers, introduction of fully automated production lines does not mean high quality and stable production; in addition to good sources of materials, the management of automated production line is more critical. The inconsistency of the branch batteries in the parallel battery packs will cause current imbalance and reduce battery energy efficiency and even cause some batteries to be overcharged and/or overdischarged.

Battery engineering research mainly focuses on state estimation and how to reduce battery inconsistency for higher energy conversion efficiency and longer battery life, while lacking a comprehensive analysis of the battery inconsistency generation mechanism [4, 5]. The battery management system cannot control the current distribution and energy flow between batteries in parallel modules at this stage, which is directly affected by the battery connection topology. Therefore, it is difficult to implement the control strategy for the inconsistency of parallel batteries in the vehicle application.

In parallel topology, uneven current exists and degradation rates are different between individual batteries. Previous studies on parallel connection [6] focused on several aspects, including the evolution of current distribution under certain conditions, unbalances on the degradation rate of the battery, design and control of balanced circuits, the effects of connection wires and welding techniques [710], predicting future capacities, and remaining useful life [11, 12].

In the field of battery modelling technology, the current distribution is calculated by numerical simulation. The voltage of various batteries can be extracted from the state of charge-voltage curve under the discharge process. This method considers the influence of internal resistance on battery current, without building any model, but it is necessary to repeatedly search for the voltage of various battery under each time step. Brand et al. [13] explore the current distribution within two parallel-connected batteries, and yet how to extend this method to more than two units has not been discussed. Miyatake examines the relationship between discharge capacities of a multicell battery with two different types, but its topology is unraveled [14]. In addition, they derive a mathematical model for discharge characteristics of the multicell battery based on the equivalent circuit model of an individual battery. Bruen and Marco [15] adopt the modelling and experimental method to the evaluation of parallel-connected lithium-ion batteries for an electric vehicle.

The rest of this paper is organized as follows. Section 2 introduces the preliminaries of radial basis function neural network and pigeon-inspired optimization. Section 3 presents the pigeon-inspired optimization optimized radial basis function (PIO-RBF) neural network. Section 4 shows the experimental setup. Section 5 analyzes branch current forecasting case study, followed by the main findings and future prospects of this work in Section 6.

2. Preliminaries

2.1. Radial Basis Function Neural Network

RBF neural network is a three-layer feedforward analysis network, which is composed of input layer, hidden layer, and output layer. Figure 1 shows the topology of RBF neural network, in which the function of controlling node transformation in hidden layer is radial basis function.

If the input layer of the RBF neural network has n information source nodes, the input layer can be represented as [x1, x2, …, xn]T. In the hidden layer, Gaussian function is selected as radial basis function, which is expressed aswhere is Euclidean norm, is the base function center of the i-th node of the hidden layer, c is the width of the basis function of the i-th node in the layer, and is the width of the basis function of the i-th node in the layer.

The output layer of the RBF neural network can be obtained by linearly weighting the hidden layer nodes. If the output layer has k output nodes, the j-th output of the RBF neural network can be expressed as

In the above formula, is the connection weight from the i-th hidden layer node to the j-th output layer; Y is the node value of the j-th output layer.

The number determining the hidden layer nodes is also the key to realize RBF neural network, in addition to training and optimizing the center Ci of hidden layer basis function, the width of hidden layer node σi, and the weight factor W from hidden layer to output layer. Theoretically, with the number of hidden layer nodes increasing, the approximation ability of RBF neural network is stronger and the output is more accurate. However, in practical application, the increase of hidden layer nodes will lead to the increase of training time and learning cost, and the generalization ability of the network will decrease, which will lead to the overlearning and the fault tolerance ability of neural network.

In order to determine the optimal number of hidden layer nodes of RBF neural network, this paper introduces the trial-and-error method. First obtain the initial interval [a, b] of the number of hidden layer nodes of the RBF neural network through the empirical formula, and then calculate and compare the points in the interval one by one to narrow the interval of the number of nodes to determine the optimal number of hidden layer nodes.where , , and are the number of nodes in the input layer, hidden layer, and output layer of the RBF neural network, respectively.

2.2. Pigeon-Inspired Optimization

When the pigeon is far away from the destination, it arrives at the destination with the help of the geomagnetic field and landmark buildings. The key reasons that affect the homing of pigeons can be divided into three categories. The first reason is the sun, the second reason is the Earth’s magnetic field, and the third reason is the geomorphic landscape. During the flight of the pigeons, different cruise tools will be used according to situations. In order to idealize some of the homing characteristics of pigeons, two operators are designed by using some rules.(1)Map and Compass Operator. Pigeons can sense the Earth field by using magnetoreception to shape the map in their brains. They regard the altitude of the sun as compass to adjust the direction. As they fly to their destination, they rely less on sun and magnetic particles.(2)Landmark Operator. When the pigeons fly close to their destination, they will rely on landmarks neighboring them. If they are familiar with the landmarks, they will fly straight to the destination. If they are far from the destination and unfamiliar with the landmarks, they will follow the pigeons who are familiar with the landmarks.The map model is based on the geomagnetic field. and represent the position and velocity of the i-th pigeon, respectively. With the number of iterations increasing, the pigeon constantly learns from the optimal individual within the interaction range and updates its speed Vi and position Xi in real time:

The speed of the i-th pigeon is determined by the speed of the previous generation and the current best position of the pigeon. R is a map factor, rand is a random number, and t is an algebra; the position of the i-th pigeon is determined by its previous position and current speed. The flight of all pigeons is ensured by the map, and then we can get the best position of the pigeons Xg. Various pigeons will adjust its direction and fly to the pigeon with the best position according to (4), while (5) will adjust its position.

The landmark model is built with pigeons using landmarks for navigation. When using landmarks to navigate, the distance from the destination is closer than that from map navigation. If the pigeon is not familiar with the current location landmark, it will fly under the guidance of nearby pigeons; when finding landmark buildings or familiar locations, it will fly freely according to experience. In the landmark model, Np is used to record the number of half pigeons in each generation, and Xc (t) is the central position of all pigeons in generation t. If various pigeon can fly a straight distance to the destination, the following formula will be obtained:

In the above equation, is the mass of pigeon, equation (9) is for the minimum optimization problem, and equation (10) is for the maximum optimization problem.

3. Proposed PIO Optimized RBF Neural Network

In this paper, pigeon-inspired optimization is adopted where PIO method is introduced in training the linear and nonlinear parameters given a predetermined RBF network model structure. The detailed implementation procedure of PIO for current branch path forecasting can be described as follows (as shown in Figure 1) (Algorithm 1).

Input
  NP: number of individuals in pigeon swarm
  D: dimension of the search space
  R: the map and compass factor
  Search range: the borders of the search space
  Nc1max: the maximum number of generations that the map and compass operation is carried out
  Nc2max: the maximum number of generations that the landmark operation is carried out.
 Output
  Xg: the global optima of the fitness function f
(1)Initialization
  Set initial values for Nc1max, Nc2max, NP, D, R and the search range
  Set initial path Xi and velocity Vi for each pigeon individual
  Set Xp = Xi, NC = 1
  Calculate fitness values of different pigeon individuals
  : = argmin [f: (Xp)]
(2)Map and compass operations
  For Nc = 1 to Nc1max do
  for i = 1 to Np do
   while Xi is beyond the search range do
    calculate Vi and Xi according to equations (4) and (5)
   end while
  end for
   evaluate Xi, and update Xp and Xg
  end for
(3)Landmark operations
  For Nc = Nc1max + 1 to Nc2max do
   while Xp is beyond the search range do
    rank all the available pigeon individuals according to their fitness values
    NP = NP/2
    keep half of the individuals with better fitness value, and abandon the other half
    Xc = average value of the paths of the remaining pigeon individuals
    calculate Xi according to equation (8)
   end while
   evaluate Xi, and update Xp and
  end for
(4)Output
   is output as the global optima of the fitness function f

4. Experiment

4.1. Experimental Battery

The lithium-ion battery used in the research is LiFePO4/graphite battery. In the experiment, LiFePO4 battery with a nominal voltage of 3.65 V and nominal capacity of 20 Ah was selected, and its size (thickness × width × length) was 52 mm × 64 mm × 102 mm. The positive electrode of the battery is the thickness of aluminum foil of 15–25μπι and anode foil thickness of 12–20μπι; negative electrode is made of nickel-plated copper, of 0.2–0.3 mm thickness and 20–60 mm width; plastic film is with a thickness of 0.153 mm. Polyvinylidene fluoride (PVDF) and N-methyl-2-pyrrolidone (NMP) were used as binder in manufacturing of both electrodes. The electrolyte consisted of 1MLiPF6 in ethylene carbonate (EC)–dimethyl carbonate (DMC)–ethyl methyl carbonate (EMC) (1 : 1 : 1, mass ratio) electrolyte.

4.2. Experimental System

To explore the current distribution and overall characteristics of parallel battery pack under different discharge processes, an experimental system of LiFePO4/graphite battery parallel battery pack was developed. The test bench is composed of battery pack, test system, data acquisition system, and management system machine. The charging and discharging programming software is built in the management system. In Figure 2, an experimental device for parallel battery test is shown. The data acquisition system (Agilent 34970A, Agilent Limited) can measure voltage with a resolution of 6.5 bits, and the measurement accuracy can reach 0.004%. It is applied to voltage measurement to improve the sample precision of voltages. The measurement system of parallel battery pack is carried out at normal temperature. The charge and discharge management of battery pack is carried out with 17020 programmable measurement system. The abovementioned test system provides independent channels to support the charge and discharge experiment of multiple battery modules.

The Hall current sensor is the key to accurately measure the current distribution in parallel battery packs. Ordinary current shunts are accurate in measuring string current, but in most cases, the increased resistance will seriously affect the current distribution. This is why the contactless current sensor is more suitable for measuring the current distribution of parallel batteries in this work.

In order to measure the current distribution of parallel battery packs, the LHB50A5VY2 Hall-effect current sensor is used in the parallel circuit of the test battery pack. The accuracy of the Hall current sensor is ±0.5%, and the temperature drift coefficient is ±0.5 mv/°C. The Hall current sensor can accurately obtain the current through the wire, and the actual current through the battery is equal to the difference between the values of adjacent Hall current sensors.

The Hall current sensor does not need to be connected to the parallel loop, eliminating the influence of the shunt resistance. In this project, the constant current discharge test was mainly carried out to explore the current distribution condition of the parallel battery branch, and the RBF network optimized by the pigeon group is used to predict the current of the parallel branch.

5. Branch Current Forecasting Case Study

In this section, the competitive performance of the proposed PIO optimized RBF neural network is adopted in forecasting real world current branches in parallel battery packs scenario. The data is collected from the abovementioned experiment where the batteries are placed under a normal laboratory environment. The data recorded every 1 second ranging from first branch to fifth branch under the 0.3 C discharge rate are adopted in the modelling. In view of the sensors investment, branch current prediction can effectively reduce the number of current sensors in engineering practice.

The research on current prediction and prediction accuracy has always been a topic of concern to researchers due to the demand of predicting the branch current distribution characteristics of parallel batteries. In this paper, based on the analysis of the current distribution uncertainty characteristics of parallel battery pack, the pigeon-inspired optimization algorithm is combined with RBF neural network to explore the parallel branch current forecasting. The actual and prediction current scenarios of parallel branch are shown in Figure 3; and the errors of current scenario are shown in Figure 4.

It could be clearly observed in Figure 4 that the PIO achieved a comparatively accurate forecasting curve on training stage possibly due to the parameter training efforts, and yet the error in the prediction stage can be further reduced in the future. The reason for larger error of battery close to load is mainly due to the large change of curve when approaching the battery cutoff voltage.

By comparison of performance of battery module in parallel, the prediction research of parallel branch current based on PIO optimized RBF was explored, focusing on the maximum error and standard deviation of various parallel branches in the training and prediction stage. It can be clearly found that the standard error and the average error ratio of branch current in the middle position of the parallel battery pack are relatively better than B5 and B1, which may be due to the fact that the current variation of the battery is not very sharp, as shown in Table 1.

Moreover, the average error and standard deviation of the battery close to the load end are in the same level as those of the battery far away from the load, but the maximum error ratio of branch current is relatively large in the training stage.

6. Conclusion and Future Work

A radial basis function (RBF) neural network based on pigeon colony optimization is proposed to predict the current distribution of parallel batteries. The model structure can optimize the parameters of RBF neural network. The competitive performance of the model has been verified in the current branch prediction task of parallel battery pack. The experimental and prediction results are proved to be effective, which provides a new idea for reducing the investment of current detection sensor in parallel battery pack.

The future work may be to further optimize the pigeon colony algorithm, further improve the prediction accuracy, and optimize the proposed PIO-RBF model. In addition to its application in the branch current prediction of parallel batteries, the proposed PIO-RBF network has the potential to predict power demand, to forecast wind power generation and many other various random nonlinear power and energy tasks, which offers many possible approaches to shape the future of low-carbon energy.

Data Availability

Research data are mainly from the experiment in this manuscript.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors are grateful to the financial support from Guangdong-Hong Kong-Macao Joint Laboratory of Human-Machine Intelligence-Synergy Systems (#2019B121205007), the Science and Technology Innovation Commission of Shenzhen (No. ZDSYS20190902093209795), National Natural Science Foundation of China (No. U1813222), the National Natural Science Foundation of Guangdong (No. 2016A030313177), Guangdong Frontier and Key Technological Innovation (No. 2017B090910013), the Science and Technology Innovation Commission of Shenzhen (Nos. JCYJ20170818153048647, JCYJ20180507182239617, and JCYJ2018050718223961), and Zhejiang Provincial Natural Science Foundation of China under Grant No. LY19F030011.