Method for simulating the temporal evolution of a physical system in real time
12565067 · 2026-03-03
Assignee
Inventors
- Jérémy VAYSSETTES (CLERMONT-FERRAND, FR)
- Romain GAUCHEZ (CLERMONT-FERRAND, FR)
- Carole HEINRY (CLERMONT-FERRAND, FR)
Cpc classification
B60C99/006
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60C99/00
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A method for simulating the variation as a function of time in a physical system giving in real time the state of this system, the state of the system being defined by a set of variables that are periodically updated with a preset period (P), the method comprising updating the value of at least one of the variables (input variable), and estimating the value of at least one of the variables (estimated variable), via convergence of an iterative algorithm having as input datum the at least one input variable, in which method, if the algorithm has not converged at the end of the last iteration in a period called the current period, the current period having a duration shorter than or equal to the preset period (P), the iterative algorithm continues in the following period, taking up where it left off in the last iteration of the current period.
Claims
1. A method for simulating physical behavior of a tire with which a vehicle is equipped, tread of the tire having contact with the ground, the method comprising: executing, via at least one processor of a computer system, a driving simulator; while the driving simulator is executing: defining, via the processor, a maximum number of iterations per period of time based on a moment during simulation; executing a plurality of iterations over a plurality of periods of time; while the driving simulator is executing, after defining the maximum number of iterations per period of time: repeatedly determining, via the at least one processor, if the maximum number of iterations per period of time have been executed, wherein when a maximum number of predefined periods of time have been executed the driving simulator terminates; and executing via the at least one processor, an iterative algorithm as part of the driving simulator to determine if a convergence criterion has been met, the iterative algorithm comprising: repeating, until either (A) a convergence criterion has been met or (B) the maximum number of predefined periods of time have been executed: capturing, via a sensor at a sampling rate of 0.001 ms, an input variable, the input variable identifying physical conditions of a vehicle tire in contact with ground; estimating, via the at least one processor of the computer system based at least in part on the input variable, a current value of at least one estimated variable, the estimated variable being: a magnitude of longitudinal forces (Fx) transmitted by the vehicle tire between the ground and a vehicle comprising the vehicle tire, a magnitude of transverse forces (Fy) transmitted by the vehicle tire between the ground and the vehicle, a moment of self-alignment torque (Mx) acting on the vehicle tire at a center of contact with the ground about a vertical axis, or an abscissa (b) of border between regions of sliding and gripping contact; and comparing, via the at least one processor, the current value of the at least one estimated variable to a stored value of the at least one estimated variable, the stored value of the at least one estimated variable having been calculated on an immediately preceding iteration, resulting in a comparison, wherein: the plurality of iterations are performed per period of time; the convergence criterion is met when the comparison is smaller than a predetermined threshold, wherein determining if the convergence criterion is met occurs in less than 0.001 ms; and upon meeting the convergence criterion the driving simulator terminates; and outputting the at least one estimated variable to identify physical behavior of the vehicle tire, such that the computer system identifies and outputs the at least one estimated variable using less computational power than if the plurality of iterations occurred under a single period of time.
2. The method of claim 1, characterized in that, if the convergence criterion has not been met by an expiration of a specific predefined period of time, the current value of the at least one estimated variable is assigned as equal to a previously calculated value, the previously calculated value calculated during a preceding predefined period of time, the preceding predefined period of time immediately preceding the specific predefined period of time.
3. The method of claim 1, characterized in that the maximum number of periods to converge is configurable.
4. The method of claim 1, characterized in that the maximum number of iterations per period is configurable.
5. The method of claim 1, characterized in that it simulates behavior of the vehicle tire.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1) Other innovative features and advantages will become apparent from the completely non-limiting description below, which is provided, by way of indication, with reference to the appended drawings, in which:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE INVENTION
(7) The context of the described method is a simulation of the variation as a function of time in a physical system giving in real time the state of this system. The state of the system is defined by a set of variables associated with physical data of the system. The variables are periodically updated with a preset period.
(8) In the context of the method, the computation of at least one of the variables of the system, which is called the estimated variable, requires equations to be solved by means of non-linear computational methods based on the convergence of an iterative algorithm. The iterative algorithm allows the equations to solved via successive approximations of the estimated variable. The equations define the relationships between the estimated variable and at least one of the other variables of the state of the system, which is called the input variable.
(9) The method therefore comprises: updating the input variable and estimating the value of the estimated variable, via convergence of an iterative algorithm having as input datum the at least one input variable.
(10) The input variable is for example obtained by computation or via an acquisition. The acquisition is for example received from a sensor measuring the value of the input variable.
(11)
(12) Whether the algorithm has converged is determined by a convergence criterion. In the example, the convergence criterion determines that convergence has occurred if the difference between two values computed for the estimated variable in the last two iterations of the algorithm is smaller than a threshold. In the graph in
(13) In certain cases, convergence does not occur before the end of the last iteration in a period called the current period, the current period having a duration shorter than or equal to the preset period. This is for example the case in
(14) The described method thus proposes that the iterative algorithm continue in the following period P2, taking up where it left off in the last iteration of the current period P1. At the end of the last iteration in period P2, convergence has not been reached; thus, the iterative algorithm continues in period P3, taking up where it left off in the last iteration of period P2. Likewise, convergence is still not reached in periods P3 and P4. Therefore, the iterative algorithm continues in period P4, taking up where it left off in the last iteration of the period P3; then continues in period P5, taking up where it left off in the last iteration of the period P4. It is only in period P5 that convergence is reached at point C.
(15) According to one more specific example, the method is a method for simulating the physical behaviour of a tyre with which a vehicle is equipped. The method is for example implemented in a driving simulator. Thus, the method gives in real time the state of a system modelling the physical behaviour of the tyre, the state of the system being defined by a set of variables that are periodically updated with a period.
(16) The tread of the tyre has with the ground a contact patch including a region of gripping contact and a region of sliding contact. The region of gripping contact is separated from the region of sliding contact by a border of an abscissa b that is assumed unique.
(17) The method comprises: updating the value of at least one of the variables, which is called the input variable, depending on the physical conditions under which the tyre is being run and used, and estimating the value of at least one of the variables, which is called the estimated variable, via convergence of an iterative algorithm having as input datum the at least one input variable.
(18) The estimated variable is for example: the magnitude of the longitudinal forces (Fx) transmitted by the tyre between the ground and the vehicle, the magnitude of the transverse forces (Fy) transmitted by the tyre between the ground and the vehicle, the moment of the self-alignment torque (Mx) acting on the tyre at the centre of the interface with the ground about a vertical axis, or the abscissa (b) of the border between the regions of sliding and gripping contact.
(19) The equations defining the relationships between the various variables of the state of the system are described in detail in patent document FR 2 905 496.
(20) In the described method, if the algorithm has not converged at the end of the last iteration in a period called the current period, the iterative algorithm continues in the following period, taking up where it left off in the last iteration of the current period.
(21)
(22) For curve A, respect of real time is guaranteed by a period sampling of 0.001 ms. The ability to converge the estimated variable over a plurality of sampling periods is implemented according to one embodiment of the invention.
(23) For curve B, respect of real time is not guaranteed. Thus, the computation time required to obtain curve B, which simulates the variation in the estimated variable over the period of time extending from 16.540 ms to 16.555 ms, is longer than the duration of this period of time. Specifically, to obtain the value of the estimated variable in each time increment of the time period, the program of curve B takes the computing time required to obtain convergence of the estimated variable. This required computing time may be longer than the time increment, as will be seen.
(24) Up to the time increment 16.549 ms curves A and B superpose exactly, this meaning that the iterative algorithm allowing the estimated variable to be obtained converges in less than 0.001 ms, i.e. that the convergence of the estimated variable is obtained in a single sampling period.
(25) In contrast, in the time increment 16.550 ms, curves A and B separate. Specifically, the iterative algorithm needs three time increments to converge. Consequently, the program of curve A returns, in the time increments 16.550 ms and 16.551 ms, the last estimated-variable value, namely 1430, obtained in the time increment 16.549 ms. In the time increment 16.552 ms, the program of curve A has obtained the convergence of the estimated variable and returns a value of the estimated variable corresponding to the time increment 16.550 ms. The value of the estimated variable in the time increment 16.552 ms on curve A is therefore equal to the value of the estimated variable in the time increment 16.550 ms on curve B, namely 1420.
(26) In the time increment 16.553 ms, the iterative algorithm allowing the estimated variable to be obtained has converged in less than one sampling period. The value of the estimated variable in the time increment 16.552 ms on curve A is therefore equal to the value of the estimated variable on curve B, namely 1400.
(27) In this example, if the algorithm has not converged at the end of the last iteration in the current period, the value of the estimated variable taken into account in the update of the state of the system is the value estimated in the period preceding the current period. In other words, the estimated variable remains constant the time taken to obtain convergence.
(28) According to a particular embodiment of the invention (not shown), if convergence does not occur, the iterative algorithm continues in the following period.
(29)
(30) In the case of
(31) Comparison of
(32)
(33) The method comprises the following steps: Ea: initializing the iterative algorithm; Eb: defining the maximum number of periods to converge and the maximum number of iterations per period depending on the moment during the simulation; Ec: updating the quantities involved in the iterative algorithm depending on the decision to continue or not continue the convergence; Ed: launching the iterative algorithm and incrementing the number of iterations carried out in the period; Ee: interrupting the algorithm if the maximum number of iterations per period has been reached or if convergence has occurred; Ef: deciding to continue the convergence, incrementing the number of periods to converge and saving; Eg: deciding not to continue the convergence, updating (UDT) the state of the system with the value estimated for the estimated variable, zeroing (ZRO) the number of periods to converge and saving.
(34) Step Ea of initializing the iterative algorithm allows elements of the algorithm to be initialized, before the iterations of the algorithm in a period are launched. For example, in this step, the following elements are initialized: the mathematical relationship involved in the algorithm, with parameters that are for example delivered by the rest of the model or by the simulation environment, an initial value of the iterative-algorithm estimated variable, which is for example provided by the rest of the model or by the simulation environment, the decision to continue or not continue the convergence, as represented by the quantities involved in the algorithm saved in the previous period, the maximum number of periods to converge and the maximum number of iterations per period, which are for example set by a user.
(35) Step Eb of defining the maximum number of periods to converge and the maximum number of iterations per period depending on the moment during the simulation distinguishes between the following two cases: if the simulation has just started, then convergence over a time increment with a high permitted number of iterations is required, else, it is the values of the maximum number of periods to converge and of the maximum number of iterations per period set during initialization of the algorithm that are taken into account.
(36) Step Ec of updating the quantities involved in the iterative algorithm depending on the decision to continue or not continue the convergence distinguishes between the following two cases: if the decision to continue convergence was made, the saved quantities involved are loaded into the iterative algorithm, these quantities being: the last value of the estimated variable, the number of time periods that have already been used, the state of the iterative algorithm, in order to allow the convergence to be taken up where it was left off; if the decision not to continue convergence was made, the initial iterative-algorithm estimated-variable value set in step Ea of initializing the iterative algorithm is loaded.
(37) Step Ed of launching the iterative algorithm and of incrementing the number of iterations performed in the period corresponds to an iterative loop in which, in each iteration, the value of the estimated variable is updated according to X=X+alpha where X is the value of the variable estimated in the previous iteration and alpha is a convergence direction computed by the algorithm, in particular by virtue of the mathematical relationship obtained in step Ea of initializing the iterative algorithm.
(38) Step Ee of interrupting the algorithm if the maximum number of iterations per period has been reached or if convergence has occurred allows the iterative loop to be interrupted if, at the end of an iteration: the maximum number of iterations per period has been reached, or convergence has occurred, i.e. if the convergence criterion has been met.
(39) At the end of step Ee of interrupting the algorithm, the following two cases are distinguished: if convergence has not occurred and the maximum number of periods to converge has not been reached, for example when the algorithm has been interrupted because the maximum number of iterations per period has been reached, step Ef of deciding to continue the convergence, of incrementing the number of periods to converge and of saving is passed to; if convergence has occurred or the maximum number of periods to converge has been reached, step Eg of deciding not to continue the convergence, of updating the state of the system with the value estimated for the estimate variable, of zeroing the number of periods to converge and of saving is passed to;
(40) In the step Ef of deciding to continue the convergence, of incrementing the number of periods to converge and of saving, the following operations are carried out: updating a dedicated parameter with the decision to continue convergence, incrementing the number of periods to converge, saving the quantities required for the following time period.
(41) In the step Eg of deciding not to continue the convergence, of updating the state of the system with the value estimated for the estimated variable, of zeroing the number of periods to converge and of saving, the following operations are carried out: updating a dedicated parameter with the decision not to continue convergence, updating the state of the system with the value of the estimated variable estimated in the last iteration of the algorithm, zeroing the number of periods to converge, and saving the quantities required for the following time period.
(42) In the example of the method of
(43) Likewise, a maximum number of iterations per period is defined and the iterative algorithm performs a number of iterations in each period lower than or equal to the maximum number of iterations per period. The maximum number of iterations per period is also configurable and is set manually by the user.
(44) In a particular embodiment, the parameterization of the maximum number of periods to converge comprises an upper limit so that the maximum number of periods to converge must be defined so that the frequency of update of the estimated variable is higher than two times the maximum frequency of variation in the quantity represented by the estimated variable. This makes it possible to meet the Nyquist criterion and to guarantee that the variations in the estimated variable are representative of the variations in the represented quantity.
(45) The invention was described above by way of example. It will be understood that a person skilled in the art will be able to produce various variant embodiments of the invention, for example by associating various of the above features alone or in combination, without however departing from the scope of the claimed invention.