Manuscript Offprint
arXiv:2610.32666Robust Offset-Free Lane-Keeping Control Framework for Vision-Only Automated Vehicles
Der-Hau Lee
Abstract—Achieving accurate, real-time lane-keeping control during high-speed cornering on large-curvature roads while ensuring robust vehicle stability is a critical challenge in autonomous driving. To address this challenge, this study developed a robust offset-free model predictive control (OF-MPC) framework for vision-based autonomous vehicle lane-keeping. The regulation problem in this framework is solved using several algorithms. Numerical simulation results indicated that the interpolation-tube-based constrained iterative linear quadratic regulator (itube-CILQR) algorithm outperformed solvers based on the standard Interior Point Optimizer (IPOPT) and Operator Splitting Quadratic Program (OSQP), achieving a mean computation time of less than 5 ms. The itube-CILQR algorithm was then used for vehicle control in vision-based lane-keeping experiments in a simulation environment to quantify the perceptual uncertainty of a visual perception model (multitask UNet). This quantification was performed using the OF-MPC framework for traffic scenes that were not encountered during model training. Overall, the developed OF-MPC framework and the proposed method for characterizing the perceptual uncertainty of a visual perception system in unseen environments can contribute to the future development of advanced autonomous driving systems.
Index Terms—Autonomous vehicles, constrained iterative linear quadratic regulator (CILQR), deep neural network, tube-based robust control, offset-free model predictive control (OF-MPC).
I. INTRODUCTION
Offset-free model predictive control (OF-MPC) is an advanced control strategy for solving the steady-state error problem in the presence of internal disturbances (plant–model mismatch) or external disturbances (measurement noise), which cannot be accurately modeled in standard MPC [1], [2], [3], [4], [5]. An OF-MPC system typically consists of three components, namely a state estimator, target selector, and regulator. By augmenting the system state with an integrating disturbance, OF-MPC can eliminate the discrepancies between the steady states of system models and achieve offset-free control performance. OF-MPC was originally developed for industrial process control, and its control mechanisms were then incorporated into economic MPC, which aims to optimize economic objectives, such as maximizing profit, rather than primarily track predefined setpoints [6], [7]. Although numerous studies have employed OF-MPC in automated industrial processes, limited studies have used it in automated automotive applications.
In [8], an OF-MPC framework was developed for linear systems to address common model mismatches and disturbances in the lateral control of autonomous vehicles, including tire stiffness mismatches, steering angle offsets, and lateral slope disturbances, all of which contribute to steady-state tracking errors and degrade vehicle dynamic performance. The framework integrates these mismatches and disturbances into a single disturbance term, which is estimated using the Kalman filter; the term is then incorporated into an optimization process to eliminate lateral steady-state tracking errors. The study revealed that this framework could efficiently complete calculations in less than 7 ms. On the basis of this framework, [9] developed an OF-MPC framework for the longitudinal and lateral control of autonomous vehicles to achieve offset-free trajectory tracking. In this framework, the friction circle is incorporated into motion constraints to prevent vehicle tires from losing adhesion. In addition, nonlinear constraints derived from the friction circle are transformed into linear constraints through polygon approximation. This framework exhibited an average computation time of approximately 5 ms in simulations and real-world experiments with a vehicle speed of 25.2 km/h. In [10], an OF-MPC scheme incorporating a moving-horizon estimation (MHE) approach was developed to compensate for the heading bias resulting from localization uncertainty in lateral motion planning for autonomous buses; the measurable variables were yaw rate, heading error, and lateral position error, whereas the disturbance variables were heading-error bias, road-curvature bias, and control-input bias. Thus, the disturbance vector had the same number of dimensions (three) as the measurement vector did. This scheme required average computational times of 1.26 and 3.22 ms for solving the MPC and MHE problems, respectively, in lateral motion planning during vehicle tests with a maximum speed of 40 km/h. An OF-MPC framework was proposed in [11] to address model mismatches, parameter variations, and unexpected disturbances in integrated brake system control for autonomous vehicles. The proposed framework incorporates the total disturbance as a measurable disturbance input. The performance of the framework was assessed through simulations and experiments, and its suitability for braking systems was verified on a microchip; the framework exhibited an average computation time of 70 s. In [12], an offset-free economic MPC framework was developed to minimize the tracking error and control effort of an autonomous electric vehicle while accounting for economic criteria. The offset-free mechanism of this framework compensates for disturbances and prediction errors resulting from self-triggered control operations. Real-world experiments revealed that the developed framework effectively tracked the reference trajectory of an autonomous electric vehicle operating at a speed of 2 m/s, requiring less than 0.05 s to generate each control update. In summary, the preceding discussion suggests that OF-MPC
The author was affiliated with the Department of Electrophysics, National Yang Ming Chiao Tung University, Hsinchu 300, Taiwan. e-mail: derhaulee@gmail.com.
is a promising approach for controlling vehicles in resource-limited automotive applications owing to its low computational burden and real-time computation performance.
Lane-keeping control is a type of lateral vehicle control, although the corresponding MPC problem typically involves constrained nonlinear optimization because of road curvature [13]. Solving this problem becomes particularly challenging in high-speed cornering scenarios on roads with tight curves, when limited on-board computational resources may hinder the generation of real-time problem solutions and timely control actions, thereby compromising driving safety. To mitigate this problem, we previously proposed a tube-based robust control strategy for vision-guided autonomous vehicles [14]. Specifically, a computationally efficient interpolation-tube-based constrained iterative linear quadratic regulator (itube-CILQR) algorithm was developed and incorporated into the vision perception system proposed in [15] for autonomous vehicle lane keeping. The feasibility of this algorithm was validated through numerical simulations and vision-based experiments conducted in The Open Racing Car Simulator (TORCS) [16], [17], [18], [19], [20]. Nevertheless, certain limitations were observed in [14]. First, the itube-CILQR algorithm does not incorporate output feedback, which is crucial in autonomous driving applications. Second, this algorithm does not address lateral steady-state tracking errors, resulting in lateral position deviations from the optimal vehicle trajectory along curvy road sections. Third, the perceptual uncertainty of the adopted visual perception system [15] was not quantified in previously unseen scenarios. Quantifying perceptual uncertainty in unseen environments is crucial for developing high-performance visual perception and autonomous driving systems.
To address the aforementioned limitations, the present study developed a robust OF-MPC framework, incorporated it into the visual perception system [15], and then assessed the perceptual uncertainty of this system in unseen environments. By modeling the nonlinear road curvature term as an integrating disturbance, the OF-MPC framework efficiently solves the lane-keeping control problem in high-speed cornering scenarios on curvy roads. It achieves near-zero steady-state tracking errors while maintaining robust, stable, and real-time performance. The main contributions of this study are outlined as follows:
-
We developed a robust offset-free lane-keeping control framework for autonomous driving that requires only visual information as input data. The regulation problem in the offset-free control framework is solved using the itube-CILQR control algorithm, which ensures the robustness of real-time lane-keeping control without steady-state errors for autonomous vehicles navigating tight curves.
-
We validated the performance of the proposed control framework through numerical simulations and vision-based experiments. The vision-based experiments were conducted in TORCS in high-speed cornering scenarios on roads with large curvature. Moreover, we quantified the perceptual uncertainty of the adopted visual perception framework through vision-based experiments in unseen driving scenes.
The remainder of this paper is organized as follows. Section II presents the adopted lane-keeping dynamics model. Section III describes the developed OF-MPC framework for lane keeping. Section IV introduces the itube-CILQR algorithm. Section V presents the experimental results. Finally, Section VI provides the conclusion.
where A, B, and w are state-space matrices. These matrices are expressed as follows:
The corresponding matrix coefficients are given as follows:
Here, the control input , where is the front-wheel steering angle. The state vector consists of the ego vehicle's lateral offset with respect to the lane centerline ( ), its heading angle ( ), and the derivatives of these two terms ( and ). The matrix , which includes the road curvature , represents an external disturbance. The overall system expressed in (1a) and (1b) is subject to the stage constraints and , the terminal constraint , and the disturbance . Moreover, the model parameters and are the distances from the center of gravity of the ego vehicle to the front and rear axles, respectively; and are the tire cornering stiffness values of the front and rear tires, respectively; is the vehicle mass; is the vehicle moment of inertia about the
TABLE I MODEL AND VEHICLE PARAMETERS USED IN THIS STUDY
| Symbol | Values | Symbol | Values |
|---|---|---|---|
vertical direction at the center of mass; and is the sampling time. The vehicle and model parameters selected in this study are listed in Table I. A disturbance-free nominal system of (1a) is defined as follows:
where and are the associated nominal state and control vectors, respectively.
The output signal is a vector comprising the measurable state variables of the controlled system. Additionally, the output matrix maps system states to outputs on the basis of the types of sensors in the ego vehicle. Specifically, the state variable can be obtained from inertial measurement unit measurements [25], whereas the state variable (or the sideslip angle) can be determined by combining inertial navigation system and GPS measurements [26]. The state variables and can be estimated using a trained deep neural network model that extracts features from images captured by a front-facing monocular camera [15], [32]. In general, an increase in the number of measurable state variables improves control performance. Herein, we consider a challenging scenario of vision-only autonomous driving, where the ego vehicle is equipped with only a single camera and only the states and can be observed. Therefore, the output vector is expressed as , and the output matrix is defined as follows:
In summary, the state, input, and output vectors required to describe lane-keeping dynamics are defined as , , and , respectively. The dimensions of and ( and , respectively) have major effects on the performance of the proposed OF-MPC framework, as demonstrated in the following section.
III. PROPOSED OF-MPC FRAMEWORK FOR LANE KEEPING
This section describes the proposed OF-MPC framework for lane keeping. This framework is based on previous research [1], [14], [22] and consists of three primary components: a state estimator, target selector, and regulator. Section III-A describes each of these components, and Section III-B explains the vision-based robust control strategy of the proposed framework, which employs an output feedback strategy. In this paper, the operators and denote the Minkowski sum of and Pontryagin difference between sets, respectively.
TABLE II RANGES OF THE CONTROL PARAMETERS CONSIDERED IN THIS STUDY
| Symbol | Values | Symbol | Values |
|---|---|---|---|
| diag([20, 1, 20, 1]) | |||
| [-2.0, 2.0] m | |||
| [13.0, 13.0] m/s | diag([1, 1]) | ||
| [-/2, /2] rad | |||
| [-10.0, 10.0] rad/s | |||
| [-/6, /6] rad | |||
| [-0.1, 0.1] 1/m | |||
| diag([50, 50]) | |||
A. OF-MPC Framework
Initialization. First, an integrating disturbance vector () is incorporated into the nominal state-space model expressed in (2) to compensate for the plant–model mismatch resulting from the curvature term in (1). The resulting model is expressed as follows:
where
Here, the augmented system satisfies the detectability condition for the selected matrices and . Because in the considered case, the system cannot be controlled using OF-MPC for all the measured variables and [1], [22]. To address this limitation, a controlled-variable vector is defined by selecting a subset of the measured outputs through a linear transformation , where is an appropriately selected matrix. This vector then enables offset-free tracking of the selected controlled variables (elements of ) under appropriate conditions when . In this paper, the most crucial variable in the lane-keeping problem, namely the lateral position deviation (), is selected as the controlled variable. Thus, the controlled-variable vector is defined as , where and .
State Estimator. The proposed OF-MPC framework begins its iterative computation process by using the Kalman filter to estimate both current states and disturbances on the basis of measurement outputs. To facilitate this estimation, disturbance terms are incorporated into the augmented system model (3) as follows:
The augmented state-space matrices are given as follows:
Here and represent zero-mean white noise sequences with the covariance matrices and , respectively. The augmented estimated state can be updated using the following expression:
(5)
The steady-state Kalman gain matrix L is expressed as follows:
where is the covariance matrix of the state predictions, which is initialized as . The updated covariance matrix for the next iteration is given as follows:
The resulting updated estimated state and disturbance are used in the following steps.
Target Selector. Given the estimated disturbance , the target state and control vectors and , respectively) can be obtained by solving the following optimization problem:
Problem P1 = P1( , , ):
subject to
Here, Y corresponds to the first and the third components of X, and the penalty matrices and are positive definite. Problem P1 has low computational complexity and can be solved quickly by using standard optimization software.
Regulator. The regulator (or controller) in the proposed OF-MPC framework solves an MPC problem to guide the system toward the target. Given the target state vector and control input vector obtained using the steady-state target selector as well as the state and disturbance vectors and , respectively) estimated using the state estimator, a quadratic programming problem is solved to minimize deviations of the nominal state sequence and nominal control sequence from their steady-state targets and , respectively) over a prediction horizon with a length of . This optimization problem is formulated as follows:
Problem P2 = P2( , , , ):

