원시데이터 수집 시스템
선정목록으로

Scenario Model Predictive Control for Data-based Energy Management in Plug-in Hybrid Electric Vehicles

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. East, Sebastian
  2. Cannon, Mark
DOI
10.48550/arxiv.2104.07343
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2104.07343
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W6910640415

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

One of the major limitations of optimization-based strategies for allocating the power flow in hybrid powertrains is that they rely on predictions of future power demand. These predictions are inherently uncertain as they are dependent on complex human behaviours that are challenging to model accurately. This paper proposes a data-based scenario model predictive control framework, where the inputs are determined at each control update by optimizing the power allocation over multiple previous examples of a route being driven. The proposed energy management optimization is convex, and results from scenario optimization are used to bound the confidence that the one-step-ahead optimization will be feasible with given probability. It is shown through numerical simulation that scenario model predictive control (MPC) obtains the same reduction in fuel consumption as nominal MPC with full preview of future driver behaviour, and that the scenario MPC optimization can be solved efficiently using a tailored optimization algorithm.

본문 78,745자

본문 펼치기
# Scenario Model Predictive Control for Data-based # Energy Management in Plug-in Hybrid Electric # Vehicles Sebastian East <sup>1</sup> and Mark Cannon <sup>2</sup> _Abstract_ —One of the major limitations of optimization-based strategies for allocating the power flow in hybrid powertrains is that they rely on predictions of future power demand. These predictions are inherently uncertain as they are dependent on complex human behaviours that are challenging to model accurately. This paper proposes a data-based scenario model predictive control framework, where the inputs are determined at each control update by optimizing the power allocation over multiple previous examples of a route being driven. The proposed energy management optimization is convex, and results from scenario optimization are used to bound the confidence that the one-step-ahead optimization will be feasible with given probability. It is shown through numerical simulation that scenario model predictive control (MPC) obtains the same reduction in fuel consumption as nominal MPC with full preview of future driver behaviour, and that the scenario MPC optimization can be solved efficiently using a tailored optimization algorithm. I. INTRODUCTION Plug-in hybrid electric vehicles (PHEVs) have a powertrain that includes an internal combustion engine, an electric motor, and a battery that can be charged from an external source. This configuration is typically chosen to obtain the benefits of all-electric propulsion (e.g. zero tailpipe emissions and regenerative braking) with a smaller battery than would be required for an all-electric vehicle, whilst also ensuring that the total combined range available before a recharge is at a useful level. The key differentiators between a PHEV and a ‘mild’ hybrid electric vehicle (HEV) are the size of the battery and the charging method: the battery in a HEV is much smaller and cannot be charged from an external source, and is therefore typically only used for regenerative braking and to accelerate the vehicle from stationary. Multiple studies have demonstrated that the the energy consumption (and consequently, the range) of a PHEV is strongly determined by the controller that allocates the driver’s power demand to the engine and motor (a comprehensive review of control methods is provided in [1]). A simple strategy is to allocate all of the power demand to the motor until the battery is empty, and then only use the motor to regeneratively brake and start the vehicle from a standstill until the end This work was supported by the Engineering and Physical Sciences Research Council 1Sebastian East is with the Department of Aerospace Engineering, University of Bristol, Bristol, BS8 1TR, UK sebastian.east@bristol.ac.uk 2Mark Cannon is with the Department of Engineering Science, University of Oxford, Oxford, OX1 3JP, UK mark.cannon@eng.ox.ac.uk of the journey. However, blended strategies, where power is delivered from both sources simultaneously and the fraction delivered from each is varied throughout the journey, are potentially much more effective. In particular, optimizationbased strategies, where the power allocation is determined using numerical optimization of a mathematical representation of the powertrain can considerably reduce fuel consumption without affecting total battery discharge. Many approaches to optimization-based energy management have been considered, including dynamic programming [2], Pontryagin’s minimum principle [3], equivalent consumption minimization strategy [4], and model predictive control (MPC) [5]. A major limitation of any optimization-based strategy is that its effectiveness is conditional on an accurate prediction of the future behaviour of the driver (specifically, the velocity of the vehicle and the torque at the wheels throughout the remaining journey). This prediction is non-trivial, and depends on a range of factors that may be challenging to model and predict, including the route, the geometry of the road, traffic conditions, and driving style. A common approach is to fit a model (such as a neural network [6], [7] or Markov-based model [8], [9]) to driver behaviour data, and then use the model to generate predictions that are fed into the energy management optimization. One of the fundamental limitations of this approach is the model must necessarily be conditioned on a large number of environmental variables (e.g. road geometry, speed limits) that vary throughout a given journey and may themselves be uncertain. Consequently, these techniques can only generally be used to generate ‘short-horizon’ predictions (e.g. up to _∼_ 20 s into the future); long-horizon predictions (i.e. predictions of an entire journey lasting minutes or hours) remain an open problem [10]. In this paper, a data-based scenario MPC is proposed where the power-split is determined at each sampling instant by optimizing the predicted fuel consumption over multiple previous examples of the route being driven. The primary benefit of this approach is that predictions of driver behaviour (that inherently account for route-specific variables, such as road geometry and speed limits) can be made over arbitrarily long horizons, and an explicit driver model is not required. The proposed method is applicable both when a vehicle repeatedly completes the same route (e.g. public transportation and delivery/collection vehicles) and when the route to be driven is provided by a navigation device (or the vehicle is being driven autonomously). It could also be combined with a statistical method that automatically identifies the route being driven from previous driver behaviour (such as that proposed in [11]), but this is not investigated in this paper. The main contributions of this paper are as follows: 1) A convex scenario MPC framework that minimizes fuel consumption across multiple predictions of future driver behaviour. The approach incorporates nonlinear losses in the engine, motor, and battery; limits on the energy stored in the battery; and limits on the power delivered by both the electric motor and the internal combustion engine. Importantly, the scenario MPC framework directly optimizes the state-of-charge trajectory over the entire prediction horizon, and does _not_ rely on tracking a reference trajectory (as proposed in, for example, [5]). Results from scenario optimization [12] provide a bound on the confidence that the one-step-ahead MPC optimization will be feasible with a given probability, given the number of scenarios considered in the optimization. 2) An alternating direction method of multipliers (ADMM) algorithm tailored to the structure of the scenario MPC optimization problem, where each iteration has _O_ ( _NS_ ) memory and computational cost (where _N_ is the prediction horizon length and _S_ is the number of scenarios). 3) A set of numerical studies in which a nominal MPC strategy with access to accurate predictions of future driver behaviour is compared against scenario MPC, for which predictions are generated directly from previously recorded journeys on the same route (i.e. the controller has no preview of the journey being simulated). Remarkably, it is found that the scenario MPC obtains the same fuel consumption as nominal MPC. This is not the first paper proposing scenario MPC for energy management: it was previously applied to a charge sustaining hybrid-electric vehicle in [13], but that paper considered a linearized vehicle model, a prediction horizon of only 10 samples, and scenarios were generated using perturbations of a nominal prediction obtained from the non-parameteric model proposed in [14]. This paper builds on the authors’ previous work on convex optimization-based energy management in [15] and [16]. In those cases only a single prediction of future driver behaviour was considered, and the extension to multiple scenarios presented here is original work. Additionally, the authors have previously investigated the use of graphics processing units (GPUs) for accelerating ADMM when used to solve similar scenario-based resource allocation problems in [17]. PHEV energy management was also used as an illustrative example in that paper, but the scenarios were generated using random perturbations of a nominal trajectory (rather than the databased framework proposed in this paper), and the energy management problem was considerably simplified, and therefore not suitable for supervisory control as proposed here. The rest of this paper is structured as follows. In Section II the energy management problem is formulated mathematically. Section III presents the SMPC controller, and the algorithm used to solve the corresponding optimization problem is presented in Section IV. The results of numerical experiments are presented and discussed in Section V. _Peng_ ( _t_ ) Engine _Peng_ ( _t_ ) Clutch _σ_ ( _t_ ) _ωeng_ ( _t_ ) Losses _f_ ( _·_ ) _ωeng_ ( _t_ ) _Pdrv_ ( _t_ ) _m_ ˙ _f_ ( _t_ ) _u_ ( _t_ ) + _Pem_ ( _t_ ) _ωem_ ( _t_ ) _p_ ( _t_ ) + <u>=</u> Gearbox _p_ ( _t_ ) = <u>=</u> Gearbox _ωw_ ( _t_ )+ + _Pbrk_ ( _t_ ) _r_ ( _t_ ) Battery _Pc_ ( _t_ ) Motor Losses _g_ ( _·_ ) Losses _h_ ( _·_ ) Fig. 1: Diagram of the loss functions and variables that are used in the mathematical formulation of the energy management problem. The directions of the arrows represents the direction of power transfer. Symbols are included to indicate how the powerflows are combined at the summing junctions. Notation The set of integers from _a ∈_ Z to _b ∈_ Z (inclusive) is denoted by _{a, . . ., b}_ . For a given set S, the set of nonnegative (positive) elements of S is denoted by S+ (S++), and the set of non-positive (negative) elements of S is denoted by S _−_ (S _−−_ ). The Minkowski sum of sets _A, B_ is _A_ _⊕_ _B_ = _{x_ + _y_ : _x ∈_ _A,_ _y_ _∈_ _B}_ . The notation _M_ : _,i_ ( _Mi,_ :) refers to the _i_ th column (row) of matrix _M_ . The function vec ( _M_ ) returns a column vector containing the columns of matrix _M_ stacked sequentially from left to right. All inequalities are considered element-wise in the context of vectors. The symbols 1 and 0 respectively denote a vector of ones and a vector of zeros (dimensions can be inferred from their context). II. PROBLEM FORMULATION This section presents a mathematical model of a parallel, pre-transmission PHEV powertrain that is used to formalize the energy management problem, and later used for simulation. The model used in this paper is the same as that used in [16] (and is also similar to vehicle models used in the PHEV energy management literature, e.g. [2], [3], [4], [5]), and the reader is therefore referred to [16] for a more in-depth exposition; only the details required to understand the following sections are included here. Figure 1 shows a simplified diagram of the powertrain under consideration, for which the relevant behaviour of the driver can be described completely by the vehicle’s velocity, _v_ ( _t_ ), and the road gradient, _θ_ ( _t_ ), for all _t_ _∈_ [0 _, T_ ], where _T_ _∈_ (0 _, ∞_ ) is the duration of the journey (the problem is _not_ to control the behaviour of the vehicle in an autonomous sense). From this description of driver behaviour, the rotational speed of the wheels, _ωw_ ( _t_ ), and power demanded at the wheels, _Pdrv_ ( _t_ ), are defined by _ωw_ ( _t_ ) := _v_ ( _t_ ) _/rw_ (1) (where _rw_ _∈_ R++ is the effective radius of the wheels) and the longitudinal vehicle model _mv_ ˙( _t_ ) + <sup><u>1</u></sup> 2 <sup>_ρav_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)2</sup> <sup>_CdA_</sup> + _Crmg_ cos _θ_ ( _t_ ) + _mg_ sin _θ_ ( _t_ ) the battery’s internal energy, _u_ ( _t_ ), is modelled by the function _g_ : R _×_ R++ _×_ R++ _�→_ R, defined by _u_ ( _t_ ) := _g_ ( _Pc_ ( _t_ ) _, V_ ( _t_ ) _, R_ ( _t_ )) _Pdrv_ ( _t_ ) := <u>�</u> 1 _−_ <sup><u>4</u></sup> _V_ <sup>_<u>R</u>_</sup> ( <sup><u>(</u></sup> _t_ <sup>_<u>t</u>_</sup> ) <sup><u>)</u></sup> <sup>_Pc_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> 1 _−_ _v_ ( _t_ ) _,_ (2) := <sup>_<u>V</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)2</u></sup> 2 _R_ ( _t_ ) where _m ∈_ R++ is the mass, _ρa_ _∈_ R++ is the density of air, _Cd_ _∈_ R++ is the drag coefficient, _A_ _∈_ R++ is the frontal area, _Cr_ _∈_ R++ is the rolling resistance, and _g_ _∈_ R++ is the acceleration due to gravity (it is also assumed that _v_ ( _t_ ) is differentiable everywhere). Consequently, there are four parameters that must controlled for all _t ∈_ [0 _, T_ ] in order that the operation of the powertrain is well-defined: 1) The state of the engine, _σ_ ( _t_ ) _∈{_ 0 _,_ 1 _}_, where _σ_ ( _t_ ) = 1 implies that the engine is on and the clutch engaged, and _σ_ ( _t_ ) = 0 implies that the engine is off and the clutch disengaged. 2) The gear selection, _r_ ( _t_ ) _∈R_, where _R_ _⊂_ R is the set of available gear ratios. 3) The mechanical braking power, _Pbrk_ ( _t_ ) _∈_ R _−_ . 4) The power delivered by the engine, _Peng_ ( _t_ ) _∈_ R+ (engine braking is not considered). The power delivered from the motor, _Pem_ ( _t_ ) _∈_ R does not need to be explicitly selected as it is determined implicitly by the other four specified control variables (the value of _Pbrk_ ( _t_ ) determines the relative fraction of braking power delivered by the motor and mechanical brakes). Once the gear selection and engine state have been determined, the rotational speeds of the engine, _ωeng_ ( _t_ ) _∈_ R+, and motor, _ωem_ ( _t_ ), are defined by _∀Pc_ ( _t_ ) _≤_ 4 _<u>VR</u>_ <u>((</u> _<u>tt</u>_ <u>))</u> <sup>,</sup> <sup>where</sup> <sup>_V_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>R++</sup> <sup>and</sup> <sup>_R_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>R++</sup> are the battery’s open circuit voltage and internal resistance. Consequently, the internal energy (or, synonymously, the stateof-charge) of the battery is defined by _E_ ( _t_ ) = _E_ (0) _−_ - _t_ 0 _u_ ( _t_ ) d _t_ _∀t ∈_ [0 _, T_ ] _._ For the purposes of this formulation it is assumed that _u_ ( _t_ ) is Riemann integrable. The objective of optimizationbased energy management is to minimize the fuel consumed during a given journey, i.e. to obtain values _d_ ( _t_ ) <sup>_⋆_</sup> := ( _σ_ ( _t_ ) <sup>_⋆_</sup> _, r_ ( _t_ ) <sup>_⋆_</sup> _, Pbrk_ ( _t_ ) <sup>_⋆_</sup> _, Peng_ ( _t_ ) <sup>_⋆_</sup> ) that minimize inf _d_ ( _t_ ) _∈D_ ( _t_ ) _∀t∈_ [0 _,T_ ] _mf_ ( _T_ ) _._ (5) [ _ωeng_ ( _t_ ) _, ωem_ ( _t_ )] := [ _r_ ( _t_ ) _ωw_ ( _t_ ) _, r_ ( _t_ ) _ωw_ ( _t_ )] _σ_ ( _t_ ) = 1 [0 _, r_ ( _t_ ) _ωw_ ( _t_ )] _σ_ ( _t_ ) = 0 (3) for all _t ∈_ [0 _, T_ ]. Once the braking power has been determined, the power, _p_ ( _t_ ), delivered by the drivetrain to the axles is _p_ ( _t_ ) := _Pdrv_ ( _t_ ) _−_ _Pbrk_ ( _t_ ) _∀t ∈_ [0 _, T_ ] _._ (4) The drivetrain components are assumed to be 100% efficient, so once the engine output power, _Peng_ ( _t_ ), has been determined, the power output required of the motor is defined by _Pem_ ( _t_ ) := _p_ ( _t_ ) _−_ _Peng_ ( _t_ ) _σ_ ( _t_ ) = 1 _p_ ( _t_ ) _σ_ ( _t_ ) = 0 for all _t ∈_ [0 _, T_ ]. The engine’s rate of fuel consumption, _m_ ˙ _f_ ( _t_ ), is modelled as a static input-output map, _f_ : R _×_ R _�→_ R+, defined by _m_ ˙ _f_ ( _t_ ) := _f_ ( _Peng_ ( _t_ ) _, ωeng_ ( _t_ )) _._ Similarly, the motor’s output power, _Pc_ ( _t_ ), is modelled as a static input-output map, _h_ : R _×_ R _�→_ R, defined by _Pc_ ( _t_ ) := _h_ ( _Pem_ ( _t_ ) _, ωem_ ( _t_ )) _._ The battery is modelled as an equivalent circuit consisting of an internal resistance only, so that the rate of depletion of Here _D_ ( _t_ ) is a time-dependent set that enforces hard constraints on the torque, rotational speed, power, and energy of each of the components illustrated in Figure 1 (see [16] for a more complete description). In particular, the engine power has instantaneous upper and lower bounds (which also implicitly impose bounds on the motor and battery power), _<u>P</u>_ _~~e~~_ _ng_ ( _t_ ) _≤_ _Peng_ ( _t_ ) _≤_ _P eng_ ( _t_ ) _∀t ∈_ [0 _, T_ ] and the state-of-charge of the battery is constrained between upper and lower limits, _<u>E</u>_ _≤_ _E_ ( _t_ ) _≤_ _E_ _∀t ∈_ [0 _, T_ ] _._ Obtaining a solution to (5) is intractable in general due to the complex constraints on system operation, and the fact that the solution depends on the power and velocity required of the vehicle in the future, which cannot be known with complete precision _a_ _priori_ . III. SCENARIO MODEL PREDICTIVE CONTROL We propose a MPC framework for solving (5) approximately, in which the control variables are updated at a frequency of 1 Hz <sup>1</sup> throughout the journey by solving a discretetime optimal control problem, and held constant between each update. To aid the presentation of the proposed framework, we begin by considering the deterministic case where at each variable update instant the controller has a single prediction of the vehicle’s future velocity, _v_ := ( _v_ 0 _, . . ., vN_ _−_ 1) _∈_ R <sup>_N_</sup>, and the gradient of the road, _θ_ := ( _θ_ 0 _, . . ., θN_ _−_ 1) _∈_ R <sup>_N_</sup>, where _N_ _∈_ N is the length of the prediction horizon <sup>2</sup> ; later this formulation will be extended to consider the case of multiple 1The approach can be readily extended to an arbitrary sampling interval, subject to the associated MPC optimization solution times. 2Note that, for the example variable _v_, the notation _v_ ( _t_ ) is used to represent the simulated velocity at time _t_, whereas the notation _vk_ is used to represent the velocity _predicted_ by the MPC at time _v_ ( _t_ + _k_ ). predictions. It is assumed that the predictions are also sampled at 1 Hz, although this is not required and the methods presented here can be extended to an arbitrary sampling interval. The predicted rotational speed of the wheels, _ωw,k_ _∈_ R, and driver’s power demand, _Pdrv,k_ _∈_ R, can then be determined for all _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ using similar forms of (1) and (2) (the accelerations _v_ ˙ _k_ can be calculated using numerical differentiation of _v_ ). _A._ _Convex_ _Model_ _Predictive_ _Control_ It has previously been demonstrated in [15] that if the gear selection, braking power, and engine switching control are pre-determined (by either a heuristic or optimizationbased method), then the problem of determining the optimal power split between the motor and internal combustion engine w.r.t. (5) can be reduced to a convex optimization problem under minor further approximation <sup>3</sup>, and this is the approach taken here. Again, only sufficient detail is reproduced here to understand the following development, and interested readers are referred to [15] for more details. To achieve the convex energy management formulation, firstly the engine and motor maps are approximated as strictly convex quadratic functions <sup>4</sup> : _f_ ( _Peng_ ( _t_ ) _, ωeng_ ( _t_ )) _≈_ _α_ 2( _ωe_ ( _t_ )) _Peng_ ( _t_ ) <sup>2</sup> + _α_ 1( _ωe_ ( _t_ )) _Peng_ ( _t_ ) + _α_ 0( _ωe_ ( _t_ )) _,_ where _α_ 2( _x_ ) _>_ 0 _∀x ∈_ dom( _α_ 2), and _h_ ( _Pem_ ( _t_ ) _, ωm_ ( _t_ )) _≈_ _β_ 2( _ωm_ ( _t_ )) _Pem_ ( _t_ ) <sup>2</sup> + _β_ 1( _ωm_ ( _t_ )) _Pem_ ( _t_ ) + _β_ 0( _ωm_ ( _t_ )) _,_ where _β_ 2( _x_ ) _>_ 0 _∀x_ _∈_ dom( _β_ 2). Then, at each MPC update when in operation, the following steps are taken to obtain the convex formulation as presented in [15]: 1) The predicted values of engine state, _σk_, braking power, _Pbrk,k_, and gear selection, _rk_, are determined using the external control strategy for all _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ . 2) The predicted values of powertrain output power, _pk_, are determined using a similar form of (4) (i.e. indexed by _k_ instead of _t_ ) for all _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ . 3) The set _P_ is defined as the subset of values of 0 _, . . ., N_ _−_ 1 where the engine is switched on, i.e. _P_ := _{k_ : _σk_ = 1 _}._ 4) The predicted values of engine speed, _ωeng,k_, and motor speed, _ωem,k_, are determined for all _k_ _∈{_ 0 _, . . ., N −_ 1 _}_ using a similar form of (3). 5) The predicted rate of fuel consumption, _m_ ˙ _f,k_ _∈_ R+, and battery output power, _Pc,k_ _∈_ R, are defined by the quadratic functions 3There is an alternative method for achieving a convex formulation, as presented in [18], but the method presented in [15] results in an optimization problem with preferable structure. The solutions obtained using both methods are mathematically equivalent. 4This is a common approach, and has been shown to achieve a very close approximation of the true loss maps (see for example [19, §7]). where _<u>u</u>_ := <u>(</u> _<u>u</u>_ ~~0~~ _, . . ., u_ _~~N~~_ _−_ 1), _~~u~~_ := ~~(~~ _~~u~~_ 0 _, . . .,_ _~~u~~_ _N_ _−_ 1), _x_ := ( _x_ 1 _, . . ., xN_ ), and Ψ is a lower triangular matrix of ones. _m_ ˙ _f,k_ := _fk_ ( _Peng,k_ ) := _α_ 2 _,kPeng,k_ <sup>2</sup> <sup>+</sup> <sup>_α_</sup> <sup>1</sup> <sup>_,kPeng,k_</sup> <sup>+</sup> <sup>_α_</sup> <sup>0</sup> <sup>_,k_</sup> _Pc,k_ := _hk_ ( _Pem,k_ ) := _β_ 2 _,kPem,k_ <sup>2</sup> <sup>+</sup> <sup>_β_</sup> <sup>1</sup> <sup>_,kPem,k_</sup> <sup>+</sup> <sup>_β_</sup> <sup>0</sup> <sup>_,k,_</sup> where _αi,k_ := _αi_ ( _ωeng,k_ ) and _βi,k_ := _βi_ ( _ωem,k_ ) _,_ for all _i ∈{_ 0 _,_ 1 _,_ 2 _}_ and _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ . 6) The open circuit voltage and resistance of the battery, _Vk_ and _Rk_, are assumed to be fixed _a_ _priori_ and not considered as part of the optimization (for small variations in battery SOC it can be effective to set ( _Vk, Rk_ ) = ( _V_ ( _t_ ) _, R_ ( _t_ )) for all _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ ). 7) The predicted rate of battery depletion, _uk_ _∈_ R, is defined as equal to the function _uk_ := _gk_ ( _Pem,k_ ) �1 _−_ <sup><u>4</u></sup> _V_ <sup>_<u>R</u>_</sup> _k_ <sup>_<u>k</u>_</sup> _<u>k</u>_ := <sup>_<u>V</u>_</sup> <sup>2</sup> 2 _Rk_ 1 _−_ <u>�</u> _hk_ ( _Pem,k_ ) for all _k_ _∈_ _<u>{</u>_ 0 _, . . ., N_ _−_ 1 _}._ 8) Values of _<u>u</u>_ _~~k~~_ _∈_ R and _~~u~~_ _k_ _∈_ R are generated for all _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ so that the box constraints _<u>u</u>_ all _~~k~~_ _≤_ powertrain _uk_ _≤_ _~~u~~_ _k_ subsystems,enforce instantaneousconstrain thepowerargumentslimits onof _fk_ ( _·_ ) and _hk_ ( _·_ ) to the domain in which they are strictly increasing, and deliver sufficient electrical power when the engine is off (i.e. for all _k_ _∈P/_ ). Consequently, the fuel consumption at each timestep _k_ can be modelled in terms of the battery’s internal power by the convex function _Fk_ : [ _<u>uk,</u>_ _~~u~~_ _k_ ] _�→_ R+, defined by _Fk_ ( _uk_ ) := _fk_ ( _pk_ _−_ _gk_ <sup>_−_</sup> <sup>1</sup> _k_ <sup>_−_</sup> <sup>1(</sup> <sup>_<u>u</u>_</sup> _~~k~~_ <sup>)</sup> <sup>_, g_</sup> _k_ <sup>_−_</sup> <sup>1</sup> where _gk_ <sup>_−_</sup> <sup>1</sup> _k_ <sup>_−_</sup> <sup>1</sup> : <u>[</u> _<u>u</u>_ _~~k~~_ _,_ _~~u~~_ _k_ ] _�→_ [ _gk_ <sup>_−_</sup> <sup>1</sup> output power as a _k_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk_</sup> <sup>))</sup> _∀k_ _∈{_ 0 _, . . ., N_ _−_ 1 _},_ where _gk_ <sup>_−_</sup> <sup>1</sup> : <u>[</u> _<u>u</u>_ _~~k~~_ _,_ _~~u~~_ _k_ ] _�→_ [ _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_<u>u</u>_</sup> _~~k~~_ <sup>)</sup> <sup>_, g_</sup> _k_ <sup>_−_</sup> <sup>1</sup> <sup>~~(~~</sup> <sup>_~~u~~_</sup> <sup>_k_</sup> <sup>)]</sup> <sup>models</sup> <sup>the</sup> motor’s output power as a function of the battery’s internal power (the inverse function exists for all _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ [20, Lemma 3.2.5]), and is defined by _<u>k</u>_ _−_ _β_ <sup>_<u>R</u>_</sup> 2 _,k_ <sup>_<u>ku</u>_</sup> _V_ <sup>2</sup> _k_ <sup>2</sup> <sup>_−_</sup> <sup>1</sup> _k_ <sup>(</sup> <sup>_uk_</sup> <sup>) :=</sup> <sup>_−_</sup> 2 <sup>_<u>β</u>_</sup> _β_ <sup><u>1</u></sup> 2 <sup>_<u>,k</u>_</sup> _,k_ _g_ <sup>_−_</sup> <sup>1</sup> _k_ + 2 <sup>_<u>β</u>_</sup> _β_ <sup><u>1</u></sup> 2 <sup>_<u>,k</u>_</sup> _,k_ _<u>k</u>_ _β_ <sup>_<u>R</u>_</sup> 2 _,k_ <sup>_<u>ku</u>_</sup> _V_ <sup>2</sup> _k_ <sup>2</sup> _k_ + _β_ <u>1</u> <sup>2</sup> _<u>,k</u>_ _._ 4 _β_ 2 <sup>2</sup> _,k_ + <sup>_<u>uk −</u>_</sup> <sup>_<u>β</u>_</sup> <sup><u>0</u></sup> <sup>_<u>,k</u>_</sup> _β_ 2 _,k_ As the control inputs are constant between update instants, the predicted internal energy of the battery, _xk_, is given by _xk_ := _x_ ( _t_ ) _−_ _k_ - _−_ 1 _i_ =0 _ui_ _∀k_ _∈{_ 1 _, . . ., N_ _}._ Therefore, the problem of determining the optimal battery power allocation (which implicitly determines the optimal motor and engine power) reduces to the convex minimization _Fk_ ( _uk_ ) min ( _u,x_ ) _k∈P_ (MPC) s.t. _x_ = 1 _x_ ( _t_ ) _−_ Ψ _u,_ _<u>u ≤</u>_ _u ≤_ _~~u~~_ _,_ <u>1</u> _<u>x ≤</u>_ _x ≤_ 1 _~~x~~_ _,_ Problem (MPC) is convex as the objective functions _Fk_ are all convex [15], and the decision variables are only subject to affine equality and inequality constraints, which are also convex. The model predictive control input is then defined by _u_ <sup>_⋆_</sup> 0 <sup>,</sup> <sup>where</sup> <sup>_u⋆_</sup> <sup>is</sup> <sup>the</sup> <sup>minimizing</sup> <sup>argument</sup> <sup>of</sup> <sup>(MPC).</sup> <sup>The</sup> following Lemmas are proven in [20, §4.1]: _Lemma_ _3.1:_ If (MPC) is feasible, then the solution exists and is unique. _Lemma_ _3.2:_ Problem (MPC) is feasible if and only if _Fk̸_ = _∅∀k_ _∈_ _<u>{</u>_ 1 _, . . ., N_ _<u>}</u>_, where _F_ 0 := _{x_ ( _t_ ) _}_, and _Fk_ +1 := _{Fk ⊕−_ <u>[</u> _<u>u</u>_ _~~k~~_ _,_ _~~u~~_ _k_ ] _} ∩_ <u>[</u> _<u>x,</u>_ _~~x~~_ ~~]~~ _∀k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ . _B._ _Scenario_ _Optimization_ A limitation of the MPC energy management strategy based on the solution of (MPC) is that it relies on a single, deterministic prediction of _v_ and _θ_, which will typically be inaccurate. The ideas presented in the previous section are now extended to the stochastic case using scenario optimization. Consider the case where _v_ and _θ_ are drawn from sets _V_ and Θ according to an associated probability. Note that the parameters _<u>u</u>_ and _~~u~~_ ~~,~~ the functions _Fk_, and the set _P_ are dependent on the realizations of _v_ and _θ_ . Therefore, the stochastic optimization problem that minimizes the expected fuel consumption across all possible realizations of _v_ and _θ_ is _∀s ∈{_ 1 _, . . ., S}._ The following can be proven using minor modifications to the proofs of Lemmas 3.1 and 3.2 in [20, §4.1]: _Lemma_ _3.3:_ If (SMPC) is feasible, then the solution exists and is unique. _Lemma_ _3.4:_ Problem (SMPC) is feasible if and only if _Fk,s̸_ = _<u>∅</u>_ _∀k_ _∈_ _<u>{</u>_ 1 _, . . ., N_ _}_, where _F_ 0 _,s_ := _{x_ ( _t_ ) _}_, _F_ 1 _,s_ := _{F_ 0 _,s_ _<u>⊕−</u>_ <sup>�</sup> <sup>_S_</sup> _s_ =1 <sup><u>[</u></sup> <sup>_<u>u</u>_</sup> 0 _,s_ <sup>_,_</sup> <sup>_~~u~~_</sup> <sup>0</sup> <sup>_,s_</sup> <sup>]</sup> <sup>_} ∩_</sup> <sup><u>[</u></sup> <sup>_<u>x,</u>_</sup> <sup>_~~x~~_</sup> <sup>~~]~~</sup> <sup>,</sup> <sup>and</sup> <sup>_Fk_</sup> <sup>+1</sup> <sup>_,s_</sup> <sup>:=</sup> <sup>_{Fk,s ⊕_</sup> detailed in Section III-A can then be used to obtain the optimization parameters across all of the predictions, now given by _<u>u</u>_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup>, _~~u~~_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup>, and _d_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup> . Additionally, the set _P_ is defined for each scenario _s_ _∈{_ 1 _, . . ., S}_ as _Ps_, and the functions _fk,s_ ( _·_ ) and _gk,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_·_</sup> <sup>)</sup> <sup>are</sup> <sup>defined</sup> <sup>for</sup> <sup>all</sup> elements of the prediction horizon _k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_, and scenarios _s_ _∈{_ 1 _, . . ., S}_ . The stochastic program (6) may then be approximated with _k∈Ps_ _k,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk,s_</sup> <sup>))</sup> _S_ _s_ =1 �� _,_ min ( _u,x,τ_ ) <u>1</u> _S_ _fk,s_ ( _pk,s −_ _gk,s_ <sup>_−_</sup> <sup>1</sup> s.t. _x_ : _,s_ = 1 _x_ ( _t_ ) _<u>−</u>_ Ψ _u_ : _,s,_ (SMPC) <u>1</u> _<u>x ≤</u>_ _x_ : _,s_ _≤_ <u>1</u> _~~x~~_ _,_ _<u>u</u>_ ~~:~~ _,s_ _≤_ _u_ : _,s_ _≤_ _~~u~~_ : _,s_ _u_ 0 _,s_ = _τ,_ _∀s ∈{_ 1 _, . . ., S}._  _Fk_ ( _uk, vk, θk_ ) (min _u,x_ ) <sup>E</sup> <sup>_v∼V,θ∼_</sup> <sup>Θ</sup>   <sup>�</sup> _P_ ( _v,θ_ ) (6) _̸_ _{F_ 0 _,s_ _<u>⊕−</u>_ <sup>�</sup> <sup>_S_</sup> _s_ =1 <sup><u>[</u></sup> <sup>_<u>u</u>_</sup> 0 _,s_ <sup>_,_</sup> <sup>_~~u~~_</sup> <sup>0</sup> <sup>_,s_</sup> <sup>]</sup> <sup>_} ∩_</sup> <sup><u>[</u></sup> <sup>_<u>x,</u>_</sup> <sup>_~~x~~_</sup> <sup>~~]~~</sup> <sup>,</sup> <sup>and</sup> <sup>_Fk_</sup> <sup>+1</sup> <sup>_,s_</sup> <sup>:=</sup> <sup>_{Fk,s ⊕_</sup> _−_ <u>[</u> _<u>u</u>_ _~~k~~_ _,s,_ _~~u~~_ _k,s_ ] _} ∩_ <u>[</u> _<u>x,</u>_ _~~x~~_ ~~]~~ _∀k_ _∈{_ 1 _, . . ., N_ _−_ 1 _},_ _s ∈{_ 1 _, . . ., S}_ . From a computational perspective, (SMPC) has two significant advantages relative to (6). Firstly, (SMPC) is convex and deterministic, and can therefore be readily solved using standard convex optimization algorithms. Secondly, (SMPC) does not require the driver’s behaviour to be modelled explicitly, and the scenarios can be drawn from a database obtained from previous examples of a given route (or its constituent parts, assembled from available data). An additional advantage of (SMPC) from a control perspective is that it allows a separate control vector for each scenario (i.e. _u_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup> ) rather than a single control vector that minimizes the objective across all predictions. This is preferable as at any given instant along the prediction horizon one scenario may predict high speed and/or acceleration whereas another may predict that the vehicle is moving slowly or is stationary (this places conflicting requirements on the predicted control input which cannot satisfy both simultaneously). The predicted control trajectories in (SMPC) can therefore be interpreted as samples of a control probability density function, which is a more general representation than that considered in (6). The solution of (SMPC) provides a meaningful MPC law since the first element of each predicted control sequence is constrained to be equal, so that the feedback law is defined by _u_ ( _t_ ) := _τ_ <sup>_⋆_</sup>, where _τ_ <sup>_⋆_</sup> is obtained from the minimizing argument of (SMPC). A limitation of (SMPC) is that the solution only converges in the limit as _S_ _→∞_ (the error term between the solution of (SMPC) and the expected cost w.r.t. the true probability distribution is _O_ ( _S_ <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> ) [21]). This may become problematic if both a large number of scenarios and a long prediction horizon is required, as (SMPC) has _O_ ( _NS_ ) decision variables. An efficient ADMM algorithm for the solution of (SMPC) is presented in the following to address this issue. A further s.t. _x_ = 1 _x_ ( _t_ ) _−_ Ψ _u,_ _<u>u</u>_ <u>(</u> _v, θ_ ) _≤_ _u ≤_ _~~u~~_ ~~(~~ _v, θ_ ) _∀_ ( _v, θ_ ) _∈V_ _×_ Θ 1 _<u>x ≤</u>_ _x ≤_ 1 _~~x~~_ _._ This approach would increase the robustness of the controller as it is more likely that the resulting driver behaviour will have been explicitly considered by the MPC optimization, but still has several significant issues. Particularly, in order for the controller to minimize the expected fuel consumption when implemented in closed loop, the probability measure associated with _V_ and Θ must closely match real driver behaviour, a phenomenon that is extremely challenging to model explicitly. Secondly, even in the case where an accurate representation of driver behaviour is available and the associated probability density function is ‘simple’, problem (6) is nonconvex and intractable in general. Therefore, consider instead the case where _S_ _∈_ Z++ individual samples of _v_ and _θ_ are obtained from the uncertainty sets, where each sampled pair ( _v, θ_ ) _∈V ×_ Θ is referred to as a _scenario_ . It is again assumed that each of the scenarios is sampled at 1 Hz over the remaining duration of the journey, although as before, this approach can be extended to an arbitrary sampling interval. Additionally, it is assumed that each of the predictions are of the same length, _N_, as although the remaining duration of the journey may vary for each scenario, zeros can be appended to the shorter predictions until they equal the length of the longest prediction. Therefore, the predictions are given by _v_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup> and _θ_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup>, where _v_ : _,s_ _∈V_ and _θ_ : _,s_ _∈_ Θ _∀s_ _∈{_ 1 _, . . ., S}_ . The approach limitation is that the solution of (SMPC) represents _S_ deterministic, open loop policies, so the optimal value of (SMPC) does not necessarily converge to the resulting closed-loop cost as _S_ _→∞_ . Possible modifications to the proposed framework that address this optimality gap are discussed in Section V-B in light of the numerical results that follow. _C._ _Feasibility_ This section addresses the feasibility of (SMPC) when implemented in closed loop. In particular, results from scenario MPC are used to obtain a bound on the number of scenarios, _S_, required to provide a given confidence that the one-step-ahead instance of (SMPC) will be feasible with a given probability. _Assumption_ _3.1:_ The first element of the predictions of velocity and road gradient are accurate measurements of the vehicle’s current velocity and the current road gradient, and are therefore equal for each scenario, i.e _v_ 0 _,s_ = _v_ ( _t_ ) and _θ_ 0 _,s_ = _θ_ ( _t_ ) for all _s ∈{_ 1 _, . . ., S}_ . Under Assumption 3.1, _<u>u</u>_ ~~0~~ _,s_ = _<u>u</u>_ ( _t_ ) and _~~u~~_ 0 _,s_ = _~~u~~_ ~~(~~ _t_ ) for all _s_ _∈{_ 1 _, . . ., S}_ (where _<u>u</u>_ ( _t_ ) _∈_ R and _~~u~~_ ~~(~~ _t_ ) _∈_ R are the lower and upper limits on battery power at time _t_ ). _Assumption_ _3.2:_ _<u>u</u>_ ( _t_ ) _≤_ _~~u~~_ ( _t_ ) for all _t ∈{_ 0 _, . . ., T_ _}_ . Assumption 3.2 can reasonably be expected to hold in general using the method outlined in [15], and must hold in practice (the battery must do _something_ ). Consequently, Lemma 3.4 implies that a given instance of (SMPC) is feasible if and only if _Assumption 3.3:_ The scenarios are generated so that (9) and (10) always hold. Assumption 3.3 reflects the fact that the above considerations can be taken into account when determining the engine switching and braking control used for the predictions. Consequently, problem (SMPC) is feasible at time _t_ if and only if (7) and (8) hold, and feasible at time _t_ + 1 if and only if _x_ ( _t_ ) _−τ_ <sup>_⋆_</sup> ( _t_ ) _−_ _~~u~~_ ~~(~~ _t_ +1) _≤_ _~~x~~_ and _x_ ( _t_ ) _−τ_ <sup>_⋆_</sup> ( _t_ ) _−u_ <u>(</u> _t_ +1) _≥_ _<u>x,</u>_ (11) where _u_ <sup>_⋆_</sup> ( _t_ ) and _τ_ <sup>_⋆_</sup> ( _t_ ) are obtained from the solution of (SMPC) at time _t_ . Given the above physical interpretations of these constraints, the concept of feasibility here is synonymous with _the powertrain operating as intended at the current time_ . Now, note that problem (SMPC) is equivalent to _k∈Ps_ _k,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk,s_</sup> <sup>))</sup> _S_ _s_ =1 �� _,_ (12a) min ( _u,x,τ_ ) _∈C_ <u>1</u> _S_ _fk,s_ ( _pk,s_ _−_ _gk,s_ <sup>_−_</sup> <sup>1</sup> s.t. _x_ ( _t_ ) _−_ _τ_ _∈_ <u>[</u> _<u>x</u>_ + _<u>u</u>_ ~~1~~ _,s,_ _~~x~~_ + _~~u~~_ 1 _,s_ ] (12b) _∀s ∈{_ 1 _, . . ., S},_ _x_ ( _t_ ) _−_ _~~u~~_ ( _t_ ) _≤_ _~~x~~_ _,_ (7) _x_ ( _t_ ) _−_ _<u>u</u>_ ( _t_ ) _≥_ _<u>x,</u>_ (8) (where _C_ is a convex constraint set), which is the form of problem considered in [12]. To apply the results of [12], assume that (SMPC) is feasible at time _t_, and define the violation probability for the one-step-ahead feasibility condition (11) as _V_ ( _τ_ <sup>_⋆_</sup> ( _t_ )) := P _{x_ ( _t_ ) _<u>−</u>_ _τ_ <sup>_⋆_</sup> ( _t_ ) _∈/_ <u>[</u> _<u>x</u>_ + _<u>u</u>_ ( _t_ + 1) _,_ _~~x~~_ + _~~u~~_ ~~(~~ _t_ + 1)] _},_ where _<u>u</u>_ <u>(</u> _t_ + 1) and _~~u~~_ ( _t_ + 1) can be interpreted as an unseen sample of the random variables _<u>u</u>_ ~~1~~ _,s_ and _~~u~~_ 1 _,s_ in (SMPC). The support rank of constraint (12b) is one <sup>5</sup>, since the constraint fixes a single degree of freedom of the decision variable ( _u, x, τ_ ) (see Definition 3.6 in [12]). Therefore, the confidence bound P _{V_ ( _τ_ <sup>_⋆_</sup> ( _t_ )) _>_ ˆ _ϵ} ≤_ _B_ ( _ϵ_ ; _S,_ 0) = (1 _−_ _ϵ_ ˆ) <sup>_S_</sup> (13) on the violation (i.e. one-step-ahead infeasibility) probability of (SMPC) immediately follows from Theorem 4.1 in [12]. More generally, if _R_ samples are discarded (using any criteria, e.g. a greedy strategy), then the right-hand-side of (13) can be replaced with _B_ (ˆ _ϵ_ ; _S, R_ ), where _B_ is the beta distribution. Let the confidence that the violation probability is no greater than _ϵ_ ˆ be _β_ <sup>ˆ</sup>, so that P _{V_ ( _τ_ <sup>_⋆_</sup> ( _t_ )) _≤_ _ϵ_ ˆ _}_ = _β_ <sup>ˆ</sup> _≥_ 1 _−_ (1 _−_ _ϵ_ ˆ) <sup>_S_</sup> _,_ (14) then the lower bound on the number of scenarios required to meet a given confidence of violation probability is _x_ ( _t_ ) _−_ _~~u~~_ ( _t_ ) _−_ _x_ ( _t_ ) _−_ _<u>u</u>_ ( _t_ ) _−_ _k_ _i_ =1 _k_ _i_ =1 _~~u~~_ _i,s_ _≤_ _~~x~~_ _,_ (9) _<u>ui,s</u>_ _≥_ _<u>x,</u>_ (10) for all _k_ _∈{_ 1 _, . . ., N_ _−_ 1 _}_ and _s ∈{_ 1 _, . . ., S}_ . The physical interpretation of the conditions (7) and (9) being violated is that so much regenerative braking is used/expected that the powertrain will be forced to overcharge the battery. It can reasonably be assumed that any given vehicle will be designed so that all of the required braking power can be delivered by the mechanical brakes, so it therefore follows that the power allocated to the electric system can always be modified to ensure that (7) and (9) hold. However, driveability issues may be introduced if the relative fraction of braking power required from the motor and mechanical brakes changes significantly from one MPC update to the next, in order to ensure that (7) holds. The physical interpretation of the conditions (8) and (10) being violated is that so much drive power is demanded/expected from the powertrain that the battery will be forced to over-discharge. In this case, either the engine needs to be switched on to help meet the driver’s power demand (which can also introduce driveability issues if this action is taken to ensure (8)), or, if the engine is already on, the power delivered by the powertrain will need to be reduced below that demanded by the driver (which could be dangerous if it occurs, for example, during an overtaking maneuver). _S_ _≥_ <sup><u>log (1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>β</u>_</sup> <sup>ˆ)</sup> log (1 _−_ _ϵ_ ˆ) (15) <sup><u>log (1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>β</u>_</sup> <sup>ˆ)</sup> log (1 _−_ _ϵ_ ˆ) <sup>_._</sup> This bound is illustrated in Figure 2. One-step-ahead feasibility (and by induction, recursive feasibility) is only guaranteed 5Note that, whist the set _C_ depends on the _S_ random samples of _V_ and Θ and is therefore ‘stochastic’, the problem of interest here is whether the solution of (SMPC) remains feasible with respect to an additional randomly sampled constraint of the form of (12b) _only_, and not every constraint from (SMPC) (i.e. _C_ does not change when the new scenario is sampled). Therefore, _C_ can be considered deterministic, and the relevant support rank is that of constraint (12b). 10 <sup>3</sup> 10 <sup>2</sup> 10 <sup>1</sup> 10 <sup>0</sup> _~~<u>β</u>~~_ ~~<u>ˆ</u>~~ ~~<u>=</u>~~ 0 _._ 999 _~~<u>β</u>~~_ ~~<u>ˆ</u>~~ ~~<u>=</u>~~ 0 _._ 99 _~~<u>β</u>~~_ ~~<u>ˆ</u>~~ ~~<u>=</u>~~ 0 _._ 9 0 0 _._ 2 0 _._ 4 0 _._ 6 0 _._ 8 1 _ϵ_ ˆ where _u_ ˜ := (vec ( _u_ ) _,_ vec ( _x_ )) _,_ _x_ ˜ := ( _τ,_ vec ( _ζ_ )) _,_ _k∈Ps_ _k,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk,s_</sup> <sup>))</sup> _f_ ˜(˜ _u_ ) := <sup><u>1</u></sup> _S_ _S_ _s_ =1 �� _fk,s_ ( _pk,s −_ _gk,s_ <sup>_−_</sup> <sup>1</sup> _N_ - _−_ 1 - _,_ _,_ + - _IUk,s_ ( _uk,s_ ) + _IX_ ( _xk_ +1 _,s_ ) _k_ =0 _,_ - _O_ _−I_ _O_ 1 ( _I⊗O_ Ψ) _A_ := - _I_ _O_ _O_ _I_ _,_ _B_ := _−_ ( 1 _⊗_ [1 _,_ 0 _,...,_ 0]) _O_ Fig. 2: Illustration of the values of _S_ that satisfy (15) for _β_ ˆ _∈{_ 0 _._ 9 _,_ 0 _._ 99 _,_ 0 _._ 999 _}_ and _ϵ_ ˆ _∈_ [0 _._ 01 _,_ 0 _._ 99]. _c_ := ( 0 _,_ 1 _x_ ( _t_ ) _,_ 0 ) _._ Now define the augmented Lagrangian function _Lρ_ : R <sup>2</sup> <sup>_NS_</sup> _×_ R <sup>1+</sup> <sup>_NS_</sup> _×_ R <sup>(2</sup> <sup>_N_</sup> <sup>+1)</sup> <sup>_S_</sup> _�→_ R as _Lρ_ (˜ _u,_ ˜ _x, λ_ ) := _S_ <sup><u>1</u></sup> _k,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk,s_</sup> <sup>))</sup> + _S_ _s_ =1 �� _k∈Ps_ _fk,s_ ( _pk,s −_ _gk,s_ <sup>_−_</sup> <sup>1</sup> with complete certainty in the limit as _S_ _→∞_ . However, note that (14) is a _lower bound_ on the confidence of constraint violation probability, which will only be tight when the stateof-charge of the battery is ‘close’ to its limits (i.e. one-stepahead feasibility is guaranteed when the battery’s state-ofcharge is ‘far’ from its limits, as it will not be possible to exceed the limits within two sampling intervals). It is not common for the state-of-charge of the battery to approach its upper or lower bounds more than once or twice during a given journey (see for example [5, §5], [3, §5], [22, §5], and the results that follow), so high confidence of feasibility throughout a given journey may be obtained with a modest number of scenarios. For example, a bound on constraint violation of _ϵ_ ˆ = 0 _._ 1 can be achieved with confidence of _β_ ˆ _≥_ 0 _._ 9 using just _S_ = 22 scenarios. This can be improved to _V_ ( _τ_ <sup>_⋆_</sup> ( _t_ )) _≤_ 0 _._ 01 with a confidence of _β_ <sup>ˆ</sup> _≥_ 0 _._ 99 by using _S_ = 459 scenarios. IV. OPTIMIZATION ALGORITHM It was shown in [16] that ADMM can be used to solve the deterministic case (MPC) in a fraction of a second for prediction horizons exceeding 1000 time steps, and that it is generally orders of magnitude faster than the general purpose convex optimization software CVX [23] with SDPT3 [24]. Therefore, in this section we extend the ADMM algorithm in [16] to the scenario optimization (SMPC). _1)_ _Algorithm:_ Problem (SMPC) is equivalent to the equality constrained problem _N_ - _−_ 1 _k_ =0 + <sup>_<u>ρ</u>_</sup> <sup><u>1</u></sup> - _IUk,s_ ( _uk,s_ ) + _IX_ ( _xk_ +1 _,s_ ) <sup><u>1</u></sup> 2 <sup>_∥u_</sup> <sup>:</sup> <sup>_,s −_</sup> <sup>_ζ_</sup> <sup>:</sup> <sup>_,s_</sup> <sup>+</sup> <sup>_ν_</sup> <sup>:</sup> <sup>_,s∥_</sup> <sup>2</sup> <sup>_<u>ρ</u>_</sup> <sup><u>2</u></sup> 2 <sup>(</sup> <sup>_τ −_</sup> <sup>_u_</sup> <sup>0</sup> <sup>_,s_</sup> <sup>+</sup> <sup>_ϕs_</sup> <sup>)2</sup> _,_ 2 <sup>_∥x_</sup> <sup>:</sup> <sup>_,s_</sup> <sup>+Ψ</sup> <sup>_ζ_</sup> <sup>:</sup> <sup>_,s −_</sup> <sup>1</sup> <sup>_x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)+</sup> <sup>_ψ_</sup> <sup>:</sup> <sup>_,s∥_</sup> <sup>2 +</sup> <sup>_<u>ρ</u>_</sup> <sup><u>3</u></sup> + <sup>_<u>ρ</u>_</sup> 2 <sup><u>2</u></sup> _,_ where _λ_ := (vec ( _ν_ ) _,_ vec ( _ψ_ ) _, ϕ_ ) is a vector of Lagrange multipliers and _ν_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup>, _ψ_ _∈_ R <sup>_N_</sup> <sup>_×S_</sup>, _ϕ ∈_ R <sup>_S_</sup> . Problem (17) is the canonical form of the optimization problem considered in [25], where it is shown that the ADMM iteration _u_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> := argmin _u_ ˜ _Lρ_ (˜ _u,_ ˜ _x_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _, λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) (18a) _x_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> := argmin _x_ ˜ _Lρ_ (˜ _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _,_ ˜ _x, λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) (18b) _λ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> := _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _Au_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> + _Bx_ ˜ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _−_ _c_ (18c) converges <sup>6</sup> to the (unique, in this case) solution. The optimality and convergence of a given iterate (˜ _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _,_ ˜ _x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _, λ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> ) is indicated by the sizes of the residual variables defined by  vec - _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)�</sup> _−_ vec  - _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)�</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> := _s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> := _ρ_ 2 : _,_ 1 vec _x −_ 1 _x_ ( _t_ ) + (Ψ _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> (19)   : _,_ 1 _, . . .,_ Ψ _ζ_ : <sup>(</sup> _,S_ <sup>_i_</sup> <sup>+1)</sup> ) _x_ ( _t_ ) + (Ψ _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> 0 _,_ : ) <sup>_⊤_</sup> 1 _τ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _−_ ( _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> : _,_ 1 _, . . .,_ Ψ _ζ_ : <sup>(</sup> _,S_ <sup>_i_</sup> <sup>+1)</sup> <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> - _ρ_ �1vec ( _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> ) _−_ _M_ ( _τ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _τ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> ) : _,_ 1 ) _, . . .,_ Ψ( _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> : _,S_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> : _,S_ : _,S_ <sup>_−_</sup> <sup>_ζ_</sup> <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> : _,S_ ) <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> (20) �Ψ( _ζ_ : <sup>(</sup> _,_ <sup>_i_</sup> 1 <sup>)</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> : _,_ 1 ) : _,_ 1 <sup>_−_</sup> <sup>_ζ_</sup> <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _,_ _k∈Ps_ _fk,s_ ( _pk,s −_ _gk,s_ <sup>_−_</sup> <sup>1</sup> _k,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk,s_</sup> <sup>))</sup> _S_ _s_ =1 �� min ( _u,x,τ_ ) <u>1</u> _S_ where _M_ := _ρ_ 3( 1 _S_ _⊗_ [1 _,_ 0 _, . . .,_ 0] <sup>_⊤_</sup> ). The algorithm is terminated at the first iteration in which the criterion max _{∥r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥, ∥s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _∥} ≤_ _ϵ_ is met, where _ϵ_ _∈_ R++ is a pre-determined convergence threshold. The iteration (18) can be made to terminate at a point that can be made arbitrarily close to the unique minimizing argument of (SMPC) by setting the termination threshold, _ϵ_, arbitrarily close to zero. 6The proof is provided for a single, scalar value of _ρ_, but trivially extends to the case here, where _ρ_ can be represented by a diagonal matrix with positive elements. Also, note that (SMPC) has only affine inequality constraints, so feasibility is a sufficient condition for strong duality [26, Proposition 5.3.1]. - _,_ _,_ + _N_ - _−_ 1 - _IUk,s_ ( _uk,s_ ) + _IX_ ( _xk_ +1 _,s_ ) (16) _k_ =0 s.t. _u_ = _ζ,_ _x_ = Φ _x_ ( _t_ ) _−_ Ψ _ζ,_ 1 _τ_ = _u_ <sup>_⊤_</sup> 0 _,_ : <sup>_,_</sup> which is in turn equivalent to min _u,_ ˜ _x_ ˜ _f_ ˜(˜ _u_ ) s.t _Au_ ˜ + _Bx_ ˜ = _c,_ (17) 0 _._ 2 0 _._ 0 _−_ 0 _._ 2 0 2500 5000 7500 10000 12500 15000 Distance (m) _A._ _Variable_ _Updates_ _&_ _Complexity_ The _u_ ˜ ADMM update (18a) is equivalent to _u_ 0 <sup>(</sup> <sup>_i_</sup> _,s_ <sup>+1)</sup> = argmin _u_ 0 _,s_ _f_ 0 _,s_ ( _p_ 0 _,s −_ _g_ 0 <sup>_−_</sup> _,s_ <sup>1</sup> 0 <sup>_−_</sup> _,s_ <sup>1(</sup> <sup>_u_</sup> <sup>0</sup> <sup>_,s_</sup> <sup>)) +</sup> <sup>_IU_</sup> 0 _,s_ <sup>(</sup> <sup>_u_</sup> <sup>0</sup> <sup>_,s_</sup> <sup>)</sup> <sup>_<u>ρ</u>_</sup> 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_u_</sup> <sup>0</sup> <sup>_,s −_</sup> <sup>_ζ_</sup> 0 <sup>(</sup> <sup>_i_</sup> _,s_ <sup>)</sup> <sup>+</sup> <sup>_ν_</sup> 0 <sup>(</sup> <sup>_i_</sup> _,s_ <sup>))2 +</sup> <sup>_<u>ρ</u>_</sup> 2 <sup><u>3</u></sup> <sup>(</sup> <sup>_τ_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_u_</sup> <sup>0</sup> <sup>_,s_</sup> <sup>+</sup> <sup>_ϕ_</sup> _s_ <sup>(</sup> <sup>_i_</sup> <sup>))2�</sup> 30 20 10 0 + <sup>_<u>ρ</u>_</sup> <sup><u>1</u></sup> 2 _∀s ∈{_ 1 _, . . ., S}_ _uk,s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _k,s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = argmin _uk,s_ _fk,s_ ( _pk,s −_ _gk,s_ <sup>_−_</sup> <sup>1</sup> + <sup>_<u>ρ</u>_</sup> <sup><u>1</u></sup> 2 _k,s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>)2�</sup> _k,s_ <sup>_−_</sup> <sup>1(</sup> <sup>_uk,s_</sup> <sup>)) +</sup> <sup>_IU_</sup> _k,s_ <sup>(</sup> <sup>_uk,s_</sup> <sup>)</sup> 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_uk,s −_</sup> <sup>_ζ_</sup> _k,s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>+</sup> <sup>_ν_</sup> _k,s_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _∀s_ _<u>∈</u>_ _{_ 0 _, . . ., S},_ _k_ _∈Ps \ {_ 0 _}_ _uk,s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> _x_ <sup>(</sup> : _,s_ <sup>_i_</sup> <sup>+1)</sup> : _,s_ _k,s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _<u>u</u>_ _~~k~~_ _,s_ _∀s ∈{_ 0 _, . . ., S}, k_ _∈P/_ _s_ <sup>(</sup> : _,s_ <sup>_i_</sup> <sup>+1)</sup> = Π _X N_ : _,s_ 1 _x_ ( _t_ ) _−_ Ψ _ζ_ : <sup>(</sup> _,s_ <sup>_i_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _,_ where _X_ := _{x_ _∈_ R : _<u>x</u>_ _≤_ _x_ _≤_ _~~x}~~_, and Π _X N_ ( _x_ ) := _k,s_ is a 1-dimensional argmin _x_ ˆ _∈X N_ _∥x −_ _x_ ˆ _∥_ . The update _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> convex inequality constrained optimization problem that can _k,s_ is a 1-dimensional argmin _x_ ˆ _∈X N_ _∥x −_ _x_ ˆ _∥_ . The update _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> convex inequality constrained optimization problem that can be solved using Newton’s method for all _s_ _∈{_ 1 _, . . ., S}_ and _k_ _∈Ps_ . This update is separable w.r.t. both the scenarios and the prediction horizon, and so the computational requirement is constant as both are increased if the updates are performed in parallel (so long as <sup>�</sup> <sup>_S_</sup> _s_ =1 <sup>_|Ps|_</sup> <sup>threads</sup> <sup>are</sup> <sup>available).</sup> in parallel (so long as <sup>�</sup> <sup>_S_</sup> _s_ =1 <sup>_|Ps|_</sup> <sup>threads</sup> <sup>are</sup> <sup>available).</sup> Otherwise, the computational complexity is _O_ ( _NS_ ) if the updates are performed sequentially. The computation of _x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> is _O_ ( _N_ ) as multiplication by Ψ is a cumulative sum and projection Π _X N_ [ _·_ ] is performed element-wise. No additional memory is required for either the _u_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> or the _x_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> update. The _x_ ˜ ADMM update (18b) is equivalent to _τ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = <sup><u>1</u></sup> _S_ _S_ _s_ =1 ( _u_ <sup>(</sup> 0 <sup>_i_</sup> _,s_ <sup>+1)</sup> <sup>(</sup> _s_ <sup>_i_</sup> <sup>))</sup> <sup>(</sup> 0 <sup>_i_</sup> _,s_ <sup>+1)</sup> + _ϕ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> _ζs_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = ( _ρ_ 1 _I_ + _ρ_ 2Ψ <sup>_⊤_</sup> Ψ) <sup>_−_</sup> <sup>1</sup> - _ρ_ 1( _u_ : _,s_ + _ν_ : _,s_ ) _−_ _ρ_ 2Ψ <sup>_⊤_</sup> ( _x_ : _,s −_ 1 _x_ ( _t_ ) + _ψ_ : _,s_ ) _._ The computation of _τ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> scales linearly with _S_ regardless of whether parallel processing is used, but since this is a scalar sum it is typically computationally inexpensive. The computation required to solve the linear system of equations ( _ρ_ 1 _I_ + _ρ_ 2Ψ <sup>_⊤_</sup> Ψ) x = b (with x _∈_ R <sup>_N_</sup>, b _∈_ R <sup>_N_</sup> ) and evaluate the matrix-vector product Ψ <sup>_⊤_</sup> x scales linearly with _N_ (the proof of the former is available in [27, Appendix D], while multiplication by Ψ <sup>_⊤_</sup> is a cumulative sum). Therefore the computation of _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> scales as _O_ ( _N_ ) if the _S_ updates are performed in parallel, or _O_ ( _NS_ ) if they are performed sequentially. The Cholesky factors required for the solution of the linear system of equations (see [27, Appendix D] for details) are the same for each scenario so only need storing once. Therefore, the memory cost of the update is _O_ ( _N_ ). The computation of residual updates (19) scales linearly with _N_ and _S_ (the only non-trivial computations are multiplication by Ψ, which is equivalent to a cumulative sum, and multiplication by ( 1 _S ⊗_ [1 _,_ 0 _, . . .,_ 0] <sup>_⊤_</sup> ), which is a mathematical representation of a simple operation that copies the value of ( _τ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _−_ _τ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> ) into entries of a sparse column vector). Additionally, _O_ ( _NS_ ) memory storage is required Fig. 3: Velocity and road gradient against longitudinal distance for each of the 49 journeys. to store the variables _τ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> and _ζ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> for the computation of _s_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> at the following iteration. The _λ_ update is equivalent to _λ_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> = _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> + _r_ <sup>(</sup> <sup>_i_</sup> <sup>+1)</sup> . V. NUMERICAL EXPERIMENTS The performance of the proposed SMPC was investigated using numerical simulations of a PHEV completing 49 instances of a 13 km route, as illustrated in Figure 3. The key property of this data is that is represents multiple trips of the same route, and can therefore be readily implemented in the scenario MPC framework. Additionally, it was obtained using four different drivers, in weather conditions including ‘dry’, ‘wet’, and ‘foggy’, which therefore implies that an energy management strategy that performs well across all journeys is robust to variations in driving style and weather. Detailed descriptions of the traffic conditions are unavailable, but startstop artefacts are absent from the data, suggesting that the traffic was generally light. The route is a 6.5 km return trip, and includes a junction (visible from the speed drop at _∼_ 5 km and returning at _∼_ 9 km) and a roundabout at the midway point (visible from the speed drop at 6.5 km). The first half of the route is predominantly uphill, and therefore the second half is predominantly downhill. The PHEV was modelled for simulation as a 1800 kg passenger vehicle with a 100 kW engine, 50 kW motor, and a 21.5 Ah battery, which is representative of the vehicle used to obtain the data. For each journey, two controllers were used: 1) A Nominal MPC law defined by _u_ ( _t_ ) := _u_ <sup>_⋆_</sup> 0 <sup>,</sup> <sup>where</sup> _u_ <sup>_⋆_</sup> 0 <sup>is</sup> <sup>the</sup> <sup>first</sup> <sup>element</sup> <sup>of</sup> <sup>the</sup> <sup>minimizing</sup> <sup>argument</sup> <sup>of</sup> (MPC). At each control variable update instance, the MPC used a single scenario that was a completely accurate representation of driver behaviour during the entire remaining portion of the journey, and was solved using the ADMM algorithm from [16]. 2) A Scenario MPC law defined by _u_ ( _t_ ) := _τ_ <sup>_⋆_</sup> where _τ_ <sup>_⋆_</sup> was obtained from the solution of (SMPC) using the ADMM algorithm described in Section IV. At each control variable update instance, the MPC used scenarios generated from the 48 examples of driver behaviour _other_ than the one being used for simulation; the full method is described in the following section. For both controllers, the gear ratio was selected using a simple vehicle speed-based heuristic, the engine was always switched on if the rotational speed of the engine was greater than its minimum speed (and otherwise switched off), and the mechanical braking power was set as a fixed fraction of braking power. The choice of these heuristics is not important for the purposes of this paper; only that the same heuristics are used for both MPC approaches. For each journey, the state of charge of the battery was initialized at 60% and constrained between 40% and 100%. These simulation parameters were chosen to ensure that the lower state-of-charge constraint was active during the simulations, as the solution of (SMPC) becomes significantly harder under this condition. The parameters _ρ_ 1 and _ρ_ 2 in the ADMM algorithm were set at _ρ_ 1 = 2 _._ 34 _×_ 10 <sup>_−_</sup> <sup>4</sup> and _ρ_ 2 = 8 _._ 86 _×_ 10 <sup>_−_</sup> <sup>9</sup> (as in [15]), and _ρ_ 3 was set as equal to _ρ_ 1 (as they both correspond to constraints on power). The termination criterion was set at _ϵ_ = 0 _._ 1 (this value was found to be sufficiently low to avoid the constraint satisfaction issue discussed in [16, §5-C]). The simulations were programmed in Matlab and run on a 2.60GHz Intel i7-9750H CPU. _A._ _Scenario_ _Generation_ A database was available to the controller where arrays of velocity, road gradient, and time data, indexed by the longitudinal position within the route, _l_, and sampled at a resolution of 1m, was available for all of the 49 journeys used for simulation. Before the start of each simulated journey, the position indexed data for _S_ = 48 journeys (i.e. every journey _except_ the one representing the actual journey to be simulated) was retrieved. The data used for simulation was indexed by time, and at each sample time _t_ _∈{_ 0 _, . . ., T_ _−_ 1 _}_ during a simulated journey, the scenarios were generated using the following steps: Actual Velocity Predicted Velocities Current Velocity _•_ The longitudinal position of the vehicle was obtained from _l_ ( _t_ ) = <sup>�</sup> _i_ <sup>_t_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>).</sup> _•_ For each of the _S_ = 48 journeys that had been retrieved from the database, a scenario was generated by: – Re-sampling the position-indexed velocity ( _v_ ˆ) and road gradient ( _θ_ <sup>ˆ</sup> ) data for the remaining simulation distance in terms of time at a rate of 1 Hz. – Calculating the scenario road gradient and velocity values using the ‘blending’ coefficient _e_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_k_</sup> and <sup>7</sup> 30 15 0 30 15 0 30 15 0 0 200 400 600 800 Time (s) Fig. 4: An example of the velocity predictions (blue lines) generated at three instants during an individual journey (shown in black). using the above process is illustrated in Figure 4. It can be observed in Figure 3 that whilst there is uncertainty in the velocity at any given point on the route, there is also some discernible structure: for example, there is a roundabout at the midpoint of the journey, and the velocity in all examples drops at this point. It is interesting to note that the long-horizon predictions presented in the top plot of Figure 4 do not retain this structure, and the predictions at the later time steps do not correlate with the simulated velocities at all. It can, however, also be seen that as the vehicle approaches certain points in the journey (corresponding to locations at which the data has reduced variability), the mid-horizon predictions begin to accurately approximate the simulated velocity. For example, it can be seen in the middle plot that the first _∼_ 100s of the predictions accurately match the simulated profile. _B._ _Results_ Figure 5 shows the closed-loop simulation results using both nominal MPC controller and scenario MPC. A useful artefact of the test data is that the vehicle is travelling downhill (and therefore regenerating) for the second half of the journey, so each journey terminates with the same state-of-charge when using both controllers, and the comparative optimality can be determined by comparing fuel consumption directly. The results are remarkable: the scenario MPC state-of-charge trajectories and fuel consumption closely match those obtained using nominal MPC, and the total fuel consumption is equal (to within meaningful precision) across all 49 journeys. The suboptimality introduced to the nominal MPC controller by the model approximations in the engine, motor, and battery - _θk,s_ _vk,s_ := - _θ_ ( _t_ ) _v_ ( _t_ ) - _e_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_k_</sup> + - _θ_ ˆ _k,s_ _v_ ˆ _k,s_ (1 _−_ _e_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_k_</sup> ) _,_ (21) _∀k_ _∈{_ 0 _, . . ., N_ _−_ 1 _}_ . The principle of this approach is that the predictions are made _entirely_ using other data ‘previously’ recorded from the route, and that the controller has no additional information about the current journey. The ‘blending’ process (21) was included as it was found that the near horizon predictions (i.e. _k_ _∈{_ 0 _, . . .,_ 5 _}_ ) were otherwise highly inaccurate due to the uncertainty in the velocity at any given point in the journey, as shown in Figure 3. An example of the predictions generated 7The acceleration values used in the longitudinal power model (2) were obtained from _v_ ˙ _k,s_ := _v_ ˙ ( _t_ ) _e_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_k_</sup> + _v_ ˆ <sup>˙</sup> _k_ (1 _−_ _e_ <sup>_−_</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_k_</sup> ) for all _k_ _∈_ _{_ 0 _, . . ., N_ _−_ 1 _}_, where _v_ ˙( _t_ ) is the vehicle’s simulated acceleration at time _t_ and _v_ ˆ <sup>˙</sup> _k_ is obtained by numerically differentiating _v_ ˆ. The values of _v_ : _,s_ were not numerically differentiated directly as additional acceleration may be introduced by (21) which would distort the predicted power demand. Scenario MPC Nominal MPC 0 10 20 30 40 50 Journey 0 _._ 50 0 _._ 25 0 _._ 00 0 _._ 6 0 _._ 5 0 _._ 4 Scenario MPC Nominal MPC 0 200 400 600 800 1000 Time (s) 0 _._ 6 0 _._ 5 0 _._ 4 0 _._ 6 0 _._ 5 0 _._ 4 (a) Fuel consumption and state-of-charge trajectories with respect to time. (b) Fuel consumption and state-of-charge at the end of each journey. Fig. 5: Closed-loop fuel consumption and state-of-charge results using nominal and scenario MPC for all simulated journeys. are also negligible (see the results obtained using dynamic programming for the same dataset in [20, §4.3.2]), so the scenario MPC also obtains an extremely close approximation of the _globally_ optimal solution. This is made more remarkable by the fact that the driver behaviour is collected from 4 different drivers, which implies that modelling an individual driver’s behaviour may not be necessary to achieve optimal performance. An explanation for this performance is that, although the optimal state-of-charge trajectories vary with respect to time, they match extremely closely with respect to distance. This is illustrated in Figure 6a, where the closed-loop state-ofcharge trajectories from Figure 5a are re-sampled with respect to the completed distance of the journey, and can be seen to match closely during the first half of the journey when the car is driving uphill and drive power is required from the engine. These results suggest that energy management solutions that consider driver uncertainty may be improved by considering _completed_ _distance_ as the independent variable in the optimization, instead of the _time_ -based formulation that is overwhelmingly common in the literature. For the approach presented here, it may be possible to reformulate (SMPC) in this way with a single control trajectory across the prediction horizon, which would therefore ensure that the open loop predicted cost would converge to the closed-loop as _S_ _→∞_, and reduce the computational cost of the solution. However, the trajectories in Figure 6a diverge in the second half of the journey. This is because the vehicle is descending a hill and is either braking or coasting, so the energy that can be regenerated depends on losses such as aerodynamic drag. It is possible that a route that is not as evenly partitioned into an ascending phase and a descending phase may cause the scenario controller to behave more poorly. A systematic investigation into these possibilities and issues is an interesting direction for future work. The results in Figure 6a show that the lower state-of-charge constraint is violated by up to _∼_ 0 _._ 2% (if the constraints were violated then the simulation was allowed to continue, and the behaviour of the driver was not modified as discussed in Section III-C). The bound (14) provides a confidence of _β_ ˆ _≥_ 0 _._ 92 for a violation probability of _ϵ_ ˆ = 0 _._ 05 when using _S_ = 48 scenarios, so a portion of this constraint violation can be attributed to an insufficient number of predictions. This is supported by the results in Figure 6b, which show the results from Figure 6a repeated with only _S_ = 5 scenarios, and for which the constraint violation increases up to a maximum of _∼_ 0 _._ 5% (more scenarios could not be tested due to a lack of data). It is worth noting, however, that the bound (14) is dependent on the scenarios being sampled from the uncertainty set _V ×_ Θ, and the one-step-ahead predictions obtained using the blending process (21) are not empirical. Therefore, it may also be possible to reduce the rate and severity of constraint violations by sampling the one-step-ahead predictions alone from a separate distribution, possibly conditioned on the current road gradient, and vehicle velocity and acceleration. Nonetheless, the observed constraint violation is likely to be lower than the uncertainty in the battery state estimate, so may not become an issue in practice. Figure 7 illustrates the power-split control actions for each the journeys when using scenario MPC, and includes the power demanded by the driver, _Pdrv_, the power delivered by the motor, _Pem_, and the fraction of power delivered by the motor relative to the total demand power, all sampled w.r.t. distance (these results are not illustrated w.r.t. time as they become indecipherable). Again, these results show a strong correlation between the control actions determined for each journey at any given position along the route. An interesting additional artefact is that during the first half of the journey (where the vehicle is ascending the hill), the power fraction delivered by the motor generally switches between 100% and 60 50 40 ~~41~~ 40 ~~39~~ 7000 8000 9000 0 2000 4000 6000 8000 10000 12000 1400 Distance (m) ~~41~~ 40 ~~39~~ 7000 8000 9000 0 2000 4000 6000 8000 10000 12000 1400 Distance (m) 60 50 40 (a) Results from Figure 5a (using _S_ = 48 scenarios). (b) Simulations from Figure 5a repeated using _S_ = 5 scenarios. Fig. 6: Closed-loop state-of-charge trajectories obtained using scenario MPC re-sampled w.r.t. completed distance. Nominal MPC Scenario MPC 0.01 0.1 1 10 Time (s) 100 0 _−_ 100 100 50 0 _Pem_ _Pdrv_ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 Distance (km) 15 10 5 0 Fig. 7: Control decision variables for each of the journeys illustrated in Figure 5 using scenario MPC, with the same particular journey highlighted. The top axes show the power demanded by the driver and the power delivered by the motor, and the bottom axes show the power delivered by the motor as a fraction of the driver’s demanded power. _∼_ 50%. The portions where the motor is delivering 100% of the powertrain’s output generally correspond to sections of the journey where the power demand drops to a very low level or braking occurs, i.e. the regions where the motor is _required_ to deliver/accept all of the driver’s demand power. These results appear to support the rationale of equivalence factor-based approaches to power-split optimization [4], although further analysis is required to determine if this behaviour is observed more generally. Figure 8 shows the time taken for the first MPC optimization (i.e. the longest horizon) of each journey using both nominal and scenario MPC. The averages for nominal and scenario MPC were 0.098 s and 4.8 s, so the scenario approach does not meet the real-time requirement for the hardware used for these experiments. However, the ADMM iteration can be accelerated using parallel processing, and it has been demonstrated that the computational time of a similar ADMM algorithm can be Fig. 8: Histograms of time taken to solve the first MPC optimization for both nominal MPC and scenario MPC. significantly reduced using a GPU [17] (the algorithm was implemented in vectorized sequential Matlab code here; the Matlab _gpuArray_ data type was investigated but not found to provide a performance benefit). Therefore, it is possible that the algorithm could be accelerated to meet the real-time requirement when implemented on suitable hardware. Additionally, the overall state-of-charge trajectories in Figure 6a closely match those in Figure 6b, so it may be possible to accelerate the algorithm and reduce the occurrence of constraint violations without negatively affecting performance (in terms of increased fuel consumption) by using fewer scenarios for the long-horizon predictions, and more for the one-step-ahead predictions. A systematic investigation into these possibilities is left to future work, but nevertheless, the ADMM algorithm still provides a clear benefit for this problem relative to general purpose convex optimization software as the solution times with CVX were found to be far too slow for the scenario MPC to be implemented in closed loop. VI. CONCLUSION This paper presents a data-based approach to model predictive control for PHEV energy management, where the predictions of future driver behaviour are made directly from recorded examples of drivers previously completing a route. Results from scenario optimization are used to determine a bound on the confidence that the one-step-ahead optimization will be feasible with a given probability, and an efficient ADMM algorithm is proposed for the solution of the associated scenario MPC optimization problem. The performance of the scenario MPC algorithm is investigated through simulations of a passenger vehicle completing the same route multiple times, where it is found to obtain an extremely close approximation of the control inputs obtained using an MPC controller with full preview of future driver behaviour. The presented results have significant implications for future development and investigation of power-split optimal control techniques for PHEVs. Firstly, it has been demonstrated that previously recorded examples of a given route being driven are a powerful surrogate for the model-based prediction methods commonly found in the literature, and that longhorizon predictions of future driver behaviour can reliably be made directly from this data. Future work will investigate how well the performance observed in this study translates to more diverse driving conditions. Secondly, the results strongly suggest that future investigations on this topic should consider formulating the energy management problem in terms of _completed_ _distance_, instead of the time-based formulation commonly proposed in the literature. ACKNOWLEDGMENT We would like to thank Professor Luigi del Re and Dr Philipp Polterauer at Johannes Kepler University Linz, Austria, for generously sharing the driver data used in this publication and assisting with its processing. REFERENCES [1] C. M. Martinez, X. Hu, D. Cao, E. Velenis, B. Gao, and M. Wellers, “Energy management in plug-in hybrid electric vehicles: Recent progress and a connected vehicles perspective,” _IEEE_ _Transactions_ _on_ _Vehicular_ _Technology_, vol. 66, no. 6, pp. 4534–4549, 2017. [2] S. J. Moura, H. K. Fathy, D. S. Callaway, and J. L. Stein, “A stochastic optimal control approach for power management in plug-in hybrid electric vehicles,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 19, no. 3, pp. 545–555, 2011. [3] S. Stockar, V. Marano, G. Rizzoni, and L. Guzzella, “Optimal control for plug-in hybrid electric vehicle applications,” in _Proceedings_ _of_ _the_ _2010_ _American_ _Control_ _Conference_, 2010, pp. 5024–5030. [4] A. Sciarretta and L. Guzzella, “Control of hybrid electric vehicles,” _IEEE_ _Control_ _Systems_ _Magazine_, vol. 27, no. 2, pp. 60–70, 2007. [5] C. Sun, S. J. Moura, X. Hu, J. K. Hedrick, and F. Sun, “Dynamic traffic feedback data enabled energy management in plug-in hybrid electric vehicles,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 23, no. 3, pp. 1075–1086, 2015. [6] C. Sun, X. Hu, S. J. Moura, and F. Sun, “Velocity predictors for predic tive energy management in hybrid electric vehicles,” _IEEE Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 23, no. 3, pp. 1197–1204, 2015. [7] Z. Chen, C. C. Mi, J. Xu, X. Gong, and C. You, “Energy management for a power-split plug-in hybrid electric vehicle based on dynamic programming and neural networks,” _IEEE_ _Transactions_ _on_ _Vehicular_ _Technology_, vol. 63, no. 4, pp. 1567–1580, 2014. [8] X. Zeng and J. Wang, “A parallel hybrid electric vehicle energy management strategy using stochastic model predictive control with road grade preview,” _IEEE Transactions on Control Systems Technology_, vol. 23, no. 6, pp. 2416–2423, 2015. [9] S. D. Cairano, D. Bernardini, A. Bemporad, and I. V. Kolmanovsky, “Stochastic MPC with learning for driver-predictive vehicle control and its application to HEV energy management,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 22, no. 3, pp. 1018–1031, 2014. [10] Y. Zhou, A. Ravey, and M.-C. P´era, “A survey on driving prediction techniques for predictive energy management of plug-in hybrid electric vehicles,” _Journal_ _of_ _Power_ _Sources_, vol. 412, pp. 480 - 495, 2019. [11] V. Larsson, L. Johannesson M˚ardh, B. Egardt, and S. Karlsson, “Com muter route optimized energy management of hybrid electric vehicles,” _IEEE Transactions on Intelligent Transportation Systems_, vol. 15, no. 3, pp. 1145–1154, 2014. [12] G. Schildbach, L. Fagiano, and M. Morari, “Randomized solutions to convex programs with multiple chance constraints,” _SIAM_ _Journal_ _on_ _Optimization_, vol. 23, no. 4, pp. 2479–2501, 2013. [13] M. Joˇsevski, A. Katriniok, and D. Abel, “Scenario MPC for fuel economy optimization of hybrid electric powertrains on real-world driving cycles,” in _2017_ _American_ _Control_ _Conference_ _(ACC)_, 2017, pp. 5629–5635. [14] M. Joˇsevski and D. Abel, “Tube-based MPC for the energy management of hybrid electric vehicles with non-parametric driving profile prediction,” in _2016 American Control Conference (ACC)_, 2016, pp. 623–630. [15] S. East and M. Cannon, “An ADMM algorithm for MPC-based energy management in hybrid electric vehicles with nonlinear losses,” in _2018_ _IEEE Conference on Decision and Control (CDC)_, 2018, pp. 2641–2646. [16] ——, “Energy management in plug-in hybrid electric vehicles: Convex optimization algorithms for model predictive control,” _IEEE_ _Transac-_ _tions_ _on_ _Control_ _Systems_ _Technology_, vol. 28, no. 6, pp. 2191–2203, 2020. [17] Z. Qureshi, S. East, and M. Cannon, “Parallel ADMM for robust quadratic optimal resource allocation problems,” in _2019_ _American_ _Control_ _Conference_ _(ACC)_, 2019, pp. 3402–3407. [18] B. Egardt, N. Murgovski, M. Pourabdollah, and L. Johannesson Mardh, “Electromobility studies based on convex optimization: Design and control issues regarding vehicle electrification,” _IEEE_ _Control_ _Systems_ _Magazine_, vol. 34, no. 2, pp. 32–49, 2014. [19] N. Murgovski, L. Johannesson, J. Sj¨oberg, and B. Egardt, “Component sizing of a plug-in hybrid electric powertrain via convex optimization,” _Mechatronics_, vol. 22, no. 1, pp. 106–120, 2012. [20] S. East, “Optimal energy management in electric vehicles: Convex optimization for model predictive control,” Ph.D. dissertation, University of Oxford, 2020. [21] A. Shapiro, “Asymptotic behavior of optimal solutions in stochastic programming,” _Mathematics_ _of_ _Operations_ _Research_, vol. 18, no. 4, pp. 829–845, 1993. [22] X. Hu, N. Murgovski, L. Johannesson, and B. Egardt, “Energy efficiency analysis of a series plug-in hybrid electric bus with different energy management strategies and battery sizes,” _Applied_ _Energy_, vol. 111, pp. 1001 - 1009, 2013. [23] M. Grant and S. Boyd, “CVX: Matlab software for disciplined convex programming, version 2.0 beta,” 2013. [Online]. Available: http://cvxr.com/cvx [24] K. C. Toh, M. J. Todd, and R. H. T¨ut¨unc¨u, “SDPT3 - a Matlab soft ware package for semidefinite programming, version 1.3,” _Optimization_ _Methods_ _and_ _Software_, vol. 11, no. 1-4, pp. 545–581, 1999. [25] S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein, “Distributed optimization and statistical learning via the alternating direction method of multipliers,” _Found._ _Trends_ _Mach._ _Learn._, vol. 3, no. 1, p. 1–122, Jan. 2011. [26] D. P. Bertsekas, _Convex Optimization Theory_ . Athenea Scientific, 2009. [27] S. East and M. Cannon, “Optimal power allocation in battery/supercapacitor electric vehicles using convex optimization,” _IEEE_ _Transactions_ _on_ _Vehicular_ _Technology_, vol. 69, no. 11, pp. 12 751– 12 762, 2020. Sebastian East received the M.Eng. degree in mechanical engineering from the University of Bath, Bath, U.K., in 2015, and the D.Phil. degree in engineering science from the University of Oxford, Oxford, U.K. in 2021. He is currently a Lecturer at the University of Bristol, U.K., where his research is focussed on problems in control, optimization, and machine learning. Mark Cannon received the M.Eng. degree in engineering science and the D.Phil. degree in control engineering from the University of Oxford, Oxford, U.K., in 1993 and 1998, respectively, and the M.S. degree in mechanical engineering from the Massachusetts Institute of Technology, Cambridge, MA, USA, in 1995. He is currently an Associate Professor of engineering science with the University of Oxford and an Fellow of St John’s College, Oxford. His current research interests include robust and optimal control for constrained and uncertain systems, optimization for receding horizon control with robust constraints and stochastic uncertainty, and stochastic model predictive control.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.