Journal of Applied Mathematics

Volume 2014 (2014), Article ID 596326, 11 pages

http://dx.doi.org/10.1155/2014/596326

## Real-Time Control Strategy of Elman Neural Network for the Parallel Hybrid Electric Vehicle

School of Transportation and Vehicle Engineering, Shandong University of Technology, No. 12 Zhangzhou Road, Zibo, Shandong 255049, China

Received 15 April 2014; Revised 30 June 2014; Accepted 1 July 2014; Published 26 August 2014

Academic Editor: H. R. Karimi

Copyright © 2014 Ruijun Liu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Through researching the instantaneous control strategy and Elman neural network, the paper established equivalent fuel consumption functions under the charging and discharging conditions of power batteries, deduced the optimal control objective function of instantaneous equivalent consumption, established the instantaneous optimal control model, and designs the Elman neural network controller. Based on the ADVISOR 2002 platform, the instantaneous optimal control strategy and the Elman neural network control strategy were simulated on a parallel HEV. The simulation results were analyzed in the end. The contribution of the paper is that the trained Elman neural network control strategy can reduce the simulation time by 96% and improve the real-time performance of energy control, which also ensures the good performance of power and fuel economy.

#### 1. Introduction

Under the dual pressure of environmental pollution and energy crisis, hybrid vehicles have advantages of both conventional vehicles and electric vehicles, which have characteristics of energy conservation, environmental protection, diverse shapes, and strong implementation. Hybrid vehicles have become an effective way to solve the problem of energy crisis and environmental protection and also have been one of the most perspective vehicle models.

According to different connective ways of power system, hybrid electric vehicle (HEV) can be mainly divided into four styles: series, parallel, series-parallel, and complex. The dynamic structure diagram is shown in Figure 1.

Engine output energy of series HEV is transformed two times and the efficiency of the motor and generator is relatively low, so series HEV loses more energy and leads to lower efficiency than vehicles of internal combustion engine. Parallel HEV (PHEV) is equipped with series and parallel power systems, and their structures and control systems are more complex and have higher cost. Complex HEV structures and control systems are most complex and have highest cost. However, parallel hybrid power system can adapt to various road conditions and is widely used by enterprises [1, 2].

As the core of multiple energy control system, the energy control strategy determines performances of PHEV. Based on vehicle’s torque, energy control strategies of PHEV are mainly divided into four types [3, 4]: static logic threshold energy control strategy, instantaneous optimal energy control strategy, global optimal energy control strategy, and neural network energy control strategy. The static logic threshold control strategy cannot guarantee the optimal fuel economy of PHEV, does not adapt to dynamic conditions, and cannot make the whole system to achieve maximum efficiency. Besides, its threshold parameters are set by engineering experience [5, 6]. The global optimal control strategy can achieve global optimal fuel consumption of HEV. Its defects are complex algorithm, large amount of calculation, and knowing the whole condition in advance [7, 8]. Neural network energy control strategy can adapt to diverse conditions with good robustness and obtain global fuel consumption optimum by engineering experience [9, 10]. Instantaneous optimal energy control strategy can realize minimum equivalent fuel consumption of PHEV in each control cycle which is widely used to distribute PHEV energy [11].

The basic principle of instantaneous optimal control strategy is based on the model of the optimal curve of engines; the object function of the whole power system was optimized on the specific operating points of parallel HEV. On the basis of the instantaneous optimal operating points, it makes power of variable states redistributed and make the loss of energy minimized in the energy flow process at any time (see Figure 2). Instantaneous optimal control strategy has good fuel economy at any time and bad real-time performance. Its real-time performance is influenced by these factors which are the accuracy of various components battery ages and engine and motor characteristics [12–14]. So it is difficult to improve the real-time performance of instantaneous optimal control strategy by changing these factors.

The hybrid vehicles possess good power performance and fuel economy and obtain rapid allocation energy by finding a new energy control strategy. Elman neural network is a feedback neural network and has a very strong computing ability and stability [15]. The instantaneous rules of the instantaneous optimal control strategy are used to train Elman neural network, establish Elman neural network controller, and improve the real-time performance of energy control [14–16].

