선정목록으로
An ADMM Algorithm for MPC-based Energy Management in Hybrid Electric Vehicles with Nonlinear Losses
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1109/cdc.2018.8619731
- 저널
- –
- 발행년도
- 2018
- 발행기관
- –
- 피인용수
- 12
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/cdc.2018.8619731
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W2951581673
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
In this paper we present a convex formulation of the Model Predictive Control\n(MPC) optimisation for energy management in hybrid electric vehicles, and an\nAlternating Direction Method of Multipliers (ADMM) algorithm for its solution.\nWe develop a new proof of convexity for the problem that allows the nonlinear\ndynamics to be modelled as a linear system, then demonstrate the performance of\nADMM in comparison with Dynamic Programming (DP) through simulation. The\nresults demonstrate up to two orders of magnitude improvement in solution time\nfor comparable accuracy against DP.\n
본문 43,448자
본문 펼치기
## An ADMM Algorithm for MPC-based Energy Management in Hybrid Electric Vehicles with Nonlinear Losses
Sebastian East and Mark Cannon
_Abstract_ — In this paper we present a convex formulation of
the Model Predictive Control (MPC) optimisation for energy
management in hybrid electric vehicles, and an Alternating
Direction Method of Multipliers (ADMM) algorithm for its
solution. We develop a new proof of convexity for the problem
that allows the nonlinear dynamics to be modelled as a
linear system, then demonstrate the performance of ADMM
in comparison with Dynamic Programming (DP) through simulation. The results demonstrate up to two orders of magnitude
improvement in solution time for comparable accuracy against
DP.
I. INTRODUCTION
Automotive powertrains have become increasingly electrified in recent decades, in an effort to reduce both hydrocarbon consumption and tailpipe emissions [1]. Hybrid
electric vehicles are a common configuration as they can reduce fuel consumption through regenerative braking, engine
shut down, and reduced engine size, but the second power
source introduces an additional degree of freedom that makes
the powertrain underconstrained, so the fraction of power
delivered by the engine and motor must be controlled. The
total energy consumed during a journey can be significantly
reduced by varying this fraction [2], but a control system
that is optimal (in the sense of minimising fuel consumption)
whilst also being implementable is still an open problem [3].
Model Predictive Control (MPC) is a control framework
where for each control input update, the solution of an openloop finite-horizon optimal control problem is solved online,
and the first element of the optimal predicted control vector is
implemented as the current control input. It has been applied
to the hybrid vehicle energy management problem as the
optimisation can explicitly account for constraints on system
variables, and the recursive feedback provides a degree
of robustness to modelling, measurement, and disturbance
uncertainty [4], [5].
An important issue with MPC is the online solution of
the optimal control problem: it must capture the important
dynamics of the controlled system, but the optimisation
problem may be high-dimensional, constrained, and possibly
nonconvex. Dynamic Programming (DP) has been used to
provide the globally minimising argument [6], however the
approach is too slow to be implemented in real time and
is computationally expensive. Conversely, linearisation has
been used to reduce the optimisation to a quadratic program
This work was funded by the UK Engineering and Physical Sciences
Research Council.
S. East and M. Cannon are with the Department of Engineering Science,
University of Oxford, OX1 3JP, sebastian.east@eng.ox.ac.uk,
mark.cannon@eng.ox.ac.uk
[7], which is a well-known problem and can be solved
rapidly, however the linearisation process renders the applied
control inputs sub-optimal. To alleviate these difficulties, the
problem can be reformulated as a convex optimisation [8],
[9], [10]. This allows the dynamics of the system to be
accurately modelled using convex functions, and enables a
guarantee of convergence to the global minimum.
The first contribution of this paper is an alternative proof
of convexity for the energy management problem. Previous
work has achieved convexity by relaxing the system dynamic
constraints to inequalities, and demonstrating that the optimal solution is obtained when the dynamic constraints are
satisfied with equality [8]. We instead show that the problem
is convex when expressed in terms of battery power output.
This modification allows the dynamics to be represented
without approximation as a linear system, which simplifies
the implementation of convex optimisation algorithms.
The second contribution is an Alternating Direction
Method of Multipliers (ADMM) [11] algorithm for the solution of the convex problem. Our work in [4] demonstrated
a projected Newton method that only considers the terminal
state of charge constraint, and other work in the area has
made use of generic convex optimisation solvers; the method
presented here enforces state of charge constraints at all
times, and is specifically designed to exploit separability of
the cost and dynamics. We have previously demonstrated the
properties of the algorithm without the assumption of convexity in [12]. Here, we show the comparative performance
against DP in a convex formulation through simulation.
The paper is organised as follows: Chapter 2 describes
an MPC framework for energy management, and Chapter 3
provides a proof of convexity for the associated optimisation
problem. Chapter 4 details the DP and ADMM algorithms,
Chapter 5 presents numerical simulations comparing their
performance, and Chapter 6 provides conclusions.
II. MODEL PREDICTIVE CONTROL FRAMEWORK
At each time-instant that the control variable is updated,
we assume that a prediction is made of future vehicle
velocity, _v_ ˆ = (ˆ _v_ 0 _, . . .,_ ˆ _vN_ _−_ 1), and road gradient, _θ_ <sup>ˆ</sup> =
( _θ_ <sup>ˆ</sup> 0 _, . . .,_ _θ_ <sup>ˆ</sup> _N_ _−_ 1), at a sampling frequency of 1Hz and a
horizon length of _N_ . The first derivative of ˆ _v_ is approximated
using central difference, and the predicted driver power
demand _P_ <sup>ˆ</sup> _drv_ = ( _P_ <sup>ˆ</sup> _drv,_ 0 _, . . .,_ _P_ <sup>ˆ</sup> _drv,N_ _−_ 1) can be calculated
using a backwards-causal longitudinal model
_mv_ ˆ <sup>˙</sup> _k_ + <sup><u>1</u></sup>
2
- _v_ ˆ _k,_
(1)
_P_ ˆ _drv,k_ =
<sup><u>1</u></sup> 2 <sup>_ρav_</sup> <sup>ˆ</sup> _k_ <sup>2</sup> <sup>_cdA_</sup> <sup>+</sup> <sup>_crmg_</sup> <sup>cos ˆ</sup> <sup>_θk_</sup> <sup>+</sup> <sup>_mg_</sup> <sup>sin ˆ</sup> <sup>_θk_</sup>
_<u>Pf</u>_
Fuel Tank Engine
_<u>Peng</u>_
Clutch
_<u>Pdrv</u>_
Gearbox
_<u>Pb</u>_ _<u>Pc</u>_
Battery Circuit Motor
_Pem_
Fig. 1. Powertrain Model
where _m_ is the vehicle mass, _ρa_ is air density, _cd_ is the drag
coefficient, _A_ is the frontal area, _cr_ is the rolling resistance
coefficient, and _g_ is the acceleration due to gravity.
Figure 1 shows a simplified diagram of a parallel plugin hybrid electric vehicle powertrain. Fuel power, _Pf_, is fed
to an internal combustion engine that delivers mechanical
power, _Peng_, through a clutch, which can be disengaged so
that the engine can idle (or be turned off) and the vehicle
can be driven in an all-electric mode. Chemical power, _Pb_,
from the battery is delivered as electrical power, _Pc_, through
a circuit to a motor that delivers mechanical power, _Pem_, to
the drivetrain. This flow of power can be reversed to charge
the battery. It is assumed that all drivetrain components
are 100% mechanically efficient, so the motor and engine
output powers are combined additively through a mechanical
coupling device to provide the driver power demand, _Pdrv_ .
We ignore the effect of high speed dynamics such as clutch
engagement and engine lag.
A controller is required to regulate the behaviour of this
system as it is under-constrained in three degrees of freedom:
the fraction of total driver demand power delivered from
the engine, the clutch engagement, and the gear selection.
Both the clutch disengagement and gear selection (assuming
a discrete variable transmission) introduce integer decision
variables that make the resulting control problem non-convex
(and significantly more complex), so we assume here that
these variables are determined by heuristics.
We assume a simple shifting strategy by which the powertrain speed _ωk_ can be found from
_ωk_ = _kivk,_ if _<u>v</u>_ _~~i~~_ _≤_ _vk_ _≤_ _<u>vi,</u>_ _i_ = 1 _, . . ., Ng,_
where _ki_ are constants and _Ng_ is the number of gear ratios.
We also assume that when the vehicle is braking, the clutch
is open, the engine is idle, and the brakes provide a fixed
fraction of the braking force _γ_ . Finally, we assume that
when the demand power is positive and the powertrain speed
is lower than the minimum engine speed _<u>ω</u>_ _~~e~~_ _ng_, the clutch
is open and the electric motor provides all of the driving
power. Therefore, the engine power fraction only needs to
be calculated when the driver power demand is positive, and
the powertrain speed is greater than the minimum engine
speed. These statements define the sets:
_P_ = _{k|P_ <sup>ˆ</sup> _drv,k_ _>_ 0 _,_ ˆ _ωk_ _≥_ _<u>ω</u>_ _~~e~~_ _ng},_
_C_ = _{k|P_ <sup>ˆ</sup> _drv,k_ _>_ 0 _,_ ˆ _ωk_ _< ω_ _~~e~~_ _ng},_ _B_ = _{k|P_ <sup>ˆ</sup> _drv,k_ _≤_ 0 _},_
from which predicted motor and engine speeds are given by
The engine loss map is modelled as a set of convex quadratic
functions of _Peng_ of the form
_Pf_ ( _Peng, ωeng_ ) = _α_ 2 _,ωeng_ _Peng_ <sup>2</sup> <sup>+</sup> <sup>_α_</sup> <sup>1</sup> <sup>_,ω_</sup> _eng_ <sup>_Peng_</sup> <sup>+</sup> <sup>_α_</sup> <sup>0</sup> <sup>_,ω_</sup> _eng_ <sup>_,_</sup>
for _ωeng_ in the interval _<u>ω</u>_ _~~e~~_ _ng, . . ., ωeng_, and the motor loss
map is modelled using convex quadratic functions as
_Pc_ ( _Pem, ωem_ ) = _β_ 2 _,ωem_ _Pem_ <sup>2</sup> <sup>+</sup> <sup>_β_</sup> <sup>1</sup> <sup>_,ω_</sup> _em_ <sup>_Pem_</sup> <sup>+</sup> <sup>_β_</sup> <sup>0</sup> <sup>_,ω_</sup> _em_ <sup>_,_</sup>
for _ωem_ in the interval _<u>ωeng, . . ., ωeng</u>_ . Loss functions are
then found of the form
_<u>P</u>_ <u>ˆ</u>
_<u>P</u>_ <u>ˆ</u>
_P_ ˆ _f,k_ = _fk_ ( ˆ _Peng,k_ ) = _α_ 2 _,k_ ˆ _P_ <sup>2</sup>
_P_ ˆ _f,k_ = _fk_ ( ˆ _Peng,k_ ) = _α_ 2 _,k_ ˆ _Peng,k_ <sup>2</sup> <sup>+</sup> <sup>_α_</sup> <sup>1</sup> <sup>_,kP_</sup> <sup>ˆ</sup> <sup>_eng,k_</sup> <sup>+</sup> <sup>_α_</sup> <sup>0</sup> <sup>_,k,_</sup>
_P_ ˆ _c,k_ = _hk_ ( ˆ _Pem,k_ ) = _β_ 2 _,k_ ˆ _Pem,k_ <sup>2</sup> <sup>+</sup> <sup>_β_</sup> <sup>1</sup> <sup>_,kP_</sup> <sup>ˆ</sup> <sup>_em,k_</sup> <sup>+</sup> <sup>_β_</sup> <sup>0</sup> <sup>_,k,_</sup>
_em,k_ <sup>2</sup> <sup>+</sup> <sup>_β_</sup> <sup>1</sup> <sup>_,kP_</sup> <sup>ˆ</sup> <sup>_em,k_</sup> <sup>+</sup> <sup>_β_</sup> <sup>0</sup> <sup>_,k,_</sup>
by linear interpolation between the loss map coefficients on
the basis of _ω_ ˆ _eng,k_ and _ω_ ˆ _em,k_ . The battery dynamics are
~~�~~
1 _−_ <sup><u>4</u></sup> <sup>_<u>R</u>_</sup> _hk_ ( _P_ <sup>ˆ</sup> _em,k_ )
_Voc_ <sup>2</sup>
_<u>oc</u>_
_P_ ˆ _b,k_ = _gk_ ( ˆ _Pem,k_ ) = <sup>_<u>V</u>_</sup> <sup>2</sup>
2 _R_
1 _−_
where we assume constant _Voc_ and _R_ for convexity. Limits
on engine power are given for _k_ _∈P_ as
_<u>P</u>_ <u>ˆ</u> _~~e~~_ _ng,k_ = max _{T_ _~~e~~_ _ng_ ˆ _ωk,_ _P_ <sup>ˆ</sup> _drv,k −_ min _{T emω_ ˆ _k, rk_ <sup>+</sup> <sup>_}}_</sup>
_P_ ˆ _eng,k_ = min _{T eng_ ˆ _ωk,_ _P_ <sup>ˆ</sup> _drv,k −_ _<u>T</u>_ _~~e~~_ _mω_ ˆ _k},_
where _<u>T</u>_ and _T_ are lower and upper limits on engine and
motor torque, _rk_ <sup>+</sup> <sup>is the largest real root of 1</sup> <sup>_−_</sup> _V_ <sup><u>4</u></sup> _oc_ <sup>_<u>R</u>_</sup> <sup>2</sup> <sup>_hk_</sup> <sup>( ˆ</sup> <sup>_Pem,k_</sup> <sup>),</sup>
motor torque, _rk_ <sup>+</sup> <sup>is the largest real root of 1</sup> <sup>_−_</sup> _V_ <sup><u>4</u></sup> _oc_ <sup>_<u>R</u>_</sup> <sup>2</sup> <sup>_hk_</sup> <sup>( ˆ</sup> <sup>_Pem,k_</sup> <sup>),</sup>
and upper <u>and</u> lower limits on battery state of charge are
given by _E_ and _<u>E</u>_ . The MPC optimisation is then given by
_k_ <sup>+</sup> <sup>is the largest real root of 1</sup> <sup>_−_</sup> _V_ <sup><u>4</u></sup> _oc_ <sup>_<u>R</u>_</sup> <sup>2</sup>
_P_ ˆ <sup>_⋆_</sup>
_P_ ˆ _eng_
_eng_ <sup>_⋆_</sup> <sup>= arg min</sup>
_N_ _−_ 1
_k_ =0
_fk_ ( _P_ <sup>ˆ</sup> _eng,k_ )
s.t. _E_ ˆ0 = _E_ ( _t_ )
_E_ ˆ _k_ +1 = _E_ ˆ _k −_ _gk_ ( ˆ _Pem,k_ )�
_<u>E</u>_ _≤_ _E_ <sup>ˆ</sup> _k_ +1 _≤_ _E_
_P_ ˆ _drv,k_ = _P_ ˆ _eng,k_ + _P_ ˆ _em,k_
_<u>P</u>_ <u>ˆ</u> _~~e~~_ _ng,k_ _≤_ _P_ ˆ _eng,k_ _≤_ _P_ ˆ _eng,k_
_∀_ _k_
_k_ _∈P_
_P_ ˆ _eng,k_ = _<u>P</u>_ <u>ˆ</u> _~~e~~_ _ng,k_ _k_ _∈P/_
_P_ ˆ _em,k_ = _P_ ˆ _drv,k_ _k_ _∈C_
_P_ ˆ _em,k_ = _γ_ ˆ _Pdrv,k_ _k_ _∈B_
(2)
and the first element of _P_ <sup>ˆ</sup> _eng_ <sup>_⋆_</sup> <sup>is</sup> <sup>then</sup> <sup>applied</sup> <sup>as</sup> <sup>the</sup> <sup>control</sup>
input to the engine.
III. CONVEXITY
We now demonstrate a convex reformulation of (2). Firstly,
we restrict the domain of each _fk_ ( _P_ <sup>ˆ</sup> _eng,k_ ) and _gk_ ( _P_ <sup>ˆ</sup> _em,k_ ) so
that they are non-decreasing, i.e impose new lower limits:
+
_~~e~~_ _ng,k_ <sup>= max</sup> <sup>_<u>{P</u>_</sup> <sup><u>ˆ</u></sup> _~~e~~_ _ng,k_ <sup>_,_</sup> <sup>_−_</sup> <sup>_<u>α</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,k</u>_</sup> _},_
2 _α_ 2 _,k_
+
_~~e~~_ _m,k_ <sup>= max</sup> <sup>_{P_</sup> <sup>ˆ</sup> <sup>_drv,k_</sup> <sup>_−_</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_eng,k,_</sup> <sup>_−_</sup> <sup>_<u>β</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,k</u>_</sup> _}._
2 _β_ 2 _,k_
This is expected as an increase in motor or engine output
power would require an increase in input power, and it is an
_ω_ ˆ _em,k_ = _ω_ ˆ _k_ _∀_ _k,_ _ω_ ˆ _eng,k_ =
_ω_ ˆ _k_ _k_ _∈P_
_<u>ω</u>_ _~~e~~_ _ng_ _k_ _∈P/_ <sup>_._</sup>
assumption also made in [8]. This domain restriction ensures
that _gk_ ( _·_ ) is a one-to-one function, so
_P_ ˆ _b,k_ = _gk_ ( ˆ _Pem,k_ ) _⇔_ _P_ ˆ _em,k_ = _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>)</sup> <sup>_,_</sup>
where _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>)</sup> <sup>is</sup> <sup>given</sup> <sup>by</sup>
Problem (2) can now be re-written as
_P_ ˆ _b_ <sup>_⋆_</sup>
_P_ ˆ _b_
_b_ <sup>_⋆_</sup> <sup>= arg min</sup>
_fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>))</sup>
_k∈P_
(3)
s.t. _E_ ˆ0 = _E_ ( _t_ )
_EE_ ˆ _k≤_ +1 _E_ <sup>ˆ</sup> = _k_ +1 _E_ ˆ _k≤ −EP_ ˆ _b,k_
_<u>P</u>_ <u>ˆ</u> _~~b~~_ _,k_ _≤_ _P_ ˆ _b,k_ _≤_ _P_ ˆ _b,k_
_∀k._
<sup>_−_</sup> <sup>1</sup>
_k_ <sup>( ˆ</sup> <sup>_Pb,k_</sup> <sup>) =</sup> <sup>_−_</sup> <sup>_<u>β</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,k</u>_</sup>
2 _β_ 2
_g_ <sup>_−_</sup> <sup>1</sup>
_k_
+
<sup>_<u>β</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,k</u>_</sup>
2 _β_ 2 _,k_
~~�~~
<u>���</u> _−_ _RP_ <sup>ˆ</sup> _<u>b,k</u>_ <sup>2</sup>
_β_ 2 _,kVoc_ <sup>2</sup>
+
_<u>P</u>_ ˆ _<u>b,k −</u>_ _<u>β</u>_ <u>0</u> _<u>,k</u>_
_β_ 2 _,k_
+
_β_ <u>1</u> <sup>2</sup> _<u>,k</u>_
_._
4 _β_ 2 <sup>2</sup> _,k_
This is now a convex optimisation problem, where
_Lemma_ _3.1:_ _Under_ _the_ _assumptions_ _on_ _gk_ ( _·_ ) _(convex,_
_twice_ _differentiable,_ _non-decreasing,_ _one-to-one),_ _the_ _inverse_
_map_ _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_is_</sup> <sup>_concave,_</sup> <sup>_twice_</sup> <sup>_differentiable,_</sup> <sup>_and_</sup> <sup>_increasing._</sup>
_Proof:_ The assumptions on _gk_ ( _·_ ) imply that _gk_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_≥_</sup>
0 _,_ _gk_ <sup>_′′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_≥_</sup> <sup>0</sup> <sup>(where</sup> <sup>_g′_</sup> <sup>and</sup> <sup>_g′′_</sup> <sup>are</sup> <sup>the</sup> <sup>first</sup> <sup>and</sup> <sup>second</sup>
derivatives of _g_ ), and, if _y_ = _gk_ ( _x_ ), then _x_ = _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_y_</sup> <sup>)</sup> <sup>is</sup>
unique for all _x_ . Therefore
+
_<u>P</u>_ <u>ˆ</u> _~~b~~_ _,k_ = _gk_ <u>( ˆ</u> _<u>P</u>_ _~~e~~_ _m,k_ <sup>)</sup>
_P_ ˆ _b,k_ = _gk_ ( ˆ _Pdrv,k −_ _<u>P</u>_ <u>ˆ</u>
+
_~~e~~_ _ng,k_ <sup>)</sup>
<sup>_k_</sup> <sup>_∈P_</sup>
_<u>P</u>_ <u>ˆ</u> _~~b~~_ _,k_ = _P_ ˆ _b,k_ =
_gk_ ( _P_ <sup>ˆ</sup> _drv,k_ ) _k_ _∈C_
_gk_ ( _γP_ <sup>ˆ</sup> _drv,k_ ) _k_ _∈B_ <sup>_._</sup>
_k_ <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> <sup><u>d</u></sup> <sup>_<u>x</u>_</sup>
<sup>_′_</sup> d _y_
<u>1</u> <u>1</u>
_k_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>=</sup> _gk_ <sup>_′_</sup> <sup>(</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_′_</sup> <sup>(</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
<u>1</u>
_k_
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_y_</sup> <sup>))</sup> <sup>= (</sup> <sup>_g−_</sup> <sup>1</sup>
<u>d</u> _<u>y</u>_ _k_
d _x_ <sup>=</sup> <sup>_g′_</sup>
<sup><u>d</u></sup> <sup>_<u>x</u>_</sup> <u>1</u>
d _y_ <sup>=</sup> _gk_ <sup>_′_</sup> <sup>(</sup>
_k_ <sup>_−_</sup> <sup>1)</sup> <sup>_′_</sup> <sup>(</sup> <sup>_y_</sup> <sup>)</sup> <sup>_>_</sup> <sup>0</sup>
for all _y_, which demonstrates that _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_·_</sup> <sup>)</sup> <sup>is</sup> <sup>differentiable</sup>
and monotonically increasing, and it is known that
<u>d</u> <sup>2</sup> _<u>x</u>_ _<u>−</u>_ <u>1</u>
d _y_ <sup>2</sup> <sup>=</sup> ( _gk_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>))2</sup>
<u>d</u> <sup>2</sup> _<u>x</u>_ _<u>−</u>_ <u>1</u>
d _y_ <sup>2</sup> <sup>=</sup> ( _gk_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup>
<u>d</u>
d _y_ <sup>(</sup> <sup>_g_</sup> _k_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>))</sup>
<u>d</u>
d _y_ <sup>(</sup> <sup>_g_</sup> _k_ <sup>_′_</sup>
<u>�3</u> <sup>_≤_</sup> <sup>0</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_y_</sup> <sup>))</sup>
_<u>−</u>_ <u>1</u>
=
( _gk_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup>
_k_ <sup>_′′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup><u>d</u></sup> d <sup>_<u>x</u>_</sup> _y_
_<u>k</u>_ <sup><u>(</u></sup> <sup>_<u>g</u>_</sup> _<u>k</u>_ <sup>_−_</sup> <sup>1(</sup> <sup>_<u>y</u>_</sup> <sup><u>)))</u></sup>
<u>�</u> <sup>_<u>−</u>_</sup> _g_ <sup>_<u>g</u>_</sup> _k_ <sup>_′_</sup> <sup>_′′_</sup> <sup>(</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1(</sup> <sup>_y_</sup> <sup>))</sup> <u>�3</u>
_k_ <sup>_′_</sup> <sup>(</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_<u>k</u>_ <sup>_′′_</sup> <sup><u>(</u></sup> <sup>_<u>g</u>_</sup> _<u>k</u>_ <sup>_−_</sup> <sup>1</sup>
_k_
_k_ <sup>_′_</sup> <sup>(</sup> <sup>_x_</sup> <sup>))2</sup> <sup>_g′′_</sup>
<sup><u>d</u></sup> <sup>_<u>x</u>_</sup> _<u>k</u>_
d _y_ <sup>=</sup> <u>�</u> <sup>_<u>−</u>_</sup> _g_ <sup>_<u>g</u>_</sup> _k_ <sup>_′_</sup> <sup>_′′_</sup> <sup>(</sup>
From Lemma 3.2 it is known that _fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1</sup>
for all _y_, which demonstrates that _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_·_</sup> <sup>)</sup> <sup>is</sup> <sup>twice</sup> <sup>differen-</sup>
tiable and concave.
<sup>ˆ</sup> _b_ <sup>_⋆_</sup> <sup>=</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_b_</sup> <sup>, and</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_⋆_</sup>
<sup>_⋆_</sup> _eng,k_ <sup>=</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_drv,k_</sup> <sup>_−g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_P ⋆_</sup> _b,k_
Using this definition of _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_·_</sup> <sup>),</sup> <sup>the</sup> <sup>cost</sup> <sup>function</sup> <sup>in</sup>
problem (2) can be rewritten as
_fk_ ( _P_ <sup>ˆ</sup> _eng,k_ ) = _fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>))</sup> <sup>_._</sup>
_Lemma_ _3.2:_ _Under_ _the_ _assumptions_ _on_ _fk_ ( _·_ ) _(convex,_
_non-decreasing),_ _the_ _function_ _fk_ ( _P_ <sup>ˆ</sup> _drv,k_ _−_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>))</sup> <sup>_is_</sup>
_convex_ _and_ _non-increasing_ _with_ _P_ <sup>ˆ</sup> _b,k._
_Proof:_ The composition of a non-decreasing function
_fk_ ( _·_ ) and decreasing function _P_ <sup>ˆ</sup> _drv,k−gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>) is necessar-</sup>
_fk_ ( _·_ ) and decreasing function _P_ <sup>ˆ</sup> _drv,k−gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>) is necessar-</sup>
ily non-increasing. The concave property of _gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_·_</sup> <sup>)</sup> <sup>implies</sup>
that for any _x_ 1 _, x_ 2 _∈X_ (where _X_ is a domain such that
_gk_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>is</sup> <sup>concave),</sup> <sup>and</sup> <sup>_λ ∈_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1],</sup>
Existing analyses of convexity for similar optimal energy
management problems replace the system dynamic equations, which appear in (2) as equality constraints, with
inequalities, and then show that for a given solution the
dynamic equations will be satisfied with equality [8]. The
formulation presented here is superior for this application as
it renders the dynamics as a linear system, which simplifies
the implementation of convex optimisation algorithms.
IV. OPTIMISATION METHODS
From Lemma 3.2 it is known that _fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>))</sup>
is non-increasing in _P_ <sup>ˆ</sup> _b,k_, so it can be shown that if _<u>E</u>_ _~~k~~_ _≤_
_Ek −_ _P_ <sup>ˆ</sup> _b,k_ _≤_ _Ek_ _∀k_, then the minimising argument of (3) is
given trivially by _P_ <sup>ˆ</sup> _b_ <sup>_⋆_</sup> <sup>=</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_b_</sup> <sup>, and</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_⋆_</sup> _eng,k_ <sup>=</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_drv,k_</sup> <sup>_−g_</sup> _k_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_P ⋆_</sup> _b,k_ <sup>)</sup>
for _k_ _∈P_ . If this is not the case, an optimisation procedure
must be applied.
Previous research on convex optimisation for the energy
management problem has used general convex optimisation
solvers to obtain the control inputs; here, we instead implement an ADMM algorithm similarly to [12]. To demonstrate
the relative performance characteristics of the algorithm we
compare it in simulation with DP.
_A._ _Alternating_ _Direction_ _Method_ _of_ _Multipliers_
First, we introduce a dummy variable _ζ_, and re-write (3)
as
_P_ ˆ _b_
_k∈P_
_fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>)) + ∆( ˆ</sup> <sup>_Pb,_</sup> <sup>_E_</sup> <sup>ˆ)</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)</sup> <sup>is</sup> <sup>concave),</sup> <sup>and</sup> <sup>_λ ∈_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1],</sup>
_P_ ˆ _b_ <sup>_⋆_</sup>
_b_ <sup>_⋆_</sup> <sup>= arg min</sup>
_Pdrv,k −_ _gk_ <sup>_−_</sup> <sup>1</sup> ( _λx_ 1 + (1 _−_ _λ_ ) _x_ 2)
_≤_ _Pdrv,k −_ _λgk_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>1)</sup> <sup>_−_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>2)</sup> <sup>_._</sup>
Therefore, using the properties that _fk_ ( _·_ ) is non-decreasing
and convex, we have
s.t. _ζ_ = _−P_ <sup>ˆ</sup> _b_
_E_ ˆ = Φ ˆ _E_ 0 + Ψ _ζ,_
(4)
where Φ is an _N −_ 1 column of ones, Ψ is an _N −_ 1 _×_ _N −_ 1
lower triangular matrix of ones, and an indicator function is
defined by
_fk_
- _Pdrv,k −_ _gk_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1</sup> ( _λx_ 1 + (1 _−_ _λ_ ) _x_ 2)
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>2)</sup>
_≤_ _fk_
- _Pdrv,k −_ _λgk_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>1)</sup> <sup>_−_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_N_
_k_ =1
_N_ _−_ 1
_k_ =0
_kP_ ˆ _b_ <sup>( ˆ</sup> <sup>_Pb,k_</sup> <sup>) +</sup>
_δkE_ ˆ <sup>( ˆ</sup> <sup>_Ek_</sup> <sup>)</sup> <sup>_,_</sup>
- _Pdrv,k −_ _gk_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>2)</sup>
∆( _P_ <sup>ˆ</sup> _b,_ _E_ <sup>ˆ</sup> ) =
_δ_
_≤_ _λfk_
- _Pdrv,k −_ _gk_ <sup>_−_</sup> <sup>1</sup>
_k_ <sup>_−_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>1)</sup>
- + (1 _−_ _λ_ ) _fk_
for all _λ_ _∈_ [0 _,_ 1], which demonstrates that _fk_ ( _P_ <sup>ˆ</sup> _drv,k_ _−_
_g_ <sup>_−_</sup> <sup>1</sup> ( _P_ <sup>ˆ</sup> _b,k_ )) is convex in _P_ <sup>ˆ</sup> _b,k_ .
_δk_ <sup>_x_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>) =</sup>
0 _<u>x</u>_ _~~k~~_ _≤_ _xk_ _≤_ _<u>xk</u>_
_∞_ otherwise _._
The augmented Lagrangian associated with problem (4) is
baseline performance as it is commonly used to solve various
forms of the energy management problem and is guaranteed
to provide the optimal solution for a sufficiently high mesh
density. In the absence of other tailored algorithms for
this problem, a comparison with a general purpose convex
optimization solver would be similarly flawed, as the results
would be obfuscated by the performance of the differing
software implementations.
_Definition_ _4.1:_ Define _J_ _∈_ R <sup>_NE_</sup> <sup>_×N_</sup> <sup>+1</sup> as a matrix of
costs, <u>where</u> _J_ [ _E, k_ ] is the cost-to-go at state index _E_ =
_<u>E, . . ., E</u>_ (we assume the values of _E_ are evenly spaced) and
timestep index _k_ = 0 _, . . ., N_ . The function _J_ ( _E, k_ ) returns
the cost-to-go, linearly interpolated from the available values
of _E_ and _k_, and returns _∞_ outside the feasible range of _E_ .
We use the notation _J_ [: _, k_ ] to refer to column _k_ of _J_ .
_Definition_ _4.2:_ Define _U_ _∈_ R <sup>_NE_</sup> <sup>_×N_</sup> <sup>+1</sup> as a matrix of
optimal control inputs, where the value _U_ [ _E, k_ ] is the optimal
control input at state index _E_ and timestep index _k_ . The
function _U_ ( _E, k_ ) returns the optimal control input linearly
interpolated from the available values of _E_ and _k_, and the
notation _U_ [: _, k_ ] refers to the column _k_ of _U_ .
_Definition_ _4.3:_ Define _Pd_ _∈_ R <sup>_NP_</sup> as the vector with
elements equal to the discrete, evenly-spaced values that may
be assigned <u>to</u> the control input _Peng,k_, such that _Pd_ =
<u>(</u> _<u>P</u>_ <sup>+</sup> _~~e~~_ _ng,k_ <sup>_, . . ., P eng,k_</sup> <sup>) = (</sup> <sup>_Pd,_</sup> <sup>1</sup> <sup>_, . . ., Pd,N_</sup> _P_ <sup>)</sup> <sup>and</sup> <sup>_Pd_</sup> <sup>[</sup> <sup>_i_</sup> <sup>] =</sup> <sup>_Pd,i_</sup> <sup>.</sup>
The algorithm is initialised by setting _U_ [: _, N_ ] = _J_ [: _, N_ ] =
0, then for _E_ = _<u>E, . . ., E</u>_ the cost to go is calculated at
_k_ = _N_ _−_ 1 _, N_ _−_ 2 _, . . .,_ 0 by solving
_L_ ( _P_ <sup>ˆ</sup> _b, ζ,_ _E, λ, ν_ <sup>ˆ</sup> ) =
_k∈P_
_fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>)) + ∆( ˆ</sup> <sup>_Pb,_</sup> <sup>_E_</sup> <sup>ˆ)</sup>
+ <sup>_<u>ρ</u>_</sup> <sup><u>1</u></sup>
2
+ <sup>_<u>ρ</u>_</sup> <sup><u>2</u></sup>
2
<sup><u>1</u></sup>
2 <sup>_∥P_</sup> <sup>ˆ</sup> <sup>_b_</sup> <sup>+</sup> <sup>_ζ_</sup> <sup>+</sup> <sup>_ν∥_</sup> <sup>2</sup>
+ <sup>_<u>ρ</u>_</sup> <sup><u>2</u></sup>
2 <sup>_∥_</sup> <sup>Φ ˆ</sup> <sup>_E_</sup> <sup>0 + Ψ</sup> <sup>_ζ −_</sup> <sup>_E_</sup> <sup>ˆ +</sup> <sup>_λ∥_</sup> <sup>2</sup> <sup>_,_</sup>
(5)
where _ρ_ 1 _, ρ_ 2 _>_ 0 are constants discussed in Section V-A.
We define projection functions for _x_ = [ _x_ 1 _· · ·_ _xN_ ] <sup>_⊤_</sup> as
_πk_ <sup>_x_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>) = min</sup> <sup>_~~{~~_</sup> <sup>_<u>xk,</u>_</sup> <sup>max</sup> <sup>_<u>{x</u>_</sup> _~~k~~_ <sup>_, xk}},_</sup>
Π <sup>_x_</sup> ( _x_ ) =
- _π_ 1 _x_ <sup>(</sup> <sup>_x_</sup> <sup>1)</sup> _· · ·_ _πN_ <sup>_x_</sup> <sup>(</sup> <sup>_xN_</sup> <sup>)�</sup> <sup>_⊤_</sup> <sup>_,_</sup>
then the ADMM iteration is given by
_P_ ˆ _b,k_ <sup>_j_</sup> <sup>+1</sup>
_kP_ ˆ _b_ <sup>[arg min</sup> ˆ
_b,k_ <sup>_j_</sup> <sup>+1</sup> = _πk_
_P_ ˆ _b,k_
_fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>))</sup>
_fk_ ( _P_ <sup>ˆ</sup> _drv,k −_ _gk_ <sup>_−_</sup> <sup>1</sup>
+ <sup>_<u>ρ</u>_</sup> <sup><u>1</u></sup>
2
_k_ <sup>_j_</sup> <sup>)2]</sup> _k_ _∈P_
2 <sup><u>1</u></sup> <sup>( ˆ</sup> <sup>_Pb,k_</sup> <sup>+</sup> <sup>_ζ_</sup> _k_ <sup>_j_</sup> <sup>+</sup> <sup>_ν_</sup> _k_ <sup>_j_</sup>
_P_ ˆ _b,k_ <sup>_j_</sup> <sup>+1</sup> <u>=</u> _<u>P</u>_ <sup><u>ˆ</u></sup> _~~b~~_ _,k_ _k_ _∈P/_
_ζ_ <sup>_j_</sup> <sup>+1</sup> =
- _ρ_ 1 _I_ + _ρ_ 2Ψ <sup>_⊤_</sup> Ψ� _−_ 1 [ _−ρ_ 1( ˆ _P jb_ +1 + _ν_ <sup>_j_</sup> )
_−_ _ρ_ 2Ψ <sup>_⊤_</sup> (Φ _E_ <sup>ˆ</sup> 0 _−_ _E_ <sup>ˆ</sup> <sup>_j_</sup> + _λ_ <sup>_j_</sup> )]
_E_ ˆ <sup>_j_</sup> <sup>+1</sup> =Π _E_ ˆ[Φ ˆ _E_ 0 + Ψ _ζ_ _j_ +1 + _λj_ ]
_λ_ <sup>_j_</sup> <sup>+1</sup> = _λ_ <sup>_j_</sup> + Φ _E_ <sup>ˆ</sup> 0 + Ψ _ζ_ <sup>_j_</sup> <sup>+1</sup> _−_ _E_ <sup>ˆ</sup> <sup>_j_</sup> <sup>+1</sup>
_ν_ <sup>_j_</sup> <sup>+1</sup> = _ν_ <sup>_j_</sup> + _P_ <sup>ˆ</sup> _b_ <sup>_j_</sup> <sup>+1</sup> + _ζ_ <sup>_j_</sup> <sup>+1</sup> _,_
which is initialised with the values
+ _J_ ( _E −_ _gk_ ( _Pd_ [ _i_ ]) _, k_ + 1)
_k_ _∈P_
- _fk_ ( _Pd_ [ _i_ ])
_J_ [ _E, k_ ] =
min
_i_
_b_ <sup>0</sup> <sup>=</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_b,_</sup> <sup>_ζ_</sup> <sup>0</sup> <sup>=</sup> <sup>_−P_</sup> <sup>ˆ 0</sup> _b_
Φ _E_ <sup>ˆ</sup> 0 + Ψ _ζ_ <sup>0�</sup>
_P_ ˆ _b_ <sup>0</sup>
<sup>0</sup> _b_ <sup>_,_</sup> <sup>_E_</sup> <sup>ˆ0</sup> <sup>= Π</sup> <sup>_E_</sup> <sup>�</sup>
_λ_ <sup>0</sup> = Φ _E_ <sup>ˆ</sup> 0 + Ψ _ζ_ <sup>0</sup> _−_ _E_ <sup>ˆ0</sup> _,_ _ν_ <sup>0</sup> = 0 _._
The _ζ_ variable is included in the formulation to ensure
that the _P_ <sup>ˆ</sup> _b_ update is separable, and the individual _P_ <sup>ˆ</sup> _b,k_
updates are convex optimisation problems that we solve using
an unconstrained Newton method with a backtracking linesearch. The matrix inversion associated with the _ζ_ update
can be computed off-line as it involves no decision variables,
and the remaining variable updates are trivial. This iteration
is repeated until the residuals _∥r_ <sup>_j_</sup> <sup>+1</sup> _∥_ 2 _≤_ _ϵ_ and _∥s_ <sup>_j_</sup> <sup>+1</sup> _∥_ 2 _≤_ _ϵ_,
where _ϵ_ is the convergence threshold, and
_E_ ˆ _k_ +1 =
_P_ ˆ _eng,k_ <sup>_∗_</sup> <sup>=</sup>
_fk_ ( _Pd_ [1]) + _J_ ( _E −_ _<u>P</u>_ <sup><u>ˆ</u></sup> _~~b~~_ _,k, k_ + 1) _k_ _∈P/_ _._
The integer _i_ that minimises this function is found by
evaluating all possible values, and selecting the minimum.
The same method is used to evaluate
arg min[ _fk_ ( _Pd_ [ _i_ ])
_i_
+ _J_ ( _E −_ _gk_ ( _Pd_ [ _i_ ]) _, k_ + 1)]
_k_ _∈P_
_U_ [ _E, k_ ] =
_Pd_ [1] _k_ _∈P/_ _._
The optimal trajectory and control inputs can be found from
- _E_ ˆ _k −_ _gk_ ( _U_ ( ˆ _Ek, k_ )) _k_ _∈P_
_E_ ˆ _k −_ _<u>P</u>_ <u>ˆ</u> _~~b~~_ _,k_ _k_ _∈P/_ <sup>_,_</sup>
_U_ ( _E_ <sup>ˆ</sup> _k, k_ ) _k_ _∈P_
_<u>P</u>_ <u>ˆ</u> _~~e~~_ _ng,k_ _k_ _∈P/_ <sup>_._</sup>
- _I_ 0
Ψ _−I_
�� _ζ_ _j_ +1
_E_ ˆ <sup>_j_</sup> <sup>+1</sup>
_r_ <sup>_j_</sup> <sup>+1</sup> =
_s_ <sup>_j_</sup> <sup>+1</sup> =
- _P_ ˆ _jb_ +1
Φ _E_ <sup>ˆ</sup> 0
- _ρ_ 1 _I_ 0
_ρ_ 2Ψ _−ρ_ 2 _I_
+
�� _ζ_ _j_ _−_ _ζ_ _j_ +1
_E_ ˆ <sup>_j_</sup> _−_ _E_ ˆ <sup>_j_</sup> <sup>+1</sup>
_._
In [12], we demonstrate that this algorithm will converge to
a point satisfying the first order conditions of problem (3),
which must be the optimal point in this convex formulation.
The solution for problem (2) is then given by
ˆ _eng,k_ <sup>_⋆_</sup> <sup>=</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_drv,k_</sup> <sup>_−_</sup> <sup>_g_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_P_ ˆ <sup>_⋆_</sup>
_k_ <sup>_−_</sup> <sup>1( ˆ</sup> <sup>_Pb,k_</sup> <sup>)</sup> <sup>_k_</sup> <sup>_∈P._</sup>
_B._ _Dynamic_ _Programming_
Although it is well known that DP is computationally
expensive and unlikely to perform as well as a dedicated
convex optimisation algorithm, we use it here to demonstrate
for _k_ = 0 _, . . ., N_ _−_ 1.
V. SIMULATIONS
We are interested in the comparative performance of
ADMM and DP and not the properties of the MPC framework itself, so we only consider single-shot instances of the
MPC optimisation with assumed driver demand profiles.
We use the FTP-75 cycle to define a vector, _v_, of velocity
samples, and generate a vector _θ_, of gradient samples
_v_ = ( _v_ 0 _, . . ., vT_ ) _,_ _θ_ = ( _θ_ 0 _, . . ., θT_ ) _,_ _θt_ =
_θs_ _t ≤_ _T/_ 2
_−θs_ _t > T/_ 2 <sup>_,_</sup>
for _t_ = 0 _, . . ., T_ at 1Hz, where _θs_ is a constant defined
for each optimisation. The predicted velocity and gradient
vectors used for each problem instance are given by
_v_ ˆ = ( _v_ (1 _−µ_ ) _T, . . ., vT_ ) _,_ _θ_ <sup>ˆ</sup> = ( _θ_ (1 _−µ_ ) _T, . . ., θT_ ) _,_
where (1 _−_ _µ_ ) _T_ is rounded to the nearest integer, and
_µ_ _∈_ [0 _,_ 1]. The predicted power demand is then calculated
from (1). Essentially, _θs_ is a variable used to modulate the
magnitude of the predicted power, and _µ_ is a variable used
to modulate the length of the predicted power vector.
We use a vehicle model to represent a 1800kg parallel
plug-in hybrid passenger vehicle with a 100kW petrol internal combustion engine, a 50kW electric motor, and a 21.5Ah
lithium-ion battery. We assume a fixed open circuit voltage
of 350V and internal resistance of 0 _._ 1Ω for the battery, and
the fixed braking fraction, _γ_, is set at 0.4. An initial state
of charge _E_ <sup>ˆ</sup> 0 = (50 + 10 _µ_ )% is used to represent battery
discharge as the drive cycle is shortened, and upper and lower
limits on state of charge are set as 62% and 50%.
_A._ _Optimisation_ _Parameters_
For DP we assume that _NP_ = _NE/_ 10, as the feasible
battery storage band is approximately an order of magnitude
greater than the maximum power available from the motor,
and this ensures that the _Pd_ and _J_ meshes have similar
numerical density. We then use the value of _NE_ to modulate the desired accuracy of the solution. From numerical
experiments we find that _NE_ = 1000 is sufficient to achieve
a high accuracy approximation of the global minimum, and
all further references to the global minimum/optimum refer
to control inputs and state trajectories that are found this way.
For the ADMM algorithm, _ρ_ 1 and _ρ_ 2 must be tuned to
match the dynamics of the optimisation problem, and we tune
these parameters to the instance where _θs_ = 2 <sup>_◦_</sup> and _µ_ = 1.
First we obtain the global minimum, then run 300 ADMM
iterations and record a cost that measures the deviation of the
fuel consumption vector at algorithm termination, _P_ <sup>ˆ</sup> <sup>_†_</sup>
_f_ <sup>,</sup> <sup>from</sup>
the global optimum fuel consumption vector, _P_ <sup>ˆ</sup> _f_ <sup>_⋆_</sup> <sup>,</sup> <sup>with</sup>
_f,k_ <sup>_†_</sup> <sup>_|._</sup> (7)
Fig. 2. _J_ evaluated for 10 <sup>_−_</sup> <sup>5</sup> _≤_ _ρ_ 1 _≤_ 10 <sup>_−_</sup> <sup>3</sup> and 10 <sup>_−_</sup> <sup>9</sup> _≤_ _ρ_ 2 _≤_ 10 <sup>_−_</sup> <sup>7</sup> .
The color scale is saturated at _J_ = 3 _×_ 10 <sup>5</sup>, and the minimum value is
highlighted by the red circle.
Fig. 3. Mean time taken against optimality measured by _J_ with _µ_ = 1. The
ADMM marker size corresponds to the magnitude of _ϵ_, and DP marker size
corresponds to the magnitude of _NE_ . The dashed lines show the boundaries
of the minimum width linear bands that contain the results.
solve using DP with 30 _≤_ _NE_ _≤_ 120 and ADMM with
10 <sup>5</sup> _≤_ _ϵ_ _≤_ 10 <sup>6</sup> . These ranges of _NE_ and _ϵ_ are chosen to
produce solutions with comparable accuracy that are computationally tractable. We run each instance of both algorithms
10 times and record the average time for completion and
the deviation from the optimum cost measured by (7). The
results are shown in Fig. 3.
The ADMM algorithm solves the optimisation fastest with
_θs_ = 2 <sup>_◦_</sup> (the cycle it is tuned to) and is slowest to converge
for _θs_ = 0 <sup>_◦_</sup> . Between these scenarios, all results lie within a
linear band with a maximum variation in computation time
of less than an order of magnitude, displaying a degree of
robustness to variations in drive cycle. Comparatively, the
results for DP display more consistency as they are contained
within a tighter band, but also show worse performance: for
the range of parameters tested, DP takes approximately two
orders of magnitude more time for a comparative level of
accuracy. For example, using the _θs_ = 1 <sup>_◦_</sup> cycle, ADMM
terminates with _J_ = 2 _._ 5 _×_ 10 <sup>6</sup> after 1 _._ 5 _s_ with _ϵ_ = 10 <sup>6</sup>,
whereas DP takes 115 _._ 8 _s_ to achieve _J_ = 2 _._ 0 _×_ 10 <sup>6</sup> using
_NE_ = 120. The bands also diverge, suggesting that ADMM
performs even better for higher accuracy, although it is not
clear to what extent this relationship can be extrapolated.
_J_ =
_N_ _−_ 1
_k_ =0
_|P_ <sup>ˆ</sup> <sup>_⋆_</sup>
_f,k_ <sup>_⋆_</sup> <sup>_−_</sup> <sup>_P_</sup> <sup>ˆ</sup> <sup>_†_</sup>
The results shown in Figure 2 illustrate that for this particular
instance of the optimisation problem, variations of _ρ_ 1 within
two orders of magnitude and variations of _ρ_ 1 within one
order of magnitude induce little suboptimality in the resulting
optimisation. We use the parameters _ρ_ 1 = 2 _._ 34 _×_ 10 <sup>_−_</sup> <sup>4</sup> and
_ρ_ 2 = 8 _._ 86 _×_ 10 <sup>_−_</sup> <sup>9</sup> for subsequent ADMM optimisations. The
value _ρ_ 2 _≈_ 10 <sup>_−_</sup> <sup>8</sup> may appear low, however it is appropriate
given the relative scaling of the fuel consumption for each
timestep ( _≈_ 10kJ) and the battery capacity ( _≈_ 10MJ) in (5).
_B._ _Optimisation_ _with_ _variation_ _in_ _power_ _demand_
A practically useful algorithm should demonstrate consistent performance across a broad range of optimisation
scenarios, and to test this we generate drive cycles with
varied magnitudes using _µ_ = 1 and _−_ 2 <sup>_◦_</sup> _≤_ _θs_ _≤_ 2 <sup>_◦_</sup>, then
Fig. 4. Mean time taken against optimality measured by (7) with _θs_ = 2 <sup>_◦_</sup> .
The size of the ADMM marker corresponds to the magnitude of _ϵ_, and the
size of the DP marker corresponds to the magnitude of _NE_ . The state
trajectories for the points highlighted in red are shown in Figure 5.
_C._ _Optimisation_ _with_ _variation_ _in_ _prediction_ _horizon_
To investigate robustness to variations in horizon length,
we generate drive cycles with _θs_ = _−_ 2 <sup>_◦_</sup> and _µ_ _∈_ [0 _._ 25 _,_ 1],
then solve the optimisation and record parameters using the
same method as above. The results are shown in Figure 4.
It is shown that the time taken for the ADMM algorithm to
terminate decreases dramatically as the length of the horizon
is reduced. For example, the time taken with _ϵ_ = 10 <sup>6</sup> is 1 _._ 8 _s_
for _µ_ = 1 and 0 _._ 9 _s_ for _µ_ = 0 _._ 75, then 0 _._ 1 _s_ for _µ_ = 0 _._ 25. As
the time taken for DP decreases in a similar manner, the key
observation is that the significant speed improvement with
ADMM is sustained as the horizon is reduced. This suggests
that if the algorithm can deliver a performance benefit for
a broad range of drive cycle characteristics at the start of a
journey, it will then also deliver the same performance benefit
as the journey is completed.
In Figure 5 we show state trajectories for the _θs_ = _−_ 2 <sup>_◦_</sup> and
_µ_ = 1 cycle that are obtained with DP and ADMM using
a comparative level of computational time, as well as the
global optimum. These plots clearly illustrate the superior
performance of ADMM for this problem, but also show
a significant limitation. Whilst the ADMM state trajectory
follows the optimum much more closely, it is also shown to
violate the SOC constraints by _≈_ 0 _._ 02%. This is because
there is no explicit guarantee in the ADMM termination
criteria that the constraints are met: this is only ensured
when the primal residual is exactly zero. We do not, however,
believe that this is a significant problem with ADMM for this
application, as for all optimisations shown in Figures 3 and
4, no state of charge violation was greater that 1%, and this
level of violation is likely to be lower in magnitude than the
uncertainty in the current state of charge.
VI. CONCLUSION
A convex formulation of the MPC optimisation associated with energy management in hybrid electric vehicles is
presented, with a demonstration of convexity that allows the
state dynamics to be modelled as a linear system. We propose
Fig. 5. Optimum state of charge trajectory plotted with ADMM and DP
optimisations highlighted in red in Figure 4, where _µ_ = 1, _θs_ = _−_ 2 <sup>_◦_</sup>,
_NE_ = 120, and _ϵ_ = 10 <sup>5</sup> .
an ADMM algorithm for the solution of this problem,
and demonstrate approximately two orders of magnitude
improvement in computation time compared to DP. A degree
of robustness to variations in the magnitude and length of the
predicted drive cycle is also demonstrated.
REFERENCES
[1] A. A. Malikopoulos, “Supervisory power management control algo
rithms for hybrid electric vehicles: A survey,” _IEEE_ _Transactions_ _on_
_Intelligent_ _Transportation_ _Systems_, vol. 15, no. 5, pp. 1869–1885,
2014.
[2] A. Sciarretta and L. Guzzella, “Control of hybrid electric vehicles,”
_IEEE_ _Control_ _Systems_, vol. 27, no. 2, pp. 60–70, 2007.
[3] C. Marina 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, 2017.
[4] J. Buerger, S. East, and M. Cannon, “Fast dual loop nonlinear receding
horizon control for energy management in hybrid electric vehicles,”
_IEEE_ _Transactions_ _on_ _Control_ _System_ _Technology_, vol. PP, no. 99,
2018.
[5] C. Xiang, F. Ding, W. Wang, and W. He, “Energy management of
a dual-mode power-split hybrid electric vehicle based on velocity
prediction and nonlinear model predictive control,” _Applied_ _Energy_,
vol. 189, pp. 640–653, 2017.
[6] 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.
[7] H. Borhan, A. Vahidi, A. M. Phillips, M. L. Kuang, I. V. Kolmanovsky,
and S. Di Cairano, “MPC-based energy management of a powersplit hybrid electric vehicle,” _IEEE_ _Transactions_ _on_ _Control_ _Systems_
_Technology_, vol. 20, no. 3, pp. 593–603, 2012.
[8] 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_, vol. 34, no. 2, pp. 32–49, 2014.
[9] S. Hadj-Said, G. Colin, A. Ketfi-Cherif, and Y. Chamaillard, “Convex
Optimization for Energy Management of Parallel Hybrid Electric
Vehicles,” _IFAC-PapersOnLine_, vol. 49, no. 11, pp. 271–276, 2016.
[10] T. N¨uesch, P. Elbert, M. Flankl, C. Onder, and L. Guzzella, “Convex
optimization for the energy management of hybrid electric vehicles
considering engine start and gearshift costs,” _Energies_, vol. 7, no. 2,
pp. 834–856, 2014.
[11] S. Boyd, N. Parikh, E. Chu, J. Peleato, and J. Eckstein, “Distributed
Optimization and Statistical Learning via the Alternating Direction
Method of Multipliers,” vol. 3, no. 1, pp. 1–122, 2014.
[12] S. East and M. Cannon, “ADMM for MPC with State and Input
Constraints, and Non-linear Input Dynamics,” in _Proceedings_ _of_ _the_
_American_ _Control_ _Conference_ _2018_ .
섹션 본문
섹션 본문이 없습니다.
참고문헌 9건
- Fast Dual-Loop Nonlinear Receding Horizon Control for Energy Management in Hybrid Electric Vehicles IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcst.2018.2797058
- Energy Management in Plug-in Hybrid Electric Vehicles: Recent Progress and a Connected Vehicles Perspective IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2016 10.1109/tvt.2016.2582721
- Convex Optimization for the Energy Management of Hybrid Electric Vehicles Considering Engine Start and Gearshift Costs Energies · Multidisciplinary Digital Publishing Institute · 2014 10.3390/en7020834
- Dynamic Traffic Feedback Data Enabled Energy Management in Plug-in Hybrid Electric Vehicles IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcst.2014.2361294
- Energy management of a dual-mode power-split hybrid electric vehicle based on velocity prediction and nonlinear model predictive control Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.12.056
- Electromobility Studies Based on Convex Optimization: Design and Control Issues Regarding Vehicle Electrification IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/mcs.2013.2295709
- MPC-Based Energy Management of a Power-Split Hybrid Electric Vehicle IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2011 10.1109/tcst.2011.2134852
- Convex Optimization for Energy Management of Parallel Hybrid Electric Vehicles IFAC-PapersOnLine · Elsevier BV · 2016 10.1016/j.ifacol.2016.08.041
- Supervisory Power Management Control Algorithms for Hybrid Electric Vehicles: A Survey IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tits.2014.2309674