TSWJ The Scientific World Journal 1537-744X Hindawi Publishing Corporation 831564 10.1155/2013/831564 831564 Research Article Optimal Control for a Parallel Hybrid Hydraulic Excavator Using Particle Swarm Optimization Wang Dong-yun 1 Guan Chen 2 Lu Y. Torii S. 1 School of Engineering Zhejiang Normal University Zhejiang 321005 China zjnu.edu.cn 2 School of Mechanical Engineering Zhejiang University Zhejiang 321005 China zju.edu.cn 2013 2 6 2013 2013 17 04 2013 19 05 2013 2013 Copyright © 2013 Dong-yun Wang and Chen Guan. 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.

Optimal control using particle swarm optimization (PSO) is put forward in a parallel hybrid hydraulic excavator (PHHE). A power-train mathematical model of PHHE is illustrated along with the analysis of components’ parameters. Then, the optimal control problem is addressed, and PSO algorithm is introduced to deal with this nonlinear optimal problem which contains lots of inequality/equality constraints. Then, the comparisons between the optimal control and rule-based one are made, and the results show that hybrids with the optimal control would increase fuel economy. Although PSO algorithm is off-line optimization, still it would bring performance benchmark for PHHE and also help have a deep insight into hybrid excavators.

1. Introduction

With the purposes of reducing fuel consumption and emissions, colleges, institutes, and companies are trying to develop a new type of excavator for the next generation. In 2003, Hitachi first produced one hybrid wheel loader which was the first hybrid construction machinery around the world. Until now, a large portion of construction machinery producers including Kobelco, Komatsu, and Caterpillar are involved in the field of hybrid excavators.

From the system configuration point of view, there are three types of hybrid excavators depending upon different power-train configurations. One is series hybrid excavator, another is the parallel one, and the remaining is the split one. To get detailed information regarding the properties of all these different configurations, readers would refer to the literature [1, 2]. In summary, compared with other two, the parallel configuration is considered as the one with low cost and better performance. One parallel hybrid hydraulic excavator has an additional motor that is connected to the engine via the same shaft; in addition, one storage unit (usually it is battery or capacitor) is introduced into power-train as to receive extra energy from engine to charge itself when the motor is in generation mode or deplete its energy to the pump when the motor is in motor mode. The main concepts of hybrids are to keep the engine’s working points located in high fuel economy range that would badly decrease the fuel consumption regardless of working condition. Wang et al. did simulation research and evaluated energy saving effect in parallel hybrid excavators in 2005 and also presented a way to recover potential energy from excavators . The parallel model, system dynamic analysis, rule-based control strategy, fuzzy logic control strategy, and component sizing are put forward by Wang et al. . Despite of all these efforts in the field, few papers focus on the nonlinear constraints optimal control problem for PHHE.

As described in , the electric motor provides a fast response to the torque and speed demand with high efficiency in a large angular velocity scale. So in this paper, PSO algorithm is mainly used to get the optimal working points of the diesel engine. So the obtained group of engine’s working points is globally optimized at each sampling time. This program automatically moves on to the next time interval once it finishes the previous sampling time. Thus, the global optimization for the whole cycle could be achieved. Here, PSO algorithm was first invented by Kennedy and Eberhart in 1995, that is, a stochastic global optimization approach capable of obtaining the global optimum . Compared with other kinds of derivative-free algorithms such as DIRECT, simulated annealing (SA), and genetic algorithm (GA), PSO’s strength lies in its simplicity, being easily coded and requiring few algorithm parameters to define convergence behavior. Also, one could use gradient-based algorithms such as sequential quadratic programming (SQP) to find the local minima, but it would not search the entire space, so the global optimum could not be obtained by this method.

The structure of the paper is as follows. Section 2 describes the model of the parallel hybrid hydraulic excavator and components’ parameters in detail. The optimal control problem is formulated in Section 3, followed by inequality/equality constraints. PSO algorithm is then coded to deal with this specific application. The obtained set of optimum points will be implemented in the aforementioned model, and the analysis of the optimal control will be presented based on comparisons. Finally, Section 4 provides an extension on further research and a summary of this paper.

2. The Plant Model