Fig. 1. Architecture of the proposed OF-MPC framework for closed-loop testing of the controlled system.
subject to
Here Q and R are symmetric positive-definite weighting matrices with stage costs of and , respectively. The penalty matrix P, which has a terminal cost of , is obtained by solving the discrete-time algebraic Riccati equation (DARE) [23], which is expressed as follows:
The related control parameters and constraints used in this study are listed in Table II.
The control signal for the actual system is then set to , where is the first component of the optimal control sequence of Problem P2. An extremely small control gain of is selected here for simplicity. The next augmented estimated state is then computed as follows:
This state and the measured outputs are substituted into (5) in the next iteration. The updated actual state variables can be obtained by substituting u into (1a). Fig. 1 illustrates the architecture of the proposed OF-MPC framework for closed-loop testing of the controlled system.
B. Vision-Guided Robust Output Feedback Strategy
In the proposed framework, a tube-based output feedback MPC method [21], [22] is employed to ensure system robustness in the presence of the nonzero road curvature term w. Because the set operations required for the augmented system (3) may have high computational complexity, we use a simplified model (1) for tube-based MPC, as in our previous study [14]. A notable improvement in this study over [14] is the use of an output feedback strategy. Thus, the tightened constraints for the original four-dimensional system x are approximated using the two-dimensional subsystem , with the control vector being . Here, , , and are the constraint sets corresponding to the original sets , , and , respectively. The relevant discrete-time dynamics model is represented as follows [25]:
The corresponding state-space matrices are expressed as follows:
Here represents the state disturbance associated with the road curvature bounds defined by and represents the predefined output disturbance. These disturbances are expressed as follows:
where (see Table II).
The control gain for the aforementioned subsystem is set to the LQR gain as follows:
\mathbf{K}^{\prime}=-\left(\mathbf{B}^{\prime}^{T}\mathbf{P}^{\prime}\mathbf{B}^{\prime}+\mathbf{R}^{\prime}\right)^{-1}\mathbf{B}^{\prime}^{T}\mathbf{P}^{\prime}\mathbf{A}^{\prime}. \tag{15}Here matrix is the solution of the DARE. The matrices and have the same parameters as in Problem P2. The observer gain is set to so that all eigenvalues of are within the unit circle.
The relevant nominal state and observer dynamics are expressed as follows, respectively:
The actual system state can be represented using the nominal state , estimation error , and prediction error as follows:
The parameters and are expressed as follows:
These parameters satisfy the following uncertain difference equations:
The robust positive-invariant sets and satisfy the following expressions, respectively:
The nominal state and control input are then subject to the tighter constraints and , which are defined as follows, respectively:
Fig. 2 presents the results obtained using the aforementioned equations for sets , , , and when or 20.0 m/s and or 1/m. In this figure, the size of the nominal constraint region increases when that of the region decreases. Consequently, the largest set of feasible nominal states is obtained when m/s and 1/m [Fig. 2(d)]. To reduce the online computation burden, the computation expressed in (21), which is based on tightened constraints, can be performed offline, and a lookup table can be established for online use. In the proposed approach [14], the tightened constraints are adaptively estimated online on the basis of the road curvature detected online by a vision-based perception system. Compared with the traditional tube-based approach, in which tightened constraints are derived from the worst-case disturbance, the approach proposed in [14] can reduce system conservativeness and enhance controller performance through the adaptive use of tightened constraints.
The OF-MPC formulation presented in the previous section can be extended to incorporate robustness, thereby developing the proposed OF-MPC framework. Thus, the target calculation problem is reformulated as Problem P1' = P1(d⁺, r_sp, ), where . The second and fourth components of are replaced with the corresponding components from , whereas the original constraints are retained for the other components. Solving Problem P1' yields and , which are robust target state and control vectors, respectively. The regulation problem is then reformulated as Problem P2' = P2( , , , ), where and have a similar relationship to that between and . The construction of set is described as follows.
Herein, a positively invariant ellipsoidal level set [5], [22] is used as the terminal set because of its relatively low computational complexity and suitability for high-dimensional systems [27]. Therefore, the terminal set is represented as follows:
The ellipsoid scaling constraint is an offline design parameter that determines the size of the constraint region and can
(a)

