Learning-Based MPC for Fuel Efficient Control of Autonomous Vehicles With Discrete Gear Selection
산업용 섬유 · (9) 타이어코드
기본 정보
- 저자
- DOI
- 10.1109/lcsys.2025.3575335
- 저널
- IEEE Control Systems Letters
- 발행년도
- 2025
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 1
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/lcsys.2025.3575335
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W4410887217
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 40,933자
본문 펼치기
섹션 본문 70문단 · 21,968자
(제목 없음)
1Co-optimization of both vehicle speed and gear position via model predictive control (MPC) has beenshown to offer benefits for fuel-efficient autonomous driving.However, optimizing both the vehicle's continuous dynamics and discrete gear positions may be too computationally intensive for a real-time implementation.This work proposes a learning-based MPC scheme to address this issue.A policy is trained to select and fix the gear positions across the prediction horizon of the MPC controller, leaving a significantly simpler continuous optimization problem to be solved online.In simulation, the proposed approach is shown to have a significantly lower computation burden and a comparable performance, with respect to pure MPCbased co-optimization.
I. INTRODUCTION
2F Or optimal control of autonomous vehicles (AVs), model predictive control (MPC) is a powerful and prevalent method [9], [15].In this context, co-optimization of an AV's speed and gear-shift schedule is a promising approach to achieve high-performing and fuel-efficient autonomous driving; however, considering the gear-shift schedule requires the online solution of a mixed-integer nonlinear program (MINLP) [1], for which the computational burden can be intensive.
3To address this issue the MINLP can be made easier to solve by relaxing the problem or by finding heuristic numerical solutions [5], [11].However, the relaxed problem can still be difficult to solve, and approximate solutions can be suboptimal.Alternatively, a decoupled approach can be used.In this case, first the speed is optimized, and next a gearshift schedule is selected for the given speed using, e.g., a learning-based gear controller [14], or dynamic programming [12].However, decoupling speed control and gear control is suboptimal compared to the joint optimal control of both together.Finally, the computational burden can be alleviated by using a learning-based controller that controls both speed and gear-shift schedule in place of an MPC controller [7]; however, in contrast to an MPC controller, a learning-based controller is not able to guarantee constraint satisfaction.
4In light of the above issues, this work presents a novel learning-based MPC controller for the co-optimization of speed and gear-shift schedule for an AV.Taking inspiration from [4], a learned policy selects and fixes the gear positions across the prediction horizon of the MPC controller, such that optimal control and constraint satisfaction are handled by a nonlinear program (NLP), rather than an MINLP.A neural network (NN)-based policy is proposed where, to address the exponential growth of the policy's action space with the prediction horizon, a recurrent architecture is used.The policy learns to select gears that are optimal for the original optimization problem, rather than decoupling the gear-shift schedule from the speed control, such that, in contrast to [12], [14], the notion of co-optimization is retained.In this way, the MPC controller is able to consider the gear and powertrain dynamics without optimizing explicitly over discrete inputs, in contrast to [5], [11].Furthermore, unlike pure learning-based controllers [7], the use of the MPC controller gives constraint satisfaction.To this end, we propose a backup gear-shift schedule that can guarantee feasibility of the MPC optimization problem.Finally, due to the recurrent architecture, the policy, once trained for a specific prediction horizon, generalizes over prediction horizons without the need for retraining.
II. PROBLEM SETTING
5Consider the vehicle and powertrain models [11]
6with t continuous time, a the acceleration, v the velocity, and m the mass of the vehicle.Furthermore, C is the wind drag coefficient, F b is the brake force, T is the engine torque, and ω is the engine speed.The friction function
7with µ the rolling friction constant and g the gravitational acceleration, defines the road friction for road angle α, which, for simplicity of presentation, is assumed to be constant, i.e., α(t) = α and g(t) = G.The lumped gear ratio n(t) = z j(t) z f /r is determined by the final drive ratio z f , the wheel radius r, and the transmission gear ratio z, a discrete variable selected by the gear position j ∈ {1, . . ., 6}.To model engine dynamics the torque rate of change is constrained as | Ṫ (t)| ≤ ∆T max .Furthermore, consider the fuel model [11] ṁf
8with c 0 , c 1 , and c 2 constants.The variables F b , T, and ω are physically bounded above and below, e.g., T min ≤ T ≤ T max .Note that the bounds on ω implicitly bound v between
9For convenience, in the following, we define a function that maps a speed and gear choice to the engine speed
10We consider the control of an AV to track a reference trajectory in a fuel efficient manner.Denote the vehicle position, reference position, and reference velocity at time t as p(t), p ref (t), and v ref (t), respectively.The performance metric is
11where β > 0 expresses the importance of tracking against fuel efficiency, and k is a discrete-time counter for time steps of ∆t seconds.The tracking cost
12quadratically penalizes deviations from the reference trajectory, with Q ∈ R 2×2 a positive-definite weighting matrix.The fuel cost L f (v, T, j) = ∆t c 0 + c 1 ω(v, j) + c 2 ω(v, j)T penalizes the fuel consumption over a time step.
III. LEARNING-BASED MPC
13In this section we introduce the proposed controller for the task.Defining the state, reference state, and control input as
14(1) can be approximated with the discrete-time dynamics x(k+
15where subscripts select an element of a vector, e.g., x i is the ith element of the vector x.
16A. Mixed-integer nonlinear MPC Consider an MPC scheme with prediction horizon N > 1 defined by the following MINLP:
17for i = 0, . . ., N − 2 :
18where x(i|k) and u(i|k) are the predicted states and inputs, respectively, i steps into the prediction horizon of the MPC controller at time step k.Furthermore, bold variables gather a variable over the prediction horizon, e.g.,
19If no solution exists for (10) J x(k), x ref (k) = ∞ by convention.The constraint (10e) enforces the engine torque dynamic behavior, (10f) prevents skipping gears when shifting, and (10d) limits acceleration to a max .The bounds on engine torque, engine speed, and brake force are grouped in
20The last condition in C, relating x 2 (i+1|k) to u 3 (i|k), ensures that the gear at time step k + i maintains the engine speed within its bounds for all t ∈ (k + i)∆t, (k + i + 1)∆t .The MINLP (10) provides a state feedback controller via solving (10) at each time step k and applying the first element u * (0|k) of the optimal sequence u * (k) to the system.However, the computation required to solve (10) online renders it unsuitable for a real-time implementation, i.e., the computation time is larger than the available real time for the MPC to make a decision.In the following, we introduce an alternative MPC controller that can be executed efficiently online.
B. Learning-based nonlinear MPC
21Let us define a reduced control action that does not include the gear choice as u ′ (k) = T (k∆t), F b (k∆t)
22⊤ .We then introduce the following MPC controller, parameterized by a gear-shift schedule j(k) = j(0|k), . . ., j(N − 1|k) ⊤ :
23for i = 0, . . ., N − 1
24for i = 0, . . ., N − 2 :
25With j prespecified, no discrete variables are optimized in the problem (13), which can now be solved efficiently using numerical nonlinear solvers.Note that if j = u * 3 , the optimal gear-shift schedule from (10)
26We propose the use of a learned policy that selects and fixes the gears over the prediction horizon based on the optimal solution to the MPC problem from the previous time step.Define the shifted solutions to (13) at time step k, i.e., the optimal control and state trajectories from time step k − 1 advanced by one time step, as
27Note that the first element of x(k) is replaced with the state x(k), such that in the case of modeling errors the real state is present.Furthermore, define the shifted gear-shift schedule
28Consider the selection of j by a policy, parameterized by θ,
29as a function of the reference trajectory and the shifted solutions from the previous time step 1 .Note that for simplicity the time index (k) is dropped.In Section IV the architecture and training of π θ are described.
30Observe that there are many choices for j for which (13) has no solution.While we can expect π θ to almost always provide at least a feasible j (if not optimal), here we propose a backup solution that will be useful for guaranteeing feasibility at deployment.We then prove that this backup solution, while potentially suboptimal, always provides a feasible j.Define the set of feasible gears for a given velocity v as: 1 If α would be time-varying then α would be an additional input argument.and ϕ as any mapping from v to one of the gears j ∈ Φ(v), e.g., ϕ(x 2 ) = max j ′ ∈Φ(x2) j ′ .The backup solution, defined by the function σ, is then
31Furthermore, define a map from gears to velocities that satisfy the engine speed constraints as Ω(j) = {v|j ∈ Φ(v)}.Proposition 1: Assume that, for j ∈ {1, . . ., 6} and for all x 2 ∈ Ω(j), there exist u 1 and u 2 such that T min ≤ u 1 ≤ T max , F b, min ≤ u 2 ≤ F b, max , and
32Then, for a state x(k) such that v min ≤ x 2 (k) ≤ v max , and a gear-shift sequence j(k) = σ x 2 (k) , problem (13) has a solution, i.e., J x(k),
332 is positive and monotonic, verifying condition (18) for a given vehicle involves checking only the endpoints of the range Ω(j) for j = 1, . . ., 6, yielding 6 × 2 conditions to be verified.The condition is satisfied for reasonable vehicle parameters, including those used in Section VI.Note that Proposition 1 guarantees instantaneous feasibility of (13).Recursive feasibility follows trivially if the true underlying system is (9).In the case of modeling errors, e.g., when the dynamics (9) are a discrete-time approximation of the continuous-time system (1), a robust MPC formulation would be required for recursive feasibility and constraint satisfaction.This is left for future work.
34The proposed control algorithm is given in Algorithm 1.If the gear-shift schedule proposed by π θ is infeasible, the control input is computed using the backup gear-shift schedule (17), which is feasible by Proposition 1.
Algorithm 1 Control algorithm at time step k
35⊤ to the system
IV. GEAR-SHIFT SCHEDULE POLICY
36For convenience in the following, define q(i) to stack the ith elements from x, ū′ , x ref and j, e.g.,
37We propose to model the policy π θ with an NN, with the parameter θ the model weights.Representing π θ with a standard feed-forward NN has the key issue that the action space grows exponentially with the prediction horizon N , while the input space grows linearly.Indeed, for a given N there are 6 N possible gear-shift schedules and 4(N + 1) + 2N
38Fig. 1: Recurrent NN, with hidden states h i , showing how the chain of inputs sequentially generates the gear-shift schedule.
39The maps ψ and η are input and output transformations.
40inputs (from x, x ref , ū′ , and j).An NN capable of representing the input-output mapping as N increases may need to be very large and highly complex.Furthermore, there is an explicit temporal relationship between gear-shifts, which is not structurally enforced in a feed-forward NN.In light of these points, inspired by [4] we propose a sequence-to-sequence recurrent architecture using a recurrent NN (RNN), as shown in Figure 1.The inputs x, ū′ , x ref and j are considered as N different inputs in a chain, i.e., the vectors q(i) ∈ R 7 for i = 0, . . ., N − 1.A single RNN is trained with input space R 7 , where the output is a single gear position.The output sequence of N gear positions is then generated by sequentially evaluating the RNN on the chain of inputs q(0), . . ., q(N −1).
41In this way the recurrent structure results in a constant number of inputs and outputs for the network for any prediction horizons, with only the number of sequential evaluations changing with the horizon.Furthermore, the temporal relationship is structurally enforced, i.e., the gear at time step i + k considers the prior gears and inputs via the hidden state h i .More formally the policy is defined as
42where the input mapping ψ, defined by
43transforms the inputs into a representation that contains the tracking error, the vehicle and reference velocities, and the predicted inputs, including the engine speed.This representation is chosen to give the RNN the most relevant information for selecting j.The model function of the RNN is
44where δ j (i) is the probability of choosing gear j at the ith output in the sequence.The output mapping η selects the gear with the largest probability and applies a clipping: η δ(0) = λ 0 , and for i > 0
45with λ i = arg max j δ j (i).The clipping ensures that j can be feasible by satisfying constraint (13e).
46The policy π θ can be trained in a supervised manner using a dataset of input-output pairs
47In Section VI the collection of T is detailed.With the number of inputs and outputs of the model function y independent of the prediction horizon N , an added benefit of the RNN architecture is that, once trained, the policy can be applied to an MPC controller with larger N by applying longer input sequences.Furthermore, the policy can be trained with data generated by different controllers with different horizons N .
V. COMPARISON CONTROLLERS
48In this section we outline three controllers against which the proposed method will be evaluated.
49MINLP-based MPC: This MPC controller solves the MINLP (10) at each time step k, applying u * (0|k) to the system.This controller provides the baseline performance for all other controllers, but is highly computationally intensive.
50Mixed-integer quadratic program-based (MIQP) MPC: This controller follows the approach from [11], where the MINLP ( 10) is relaxed such that the remaining optimization problem is an MIQP.In particular, a McCormick relaxation is applied to the bi-linear term in L f , the quadratic term in the dynamics is replaced by a piecewise-linear approximation, and all bi-linear terms in the dynamics, e.g., u 1 z(u 3 ), are replaced by mixed-integer inequalities (see [11] for details).
51Hierarchical MPC: This controller follows the principle of decoupling the optimization of the vehicle speed from the gearshift schedule.To this end, the simplified dynamics x(k+1) = f x(k), F (k) are considered, where
52The input F replaces T z(j)z f /r−F b , the desired braking force and the applied force from the engine torque combined with the gear.The following NLP is solved:
53for i = 0, . . ., N − 1 :
54where the fuel cost cannot be considered as the powertrain dynamics are not modeled.The bound F max (k) is determined at each time step k by considering the gear that provides the most traction for the current velocity
55The gear is then selected as j(k∆t) = ϕ x 2 (k) and clipped such that (10f) is respected.In our simulations we found j(k∆t) = ϕ x 2 (k) = max j ′ ∈Φ(x2(k)) j ′ to perform the best.Finally, T (k∆t) and F b (k∆t) are decided as
56with the torque rate constraint (10e) applied with clipping.
VI. SIMULATIONS
57In the following, MINLP problems are solved with Knitro [3], MIQP problems are solved with Gurobi [6], and NLP problems are solved with Ipopt [13].These solvers are each state-of-the-art for the respective type of optimization problem.All coefficients defining the vehicle model can be found in [11], with bounds given in Table I.Source code is available at https://github.com/SamuelMallick/mpcrl-vehicle-gears.For training the policy π θ and for evaluation of the controllers, we consider episodic highway-driving scenarios with α = 0.Each episode requires a vehicle, initialized with a velocity in the range [v min + 5, v max − 5] ms −1 , to track a random reference trajectory for 100s.Randomized reference trajectories are constructed as follows.Beginning with velocity x 2,ref (0) ∼ U (15,25), the acceleration of the reference trajectory changes over five randomly spaced intervals.For the first and last interval the acceleration is zero, with random values in [−0.6, 0.6] ms −2 for the other intervals.Additionally, the reference velocity is clipped to the range [5, 28] ms −1 (18-100 kmh −1 ).To train π θ with supervised learning the dataset T is generated using the MIQP-based MPC controller.While the solution provided by MIQP is an approximation of the MINLP solution, we found the quality sufficient to train the policy π θ , and the computation time required to generate the data less.Data is generated from 300 episodes, with N = 15, and used to train an RNN with 4 layers of 256 features in the hidden state, followed by a fully connected linear layer.
A. Evaluation
58To evaluate the performance of the controllers we compare the performance metric P , defined in (6), over 100 episodes (not present in the training of π θ ).We select β = 0.01, tuned to balance the relative importance of the fuel consumption and the quadratic tracking error, and Q = diag(1, 0.1).All MPC controllers use a horizon of N = 15, and both the MPC controllers and the underlying simulation use a time step of ∆t = 1s.The backup solution is defined via ϕ(x 2 ) = max j ′ ∈Φ(x2) j ′ .For the first time step of each episode there are no shifted solutions available.Hence, for the proposed approach the policy π θ is not used for the fist time step, with instead the MIQP-based MPC problem providing j.
59Using MINLP-based MPC (denoted NM) as a baseline, define the cost increase introduced by each controller as
60with type ∈ {QM, LM, HM} representing the MIQP-based MPC, the proposed approach, and the hierarchical MPC, respectively.Figure 2a shows a box-and-whiskers plot of ∆P and the solve time required for each controller 2 It can be seen that LM requires significantly less computation time than QM and NM, with QM and NM unable to always find a solution within the MPC sample time ∆t.Furthermore, the performance drop is negligible, with the median even improving over QM, likely due to the use of the exact fuel and friction models in the prediction model.In contrast, while HM requires even less computation time than LM, as an even simpler NLP is solved, the performance drop is significant.For LM the backup solution was used for 0.27% of time steps.For these time steps the average 1-norm difference between the policy and backup gear-shift schedules |π θ (x, ū′ , x ref , j)−σ(x 2 )| 1 was equal to 12. State and input trajectories for each controller on a representative episode are given in Figure 3.
61It is well known that MPC controllers have a level of inherent robustness thanks to re-optimization at each time step [10].To explore the preservation of this robustness in the proposed learning-based MPC controller, a further evaluation is conducted for 100 episodes where a strong disturbance in the form of a time-varying headwind v w (t) ∈ [8, 14] ms −1 is present.This disturbance is unmodeled for the MPC controllers, but affects the true dynamics of the system.The headwind changes the relative velocity of the vehicle when calculating wind drag, i.e., the drag term in (1) becomes C(v + v w ) 2 .Figure 2b shows the cost increase and the solve time over 100 episodes under headwind disturbance.LM retains a performance that is comparable to that of the mixedinteger approaches, with a superior computational burden.The backup solution was used for 2.15% of time steps.
62Finally, we explore the scaling of the approaches with the prediction horizon N , and the generalization of the proposed approach to different horizon lengths.An evaluation is conducted for 100 episodes (without headwind) with N = 20.The proposed approach LM uses the policy π θ trained with N = 15, i.e., no retraining.Figure 2c shows the cost increase and the solve times.Again, LM retains a comparable performance to the mixed-integer controllers with superior computation time, demonstrating how the learned policy can generalize to horizons longer than that on which it was trained.For LM the backup solution was used for 0.43% of time steps.
VII. CONCLUSIONS
63In this work we have proposed a novel learning-based MPC controller for fuel efficient autonomous driving.By learning a policy that selects the gear-shift schedule over the MPC prediction horizon, the benefits of speed and gear cooptimization, i.e., fuel efficient tracking, are retained without the computational burden of solving a mixed-integer program.The result is a controller that achieves a performance comparable to approaches that solve mixed-integer programs, and that has a computational burden comparable to sub-optimal approaches that decouple speed and gear optimization.Future work will look at extending the approach to vehicle platoons and addressing model mismatch with robust MPC.
APPENDIX I PROOF OF PROPOSITION 1
64Proof: We prove Proposition 1 by showing the existence of a specific feasible solution to (13), namely a constantvelocity trajectory.We show that J x(k), x ref (k), j(k) < ∞ with j(k) = σ x 2 (k) for the solution x(k), u ′ (k) with x(i|k) = x 1 (k) + τ x 2 (k)∆t, x 2 (k)
65⊤ , i = 0, . . ., N (30) and constant input u ′ (i|k) = [u 1 , u 2 ] ⊤ for i = 0, . . ., N − 1, with T min ≤ u 1 ≤ T max , F b, min ≤ u 2 ≤ F b, max such that
66By the assumption in Proposition 1 this control input exists for any x 2 (k) with v min ≤ x 2 (k) ≤ v max and for gear j = ϕ x 2 (k) .The dynamics constraints (13d) are satisfied by this solution as (30) and (31) satisfy the equality constraint, i.e., for i = 0, . . ., N − 1 we have f x(i|k), u 1 , u 2 , ϕ x 2 (k) ⊤ = x(i + 1|k).
67Furthermore, the constraints (13b) and (13e) are trivially satisfied by this solution with constant velocity x 2 (k), engine torque u 1 , and gear ϕ x 2 (k) .Finally, constraint (13c) is satisfied as T min ≤ u 1 ≤ T max , F b, max ≤ u 2 ≤ F b, max , and w min ≤ ω x 2 (k), ϕ x 2 (k) ≤ w max by the definition of ϕ.
68Hence, all constraints are satisfied, with x(k), u ′ (k) one of potentially many feasible solutions.Indeed, this solution could be used as a feasible initial guess for a numerical solver.
Fig. 2 :Fig. 3 :
69Fig.2: Top: distribution of (29) across 100 episodes with median marked.Bottom: distribution of average MPC solve time for each episode across 100 episodes with median marked.The maximal time of all steps is marked with a red triangle.
TABLE I :
70Variable bounds for the vehicle.
참고문헌 12건
- Knitro: An Integrated Package for Nonlinear Optimization Nonconvex optimization and its applications · Springer Nature · 2006 10.1007/0-387-30065-1_4
- Control of systems integrating logic, dynamics, and constraints Automatica · Elsevier BV · 1999 10.1016/s0005-1098(98)00178-2
- On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming Mathematical Programming · Springer Science+Business Media · 2005 10.1007/s10107-004-0559-y
- Gear management for fuel-efficient heavy-duty vehicle platooning 2016 10.1109/cdc.2016.7798508
- Ecological Adaptive Cruise Control for Vehicles With Step-Gear Transmission Based on Reinforcement Learning IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tits.2019.2947756
- Vehicle Speed and Gear Position Co-Optimization for Energy-Efficient Connected and Autonomous Vehicles IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcst.2020.3019808
- Distributed Model Predictive Control for Heterogeneous Vehicle Platoons Under Unidirectional Topologies IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2016 10.1109/tcst.2016.2594588
- Hierarchical model predictive control strategy based on Q-Learning algorithm for hybrid electric vehicle platoon Proceedings of the Institution of Mechanical Engineers Part D Journal of Automobile Engineering · SAGE Publishing · 2022 10.1177/09544070221130826
- Numerical Strategies for Mixed-Integer Optimization of Power-Split and Gear Selection in Hybrid Electric Vehicles IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tits.2022.3229254
- A Comparison Benchmark for Distributed Hybrid MPC Control Methods: Distributed Vehicle Platooning arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2401.09878
- Integrating Reinforcement Learning and Model Predictive Control with Applications to Microgrids arXiv (Cornell University) · Cornell University · 2024 10.48550/arxiv.2409.11267
- Learning-Based MPC for Fuel Efficient Control of Autonomous Vehicles With Discrete Gear Selection IEEE Control Systems Letters · Institute of Electrical and Electronics Engineers · 2025 10.1109/lcsys.2025.3575335