Based on the research of the instantaneous optimal control strategy, the strategy possesses good fuel economy and makes energy distributed reasonably. However, its real-time performance is poor. In order to solve bad real-time defects of instantaneous control strategy, instantaneous optimal control rules are used to train the Elman neural network control strategy and improve the real-time performance of the trained Elman energy control strategy on the premise that it can guarantee advantages of the instantaneous optimal control strategy. The results show that the trained Elman neural network control strategy can replace the instantaneous optimal control strategy, optimize power distribution, and make the simulation time reduced by 60%.

#### 2. Research Energy Control Strategy

##### 2.1. Instantaneous Optimal Control Strategy

Instantaneous optimal control strategy is defined as follows. In order to achieve the minimum fuel consumption of HEV, the optimal output power of the engine and electric motor is calculated in each control cycle of hybrid power system. Working conditions of HEV and calculation expressions of the equivalent fuel consumption are different in every time. So an optimal objective function should be established [17]. Working condition of hybrid system is divided into two cases of power battery charging and discharging. Then, objective functions of the instantaneous equivalent minimum fuel consumption were established on two working conditions.

Here, the full line represents the circulation and transformation of fuel chemical energy in the hybrid power system. The dotted line represents electric current circulation and transformation in the hybrid power system.

###### 2.1.1. Calculate the Equivalent Fuel Consumption of Battery Discharging

When the power battery takes part in driving hybrid cars, its SOC value will reduce and deviate from the target of SOC value. In order to compensate for the used electricity and restore SOC value of power batteries, the engine drives the motor to charge power batteries in the future time [18]. The charging time is divided into control cycles, and the motor power of each cycle is [5].

The relationship between the motor power () with driving vehicle and the motor power () with power batteries charging is where is the average efficiency of motor; is the average efficiency of power battery charging; is the average efficiency of power battery discharging.

When the motor drives the vehicle, the energy consumption of power batteries can be converted into the engine fuel consumption. The equivalent fuel consumption rate of the motor is where , when the engine does not charge power batteries, is the engine power of the control period; , when the engine does not charge power batteries, is the fuel consumption rate of the engine; , when the engine charges power batteries, is the engine power of the control period; , when the engine charges power batteries, is the fuel consumption rate of the engine.

Let be the average fuel consumption rate when the engine charges power batteries:

When the motor drives the vehicle after a period of , equivalent instantaneous fuel consumption of the motor is

###### 2.1.2. Calculate the Fuel Consumption of Batteries Charging

When the power battery is charged by the engine, its SOC value will rise and even exceed the target of the SOC value. In order to maintain SOC values, power battery energy will be consumed in future [18]. Discharging time is divided into control cycles, and the motor power of the each control cycle is [17].

In a certain period of discharging time, the relationship between motor power () with driving vehicle and motor power () with charging power batteries is where is the motor power when the power battery is charged; is the average efficiency of motor; is the average efficiency of the power battery charging; is the average efficiency of the power battery discharging.

When the motor drives the vehicle, the relationship between the motor power battery energy consumption and the fuel consumption rate is where , when the engine charges the power battery, is the power of the engine; , when the engine charges the power battery, is the fuel consumption rate of the engine; , when the engine does not charge the power battery, is the power of the engine; , when the engine does not charge the power battery, is the fuel consumption rate of the engine.

Let be the fuel consumption rate when the engine charges the power battery:

Simplify the (8) formula:

When the motor charges power batteries after a period of , the objective function of equivalent instantaneous fuel consumption of the motor is

###### 2.1.3. Deduce the Objective Function of the Instantaneous Optimal Control Strategy

Set two new variables: where is the fuel consumption rate when the engine charges power batteries at the present moment; is the average fuel consumption rate when the engine charges power batteries in the future time.

The instantaneous control objective function of the lowest fuel consumption is where is engine speed; is motor speed; is output torque of the engine; is output torque of the motor. Consider

and are both motor power, so they can be unified as . By calculating, the improved instantaneous control objective function of the minimum fuel consumption is where .

###### 2.1.4. Improve the Objective Function of the Instantaneous Optimal Control Strategy

SOC value change of batteries and braking energy recovery both have a certain effect on energy control. The optimal function of the working point needs to be improved.