(b)

(c)
(d)
Fig. 2. Outer boundaries of sets , , , and when or 20.0 m/s and or l/m. Here, and .
(a)

(b)

(c)
(d)
Fig. 3. Outer boundaries of sets and when or 21.1 m/s and or 20.0. Here, , , , and .
be selected to be close to machine precision [5]. Because varies with , also varies with . Such variations in may violate the recursive feasibility of Problem P2' [22]. To address this limitation, an enlarged ellipsoidal set is adopted as the terminal set, with each set incorporated into . The relevant computation is described as follows.
To analyze the influence of variations in the estimated disturbance on the steady-state target within a single MPC step, the mapping , where , is established on the basis of the following relationship:
where is the steady-state mapping matrix. This matrix is expressed as follows:
Here, the mapping is assumed to be uniformly continuous. Thus, is bounded by the Lipschitz constant as follows:
where
Because terminal set is only related to the state variables, the varying state target can be computed using , which is a submatrix of comprising the rows about , as follows:
The enlarged ellipsoidal set can now be defined as follows:
where the scaling parameter is obtained under the maximum disturbance variation. This parameter is expressed as follows:
According to this equation, the set inclusion property is ensured, which guarantees the recursive feasibility of the MPC problem in the OF-MPC framework. The proof of the closed-loop properties of the MPC problem in the proposed OF-MPC framework is provided in the Appendix.
Fig. 3 displays the results computed for the enlarged ellipsoidal set when or 20.0 m/s and or 20.0. In this figure, and represent components extracted from through projection. In general, all ellipsoidal terminal sets in Fig. 3 are contained within the corresponding state constraint regions (e.g., in Fig. 2). The constraint region of (in blue) is larger than that of (in red) because the influences of disturbance ( ) uncertainty on and are stronger for . Moreover, the constraint region for the high-speed case [Fig. 3(a)] is larger than that for the low-speed case [Fig. 3(b)] because the disturbance uncertainty is higher in the high-speed case. When is increased to 20.0, the outer boundary of approaches that of if m/s [Fig. 3(d)]. Under all conditions shown in Fig. 3, occupies a smaller region than does , which may compromise the convergence of the MPC solver, as explained in Section V. In addition, the terminal ellipsoid constraints are nonlinear, which can result in a higher online computational burden than that observed with linear constraints. Thus, box constraints derived from the largest rectangular constraint regions of and are used in the online optimization [14]. The sizes of these rectangular regions are influenced by the predefined disturbance bounds (W) and can thus be adjusted through appropriate parameter selection.
(a)

