Method for solving an optimal control problem
A two-level optimal control method for HEVs transforms the control problem into macro and micro problems, using Pontryagin's principle and learned costs, effectively optimizing fuel consumption and SOC management in hybrid electric vehicles.
Patent Information
- Application Number
- FR2023001843
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-02-28
AI Technical Summary
Existing methods for solving optimal control problems in hybrid electric vehicles (HEVs) are inefficient in managing fuel consumption and battery state of charge (SOC) constraints during various speed zones, particularly in the WLTC cycle, which complicates the determination of optimal control strategies.
A two-level optimal control problem is transformed into an equivalent two-level problem, comprising a macro-level optimization and multiple micro-level optimal control problems, solved iteratively using Pontryagin's maximum principle and database-learned cost functions, enabling efficient fuel consumption minimization.
This approach allows for efficient fuel consumption optimization and SOC management in HEVs by breaking down the control problem into manageable sub-problems, enhancing the accuracy and efficiency of control strategies across different speed zones.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Description Title of the invention: Method for solving a problem of optimal control Technical field
[0001] — The present invention relates to a method for solving a control problem optimal. It also concerns a computing unit configured to implement said process. State of the prior art
[0002] — Methods are known for solving an optimal control problem such that that of minimizing fuel consumption 'Fuel of a vehicle hybrid electric HEV, for the English Hybrid Electric Vehicle, on a given cycle or predicted time T'. A common cycle used is the WLTC cycle (for Worldwide English Harmonized Light Vehicles Test Cycle), lasting 1800 seconds, which is divided in four parts: a low speed zone for 589 seconds, a high speed zone moderate for 433 seconds, a high speed zone for 455 seconds and finally a last one at “very” high speed which lasts 323 seconds and which is the most energy-consuming.
[0003] — The control system is of dimension 2: the action levers, also called degrees of freedom, are the distribution of torque between the thermal engine and the motor electric (defined by the selection of the Fan thermal couple and the control of the ratio speed (Gea selection”).
[0004] — The final state of charge SOC (for English Rate of Charge) of the battery must gener- usually be fixed, as for standard homologation cycles requiring a SOC maintenance scenario (or “iso-SOC”).
[0005] — The optimal control problem can be to determine:
[0006] T f pi 4 mit Type 1); GeaWs)) dr
[0007] — with: the dynamics of the battery state of charge: SOC{t)=fgoclt SOC(1), Ta, (1), Gear(r)} constraints on the evolution of the state of charge: SOC in SSOC(#) < SOC ax constraints on orders, which can be seen as belonging to an admissible domain (which is not further developed here): ( Ta, (1). Gear(t)) eU(t) constraints on the initial state and the final state of charge: SOC(0)=SO0C, SOC(T)=SOC, The state of the art proposes several methods for solving optimal control problems, including in particular: a strategy for minimizing equivalent ECMS consumption, for English Equivalent Consumption Minimization Strategy. It is a method in line, but suboptimal. direct methods: these methods require determining a discretization in time and a resolution of an optimization problem in very large di- mensions (these methods are based on the conditions of Karush- Kunh-Tucker (KKT) dynamic programming methods: these methods require de- complete a discretization in time and explore exhaustively all the possibilities of trajectory in state and use the principle of Bellman (and explore all possibilities). reinforcement learning methods: these methods require de- complete a discretization in time and control and use the principle of Bellman (learning the Q function iteratively). indirect methods: transforming the optimal control problem (OCP, for English Optimal Control! Problem) into a problem at both ends (BVP, for the English Boundary Value Problem) using the maximum principle Pontryagin Maximum Principle (PMP).
[006] Indirect methods are preferred because they provide a method that provides a much faster solution than dynamic programming methods, and they are much more accurate than other methods. However, indirect methods implementing the Pontryagin maximum principle require solving a low-dimensional optimization problem. This is usually determined by a "shooting method" based on iterative simulations of an internal model. But when applied to cycles with a relatively long horizon, this method has some drawbacks: a possibly bad convergence or even a divergence of the associated optimization problem, too much sensitivity to initial values, a possibly long calculation time, due to internal simulations on long horizons, difficulties in taking into account state constraints (in the case HEV usage: SOC min-max limitations)
[007] The present description aims to propose a method which at least overcomes one of the aforementioned disadvantages. Statement of the invention To this end, according to a first aspect of the invention, a method is proposed for determining by a calculation unit an optimal control “ of a vehicle motorization for an optimal control problem, having a state function *, initial state constraints *o, final state constraints Ÿf, a cost function Fan which is written: IT d| T join x(t), #(t)) (OCP) 4 NS AUA HAN ul) x(e)=f(1x(7), u(t)) x(0)=xx(7)=x, with : x(#t) € R” the state, of dimension n, u(r) € R”” the control, of dimension ”*, fr (R xR"x R”) >R the cost function, FURX Rx R"") — R” the state dynamics function, X0: the initial state constraints, XF: Final State Constraints According to the invention, the method comprises a determination by the calculation unit of a two-level optimal control problem, and a resolution of said two-level optimal control problem, said two-level optimal control problem being written: ; N | (Macro) (epEaViE, X) X,=xx. X Xo=xe Xn1=X; fi (BOCP) | pra Xa)= min J #°(tx(r),u(1)) di| (Microphone) RYUX C FT4 FX 1 / 34 x(1)=f(tx(8), w(t)) X(1)=X; x({) = Xi with: to=0$S …Sf;$ …S fy,1=T said solution being determined by implementing a resolution method using the single shot method of Pontryagin's maximum principle. The single shot method is thus named in contrast to the multiple shot method. Advantageously, prior to a resolution of said control problem optimal two-level control, the optimal transition costs V,( X; X;,.; )» from an initial state X; to a final state X;+1 are replaced by estimated transition costs Cl x, Xi) = Ÿ( x,X, 1) predetermined before solving the optimal control problem by the computing unit, the two-level optimal control problem (BOCP) becoming two independent problems, namely an optimization problem (Macro) and N + 1 optimal control problems (Micro) 5 N min}, C,(X; X; (Macro) | x; Ts ;{ # 1) Xo=x Xyn=X; ] ball dt | | mind PC x(1).u(s)) (Micro) x(1) = FUr x(4), ulr) x(r)=f{(1.x(t), u(t)) x(1;) = X;, x(tu1)= Xi | According to one embodiment, the resolution steps (Macro) and (Micro) are carried out online. Preferably, the method further comprises a step of determining the estimated transition costs C;(X, X,1) = Ÿ(X, Xa1) predetermined from a set comprising initial states X;, final states X;4; and an optimal transition cost VX; Xu1)- For example, each of the optimal transition costs V,( X, X,,, ) from an initial state X;, to a final state X;,; is determined by solving the optimal intermediate control problem OTP,: fn |, Xm) = min] (, x{#).u(t)) dr X(1)=f(tx(1), u(t)) xin)=X; your" According to one possibility, the intermediate optimal control problem is solved by implementing a solution method using the Pontryagin maximum principle, preferably by a shooting method. According to a second aspect of the invention, a calculation unit is proposed for determining optimal control of a vehicle engine, said calculation unit being configured to implement a method according to the first aspect of the invention, or one or more of its improvements. Description of figures Other advantages and particularities of the invention will appear on reading the detailed description of implementations and embodiments which are in no way limiting, with regard to the appended drawings in which: [Fig.1] represents, in a schematic diagram of an example of realization of a method according to the invention. Description of embodiments The embodiments described below being in no way limiting, it will be possible in particular to consider variants of the invention comprising only a selection of the characteristics described, subsequently isolated from the other characteristics described, if this selection of characteristics is sufficient to confer a technical advantage or to differentiate the invention compared to the state of the prior art. This selection comprises at least one characteristic, preferably functional without structural details, or with only a part of the structural details if this part only is sufficient to confer a technical advantage or to differentiate the invention compared to the state of the prior art. In the figures, an element appearing in several figures retains the same reference. General description The invention addresses a method for solving an optimal control problem which can be written in its general form: 7 jt x(1), u(r)) di| (OCP) {ANS FOR YONNE x(0)=xx(T)=x; with: x(1) € R” the state, of dimension n, u(1) € R” the control, of dimension ”*, f (RXRXR")>R the cost function, F{(RXR"xXR”)-— R" the state dynamics function possibly state constraints: x(# ) € x, possibly order constraints: #(:) EU(1) *o: the initial state constraints XF: Final State Constraints Transition to a two-level equivalent problem called (BOCP) An idea that is at the basis of the invention is to transform the optimal control problem (OCP) into an equivalent two-level problem, with one level, called (Macro), presenting an optimal control problem, and another level, called (Micro), comprising a plurality of optimal control problems, from intermediate times / ; on the interval [0, 71 fixed beforehand. This transformation can be written: C y | (Bracro) (pat 0, Xa1) wv.=-+v Xo=Xpe Xya1=X; Li (BOCP) | di| (rs Xu1)= min j 2° x(1),u#05)) (Micro) vis\— F4 v14N RNA x(1)=f(1,x(t),u(t)) (6) =X; x(ty) = Xe Withtp=0Ss .…. $1;$.…. $fy,=T The division into intermediate time can, for example, be carried out according to a predetermined period. The transformation leads to iteratively solving À + 1 optimal control problems (Micro) over shorter intervals and then to introducing the resolutions of these shorter problems in the part {(Macro) to solve the associated optimization problem. Approximation of the problem (BOCP) and resolution This resolution of the problem includes: an offline step, including: a step of creating (E1) a database comprising, for each of the time intervals A, = [yf,,,p the A; being fixed at prior, and for each of the initial states X; and each of the states finals X;,;, An optimal passage cost V,(X, X,,; ) then for each of the time intervals A; = [tf, nai a step learning (E2) of cost function Ç; from said costs of optimal passage V,, each of the cost functions C; being an ap- learning of points V.{ X, X.,, )- an online step, including: a resolution (E3) of the problem (Macro)» a resolution (E4) of the problem ({Micro) Creating the database To determine the optimal transition cost V; from an initial state X; at time / ; to a state final X;4; at time #;;1, we solve the optimal control problem (Micro) to determine an optimal intermediate control trajectory, and we determine the intermediate passage cost associated with said optimal intermediate control trajectory. For example, if the number of possible initial states at time / ; is 11 and the number of final states at time ?;4; is also 11, and the data creation strategy is an exhaustive exploration of the possible combinations, the database ultimately contains 121 optimal costs associated with a passage from an initial state to a final state. There are techniques, known to those skilled in the art, for only having to explore the possible final states. There are other strategies where all possible combinations are not exhaustively calculated, even without defining a regular grid (other sampling methods) (example: Latin hypercube, random draws, etc.) Since optimal control problems (Micro) are independent, it is possible to solve them in parallel. Determination of cost functions €;
[20] The determination of the cost functions C; involves learning the different databases previously created. Several methods can be implemented to determine C functions; including: multilinear interpolation methods, which however require a re- regularity of the database, approximation methods using polynomial functions, neural networks. Problem Solving (Macro) The (Macro) problem of the (BOPC) is replaced by the resolution of the following (Macro) problem in which we seek the optimal intermediate states to minimize the sum of the estimated optimal costs: IN C (Maëro) [ja Xi) | f Vv_LY+yw# _4 | X0=Xe XossFX; | Several methods can be implemented to find the optimal intermediate states for each of the times?;: dichotomy method (only if the dimension is 1: N = l), gradient descent, evolutionary algorithm to avoid encountering a local minimum, brute force, dynamic programming. Problem Solving {Microphone) The resolution of the problem (M icro) involves, for each of the intervals A;= [ti t; sd , a determination of the optimal intermediate control solution of the following optimal intermediate control problem, using the method of shots of the Pontryagin maximum principle: fat di| | min 7° x(0.061)) (Micro) x(1)=f(r, x(1), 441) x(1,) = X, x(t{1)= Xe | Application The present application proposes in particular an application to the resolution of an optimal control problem such as that of minimizing the fuel consumption of a HEV hybrid electric vehicle. The optimal control problem can then be written: + then ir Taycr(t >, Gear(t)) dr with state dynamics: SOC(1) = Fgoe(t SOC(1), Ta, ap (1), Gear(t)} state constraints: 0.2 <soc(t) <0.8 the control constraints: (T4, (1), Gear(t)) eU(r) my initial and final constraints: SOC(0)=5S0C, | SOC(T)=SOC, It is noted that the problem is a very special case of the previous problem. It is sufficient to apply the method previously presented to solve it. Of course, the invention is not limited to the examples which have just been described and numerous adjustments can be made to these examples without departing from the scope of the invention. For example, it is contemplated to use the disclosed solution method to determine optimal controls for hydrogen vehicle power distribution. In addition, the various features, forms, variations and embodiments of the invention may be combined with each other in various combinations. € measure are not incompatible or exclusive to each other
Claims
Claims
1. Method for determining by a calculation unit an optimal control ” of a vehicle motorization for an optimal control problem (OCP), having a state function *, initial state constraints *o, final state constraints Ÿ / , a cost function fe which is written: T Toy x(1), u(t)) dr| COCPI 4 Ne fUR (A). u(ANN x(0)=xx(7)=x, with: x(#) € R” the state, of dimension n, u(r) € R"" the control, of dimension ”*, ÿ" (R XRXRT)>R the cost function, F(RXR"XR"") > R” the state dynamics function, X0: the initial state constraints, X$: the final state constraints comprising a determination by the calculation unit of an optimal control problem (BOCP) at two levels (Macro, Micro), and a resolution of said optimal control problem, said optimal control problem at two levels being written: ; N | eéfrrui Japan Zim) v.=uv Ÿ. Xp=xp Xvs=X; until (BOCP)| jrs Xa1) = min J °(, xr),u6r)) of] Te! (Micro) supported by VTAM. air x(1)=F(1x(1), u(t)) x(5)= Xi x(tn) = Xe with: n=0S …sh$ …. S ty =T VX, X,,) being the cost of moving from a state X; to a state X;,;, said solution being determined by implementing a resolution method using the Pontryagin maximum principle.
2. Method according to the preceding claim, in which prior to a resolution of said optimal control problem at two levels, the optimal transition costs V,{ X, X,..; )» from an initial state X; to a state final X;,; are replaced by estimated passage costs C( x, X;n1) = ax; Xi) predetermined before solving the optimal control problem by the computing unit, the problem of two-level optimal control (BOCP) becoming two problems in- dependent, namely an optimization problem (Macro) and N+1 optimal control problems {Micro) (E3, E4): N min}, C;(X5 Xi (7) | Xo=Xe Xys=X; so much dr| | min f °C x(1),u(s)) (Metero) | Ltd = FOR EN, ni x(1)=f(1x0t), u(t)) x(1,)=X, x(t,1)=X; |
3. Method according to one of the two preceding claims, in which the troubleshooting steps (Macro) and (Micro) are made online.
4. Method according to one of the two preceding claims, when de- pendant of claim 2, further comprising a step of deter- mination (E2) of estimated passage costs CAXa X,1) = V,(X, X,, ) Predetermined from a set comprising initial states X;, final states X;4; and a cost of optimal passage V;{X; X.,1 )-
5. A method according to the preceding claim, wherein each of the costs of optimal transition V,( X, X;,, ) from an initial state X;, to a final state X;41 is determined (El) by solving the optimal inter-control problem mediator: {ay [Via Xa9) = min J (5 x(r),ulr)) dr| x(+)=f{(1x(t), u(t)) x(5)=X, xt) = Xe
6. Method according to the preceding claim, in which the problem of intermediate optimal control (M, icro) is solved by implementation of a resolution method using the principle of maximum Pontryagin.
7. Calculation unit for determining an optimal control “of a mc vehicle realization by implementing a method according to one any of the preceding claims.
Citation Information
Patent Citations
Optimized method for managing vehicle charging sequences on a local electrical network
FR3115000A1
TRAJECTORY CALCULATION SYSTEM FOR MINIMIZING A MOTOR VEHICLE'S ENERGY CONSUMPTION
FR3124147A1
