Outline Vehicle Propulsion Systems Lecture 09 Repetition Case study 6: Fuel Optimal Trajectories of a Racing FCEV Model compilation Case Study 6 Fuel Cell Vehicle and Optimal Control Model simplification Lars Eriksson Associate Professor (Docent) Formulating the optimal control problem Vehicular Systems Linköping University Optimal Controllers Solutions December 2, 2012 Some Additional Material – Fuel Consumption 1 / 40 The Vehicle Motion Equation 2 / 40 Gravitational Force Newtons second law for a vehicle mv I d v (t) = Ft (t) − (Fa (t) + Fr (t) + Fg (t) + Fd (t)) dt Gravitational load force –Not a loss, storage of potential energy Fa Fd Fa Ft Fd Fg Ft Fr Fg mv · g Fr α mv · g α I I Ft – tractive force I Fa – aerodynamic drag force I Fr – rolling resistance force I Fg – gravitational force I Fd – disturbance force Up- and down-hill driving produces forces. Fg = mv g sin(α) I Flat road assumed α = 0 if nothing else is stated (In the book). 3 / 40 Deterministic Dynamic Programming – Basic algorithm J(x0 ) = gN (xN ) + N−1 X 4 / 40 Examples of Short Term Storage Systems gk (xk , uk ) k=0 xk+1 = fk (xk , uk ) Algorithm idea: Start at the end and proceed backward in time to evaluate the optimal cost-to-go and the corresponding control signal x k= 0 1 2 ta N −1 N t tb 5 / 40 Heuristic Control Approaches I 6 / 40 Fuel Cell Basic Principles I Parallel hybrid vehicle (electric assist) I I I I Convert fuel directly to electrical energy Let an ion pass from an anode to a cathode Take out electrical work from the electrons Fuel cells are stacked (Ucell ≤ 1V) Determine control output as function of some selected state variables: vehicle speed, engine speed, state of charge, power demand, motor speed, temperature, vehicle acceleration, torque demand 7 / 40 8 / 40 Overview of Different Fuel Cell Technologies Hydrogen Fuel Storage I I Hydrogen storage is problematic – Challenging task. Some examples of different options. I I I I High pressure bottles Liquid phase – Cryogenic storage, -253◦ C. Metal hydride Sodium borohydride NaBH4 9 / 40 Quasistatic Modeling of a Fuel Cell 10 / 40 Fuel Cell Thermodynamics I Starting point reaction equation H2 + I Causality diagram I 1 O2 ⇒ 2 H2 0 2 Open system energy – Enthalpy H H = U + pV I Reversible energy – Gibbs free energy G G = H + TS I Power amplifier (Current controller) I Fuel amplifier (Fuel controller) I Standard modeling approach I Open circuit cell voltages Urev = − I ∆G , ne F Uid = − ∆H , ne F Urev = ηid Uid F – Faradays constant (F = q N0 ) Under load Pl = Ifc (t) (Uid − Ufc (t)) 11 / 40 Fuel Cell Performance – Polarization curve I 12 / 40 Fuel Cell System Modeling I Polarization curve of a fuel cell Relating current density ifc (t) = Ifc (t)/Afc , and cell voltage Ufc (t) Describe all subsystems with models P2 (t) = Pst (t) − Paux (t) Paux = P0 + Pem (t) + Pahp (t) + Php (t) + Pcl (t) + Pcf (t) em–electric motor, ahp – humidifier pump, hp – hydrogen recirculation pump, cl – coolant pump, cf – cooling fan. Curve for one operating condition I Fundamentally different compared to combustion engine/electrical motor I Excellent part load behavior –When considering only the cell I Submodels for: Hydrogen circuit, air circuit, water circuit, and coolant circuit 13 / 40 Outline 14 / 40 Problem Setup I Run a fuel cell vehicle optimally on a racetrack Repetition Case study 6: Fuel Optimal Trajectories of a Racing FCEV Model compilation Model simplification Formulating the optimal control problem I Optimal Controllers Solutions I I Some Additional Material – Fuel Consumption Path to the solution I I I 15 / 40 Start up lap Repeated runs on the track Measurements – Model Simplified model Optimal control solutions 16 / 40 Problem Setup – Road Slope Given Model Causality Road slope γ = α(x) Model causality – Dynamic model 17 / 40 Model Component – Fuel Cell I 18 / 40 Fuel Cell – Polarization and Auxiliary Components Current in the cell and losses Ifc (t) = Ifc (t) + Iaux (t) I Current and hydrogen flow ṁH (t) = c9 Ifc (t) I Next step: Polarization curve and auxiliary consumption 19 / 40 Fuel Cell – Polarization and Auxiliary Components I 20 / 40 Model Component – DC Motor Controller Polarization curve Ust (t) = c0 + c1 · e−c2 ·Ifc (t) − c3 · Ifc (t) I Auxiliary power Paux (t) = c6 + c7 · Ifc (t) + c8 · Ifc (t)2 I DC motor voltage (from control signal u) Uem (t) = κ ωem (t) + K Rem u(t) I Current requirement at the stack Ist = Uem (t)Iem (t) ηc Ust (t) 22 / 40 21 / 40 Model Component – DC Motor I DC motor current I Iem (t) = I Model Component – Transmission and Wheels Tractive force Uem (t) − κ ωem (t) Rem F (t) = ηt±1 I DC motor torque Rotational speed ωem (t) = Tem (t) = κem Iem (t) 23 / 40 γ Tem (t) rw γ v (t) rw 24 / 40 Model Compilation 1 – Vehicle I Model Compilation 2 – Fuel Consumption The vehicle tractive force can now be expressed as I ηt γ κem K u(t) F (t) = rw I Fuel flow, ṁH (t) = c9 Ifc (t) Ifc (t) = K u(t) Paux (Ist (t)) + Ust (Ist (t)) ηc Ust (Ist (t)) K Rem u(t) + κem γ v (t) rw Dynamic vehicle velocity and position model –Implicit nonlinear static function d v (t) =h1 u(t) − h2 v 2 (t) − g0 − g1 α(x(t)) dt d x(t) =v (t) dt I Simpler model ṁH (t) = b0 + b1 v (t) u(t) + b2 u 2 (t) 25 / 40 Outline 26 / 40 Simplified Fuel Consumption – Validation Repetition Case study 6: Fuel Optimal Trajectories of a Racing FCEV Model compilation Model simplification Formulating the optimal control problem Optimal Controllers Solutions Some Additional Material – Fuel Consumption 27 / 40 Detour I I I 28 / 40 Outline Repetition Occam’s razor: –The explanation of any phenomenon should make as few assumptions as possible. Shave of those who are unnecessary. Case study 6: Fuel Optimal Trajectories of a Racing FCEV Model compilation Law of Parsimony: Among others a factor in statistics: In general, mathematical models with the smallest number of parameters are preferred as each parameter introduced into the model adds some uncertainty to it. Model simplification Formulating the optimal control problem Another viewpoint. Try to simplify the problem you solve as much as possible. –Neglect effects and be proud when you are successful! Optimal Controllers Solutions Some Additional Material – Fuel Consumption 29 / 40 Optimal Control Problems I 30 / 40 PID Cruise Controller – Baseline for Comparison Start of the cycle v (0) = 0, Simple controller for the start x(0) = 0 Z λ1 (tf ) = 0, I u(t) = Kp (f vm − v (t)) + Ki x(tf ) = xf = vm tf Periodic route x(tf ) = xf = vm tf , (f vm − vt (t))dt f -tuning parameter ≈ 1 to allow for matching the average speed x(0) = 0 λ1 (tf ) = λ1 (0), t 0 v (tf ) = v (0) 31 / 40 32 / 40 Outline Problem Setup – Road Slope Given Repetition Road slope γ = α(x) Case study 6: Fuel Optimal Trajectories of a Racing FCEV Model compilation Model simplification Formulating the optimal control problem Optimal Controllers Solutions Some Additional Material – Fuel Consumption 34 / 40 33 / 40 Fuel Optimal Trajectory – Start Fuel Optimal Trajectory – Continuous Driving Fuel optimal trajectory has 7% lower fuel consumption Fuel optimal trajectory has 9% lower fuel consumption 35 / 40 Outline 36 / 40 Fuel Optimal Speed for Normal Driving ICE vehicle (light weight 800 kg) Repetition Case study 6: Fuel Optimal Trajectories of a Racing FCEV Model compilation Model simplification Formulating the optimal control problem Optimal Controllers Solutions Some Additional Material – Fuel Consumption 37 / 40 Engine Map and Gearbox Layout CI engine (light weight 800 kg) 39 / 40 38 / 40