*(**1) Revise the SOC Value Function of Power Batteries.* When power batteries work, their SOC value is maintained at the high efficient range by the reset function, in order to reduce the loss energy in the process of charging and discharging power batteries and make hybrid system keep better performances. The working principle of SOC reset function is as follows. When the SOC value is more than the target region, the hybrid power system will give priority to consuming power battery energy. It does not stop until SOC value decreases to the target region under the effect of the reset function. When the battery SOC value is lower than the target region, the hybrid system will give priority to consuming fuel energy to drive the vehicle and recover the value of SOC. It does not stop until SOC value returns to the target region under the effect of the reset function.

Set be the variable in the reset function, and the value table between and SOC value is shown in Table 1.

Based on the Matlab platform and Table 1 data, the fitting curve between and SOC value is constructed by using fitting curve toolbox, as shown in Figure 3.

Polynomial function of the fitting curve is where : is SOC value.

Considering the influence of power battery SOC, the formula of instantaneous equivalent fuel consumption of HEV can be expressed as .

*(**2**) Revise the Objective Function of Braking Recovery Energy.* The adopted method which revises the equivalent fuel consumption function of power battery energy is as follows: the average braking power is calculated at a period of time before the current moment. The power is used as the standard of fuel consumption correction of the braking recovery power in the next moment [19–22].

The statistical time range is divided into cycles. In each cycle, let braking power be a fixed value. Therefore, the average braking power of the whole time can be expressed as

When power batteries discharge, the objective function of instantaneous equivalent fuel consumption is

In summary, taking the influence of power battery SOC and brake energy recovery into consideration, the final objective function of instantaneous optimal control strategy is

##### 2.2. Elman Neural Network Control Strategy

###### 2.2.1. The Structure of Elman Neural Network

Elman neural network is put forward by Jeffrey L. Elman in 1990 and is a typical local recessionary grid, as shown in Figure 4 [23].

is the input of the neural network and its size is ; is the neuronal threshold vector of the feedback layer and its size is ; is the connective weight vector of the neurons and the input vector in the input layer and its size is ; is the middle operational result of the neurons in the feedback layer, namely, weighted sum of the connective weight vector and the threshold vector, and its size is ; is the output vector of the feedback layer’s neuron in the iteration and its size is ; is feedback node. It is the same way that , , , and are related to parameters of the output layer.

The inputs of structure diagram of Elman neural network is the required torque, speed, and SOC value of power battery and its output is motor torque. The structure diagram of Elman neural network is shown in Figure 5 [24].

The structure diagram of Elman neural network contains input layer, hidden layer, undertaken layer, and output layer. Let the input vector of the input layer be three-dimensional vector ; the output vector of the output layer is one-dimensional vector ; the output vector of the hidden layer is -dimensional vector ; the output vector of the undertaken layer is -dimensional vector ; , , and are respective connective weights of the hidden layer to the output layer, the input layer to the hidden layer, and the undertaken layer to the hidden layer; is the driving function of the output neurons; is the driving function of hidden layer; is the driving function of undertaken layer; net is the net input driving function of a certain layer; shows the input layer; shows the undertaken layer; shows the iterative sequence.

Define two functions:

The input and output functions of the neuron of the hidden layer are

The input and output functions of the neuron of the hidden layer are

The input and output functions of the output layer’s neuron are

###### 2.2.2. Select the Parameters of Elman Neural Network

The neuron number is determined by following formula [25]: where is the number of the input vector; is the neuron number of the output vector; is a constant, (1~10).

The excitation function of Elman neural network of the feedback layer selects the Tansig function [26]:

###### 2.2.3. Learning and Training Mechanism of Elman Neural Network

Elman neural network is trained by Levenberg-Marquardt algorithm. The error index function of Levenberg-Marquardt arithmetic is where is the sample number; is the systemic error; is the actual output of the network.

The formula of the adjusting weight is

The computing formula of the increment weight is where is learning rate; is the unit matrix; is the Jacobian matrix. Consider

Neural network weight is adjusted by the Levenberg-Marquardt algorithm, and the adjusting process is shown in Figure 6.

#### 3. Modeling of Energy Control Strategy

##### 3.1. Modeling of Instantaneous Optimal Control Strategy