(b)

(c)

Fig. 4. Numerical simulation results obtained with different IPOPT- and OSQP-based solvers under tightened constraints when m/s, m/s, and rad/s: (a) trajectory of the actual system state ( ); (b) trajectory of the system control input ; and (c) trajectories of the estimated road curvatures obtained with the tube-OSQP-X algorithm, which were obtained by dividing the estimated disturbance vectors and by and , respectively.
(a)

(b)

(c)

Fig. 5. Numerical simulation results obtained with different itube-CILQR-based solvers when m/s, m/s, and rad/s: (a) trajectory of the actual system state ( ); (b) trajectory of the system control input ; and (c) trajectories of the estimated road curvatures obtained with the itube-CILQR-T-0 algorithm, which were obtained by dividing the estimated disturbance vectors and by and , respectively.
The proposed robust OF-MPC framework can be implemented using standard software packages to solve the regulation problem. It can also employ the itube-CILQR algorithm to solve the corresponding tube-based MPC problem. This algorithm has a flexible architecture, thus facilitating the evaluation of different control formulations. The itube-CILQR solver is described in the following section.
IV. ITUBE-CILQR ALGORITHM
This section describes the itube-CILQR algorithm, which was proposed in our previous study [14] and improved in the present study. On the basis of the CILOR algorithm [28], [29], [30], Problem P2' is converted into an unconstrained optimization problem (Problem P3) by using convex exponential barrier functions. Furthermore, additional interpolation variables are introduced into the itube-CILQR algorithm to adaptively adjust the size of the tube cross section according to the detectable disturbance . By incorporating the aforementioned adaptive mechanism, the improved itube-CILQR algorithm achieves lower conservatism and better control performance compared with classical tube-based algorithms at the cost of an acceptable increase in computation time [14]. Problem P3, which incorporates the interpolation variable sequence and the interpolation variable vector , is expressed as follows:
Problem P3:
(a)

(b)

(c)

Fig. 6. Numerical simulation results obtained with the itube-CILQR solver when , , and : trajectories of the actual system states (a) , (b) , and (c) .
TABLE III MAXIMUM LATERAL OFFSETS AND AVERAGE COMPUTATION TIMES ACHIEVED BY THE TUBE-IPOPT-X, TUBE-OSQP-X, ITUBE-CILQR-X, ITUBE-CILQR-T-20, AND ITUBE-CILQR-T-0 ALGORITHMS
| Method | tube-IPOPT-X | tube-OSQP-X | itube-CILQR-X | itube-CILQR-T-20 | itube-CILQR-T-0 |
|---|---|---|---|---|---|
| Max. (m) | 0.024333 | 0.024268 | 0.023162 | 0.022097 | 0.021675 |
| Latency (ms) | 6.45 | 0.84 | 1.10 | 4.21 | 7.35 |
All algorithms were implemented in C++.
The tube-IPOPT-T-0/20 and tube-OSQP-T-0/20 algorithms could not achieve convergence for the considered optimization problem.
subject to
Hre the parameters () and () denote the lower and upper bounds, respectively, of the original constraints on . The terms , , and represent the upper bounds of the tightened constraints on , , and , respectively. These bounds are derived online through a lookup table on the basis of the detected road curvature. The terms , , , , and indicate the designed constraint bounds, which adhere to the following design rules [14]: , , , , and . Here, , , and . In addition, , , and are constrained to not exceed the actual system constraint bounds. Specifically, the interpolation weight of (i.e., ) is fixed at , where is set to 0.22 to reduce the number of variables and thus decrease the computational cost. Finally, the scalars , , , and denote penalty parameters. The penalty parameters selected in this study are listed in Table II.
To solve Problem 3, the state, control, and interpolation variables are optimized iteratively through alternating backward and forward propagation steps by using the ILQR algorithm [31] and Newton's method [32], respectively. The corresponding update equations for these variables are expressed as follows:
where the controller parameters and are computed using the analytical formulas presented in [31] and the Hessian matrix .
In addition to using the itube-CILQR algorithm to solve the regulation problem (Problem P3) in the proposed robust OF-MPC framework, this study employed two established optimization solvers, namely the Interior Point Optimizer (IPOPT)

Fig. 7. Example traffic scene and maps of track A (left) and track B (right) in TORCS. The input of the adopted deep neural network model was an RGB image with a resolution of pixels.