A schematic of a parallel hybrid hydraulic excavator is shown in Figure 1. The motor connects to the pump and engine together through the same shaft, and all the required power at the pumps is satisfied by the engine and motor. So with this configuration, it has three different types of modes listed as follows. (1) Motor assist hybrid mode: the engine and the motor would drive the final load together, and the motor is working under motor mode. (2) Motor generation hybrid mode: only engine delivers power to the load, and part of the power from the engine will be transmitted to the motor then will be charged into the battery. (3) Pure engine mode: only the engine works, and the motor will be rotated along with the shaft with no torque generated. The equations of the power-train are presented as follows: (1)Jengdwengdt=τeng_T-τeng,Jmcdwmcdt=τmc_T-τmc,τeng+τmc=τp,weng=wmc=wp,Pp_in=τpwp=pxQx+p2Q2ηp, where Jeng, τeng, weng, and τeng_T are inertia, speed, torque, and total torque of the engine, respectively, and   Jmc,  wmc, τmc, and τmc_T are inertia, speed, torque, and total torque of the motor. Pp_in, τp, wp, px, Qx, and ηp are input power, torque, speed, pressure, flow, and efficiency of the pumps. Since in current configuration of the excavator, there are 2 pumps connected in parallel by which bucket cylinder, arm cylinder, swing hydraulic motor, and boom cylinder are driven.

A schematic of a parallel hybrid hydraulic excavator.

In addition, the dynamic equations of the battery are analyzed as follows: (2)i=Uoc-Uoc-2PbatRbat2Rbat,SOC=-Uoc-Uoc-2PbatRbat2RbatCbat,Pbat=τmcwmcηmck, where Uoc, Pbat, Rbat, Cbat, i, and SOC are open-circuit voltage, required power, inner resistor, maximum capacity, current, and state of charge of the battery, respectively. k indicates the motor’s current mode and 1 means that the motor is under motor mode, while 0 indicates that the motor is under generation mode.

In summary, there are several static look-up tables with which the fuel rate of the engine, open-circuit voltage of the battery, resistor of the battery, and motor’s efficiencies are obtained by former experimental data: (3)m˙fuel=m˙fuel(theng,τeng),Uoc=Uoc(SOC,temp),Rbat=Rbat(k,SOC,temp),ηmc=ηmc(k,τmc,wmc), where m˙fuel and theng are engine’s fuel rate and throttle angle, and temp is the temperature value of the battery pack.

In Figure 2, the required power of the pumps is collected from experiments while the 5-ton excavator is under heavy digging condition (the rock excavation, e.g.). This power chart is considered as the required load in our model; then engine, motor, and battery would be controlled in order to meet the requirements. In Table 1, the components’ parameters are listed there.

Components’ parameters of a PHHE.

Components’ parameters Specific information
Engine
Type ZN485Q, turbocharged diesel ICE
Rating power 25 kW at 2200 r/min
Maximum torque 124.8 N·m at 1860 r/min
Motor
Type Custom-built PMSM
Rating power 15.7 kW
Maximum torque 150 N·m
Rating voltage 250 V
Voltage range 216~360 V
Speed range 0~4000 r/min
Battery
Type NIMH, QNFG 8
Each cell’s voltage 1.2 V
Number of cells 200
Energy capacity 8 Ah
Maximum discharge power 19.2 kW
Hydraulic pumps
Type 2 variable pumps and 1 gear pump
Maximum flow (2*44+32) L/min
Working pressure 21 MPa

The required power at the pumps under a heavy digging cycle.

3. Optimal Control

For every second, Pp_in(t) is supposed to be known, and with the shaft speed wp(t) as feedback, the required torque τp(t) could be calculated. Thus, in all, these variables are considered as inputs to the power-train system. Then, the optimal control problem could be addressed in a mathematical way like the following:(4)minJ=t=0t=τ(ττ+1m˙fuel(theng(t),τeng(t))dt+f(SOC(t)ττ+1m˙bat(t)dt)),m˙bat=τmcwmc/ηmckδ·ϑ.

Subject to: (5)theng_mintheng(t)theng_max,τeng_minτeng(t)τeng_max(weng(t)),wmc_minwmc(t)wmc_max,τmc_min(wmc(t),SOC(t))τmc(t)τmcmax(wmc(t),SOC(t)),SOCminSOC(t)SOCmax, where m˙bat is equivalent fuel rate of the battery, δ is a gain to convert unit Ws to kWh, and ϑ is the average fuel rate of the engine. theng_min and theng_max are minimal and maximal throttle angle of the engine, τeng_min and τeng_max are minimal and maximal engine’s torque, wmc_min and wmc_max are speed thresholds for the motor, and τmc_min and τmc_max are torque boundaries of the motor which are function of wmc and SOC. SOCmin and SOCmax are limitations for battery’s SOC.

The previous formulation is based on the concept of equivalent fuel consumption, and the objective is to find the global optimum by searching the entire possible space. The engine’s fuel rate is indexed by the throttle angle and torque of the engine. For any given required power at each one-second period, engine’s different working points will bring about different amounts of fuel consumption. So here we define the throttle angle and torque as the input variables. For a single time interval, the optimum will be found with lowest equivalent fuel consumption. Then moving to the next time interval, so a set of optimal points would be achieved, and for every potential point, it is necessary to check its feasibility so as to meet all the constraints as shown in Table 2.

