This paper derives the dynamic equations of a reduced-order race-car model using Lie-group methods. While these methods are familiar to computational dynamicists and roboticists, their adoption in the vehicle dynamics community is limited. We address this gap by demonstrating how this framework integrates smoothly with the Articulated-Body Algorithm (ABA) and provides a fresh and systematic formulation of vehicle dynamics. For the first time, we model the car body as the end effector of a serial robot with a floating base connected to the track via virtual revolute and prismatic joints. Our formulation also accounts for the effects of 3D track geometry, providing a natural embedding of the car into the 3D track. We rigorously reconcile the ABA steps with key aspects of vehicle dynamics, including road-tire interactions, aerodynamic forces, and load transfers. The resulting model, simple yet accurate, is a powerful tool to efficiently solve Minimum-Lap-Time Planning problems. To demonstrate the effectiveness of our approach, we show numerical results obtained on the Nürburgring circuit. Our optimization problem is formulated via a direct collocation method and solved using the CasADi optimization suite. To validate the results, we test our reduced-order model against a full-fledged multi-body model recently developed by the same authors. The comparison confirms the validity of our reduced-order model, proving both the accuracy of the solution and the computational efficiency achieved.
Minimum lap-time planning (MLTP) is a well-established problem in the race car industry to provide guidelines for drivers and optimize the vehicle’s setup. In this paper, we tackle the 3D nature of the problem in its full extension, making no simplifying assumptions on the mechanics of the system. We propose a multibody vehicle model, described by rigorous dynamical equations. To effectively handle the resulting complexity, we devised an efficient direct dynamics computational method based on Featherstone’s articulated-body algorithm (ABA). To solve the MLTP, we employed a direct-collocation technique, discretizing the problem so that all information of the 3D track is pre-processed and directly embedded into the discrete problem. This discretization approach turns out to be perfectly compatible with our vehicle model, leading to a solution in accessible computational time frames. The high level of detail of the model makes the proposed approach most useful for in-depth vehicle dynamics analyses on complex tracks. To substantiate the analysis, we provide a comparison with the results obtained by a double-track model on the Nürburgring Nordschleife circuit. Consistently with the average trend defined by the double track, the proposed model features a more dynamically rich behavior, realistically capturing the higher-order effects elicited by the sharp corners and the highly variable slope of the track.
In this paper we derive the dynamic equations of a race-car model via Lie-group methods. Lie-group methods are nowadays quite familiar to computational dynamicists and roboticists, but their diffusion within the vehicle dynamics community is still limited. We try to bridge this gap by showing that this framework merges gracefully with the Articulated Body Algorithm (ABA) and enables a fresh and systematic formulation of the vehicle dynamics. A significant contribution is represented by a rigorous reconciliation of the ABA steps with the salient features of vehicle dynamics, such as road-tire interactions, aerodynamic forces and load transfers. The proposed approach lends itself both to the definition of direct simulation models and to the systematic assembly of vehicle dynamics equations required, in the form of equality constraints, in numerical optimal control problems. We put our approach on a test in the latter context which involves the solution of minimum lap-time problem (MLTP). More specifically, a MLTP for a race car on the Nürburgring circuit is systematically set up with our approach. The equations are then discretized with the direct collocation method and solved within the CasADi optimization suite. Both the quality of the solution and the computational efficiency demonstrate the validity of the presented approach.
4 May 2023 in Journal of Computational and Nonlinear Dynamics
This paper presents an automatic procedure to enhance the accuracy of the numerical solution of an optimal control problem (OCP) discretized via direct collocation at Gauss–Legendre points. First, a numerical solution is obtained by solving a nonlinear program (NLP). Then, the method evaluates its accuracy and adaptively changes both the degree of the approximating polynomial within each mesh interval and the number of mesh intervals until a prescribed accuracy is met. The number of mesh intervals is increased for all state vector components alike, in a classical fashion. Instead, improving on state-of-the-art procedures, the degrees of the polynomials approximating the different components of the state vector are allowed to assume, in each finite element, distinct values. This explains the pnh definition, where n is the state dimension. With respect to the approaches found in the literature, where the degree is always raised to the highest order for all the state components, our methods allow a sensible reduction of the overall number of variables of the resulting NLP, with a corresponding reduction of the computational burden. Numerical tests on three OCP problems highlight that, under the same maximum allowable error, by independently selecting the degree of the polynomial for each state, our method effectively picks lower degrees for some of the states, thus reducing the overall number of variables in the NLP. Accordingly, various advantages are brought about, the most remarkable being: (i) an increased computational efficiency for the final enhanced mesh with solution accuracy still within the prescribed tolerance, (ii) a reduced risk of being trapped by local minima due to the reduced NLP size, and (iii) a gain of the robustness of the convergence process due to the better-behaved solution landscapes.