A Appendix I – Case Studies
A.1 Case Study 1: Gear Ratio Optimization
This case study shows how the gear ratios of a manual gear box can be opti- mized to improve the fuel economy of a passenger car. This analysis is purely academic because it completely neglects all drivability issues and only focuses on the fuel economy of a vehicle that follows the MVEG–95 driving profile. Nevertheless, it is instructive because it shows how a numerical para- metric optimization problem can be defined and solved using a quasistatic problem formulation. The software tools used in this example are the QSS toolbox in conjunction with numerical optimization routines provided by Mat- lab/Simulink. This approach is quite powerful and can be used to solve non- trivial problems.
A.1.1 Introduction The powertrain of the light-weight vehicle analyzed in Sects. 3.3.2 and 3.3.3 includes a standard five-speed manual gear box. The ratios of these five gears are chosen according to the approach introduced in Sect. 3.2.2 and satisfy the usual requirements with respect to acceleration performance, towing capabil- ity, etc. These gear ratios do not yield the smallest possible fuel consumption when the vehicle is following the MVEG–95 test cycle and it is clear that there is a different set of gear ratios that improve the vehicle’s fuel economy. However, it is not clear at the outset what gear ratios are optimal and — more importantly — what gains in fuel economy may be expected in the best case. These two questions can be answered using the approach shown below.
A.1.2 Software Structure The vehicle model and its representation with the QSS toolbox have already been introduced in Sect. 3.3.3. The model shown in Fig. 3.11 is reused in 278 A Appendix I – Case Studies this problem setup. As illustrated in Fig. A.1, that model is embedded into a larger software structure that has a total of four hierarchy levels. The top level (a Matlab .m file named optimaster.m in this example) initializes all system parameters and defines a first guess for the optimization variables u, i.e., for the five gear ratios. After that, a numerical optimiza- tion routine is called (fminsearch.m in this example). This routine, which is part of Matlab’s optimization toolbox, calls a user-provided .m file (named opti_fun.m in this example) that computes the actual value of the objective function L(u), i.e., the fuel consumption of the vehicle for the chosen set of gear ratios u. For that purpose, the vehicle model that has been programmed using the QSS toolbox is used (file sys.mdl in this example).1
opti master.m
defines problem
initial guess u
calls fmins fminsearch.m
displays results formsnewu
··· calls function opti fun.m L(u) uses u to define sys.mdl analyzes results new gear box t
··· l/100km simulates vehicle
in MVEG-95 J J* v
cycle fuel consumption J* computes fuel IC engine economy L(u) w_gb dw_gb T_gb T_gb w_gb dw_gb gear box w_w dw_w T_rad i T_w w_w dw_w vehicle v a i v a driving profile
Fig. A.1 Software structure used to find the fuel-optimal gear ratios of a standard IC engine/manual gear box powertrain. The blocks with thick frames are provided by the programmer, the block framed by a thin line is a subroutine provided by Matlab’s optimization toolbox.
1 Note that Matlab/Simulink encapsulates all variables within the corresponding software modules. The exchange of variables across modules can be accomplished with several methods. A convenient approach is to define the necessary variables on all levels to be global and, thus, accessible to all modules. However, this method must be used with caution in order to avoid using the same variable name for different objects. A.1 Case Study 1: Gear Ratio Optimization 279
All files necessary to solve this case study can be downloaded at the web- site http://www.imrt.ethz.ch/research/qss/. The programs are straight- forward to understand. Some efforts have to be made in order to correctly handle situations in which infeasible gear ratios are proposed by the opti- mization routine.
A.1.3 Results
Obviously, each iteration started by the optimization routine requires one full MVEG–95 cycle to be simulated. Since many iterations are needed to find an optimum, short computation times become a key factor for a successful analy- sis. The computations whose results are shown below required approximately a total of 10 s CPU time on a 2 GHz power PC. This figure is acceptable and indicates that this method might be useful to solve more complex problems within a reasonable time.2
3.6 ] m
3.55 ption [l/100 k m fuel consu 3.5
3.45
0 20 40 60 80 100 120 140 160 180 number of iterations Fig. A.2 Iterations of the fuel consumption (the non-feasible solutions have been smoothed out)
Figure A.2 shows the evolution of the fuel consumption during one opti- mization run. The corresponding gear ratios are shown in Fig. A.3. During the optimization, several non-feasible sets of gear ratios are proposed by the
2 Moreover, no attempts were made to optimize or compile the Matlab/Simulink program. 280 A Appendix I – Case Studies routine fminsearch.m. The fuel consumption of these non-feasible solutions is set to be higher than the initial fuel consumption. For clarity reasons, these outliers have been omitted in Fig. A.2 and the fuel consumption of the previ- ous feasible solution has been used instead.
18
16
14
12
10 gear ratios [-] 8
6
4
2 0 20 40 60 80 100 120 140 160 180 number of iterations
Fig. A.3 Iterations of the gear ratios
It goes without saying that the method used in this case study is not guaranteed to yield the best possible fuel consumption. As with all numerical optimization techniques, there is no guarantee that the optimum found by the algorithm is the global optimum. However, in this specific case, the optimiza- tion was started with several other initial guesses for the gear ratio, and all of these runs converged to the same set of gear ratios. The main result of this case study is that there is little room for improve- ment by changing the gear ratios. As shown above, the expected gains in fuel economy (probably) are, even in the best case, less than 5%. This relatively small gain in fuel economy would not justify the poorer drivability following from the choice of fuel-optimal gear ratios. A.2 Case Study 2: Dual-Clutch System-Gear Shifting 281 A.2 Case Study 2: Dual-Clutch System-Gear Shifting
A.2.1 Introduction
This case study analyzes the problem of finding an optimal gear-shifting strat- egy for a vehicle equipped with a dual-clutch system. The vehicle model is illustrated in Fig. A.4. Which gear x ∈{1, 2, 3, 4, 5, 6} is engaged when, sub- stantially influences the total fuel consumption. Two gear shifting strategies are compared: (i) shifting the gears as proposed by the test cycle (the MVEG– 95, in this case), or (ii) shifting the gears such that the smallest possible fuel consumption is realized. Of course, at the outset this optimal gear shifting strategy is not known. Deterministic dynamic programming (see Sect. C) can be used to find it, provided the future driving profile is known. The resulting solution is not causal, but it will represent a benchmark for all possible causal control strategies. The problem has one state variable xk (the previous gear number) and one control input ik (the desired future gear number), both with inherently discrete values. A DDP approach is feasible because the drive cycle, which the vehicle has to follow (the MVEG–95 cycle introduced in Fig. 2.6), is known a priori.
i
v ωw ωe
cycle vehicle GB ICE Δmf
a Tw Te
Fig. A.4 QSS powertain model, gearbox GB includes a dual clutch system
A.2.2 Model Description and Problem Formulation
The QSS model illustrated in Fig. A.4 is equivalent to the following discrete model f(xk,ik). The chosen time step is 1 s. The vehicle model contains the air drag force 1 F (v)= · ρ · c · A · v2 (A.1) a 2 a d f the rolling friction force
cr2 Fr(v)=mv · g · (cr0 + cr1 · v )(A.2) and the inertial force Fi =(mv + mr) · a (A.3) 282 A Appendix I – Case Studies
The torque required at the wheel axle is
Tw =(Fa + Fr + Fi) · rw (A.4) where rw is the wheel radius. The rotational speed and acceleration of the wheel are v a ωw = , ω˙ w = (A.5) rw rw The gearbox model includes a transformation of the torque and rotational speed required at the wheel to the torque and rotational speed at the engine
Te = Tw/γ(x),ωe = ωw · γ(x), ω˙ e =˙ωw · γ(x)(A.6) where γ(x) is the gear ratio of gear x. The engine model is based on the Willans approximation introduced in Chap. 3. With this approach the fuel flow can be approximated by ωe pme0(ωe) · Vd Δmf = · Te + + Θe · ω˙ e · Δt (A.7) e(ωe) · Hl 4π where pme0(ωe) is the engine friction pressure, e(ωe) is the Willans efficiency, and Θe is the engine inertia. In the optimization discussed below, all numerical values correspond to a two liter naturally aspirated engine and a midsize vehicle. The model is now a simplified QSS-based model of a conventional vehicle with one state (the previous gear number) and one input (the desired new gear number). The time needed to shift gears using the dual-clutch system and an auto- matedgearboxisassumedtobemuchsmallerthanΔt = 1 s and therefore considered as instantaneous. Further it is assumed that the gearbox has lim- ited possibilities to change gears, i.e., that there is a constraint on the possible next gears depending on the current gear. It is this constraint that makes DDP a suitable method to solve the problem. Typically, such a gearbox contains two shafts: the first shaft carries gears one, three, and five and the second shaft gears two, four, and six. The possible instantaneous gear shifting is limited to gears from one shaft to the other. Hence, running at the gear x the possible next gear must be in the set ⎧ ⎨ {2, 4, 6} if x ∈{1, 3, 5} I(x)=⎩ {1, 3, 5} if x ∈{2, 4, 6}
Using the dynamic programming algorithm with the cost criteria Δmf ik ∈ I(xk) gk(xk,ik)= (A.8) ∞ otherwise it is possible to determine the optimal gear switching strategy for a given cycle that gives the minimum fuel consumption. A.3 Case Study 3: IC Engine and Flywheel Powertrain 283
30
/s] 20 m [
v 10 0 0 200 400 600 800 1000 1200 6
[-] 5 4 3 2 NEDC i 1 0 0 200 400 600 800 1000 1200 6 5
[-] 4 3 DP
i 2 1 0 0 200 400 600 800 1000 1200 time[s]
Fig. A.5 Results DDP optimization of the dual clutch gear box problem. Veloc- ity profile of the new European drive cycle NEDC (=MVEG-95) (top); standard MVEG–95 gear switching strategy (middle); and DDP optimal gear switching strat- egy (bottom).
A.2.3 Results
The resulting gear switching profile for the MVEG–95 is shown in Fig. A.5. Figure A.5 also shows the standard gear switching profile for that cycle. The average CO2 emissions for the considered vehicle using the standard MVEG– 95 gear switching strategy are approximately 200 g/km. With the dual-clutch system and the optimized strategy this value is reduced to 172 g/km. It is clear that the result of the DDP problem is optimal only for the chosen test cycle. Moreover, in practice it is not possible to achieve this level of fuel economy because of the many constraints (driving comfort, energy use of the gear shifting device, etc.). Nevertheless, this result shows that there is a substantial potential to improve the fuel economy using dual-clutch systems.
A.3 Case Study 3: IC Engine and Flywheel Powertrain
This section presents an approach that can be used to improve the part-load fuel consumption of an SI engine system. The key idea is to avoid low-load conditions by operating a conventional IC engine in an on–off mode. The excess power produced by the firing engine is stored in a flywheel in the form of kinetic energy. During the engine-off phases this flywheel provides the power needed to propel the vehicle. A CVT with a wide gear ratio is necessary to kinematically decouple the engine from the vehicle. 284 A Appendix I – Case Studies
From a mathematical point of view the interesting point in this example is the presence of state events that describe the transition of the clutch from slipping to stuck conditions. This is an example of a parameter optimization problem in which a forward system description must be used. The problem analyzed in this case study was formulated and solved within the ETH Hybrid III project. General information on that project can be found in [82] and [357]. The work described in this section was first published in [132].
A.3.1 Introduction
The ETH Hybrid III project was a joint effort of several academic and in- dustrial partners. Various aspects of hybrid vehicle design and optimization were analyzed during that project. All concepts proposed were experimentally verified on engine dynamometers and on proving grounds. The experimental vehicle used for that purpose is shown in Fig. A.6.
Fig. A.6 The ETH Hybrid III vehicle
This case study focusses on one particular aspect of the ETH Hybrid III design process. One of the key ideas analyzed and realized in this project was the development of a flywheel–CVT powertrain that permitted an efficient recuperation of the vehicle’s kinetic energy while braking and an on–off op- eration of the IC engine during low-load phases. The CVT was realized in an “i2” configuration3 that yielded a very large gear ratio range (approximately
3 With an appropriate system of external cog wheels and automatic clutches, the input and output of an “i2” CVT can be interchanged. Therefore, the standard gear ratio range i can be used twice. Due to the fact that some overlapping is necessary at the switching point, the total gear ratio range is slightly smaller than the theoretical maximum of i2. A.3 Case Study 3: IC Engine and Flywheel Powertrain 285
1 : 20). Figure A.7 shows a schematic representation of those parts of the ETH Hybrid III powertrain4 that are relevant for the subsequent analysis. The flywheel has a mass of approximately 50 kg and can store sufficient en- ergy to accelerate the vehicle from rest to approximately 60 km/h (see Sect. 5.2 for more information on flywheels). The flywheel is mounted coaxially to the engine shaft and rotates in air at ambient conditions. Its gyroscopic influ- ence on the vehicle is noticeable but does not pose any substantial stability problems.
engine flywheel vehicle
ωe ωf ωw Θe Θf CVT Te T1 clutch P0 Tf
Fig. A.7 Simplified schematic representation of the ETH Hybrid III powertrain structure
For the sake of simplicity, it is assumed in this analysis that the vehicle is driving on a horizontal road with a constant velocity characterized by the constant wheel speed ωw. Under this assumption the powertrain is operated in a periodic way as illustrated in Fig. A.8. At t = 0 one cycle starts with the IC engine off and the flywheel at its maximum speedω ¯.Att = τo the command to close the clutch is issued and the engine is accelerated from rest to ω. Since the point in time t = τc at which the engine speed reaches the flywheel speed is not known, its detection will be an important part of the solution presented below. In the time interval t ∈ [τc,τc + ϑ) the engine is operated at the torque Topt(ωe) that yields the best fuel economy, i.e., almost at full load. Of course, the power produced in this phase exceeds the power consumed by the vehicle to overcome the driving resistances. Accordingly, the flywheel is accelerated until it again reachesω ¯. At this point in time (t = τc +ϑ) the clutch is opened and the fuel is cut off such that the engine rapidly stops. The optimization problem to be solved consists of finding for each con- stant vehicle speed ωw those parameters ω andω ¯ that minimize the total fuel consumption. The following two contradicting effects are the reason for the existence of an optimum: higher flywheel speeds produce smaller duty- cycles and, hence, better engine utilization, but higher flywheel speeds also produce larger friction losses. The optimal compromise that minimizes the
4 In addition to the IC engine and the flywheel, the powertrain included an electric motor in a parallel configuration as well. These three power sources justified the appendix “III” in the vehicle name. 286 A Appendix I – Case Studies
ω flywheel speed ωf
ω engine speed ωe
τ0 τc τc + ϑ t
Fig. A.8 Illustration of the flywheel and the engine speed as functions of time fuel consumption is found using mathematical models of all relevant effects and numeric optimization techniques.
A.3.2 Modeling and Experimental Validation
The system to be optimized operates in two different configurations: “clutch open” with ωf = ωe and “clutch closed” with ωf = ωe. Accordingly, it is described by two different differential equations. In the case “clutch open” this equation is d P0(ωw) Θf · ωf (t)=−Tf (t) − , (A.9) dt ωf (t) where P0(ωw) is the power consumed by the vehicle at the actual wheel (ve- hicle) speed ωw. Following the assumptions mentioned above, the power P0 is constant and depends on the wheel speed ωw as follows · · 3 P0(ωw)=p1 ωw + p3 ωw (A.10) (the numerical values of all coefficients and parameters used in this case study are listed in Tables A.1 and A.2). The torque Tf (t) stands for all friction losses in the powertrain. It includes the aerodynamic losses of the rotating flywheel. In the ETH Hybrid III project it was possible to approximate these losses by
Tf (t)=k0 + k1 · ωf (t). (A.11)
In the case “clutch closed” (ωe(t)=ωf (t)) the powertrain dynamics are described by
d P0 (Θf + Θe) · ωf (t)=Te(ωf ) − Tf (t) − , (A.12) dt ωf (t) where the variable Te(t) stands for the fuel-optimal engine torque. This func- tion can be parametrized as A.3 Case Study 3: IC Engine and Flywheel Powertrain 287
· · 2 Te(ωe)=c0 + c1 ωe + c2 ωe. (A.13)
The last missing element of the modeling process is an approximation of the fuel mass flow during the phase when the engine fires
∗ mf (ωe)=f0 + f1 · ωe. (A.14)
Figure A.9 shows the comparison of the predicted and the measured flywheel speeds during on on–off cycle. The deviations at lower speed are noticeable, but do not substantially influence the final result. This can be seen by com- paring the predicted and the measured fuel consumption as illustrated in Fig. A.12. Five different pairs of switching speeds are shown in that figure, including the optimal solution ω = 114 rad/s and ω = 278 rad/s.
ωf [rad/s] 260
220
180 simulation 140 experiment 100
0102030 t [s] τc τc + ϑ
Fig. A.9 Comparison of the predicted and measured flywheel speed during one full cycle
A.3.3 Numerical Optimization
The optimization criterion that has to be minimized is the powertrain’s fuel consumption per distance travelled in one cycle, i.e.,