Constraints parameter in optimal control formulation.

Constraints parameter Value
t h eng _ min ~theng_max 0.5~1
τ eng _ min ~τeng_max 0~124.8 N·m
w mc _ min ~wmc_max −4000~4000 r/min
τ mc _ min ~τmc_max Subject to battery’s SOC and motor’s current speed
SO C min ~SOCmax 0.2~0.92
ϑ 240 g/kWh
δ 2.78 × 1 0 - 7

In objective function, weight is introduced, that is, function of battery’s SOC, to maintain SOC in narrow range (see Figure 3). Once SOC is 0.6, the weight is equal to 1, and when SOC increases, the weight would be slightly changed to 0.5. Furthermore, if SOC changes in the opposite direction, our program will finally increase the weight to 2 that would bring about impacts of using battery less and operating engine in high output power level.

SOC weighting factor f(SOC) for optimal control.

As described in Figure 4, the plant block will give the required torque demand to the PSO block (the required power demand at the pumps); then PSO will initialize a group of particles with random positions and velocities that are located in the predefined ranges. Here, our space is defined by engine’s throttle angle and torque, and the outputs of PSO block are commands for the engine and motor; then these commands will be delivered to the checking feasibility block, and if only one command in the set does not satisfy the constraints, a relative high value will be assigned to the corresponding fitness function. In other words, these unfeasible points will not been selected to generate next population. After the first generation is totally completed, PSO uses the following two equations to reproduce next points: (6)vdi(k+1)=w(k)vdi(k)+c1·rand·(pBesti(k)-xdi(k))+c2·rand·(gBest(k)-xdi(k))xdi(k+1)=xdi(k)+vdi(k+1), where i, d, and k represent the number of particles, dimensions of each particle, and iterations, respectively. v and x are the velocity and position of each particle, and pBesti(k) indicates after k iterations, the position of one point with best fitness value located in number i particles. So this is a local minimum which is obtained only by one group of particles. gBest(k) means, after k iterations, the position of one point with best fitness value for all the particles, so this is a global minimum. Obviously, after a relatively large number of iterations pBesti(k) and gBest(k) will approach to the same position.

Structure of the optimal control.

As listed in Table 3, all the parameters related to the PSO have been defined. Here, the iteration k is a stopping criterion. We need to find out how many generations are needed for each optimization process to finally reach the optimum point. One case of optimization process is then launched in order to observe how the global best fitness value evolves when the number of iteration is increasing. In Figure 5, when iteration arrives at 80, it seems that the improvement will not be easily achieved. So we would state that the optimization process will approach its optimum after 80 iterations, and it is reasonable to set 80 iterations as the stopping criterion in PSO.

Parameters in PSO.

PSO parameters Value
w ( k ) 0.9~0.4, with a reduction of 1/120 for each k
c 1 1.4
c 2 1.4
d 2, throttle angle: 0.5~1; engine torque: 0~124.8 N·m
i 20
k 80

Best values for each iteration.

After each time interval, the optimum set of engine’s throttle angle and torque could be recorded as well as the SOC value at the end of this time interval. So for the next time interval, the previous SOC value will be used as the initial SOC value. After 100 seconds, we could get a series of optimum points which are optimized for the given working condition in the specific time periods (see Figures 6 and 7). In Figure 6, the optimum throttle angle is plotted, since we get the optimum results in a period of one second, and also this is command signal, so one throttle angle value will last at 1 second and will be changed to another value steeply. In Figure 7, the optimum engine torque is located approximately from 85 to 115 N·m, and the engine will deliver the average required torque to the final load. Then, these two groups of optimum points will be used as control commands in model-based study. Some extensions would then be obtained.

A group of optimized throttle angle demands for the engine.

A group of optimized torque demands for the engine.

In Figures 810, these are results got from using the aforementioned optimum points of the engine. Figure 8 depicts the motor’s performance in terms of its real-time torque (black curve), maximum propelling torque (red curve), maximum regenerating torque (yellow curve), and battery’s constrains on the motor (pink curve and green curve). So we could get a conclusion that the motor is operated properly in reasonable range that meets all the constraints. In Figure 9, the engine’s torque is plotted; since in engine’s model, engine’s dynamic characteristics (e.g., engine’s response time) are taken into consideration, so the engine’s real-time torque does have some difference from the engine’s torque commands. Also we could calculate the real-time engine’s speed which is equal to the motor’s speed and pumps’ speed using the engine’s speed tuning characteristic curve.