track-B
Fig. 8. Curvature profiles of tracks A and B.
[33], [34] and the Operator Splitting Quadratic Program (OSQP) solver [8], [9], [35] to solve the regulation problem (Problem P2') for performance comparison. The experimental results are presented in the following section.
V. EXPERIMENTAL RESULTS AND DISCUSSION
This section presents the experimental results obtained with the proposed robust OF-MPC framework. First, numerical simulations of lane-keeping control on large-curvature roads were conducted, with the control performance of the itube-CILQR algorithm compared with that of IPOPT-based and OSQP-based algorithms. Subsequently, vision-based autonomous driving experiments were conducted in TORCS [16], [17], [18], [36], [37], which is an open-source driving simulator providing a high-fidelity environment suitable for training and validating autonomous driving models. The actuation delay in TORCS was approximately 6.66 ms on the adopted computer. This lag may have arisen from computationally intensive graphics rendering, physics-based simulations, and data serialization. In addition to road curvature, road friction and measurement noise were considered in the vision-based experiments. All experiments were performed on a personal computer with an Intel i9-9900K CPU equipped with an Nvidia RTX 2080 Ti GPU.
A. Numerical Simulations
The lane-keeping maneuver in the numerical simulations involved an ego vehicle traveling on a road with two tight curves having curvatures ( ) of 0.08 and -0.05 1/m, which were encountered at time steps and , respectively. The initial state of the ego vehicle was assumed to be , with the initial disturbance vector set to . Moreover, the ego vehicle had a constant speed of 20 m/s.
Fig. 4 presents the numerical simulation results obtained using IPOPT- and OSQP-based solvers. These solvers could not achieve convergence when the optimization problem incorporated terminal constraints with a scaling of or 20 because these constraints were overly restrictive and prevented both solvers from finding feasible solutions (cf. Fig. 3). To address this limitation, we replaced the aforementioned terminal constraints with less restrictive stage constraints in the IPOPT- and OSQP-based solvers to develop the tube-IPOPT-X and tube-OSQP-X solvers, respectively. However, system stability was not guaranteed with these stage constraints, which approximated the original terminal constraints. The performance of the tube-IPOPT-X and tube-OSQP-X solvers was compared with that of a nominal-IPOPT solver for which the disturbance vector and steady-state targets were set to zeros in the OF-MPC framework.
Fig. 4(a) and 4(b) displays the trajectories of the system states ( ) and control inputs ( ) obtained with the three solvers, respectively. As indicated in Fig. 4(a), the nominal-IPOPT solver generated a plateau-like trajectory at both turns because of the corresponding road curvatures, with the maximum lateral offset ( ) being approximately 0.5 m. By contrast, the tube-IPOPT-X and tube-OSQP-X solvers produced nearly zero lateral offset at both turns. However, they generated small transient overshoots when the ego vehicle entered or exited a turn. As presented in Table III, the tube-IPOPT-X solver required an average computation time of 6.45 ms to produce a solution with a maximum lateral offset of 0.024333 m around t = 720. By comparison, the tube-OSQP-X solver produced a smaller maximum lateral offset of 0.024268 m around t = 720 within an average computation time of 1 ms. Because the uncertainty parameter structure of was known, the road curvatures were estimated by dividing and by and , respectively. Fig. 4(c) illustrates the trajectories of track-A

track-B
Fig. 9. Dynamic performance of the itube-CILQR-T-20 algorithm in lane-keeping maneuvers within the central lanes of tracks A and B at a vehicle speed of 72 km/h when the noise level ( ) was set to 0 and the friction coefficient (fr) was set to 1.0.
the estimated road curvatures obtained with the tube-OSQP-X algorithm. The OF-MPC framework enabled both solvers to accurately estimate the overall curvature profiles, with overshoot limited to only transient intervals [Fig. 4(a) and 4(b)]. Visual information was only used to determine tightened constraints, whereas road curvature estimation exclusively relied on the optimization of the disturbance vector in the OF-MPC framework. Accordingly, the OF-MPC framework can accurately estimate road curvature under minimum internal or external disturbance. Consequently, we used this framework to determine the perceptual uncertainty of the adopted visual perception system.
Figs. 5 and 6 present the trajectories of all state, control, and disturbance variables obtained using three itube-CILQR-based solvers. Nearly offset-free trajectory tracking was achieved for all state variables , except during transient intervals, consistent with the results displayed in Fig. 4. Similar to the tube-IPOPT-X and tube-OSQP-X solvers, the itube-CILQR-X solver employed stage constraints instead of terminal constraints. By contrast, the itube-CILQR-T-20 and itube-CILQR-T-0 solvers used ellipsoid terminal sets with scaling constraints of and , respectively. These itube-CILQR solvers were developed by optimizing the design introduced in [14] to achieve considerably higher computation speeds. As indicated in Table III, the itube-CILQR-X solver exhibited an average computation time slightly exceeding 1 ms, which is shorter than that reported in [14]. Moreover, by selecting suitable barrier parameters , this solver reduced the maximum lateral offset to 0.023162 m, thereby outperforming the tube-IPOPT-X and tube-OSQP-X solvers. The itube-CILQR-T-20 and itube-CILQR-T-0 solvers achieved convergence with terminal ellipsoid constraints, which not only guaranteed the stability of the controlled system but also enhanced lateral control performance. The maximum lateral offset decreased to 0.022097 and 0.021675 m when the itube-CILQR-T-20 and itube-CILQR-T-0 solvers
track-A

track-B
Fig. 10. Dynamic performance of the itube-CILQR-T-20 algorithm in lane-keeping maneuvers within the central lanes of tracks A and B at a vehicle speed of 72 km/h when and 2.0% and fr = 1.0.
were employed, respectively. The itube-CILQR-T-0 solver with exhibited a smaller terminal constraint region and produced solutions with lower uncertainty than did the itube-CILQR-T-20 solver with . However, a trade-off between computational burden and performance was observed, with the average computation time of the itube-CILQR-T-0 solver being 1.74 times longer than that of the itube-CILQR-T-20 solver. Because the actuation delay in TORCS on the adopted computer was approximately 6.66 ms, we used the itube-CILQR-T-20 solver to adequately balance between control accuracy and computational efficiency in the vision-based autonomous driving experiments.
B. Vision-Guided Lane-Keeping Experiments
This study evaluated the performance of the itube-CILQR-T-20 solver in autonomous vehicle lane-keeping experiments within a TORCS environment. The adopted visual perception system incorporated a deep neural network model, namely multitask UNet (MTUNet) [15], [38]. To extract visual features, this model processes images captured by a front-facing dashboard camera mounted on the windshield of an ego vehicle at a rate of 40 frames per second. On the basis of the extracted features, the MTUNet model estimates the ego vehicle's heading angle and generates a binary lane map in the egocentric view. Postprocessing techniques are then used to determine the immediate lateral offset and road curvature relative to the current ego vehicle position. The estimated and values constitute the output vector , which was used by the OF-MPC framework in this study to achieve accurate road centerline tracking. The itube-CILQR-T-20 solver operated under tightened constraints, which were determined from an offline precomputed lookup table on the basis of the value estimated online [14]. Additionally, the longitudinal velocity of the ego vehicle was independently regulated by a proportional–integral controller [15] to maintain a constant speed of 72 km/h (20 m/s). To rigorously assess the performance and robustness of the itube-
TABLE IV AVERAGE AND STANDARD DEVIATION VALUES OF THE -SCORE DURING LANE-KEEPING MANEUVERS CONDUCTED USING THE ITUBE-CILQR-T-20 SOLVER AT DIFFERENT AND VALUES
| σ | track-A | track-B | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| fr | Avg | SD | fr | Avg | SD | |||||
| 1.0 | 0.9 | 0.8 | 1.0 | 0.9 | 0.8 | |||||
| 0.5 % | 0.9941 | 0.9159 | 0.9324 | 0.9474 | 0.0412 | 0.8604 | 0.8616 | 0.8720 | 0.8646 | 0.0063 |
| 0.8 % | 1.4989 | 1.4021 | 1.4266 | 1.4425 | 0.0503 | 1.3625 | 1.3294 | 1.2987 | 1.3302 | 0.0319 |
| 1.0 % | 1.7393 | 1.6674 | 1.6334 | 1.6800 | 0.0540 | 1.5741 | 1.6156 | 1.4961 | 1.5619 | 0.0606 |
| 1.3 % | 1.9226 | 1.9093 | 1.9523 | 1.9280 | 0.0220 | 1.8943 | 1.8633 | 1.6802 | 1.8126 | 0.1157 |
| 1.5 % | 2.0771 | 1.9538 | 1.8004 | 1.9437 | 0.1386 | 2.0595 | 1.7904 | 1.4862 | 1.7787 | 0.2868 |
| 1.8 % | 1.8727 | 1.7448 | Fail | 1.8087 | 0.0904 | 1.8432 | 1.6311 | 1.2930 | 1.5891 | 0.2774 |
| 2.0 % | Fail | Fail | - | - | - | 1.8593 | Fail | Fail | - | - |
| 2.2 % | - | - | - | - | - | 1.3220 | - | - | - | - |
| 2.3 % | - | - | - | - | - | Fail | - | - | - | - |
CILQR-T-20 solver under varying environmental conditions, experiments were conducted on 2 three-lane highway tracks in TORCS, namely tracks A and B, which had a lane width of 4 m. The total lengths of tracks A and B were 6205 and 3919 m, respectively, and their corresponding maximum curvatures were approximately 0.06 and 0.05 1/m. Figs. 7 and 8 depict an example traffic scene, the maps of tracks A and B, and the curvature profiles of these tracks. The road friction coefficient (fr) was varied between 0.8 and 1.0 to reflect different road adhesion conditions in TORCS [36].
White noise was introduced into and at each time step to generate the noisy measurement vector , which is expressed as follows:
where and are uniformly distributed random numbers in the range of , where is the noise level. The same noise level was assumed for both and . Subsequently, , , and the disturbance vector (a zero vector) were used as inputs to the Kalman filter to estimate the updated state and disturbance vectors ( and , respectively). Because the OF-MPC framework accurately estimated road curvature under minimum disturbance in the numerical simulations (Sec. V-A), we used this framework to determine the perceptual uncertainty of the adopted visual perception framework [15] based on this observation. For this purpose, we defined a -score as the ratio of the noise level () to the mean absolute difference between the true curvature and the average estimated curvature [0.5 ()] across all time steps in a complete lane-keeping maneuver. The -score is expressed as follows:
where is the total number of data points in a complete lane-keeping maneuver. Because and were estimated using the Kalman filter, the -score inherently reflected information obtained through the fusion of and ; thus, this metric may be more accurate and reliable than those derived from either indicator alone. We varied the noise level systematically to identify the value yielding the highest -score, with this value serving as an estimate of the uncertainty of the adopted visual perception framework. This estimation was based on the assumption that the uncertainty resulted from white noise.
When , the itube-CILQR-T-20 solver, which incorporated the OF-MPC framework, effectively maintained the ego vehicle within the center lane over one complete lap on tracks A and B under noise-free conditions (; Fig. 9). It also ensured accurate lane-keeping control on tracks A and B at noise levels () of up to and (Fig. 10), respectively, when . However, as presented in Table IV, the ego vehicle deviated from the central lane at the curved sections of both tracks when exceeded the aforementioned values. When , 0.9, and 0.8, the ego vehicle failed to complete the lane-keeping maneuver at values equaling or exceeding , , and , respectively, on track A and , , and , respectively, on track B. These results indicate that lane-keeping failed at lower noise levels on track A than on track B, which may be attributed to the lower image quality for track A (Fig. 7). The -scores for each maneuver were averaged across all values, with the highest mean scores on tracks A and B occurring when and , respectively. These noise levels represent the perceptual uncertainty of the adopted vision perception system on tracks A and B, which were not used in the network training stage.
VI. CONCLUSION
This study developed a robust OF-MPC framework for ensuring lane-keeping control during high-speed cornering maneuvers in autonomous driving scenarios in which only a vision sensor is used to perceive driving scenes [1], [14], [15], [22], [32]. The regulation problem in this control framework can be solved using various solvers, including CILQR-based, IPOPT-based, and OSQP-based solvers. Numerical simulations revealed that the itube-CILQR-T-20 solver exhibited the best balance between control performance and computational efficiency among all compared solvers. It ensured robust, stable, and offset-free tracking of the controlled system and demonstrated an average computation time of 4.21 ms. Therefore, this solver was used in vision-based experiments conducted in TORCS environments to quantify the uncertainty of a visual sensing model (MTUNet [15]) on highway tracks not encountered during model training. Furthermore, a -score was defined to measure the perceptual uncertainty of this model at various road friction and noise levels in the proposed OF-MPC framework. The uncertainty (noise level) of the model was 1.5% on track A and 1.3% on track B. Overall, the developed robust OF-MPC framework and proposed uncertainty estimation method can provide a foundation for the future development of advanced vision-based autonomous driving systems.
APPENDIX
The appendix provides proofs of the closed-loop properties of the regulation problem in the proposed OF-MPC framework. Specifically, the recursive feasibility and input-to-state stability (ISS) are analyzed under the stated assumptions. The notation used here is the same as that adopted for Problem P2'.
I. RECURSIVE FEASIBILITY
Theorem 1. Assume that steady-state targets exist and that the standard axioms of the classical MPC problem are satisfied. Suppose that the MPC problem is feasible at the current time step t. For a fixed terminal ellipsoid with a scaling parameter , the optimization problem remains feasible at all subsequent time steps , despite arbitrary bounded shifts in the steady-state targets.
Proof: Suppose that the optimal control sequence for solving Problem P2' under the estimated disturbance has been determined at time step and is given by . Let denote the optimal state trajectory, which is expressed as , where represents the initial state, represents the steady-state target, and represents the terminal state. The first element of , namely , drives the initial state to the successor state . At time step , the steady-state target is , and a candidate feasible control sequence is generated from the previous optimal solution. This sequence is written as , where is the terminal control policy. The resulting state trajectory is expressed as , which fulfills the initial nominal state constraint and the corresponding stage constraints. Furthermore, because the maximum ellipsoidal set is positively invariant, , and , the terminal constraint of is satisfied. Therefore, at least one solution exists at time , which ensures the recursive feasibility of the regulation problem.
II. INPUT-TO-STATE STABILITY
Theorem 2. Under the terminal ellipsoid constraint , the closed-loop system exhibits ISS with respect to the steady-state target variation rate .
Proof: Let denote the optimal cost function at time step , which serves as a candidate Lyapunov function. At time step , the optimal cost function must be less than or equal to the cost evaluated using a candidate feasible sequence as follows:
(B-1)
To determine whether the optimal cost function at time is better (lower) than that at time t, the difference between these functions is calculated as follows:
(B-2)
Here, refers to the change in the state stage cost caused by target switching, which is bounded by the maximum target variation. The variation in the control stage cost ( ) is ignored here for simplicity, and can be analyzed using the same approach as that used for . The last two terms of (B-2) fulfill Lyapunov descent inequality, as expressed in the following equation:
(B-3)
Combining (B-2) and (B-3) yields the following:
(B-4)
Under the Lipschitz continuity of the terminal cost and the bound , the terms of (B-4) are bounded as follows:
(B-5)
where and are constants. Combining the stage cost drop and the maximum target variation bound yields the ISS Lyapunov inequality, which is expressed as follows:
(B-6)
Thus, the cost function remains bounded around the origin, resulting in ISS with respect to disturbance variations.
REFERENCES
[1] G. Pannocchia and J. B. Rawlings, “Disturbance models for offset-free MPC control,” AIChE J., vol. 49, no. 2, pp. 426–437, 2003.
[2] U. Maeder, F. Borrelli, M. Morari, "Linear offset-free Model Predictive Control," Automatica, 45(10), pp. 2214–2222, 2009.
[3] M. Morari, U. Maeder, "Nonlinear offset-free model predictive control," Automatica, 48(9), pp. 2059–2067, 2012.
[4] M. Wallace, P. Mhaskar, J. House, T. I. Salsbury, "Offset-Free Model Predictive Control of a Heat Pump," Ind. Eng. Chem. Res., 54(3), pp. 994–1005, 2015.
[5] S. J. Kuntz and J. B. Rawlings, “Offset-Free Model Predictive Control: Stability Under Plant–Model Mismatch,” IEEE Trans. Autom. Contr., vol. 71, no. 5, pp. 3136-3151, May 2026.
[6] T. Faulwasser, G. Pannocchia, "Toward a Unifying Framework Blending Real-Time Optimization and Economic Model Predictive Control," Ind. Eng. Chem. Res., 58(30), pp. 13583–13598, 2019.
[7] Y. Yang, Y. Zou and S. Li, "Economic Model Predictive Control of Enhanced Operation Performance for Industrial Hierarchical Systems," IEEE Trans. Ind. Electron., vol. 69, no. 6, pp. 6080-6089, June 2022.
[8] L. Ge, Y. Zhao, S. Zhong, Z. Shan, F. Ma, K. Guo, Z. Han, "Motion Control of Autonomous Vehicles Based on Offset Free Model Predictive Control Methods," J. Dyn. Sys., Meas., Control., 144(11), pp. 111003-111014, Nov 2022.
[9] L. Ge, Y. Zhao, F. Ma, K. Guo, "Towards longitudinal and lateral coupling control of autonomous vehicles using offset free MPC," Control Eng. Pract., vol. 121, 105074, April 2022.
[10] A. Jo, W. Kwon and K. Yi, "Motion Planning for Urban Autonomous Bus Considering Localization Uncertainty Using Offset-Free MPC," IEEE Access, vol. 12, pp. 11743-11760, 2024.
[11] Z. Chen et al., "An Offset-Free Explicit Model Predictive Pressure Controller for Integrated Braking System," IEEE Trans. Transp. Electrif., vol. 10, no. 2, pp. 2355-2366, June 2024
[12] Q. Li, L. Dai, T. Zhou, H. Yang, Z. Sun and Y. Xia, "Economic MPC With Adaptive Sampling and Offset-Free Operation for Perturbed Autonomous Electric Vehicles," IEEE Trans. Transp. Electrif., vol. 11, no. 1, pp. 3389-3403, Feb. 2025.
[13] S. Xu, H. Peng, P. Lu, M. Zhu and Y. Tang, "Design and Experiments of Safeguard Protected Preview Lane Keeping Control for Autonomous Vehicles," IEEE Access, vol. 8, pp. 29944-29953, 2020.
[14] D.-H. Lee, “Tube-Based Robust Control Strategy for Vision-Guided Autonomous Vehicles”, 2026, arXiv:2503.18752. [Online]. Available: https://arxiv.org/abs/2503.18752
[15] D.-H. Lee, “Efficient Perception, Planning, and Control Algorithm for Vision-Based Automated Vehicles,” Appl. Intell. vol. 54, pp. 8278–8295, 2024.
[16] B. Wymann, "TORCS: The Open Racing Car Simulator." https://sourceforge.net/projects/torcs/
[17] C. Chen, A. Seff, A. Kornhauser, and J. Xiao, "DeepDriving: Learning affordance for direct perception in autonomous driving," in Proceedings of the IEEE International Conference on Computer Vision, 2015, pp. 2722-2730.
[18] L. Cardamone, P. L. Lanzi and D. Loiacono, “TrackGen: An interactive track generator for TORCS and Speed-Dreams,” Applied Soft Computing, vol. 28, pp. 550-558, 2015.
[19] D. Li, D. Zhao, Q. Zhang, and Y. Chen, “Reinforcement learning and deep learning based lateral control for autonomous driving,” IEEE Comput. Intell. Mag. vol. 14, no. 2, pp. 83-98, May 2019.
[20] J. Liu et al., “Reinforcement Learning-Based High-Speed Path Following Control for Autonomous Vehicles,” IEEE Trans. Veh. Technol., vol. 73, no. 6, pp. 7603-7615, June 2024.
[21] D.Q. Mayne, S.V. Raković, R. Findeisen, F. Allgöwer, "Robust output feedback model predictive control of constrained linear systems," Automatica, 42(7), pp. 1217-1222, 2006.
[22] J. B. Rawlings, D. Q. Mayne, and M. M. Diehl, Model Predictive Control: Theory, Computation, and Design. Nob Hill Publishing, 2017.
[23] T. Quah, S. A. Bortoff and J. B. Rawlings, “A Comparison of MPC Architectures for a Heat Pump,” in 2026 American Control Conference (ACC), 2026, pp. 2011-2018.
[24] K. Lee, S. Jeon, H. Kim and D. Kum, “Optimal Path Tracking Control of Autonomous Vehicle: Adaptive Full-State Linear Quadratic Gaussian (LQG) Control,” IEEE Access, vol. 7, pp. 109120-109133, 2019.
[25] L. Güvenç, B. Aksun-Güvenç, S. Zhu, Ş. Y. Gelbal, Autonomous Road Vehicle Path Planning and Tracking Control. IEEE Press, 2022.
[26] D. M. Bevly, J. Ryu and J. C. Gerdes, "Integrating INS Sensors With GPS Measurements for Continuous Estimation of Vehicle Sideslip, Roll, and Tire Cornering Stiffness," IEEE Trans. Intell. Transp. Syst., vol. 7, no. 4, pp. 483-493, Dec. 2006.
[27] P. Falugi and D. Q. Mayne, “Model predictive control for tracking random references,” in 2013 European Control Conference (ECC), 2013, pp. 518-523.
[28] J. Chen, W. Zhan and M. Tomizuka, “Constrained iterative LQR for on-road autonomous driving motion planning,” in IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), 2017, pp. 1-7.
[29] J. Chen, W. Zhan and M. Tomizuka, “Autonomous Driving Motion Planning With Constrained Iterative LQR,” IEEE Trans. Intell. Veh., vol. 4, no. 2, pp. 244-254, June 2019.
[30] Y. Liu, X. Pei, H. Zhou and X. Guo, “Spatiotemporal Trajectory Planning for Autonomous Vehicle Based on Reachable Set and Iterative LQR,” IEEE Trans. Veh. Technol., vol. 73, no. 8, pp. 10932-10947, Aug. 2024.
[31] Y. Tassa, N. Mansard and E. Todorov, “Control-limited differential dynamic programming,” in IEEE International Conference on Robotics and Automation (ICRA), 2014, pp. 1168-1175.
[32] D.-H. Lee, “Lane-Keeping Control of Autonomous Vehicles Through a Soft-Constrained Iterative LQR,” IEEE Trans. Veh. Technol., vol. 74, no. 4, pp. 5610-5623, April 2025.
[33] A. Wächter and L. T. Biegler, “On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming,” Math. Program., vol. 106, no. 1, pp. 25-57, May 2006.
[34] Z. Shan et al., “Safe and Efficient Trajectory Planning Considering Longitudinal and Lateral Coupled Limits,” IEEE Trans. Veh. Technol., vol. 73, no. 7, pp. 10714-10719, July 2024.
[35] B. Stellato, G. Banjac, P. Goulart, A. Bemporad and S. Boyd, “OSQP: an operator splitting solver for quadratic programs,” Math. Program. Comput., vol. 12, pp. 637–672, May 2020.
[36] M. R. Bonyadi, Z. Michalewicz, S. Nallaperuma and F. Neumann, "Ahura: A Heuristic-Based Racer for the Open Racing Car Simulator," IEEE Transactions on Computational Intelligence and AI in Games, vol. 9, no. 3, pp. 290-304, Sept. 2017.
[37] Y. Wu, S. Liao, X. Liu, Z. Li and R. Lu, “Deep Reinforcement Learning on Autonomous Driving Policy With Auxiliary Critic Network,” IEEE Trans. Neural Netw. Learn. Syst., vol. 34, no. 7, pp. 3680-3690, July 2023.
[38] O. Ronneberger, P. Fischer, and T. Brox, “U-Net: Convolutional networks for biomedical image segmentation,” in International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), Springer, 2015, pp. 234-241.