On the platform of Matlab/simulink, the instantaneous control model is established and mainly includes two parts: the calculation model of average braking energy of recovered power and the calculative model of optimal working point [25, 26].

First, the calculation model of average braking energy of the recovery power is established as shown in Figure 7. Inputs of the model are the required torque and rotational speed and its output is the calculated average recovery power of braking energy in the transmission system.

Second, the calculation model of the revised SOC value of power battery is established, as shown in Figure 8. The model can maintain the SOC value of power batteries at a high efficient range.

Third, the calculation model of the optimal operating point is established, as shown in Figure 9. Inputs of the model are the required torque, rotational speed, modified value of power batteries, and the average braking recovery power and the output torque of the motor is the optimal allocation power between the engine and motor in the transmission system.

Finally, the whole simulation diagram of the instantaneous control strategy is established, as shown in Figure 10.

##### 3.2. The Elman Neural Network Model

Elman neural network is gradually learning to do something by imitating human brain. Its essence is to improve the learned knowledge and the neurons weight [27–30]. The flow diagram of the trained Elman neural network is shown in Figure 11.

#### 4. Simulation Results and Analysis

The basic vehicle parameters are shown in Table 2.

Traffic parameters of simulation experiments are described in Table 3.

The original control model is replaced by the instantaneous optimal control model in ADVISOR 2002. Then the trained Elman neural network controller is imported to the software [31, 32].

Simulation results are shown in Figure 13. HWFET_mdf and NEDC_mdf show simulation results of the instantaneous optimal control strategy of the PHEV model (Figure 12); HWFET_net and NEDC_net show simulation results of the Elman neural network controller of the PHEV model.

Compared with the instantaneous optimal control strategy, the Elman neural network strategy can slow down the decline of SOC value and maintain SOC value at high efficient range on the NEDC working condition in Figure 13(a). Meanwhile, the Elman neural network strategy has approximate SOC value change compared with the instantaneous optimal control strategy on the HWFET working in Figure 13(b).

As shown in Figure 13(a), Elman neural network strategy can make the engine produce more torque than the instantaneous optimal control strategy at the beginning of 600 s on the NEDC working condition. It can make the vehicle start, accelerate, and climb better. After the vehicle starts, the two control strategies play the same role on the vehicle energy control. As seen in Figure 13(b), Elman neural network strategy can make the engine produce slightly more torque than instantaneous optimal control strategy on the HWFET working condition, while these two strategies have similar effect on the engine torque control.

As seen in Figure 15, Elman neural network strategy can make motor produce slightly more torque than the instantaneous optimal control strategy at some moments on the NEDC and HWFET working condition, while the two strategies have the similar effect on the motor torque control.

As shown in Table 4, compared with the instantaneous optimal neural strategy, fuel consumption of Elman neural network strategy only increases about 0.5 (L/100 km) on the NEDC and HWFEF working condition, which implies that Elman neural network controller can also have the advantage of low fuel consumption. The slight increase in fuel consumption can be accepted since it has a little effect on the fuel economy of the whole vehicle. As seen in Table 5, Elman neural network strategy makes the simulation time decreased greatly compared with the instantaneous optimal neural strategy and improves the response time of the vehicle greatly.

In conclusion, as seen in Figures 13, 14, and 15, Elman neural network strategy can replace the instantaneous optimal control strategy to maintain SOC value at the high efficient range and achieve a reasonable distribution of the torque between the engine and the motor. The significance of the paper is that the simulation time of energy control is reduced by 96%.

#### 5. Conclusion

Through the research on the instantaneous optimal strategy and Elman neural network control strategy, we deduce the objective functions of instantaneous optimal control and establish the instantaneous control model and design the Elman controller. Based on the ADVISOR 2002 platform, two control strategies were simulated on a hybrid electric vehicle.

It is seen from the simulation results that the trained Elman neural network strategy shows similar control ability on the vehicle energy distribution compared with the instantaneous optimal control strategy, which ensures good performances of power and fuel economy of HEV, reduces the control reaction time greatly, and overcomes the disadvantage of poor real-time performance of the instantaneous optimal control strategy. The research significance of the paper is that the simulation time of energy control is reduced by 96%.