The motor’s performance using optimum engine’s points as commands.

The engine’s real-time torque along 100-second period.

The engine’s real-time speed along 100-second period.

In Figures 11 and 12, the comparisons are studied. For these two control strategies, under the same circumstance, that is, the same initial SOC value, same system configuration, same working cycle, and so on, we would compare their results, especially in terms of fuel economy and system efficiency. In Figure 11, compared with rule-based one, a slight fuel economy could be achieved, but not too much, because at that point, the engine is operated constantly with 80% throttle angle which is suitable for that working cycle once using rule-based controller, but the reality is that the working condition for excavators is very bad, and the rule-based one would not fit for all the conditions. In addition, rule-based control will have the drawbacks as follows: (1) it selects SOC as its signal to decide engine’s output power level, and compared with load alteration, SOC value is supposed to have some delays; (2) during the transitions of different working cycles, it cannot have high-level time response. In Figure 12, SOC value is increased more if using optimal control, which means that the battery is receiving much more energy from the engine, but referring to Figure 5, the throttle angle of the optimal control is obviously lighter than that of the rule-based one, and it indicates that the optimal control decreases the throttle angle for the engine but increases the efficiency of the system.

The comparisons of total fuel consumption between PSO optimal control and rule-based one.

The comparisons of SOC alteration between PSO optimal control and rule-based one.

4. Conclusion

In this paper, the optimal control problem in parallel hybrid hydraulic excavators is first brought forward on the basis of analysis of components’ dynamic in power-train and parameters. One may reach a conclusion that higher fuel economy would be achieved easily with hybrid configuration, but cannot imagine how much the system’s efficiency and fuel economy would be increased with hybrids or exactly potential room for using this configuration. The optimal control results would give a benchmark in this field, so other control strategies could compare their effects with the previously stated standard one, and it has been clearly demonstrated that parallel hybrid system with optimal control is able to increase the fuel economy compared with rule-based control strategy in all kinds of working cycles. This comparison would give us a right direction in helping redesign components’ size and revise control strategies.

The current work is done only under heavy digging working condition, so the results of rule-based control strategy are not that bad, but extending to the blended working conditions, the rule-based one would never change its throttle angle quickly enough, so we will see a large difference between these two strategies. For further research work, there at least exist two aspects which could be studied deeply to update our results. One is to focus on the blended working conditions, trying to find rules on how to adjust the engine’s throttle angle to get high fuel economy. Finally, to develop real-time application for PHHE that would become available. The other one is to use the optimal control results as guidance to revise rule-based control strategy accordingly.

Acknowledgment

The authors received the financial support of the National Natural Science Foundation (51205368) and the Natural Science Foundation of Zhejiang Province (Grant no. LQ12E05003).

Wang D. Guan C. Pan S. Zhang M. Lin X. Performance analysis of hydraulic excavator powertrain hybridization Automation in Construction 2009 18 3 249 257 2-s2.0-58949096650 10.1016/j.autcon.2008.10.001 Wang D. Lin X. Zhang Y. Fuzzy logic control for a parallel hybrid hydraulic excavator using genetic algorithm Automation in Construction 2011 20 5 581 587 2-s2.0-79957448897 10.1016/j.autcon.2010.11.024 Lin X. Pan S. Wang D. Dynamic simulation and optimal control strategy for a parallel hybrid hydraulic excavator Journal of Zhejiang University Science A 2008 9 5 624 632 2-s2.0-44449135864 10.1631/jzus.A071552 Xiao Q. Wang Q. Zhang Y. Fu Q. Study on modeling and control strategy of hybrid system in hydraulic excavator Journal of Zhejiang University 2007 41 3 480 528 2-s2.0-34248400454 Xiao Q. Wang Q. Parameter matching method for hybrid power system of hydraulic excavator China Journal of Highway and Transport 2008 21 1 121 126 2-s2.0-40449127370 Kwon T. Lee S. Sul S. Park C. Kim N. Kang B. Hong M. Power control algorithm for hybrid excavator with supercapacitor IEEE Transactions on Industry Applications 2010 46 4 1447 1455 2-s2.0-77954882888 10.1109/TIA.2010.2049815 Wang D. Lin X. Zhang Y. Fuzzy logic control for a parallel hybrid hydraulic excavator using genetic algorithm Automation in Construction 2011 20 5 581 587 2-s2.0-79957448897 10.1016/j.autcon.2010.11.024 Kennedy J. Eberhart R. Particle swarm optimization Proceedings of the IEEE International Conference on Neural Networks December 1995 Piscataway, NJ, USA IEEE Service Center 1942 1948 2-s2.0-0029535737