Future works are listed as below.(1)Simulation and experiment should be improved by adding more design parameters, such as vehicle emission.(2)It is necessary to do lots of experiments to enrich simulation results.(3)Actual road condition is more complex than the simulation road condition, so control strategies need to be tested in the actual road conditions.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### References

- S. G. Cui,
*Automotive Technology Of New Energy*, Beijing University of Technology press, Beijing, China, 2009. - R. Hodkinson and J. Fentos,
*Lightweight Electric/Hybrid Vehicle Design*, SAE International, Warrendale, Pa, USA, 2001. - J. Wu,
*Optimization of energy management strategy for parallel hybrid electric vehicle [Ph.D. thesis]*, Shang Dong University, Ji Nan, China, 2008. - C. Lin, H. Peng, J. W. Grizzle, and J. Kang, “Power management strategy for a parallel hybrid electric truck,”
*IEEE Transactions on Control Systems Technology*, vol. 11, no. 6, pp. 839–849, 2003. View at Publisher · View at Google Scholar · View at Scopus - T. Hofman, M. Steinbuch, R. van Druten, and A. Serrarens, “A Rule-based energy management strategies for hybrid vehicles,”
*Electric and Hybrid Vehicles*, vol. 1, no. 1, pp. 71–94, 2007. View at Google Scholar - N. Jalil, N. A. Kheir, and M. Salman, “A rule-based energy management strategy for a series hybrid vehicle,” in
*Proceedings of the American Control Conference*, pp. 689–693, Albuquerque, NM, USA, 1997. View at Publisher · View at Google Scholar - S. Delprat, J. Lauber, T. M. Guerra, and J. Rimaux, “Control of a parallel hybrid powertrain: optimal control,”
*IEEE Transactions on Vehicular Technology*, vol. 53, no. 3, pp. 872–881, 2004. View at Publisher · View at Google Scholar · View at Scopus - S. Delprat, T. M. Guerra, and J. Rimaux, “Optimal control of a parallel hybrid powertrain from global optimization to real time control strategy,” in
*Proceedings of the 18th International Electric Vehicle Symposium*, Berlin, Germany, 2001. - M. H. Asemani and V. J. Majd, “Stability of output-feedback DPDC-based fuzzy synchronization of chaotic systems via LMI,”
*Chaos, Solitons and Fractals*, vol. 42, no. 2, pp. 1126–1135, 2009. View at Publisher · View at Google Scholar · View at Scopus - G. D. Tian, J. W. Chu, Y. Lu, H. Ke, X. Zha, and G. Xu, “Expected energy analysis for industrial process planning problem with fuzzy time parameters,”
*Computers & Chemical Engineering*, vol. 35, no. 12, pp. 2905–2912, 2011. View at Google Scholar - G. Paganelli and S. Delprat, “Equivalent consumption minimization strategy for parallel hybrid powertrains,” in
*Proceedings of the IEEE Vehicular Technology Conference*, vol. 4, pp. 2076–2081, 2002. - J. Park, Y. Park, and J. H. Park, “Real-time powertrain control strategy for series-parallel hybrid electric vehicles,”
*SAE Paper*3172, 2007. View at Google Scholar - A. Sciarretta, M. Back, and L. Guzzella, “Optimal control of parallel hybrid electric vehicle,”
*IEEE*, vol. 12, no. 3, pp. 352–363, 2004. View at Publisher · View at Google Scholar - J. Park, Y. Park, and J. H. Park, “Real-time powertrain control strategy for series-parallel hybrid electric vehicles,”
*SAE Paper*, vol. 1, no. 3172, 2007. View at Google Scholar - H. R. Karimi and H. J. Gao, “New delay-dependent exponential ${H}_{\infty}$ synchronization for uncertain neural networks with mixed time delays,”
*IEEE Transactions on Systems, Man, and Cybernetics B: Cybernetics*, vol. 40, no. 1, pp. 173–185, 2010. View at Publisher · View at Google Scholar - R. Razavian, N. L. Azad, and J. Mcphee, “On real-time optimal control of a series Hybrid Electric Vehicle with an ultra-capacitor,” in
*Proceedings of the American Control Conference*, pp. 547–552, 2012. - D. Sinoquet, G. Rousseau, and Y. Milhau, “Design optimization and optimal control for hybrid vehicles,”
*Optimization and Engineering*, vol. 12, no. 1-2, pp. 199–213, 2011. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - G. Paganelli, G. Ercole, A. Brahma, Y. Guezennec, and G. Rizzoni, “General supervisory control policy for the energy optimization of
charge-sustaining hybrid electric vehicles,”
*JSAE Review*, vol. 22, no. 4, pp. 511–518, 2001. View at Google Scholar - W. H. Sun, H. J. Gao, and O. Kaynak, “Adaptive backstepping control for active suspension systems with hard constraints,”
*IEEE/ASME Transactions on Mechatronics*, vol. 18, no. 3, pp. 1072–1079, 2013. View at Publisher · View at Google Scholar · View at Scopus - W. Sun, Z. Zhao, and H. Gao, “Saturated adaptive robust control for active suspension systems,”
*IEEE Transactions on Industrial Electronics*, vol. 60, no. 9, pp. 3889–3896, 2013. View at Publisher · View at Google Scholar · View at Scopus - W. Sun, H. Gao Sr., and O. Kaynak, “Finite frequency ${H}_{\infty}$ control for vehicle active suspension systems,”
*IEEE Transactions on Control Systems Technology*, vol. 19, no. 2, pp. 416–422, 2011. View at Publisher · View at Google Scholar · View at Scopus - W. Sun, Y. Zhao, J. Li, L. Zhang, and H. Gao, “Active suspension control with frequency band constraints and actuator input delay,”
*IEEE Transactions on Industrial Electronics*, vol. 59, no. 1, pp. 530–537, 2012. View at Publisher · View at Google Scholar · View at Scopus - F. J. Lin, Y. C. Hung, and S. Y. Chen, “FPGA-based computed force control system using Elman neural network for linear ultrasonic motor,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 4, pp. 1238–1253, 2009. View at Publisher · View at Google Scholar · View at Scopus - G. Pajares, M. Guijarro, and A. Ribeiro, “A Hopfield Neural Network for combining classifiers applied to textured images,”
*Neural Networks*, vol. 23, no. 1, pp. 144–153, 2010. View at Google Scholar - G. D. Tian, Y. M. Liu, Q. Z. Tian, and J. W. Chu, “Evaluation model and algorithm of product disassembly process with stochastic feature,”
*Clean Technologies and Environmental Policy*, vol. 14, no. 2, pp. 345–356, 2012. View at Google Scholar - G. D. Tian, M. C. Zhou, J. W. Chu, and Y. M. Liu, “Probability evaluation models of product disassembly cost subject to random removal time and different removal labor cost,”
*IEEE Transactions on Automation Science and Engineering*, vol. 9, no. 2, pp. 288–295, 2012. View at Google Scholar - M. Zapateiro, N. Luo, H. R. Karimi, and J. Vehí, “Vibration control of a class of semiactive suspension system using neural network and backstepping techniques,”
*Mechanical Systems and Signal Processing*, vol. 23, no. 6, pp. 1946–1953, 2009. View at Publisher · View at Google Scholar · View at Scopus - W. Pawlus, H. R. Karimi, and K. G. Robbersmyr, “Data-based modeling of vehicle collisions by nonlinear autoregressive model and feedforward neural network,”
*Information Sciences*, vol. 235, pp. 65–79, 2013. View at Publisher · View at Google Scholar · View at Scopus - J. Guo and W. J. Sun,
*Neural Network Theory and the Realization of MATLAB7*, Publishing House of Electronics Industry, Beijing, China, 2005. - K. L. Zhou and Y. H. Kang,
*Neural Network Model and MATLAB Simulation Programming*, Tsinghua University press, Beijing, China, 2005. - T. Markel, A. Brooker, T. Hendricks et al., “ADVISOR: a systems analysis tool for advanced vehicle modeling,”
*Journal of Power Sources*, vol. 110, no. 2, pp. 255–266, 2002. View at Publisher · View at Google Scholar - X. H. Zeng and Q. N. Wang, “Develop control strategy model of hybrid electric vehicle based on ADVISOR2002,”
*Automotive Engineering*, vol. 26, no. 5, pp. 423–427, 2004. View at Google Scholar