Patent Description:
A user generally drives a vehicle using actions on control members that affect the behavior of the vehicle through control inputs such as a steering angle of the steering wheel of the vehicle and an angular velocity of driven wheels of the vehicle. A given set of control inputs commanded by a driver can sometimes lead to a dangerous and/or erratic behavior of the vehicle. Such behavior, i.e., dynamics, of the vehicle can be parametrized by a set of state variables that depend on the dynamical model of the vehicle that is used.

Active stability systems are used to control the behavior of vehicles in order to improve safety and performances of vehicles in relation with certain criteria. For example, anti-lock brake systems (ABS) keep the wheel from locking in order to provide stability, and traction control systems (TCS) prevent the wheel from large slip ratio in order to provide slip control in traction. However, these systems may have independent stability objectives that can enter in conflict and may degrade the overall performance of the vehicle and increase the system complexity.

Recently, Model Predictive Control (MPC) has been proposed to control the behavior of a vehicle. MPC predicts future state variables using a dynamical model of a vehicle and a minimization algorithm. In particular, knowing the state variables at a predetermined time, MPC can predict the state variables at a subsequent time that would be caused by a given set of control inputs. With this prediction, it can in particular be determined if the predicted state variables are within ranges corresponding to a safe behavior of the vehicle or, conversely, if they are within ranges corresponding to an unsafe behavior of the vehicle that could, for example, lead to accidents and, in that case correct or replace control inputs of the driver.

The present invention presents a computer-implemented method for calculating control variables of a vehicle and a corresponding computer program, computer-readable storage medium and vehicle control system.

The following references disclose various methods relating to vehicle stabilization and to model predictive controllers applied to the control of the behavior of a vehicle.

The present invention relates to a computer-implemented method for calculating control variables of a vehicle comprising:.

wherein acquiring input control variables based on controls transmitted by a driver of the vehicle through the control members comprises:.

Here, at a vehicle level, the vehicle longitudinal direction is defined as a heading direction of the vehicle, and the vehicle lateral direction is defined as a direction perpendicular to the heading direction of the vehicle.

Here, dynamics of a vehicle refers to a motion of the vehicle. Such motion is described by state variables that may comprise a yaw rate of the vehicle (i.e. rotational motion of the vehicle around the center of gravity of the vehicle) of the vehicle, and a sideslip angle of the vehicle (i.e. an angle between the vehicle longitudinal direction and the traveling direction of the vehicle center of gravity of the vehicle).

Here, at a wheel level, the wheel longitudinal direction is defined as a steering direction of such wheel, and the wheel lateral direction is defined as a direction perpendicular to the steering direction of such wheel.

In the present description, the lateral slip a wheel of the vehicle refers to a parameter describing slip dynamics of such wheel in the wheel lateral direction. The lateral slip may be characterized, for example, by a sideslip angle of such wheel. Further, the longitudinal slip of a wheel of the vehicle refers to a parameter describing slip dynamics of such wheel in the wheel longitudinal direction. The longitudinal slip of a wheel may be characterized, for example, by a slip ratio of such wheel.

The method according to the present invention provides an optimal control strategy that simultaneously utilizes steering, braking and acceleration to provide lateral stability and longitudinal stability of one or more wheels of the vehicle.

Control inputs by a driver of the vehicle are followed as closely as possible using a model predictive control while ensuring that one or more wheels of the vehicle is prevented from excessive slipping and slips only to a predetermined extent based on an allowable domain that is set for one or more slip of the considered wheels.

According to embodiments the constraints include at least one driving envelope constraint on each wheel of the vehicle, the driving envelope constraint of each wheel setting an allowable two-dimensional range for a lateral slip and a longitudinal slip of said wheel.

Advantageously, each wheel of a vehicle may therefore be constrained using the present method, so that each wheel of the vehicle may be prevented form wheelspin, wheel-locking, and wheel-skidding.

The present invention is suitable for any conventional vehicle, without requiring extra equipment on the vehicle regardless of the type of driving actuators that are used such as engines, brakes and steering systems.

According to embodiments, the driving envelope constraint is expressed in terms of a maximum value of a longitudinal slip and a maximum value of a lateral slip of the at least one wheel.

According to embodiments, the driving envelope constraint is expressed in terms of a maximum value of a function of a longitudinal slip and a lateral slip of the at least one wheel.

According to embodiments, the function of the longitudinal slip and the lateral slip of the at least one wheel is a norm of a combined slip vector calculated based on the longitudinal slip and the lateral slip of the at least one wheel.

According to embodiments, the driving envelope constraint is expressed in terms of a maximum value of a linear combination of the longitudinal slip and the lateral slip of the at least one wheel.

According to embodiments, the lateral slip of the at least one wheel comprises a sideslip angle of the at least one wheel; and the longitudinal slip of the at least one wheel comprises a slip ratio of the at least one wheel.

According to embodiments, an area of the allowable two-dimensional domain is fixed by selecting a maximum lateral slip and a maximum longitudinal slip.

According to embodiments, the constraints comprise at least two different driving envelope constraints for the at least one wheel of the vehicle, and wherein the method further comprises a step of selecting one of the two different driving envelope constraints according to a driving mode.

Carmakers are generally trying to provide different driving mode settings in modern cars. However, carmakers generally utilize only changing of suspension or different gains from pedals to the drivetrain, brakes, and steering wheel to the steering column. The proposed strategy improves over the latter by fixing constraints that are derived from physical limitations of forces on wheels and projected onto the vehicle state variables.

For instance, in a sport mode a driving envelope constraint may set a significantly large allowable range for both lateral slip and longitudinal slip, allowing a driver to be closer to the edge of tire capacities and perform, for example, drifting maneuvers. Further, in a highway mode, a driving envelope constraint may set an allowable range with less allowed lateral slipping in order to optimize for the driver comfort of vehicle handling and increase safety on a highway when the vehicle is driven at higher velocities. Further, in a city mode, a driving envelope constraint may set an larger allowable range for lateral slipping in order to allow for short turning at a low speed.

According to embodiments, acquiring input control variables based on controls transmitted by a driver of the vehicle through control members comprises expressing at least one of the controls as being proportional to an input control variable.

According to embodiments, the method further comprises the steps of:.

According to embodiments, the method further comprises tracking an angular velocity of a wheel with a controller so as to calculate the corrected controls on the braking and throttle pedals of the vehicle.

According to embodiments, the constraints further include at least one driving envelope constraint on at least a second wheel of the vehicle, the driving envelope constraint setting an allowable range for at least a sideslip angle of the at least second wheel.

In embodiments, the proposed method is determined by computer program instructions.

Accordingly, another purpose of the present invention is to propose a computer program comprising instructions which, when the instructions are executed by a computer, cause the computer to carry out the steps of one of the above-defined methods.

The computer program may use any programming language, and be in the form of source code, object code, or code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form. The computer may be any data processing means, for instance one or more personal computer(s), one or more processors, one or more remote servers, etc. It can be made up of a single machine or a plurality of machines, for instance spread over different locations.

The present invention also includes a non-transitory computer readable medium, having the one or more above-defined computer program(s) stored thereon, the non-transitory computer readable medium comprising instructions which, when the instructions are executed by a computer, cause the computer to carry out the steps of one of the above-defined methods.

The computer-readable medium may be an entity or device capable of storing the program. For example, the computer-readable medium may comprise storage means, such as a read only memory (ROM), e.g. a compact disk (CD) ROM, or a microelectronic circuit ROM, or indeed magnetic recording means, e.g. a floppy disk or a hard disk.

The present invention further relates to a vehicle control system for controlling control variables of a vehicle comprising one or more processors and a computer-readable medium; the computer-readable medium comprising computer instructions stored therein, wherein the instructions, when executed by the one or more processors, cause the one or more processors to carry out the steps of one of the above-defined methods.

The present invention further includes an advanced driving assistance system for a vehicle, which comprises a system as defined above.

Methods and systems for calculating control variables of a vehicle, which constitute exemplary embodiments of the present invention are now going to be presented in relation with <FIG>.

Although the present description mainly describes a computer-implemented method for calculating control variables of a vehicle, it is contemplated that the present invention relates, at least equivalently, to a control system configured to implement steps of such a method. Such system may be, for example, an electronic control unit of a vehicle.

As an example, in reference to <FIG>, a vehicle <NUM> comprises a control system <NUM> comprising one or more processors <NUM> and a non-transitory storage medium <NUM>. The one or more processors <NUM> are intended to be representative of the presence of any one or more processors or processing devices, of any of a variety of forms. In addition, although the control system is represented on <FIG> in a single box, such control system <NUM> may be a distributed calculation system, comprising a plurality of processors, possibly physically arranged on different locations. For instance, part of processors <NUM> may be part of a remote server.

The method according to the present invention has been developed in order to control the behavior of a vehicle so as to avoid unsafe situations that can lead to accidents. In the present invention, behavior of a vehicle refers to a dynamical state of the vehicle that can be represented by state variables in relation to a dynamical model of the vehicle. The number and type of state variables may depend on the dynamical model used to represent the vehicle.

Further, the method according to the present invention may also be used to calculate control variables of a vehicle in view of enhancing vehicle performance, for example in terms of a maximization of tire traction forces while respecting physical limits at the interface between tires and road. The projection of tire forces at a wheel level alone is generally not sufficient but the method according to the present invention provides a way to project physical limits to the vehicle level.

In the present invention, the control method is based on Model Predictive Control (MPC). Although methods relying on Model Predictive Control to control a car have been proposed, see the list of references above, they tend to focus only on partial control of a car, for example lateral stability and traction control.

The method and system of the present invention aim at providing model predictive control strategy that can account for combined stability of a vehicle i.e. both lateral stability and longitudinal stability of the vehicle. Further, the proposed method may utilize every actuator of the vehicle to control the combined stability of the vehicle.

In the present description, the stability of a vehicle may be parametrized in terms oflateral slip and longitudinal slip of the wheels of the vehicle. For each wheel of a vehicle, the lateral slip may comprise a sideslip angle (α) describing the lateral stability of the wheel, and the longitudinal slip may comprise a slip ratio (λ), describing the longitudinal stability of the wheel.

In the embodiment presented herein, the control method utilizes a dynamical model of the vehicle. Any dynamical model of the vehicle which takes into account separately the behavior of the wheels of a vehicle with regard to slipping may be used to implement the methods or systems according to the present disclosure.

For instance, in reference to <FIG>, dynamics of a vehicle may be represented by a single-track model <NUM>. The single track model <NUM> assumes that the dynamics of a vehicle with two rear wheels <NUM>, <NUM> on a rear axle <NUM> and two front wheels <NUM>, <NUM> on a front axle <NUM>, can be reduced to the dynamics of a vehicle center of gravity <NUM>, a single rear wheel <NUM> and a single front wheel <NUM> at respective predetermined distances (l_f, l_r) of the center of gravity <NUM> of the car on a vehicle longitudinal axis of symmetry.

Although, in the model represented in <FIG>, the four wheels of a vehicle are reduced to two single wheels, the methods of the present invention may consider the slipping dynamics of the wheels of a vehicle to be partially or completely independent.

In embodiments, the car may be assumed to be a conventional car with four wheels, front-wheel steering, front-wheel drive and braking with constant torque distribution over the two driven wheels (for example the two front wheels <NUM>, <NUM>). Further, rotational velocity of the rear axle <NUM>, may be neglected because the braking moment acts most substantially on the front axle <NUM>. Braking torque distribution may be for example, <NUM>:<NUM> (front vs. rear axles), and weight distribution may be, for example, <NUM>:<NUM> (front vs. rear axle). The presented methodology is discussed only as exemplary and the method according to the present invention may adapt to any other combination of vehicle.

In reference to <FIG>, the state of the vehicle modelled by the single-track model <NUM> may comprise the following variables and parameters. Such state variables are only intended as exemplary, any other suitable representation of vehicle dynamics, including kinematic model or non-parametric representation could be used.

In the present description, the subscripts "y" or "x" refer to lateral or longitudinal direction, respectively, the subscripts "f" or "l" refer to the front or rear axle, respectively, and the subscripts "L" or "R" refer to left side or right side, respectively.

Parameters of the model are gathered in the following table.

In embodiments, dynamics of the vehicle may be assumed to be a second-order approximation describing the lateral motion of the vehicle. In particular, it may be assumed that the sideslip angle, β, is small enough to use the small angle approximation and that the longitudinal velocity, v, of the vehicle is constant. Due to the constant velocity, traction forces acting in the longitudinal direction (longitudinal traction forces) may be neglected.

In embodiments, based on the dynamical model and the assumptions aforementioned, equations of motion of the center of gravity <NUM> of the vehicle may be written as: <MAT> <MAT>.

The right-hand side of Equation <NUM> represents lateral traction forces acting on the center of gravity <NUM> of the vehicle. The right-hand side of Equation <NUM> represents resulting generalized forces applied around the center of gravity <NUM> of the vehicle. Such equations are linear approximations provided at a baseline operation point defined by a zero yaw rate, a zero steering angle and a zero sideslip angle of the vehicle, i.e. a situation wherein a vehicle moves straight forward with a constant longitudinal velocity.

In embodiments, the wheel traction forces acting in the lateral direction (lateral traction forces) may be linearly approximated similarly for both axles as: <MAT> wherein cf is the nominal cornering stiffness of a tire, Fzi is the load force acting on an axle, and αi is the sideslip angle of an axle, and "i" represents the axle (i.e. it can be either "r", rear, or 'f', front).

Further, the sideslip angle of the front axle (αf) and the sideslip angle of the rear axle (αr) can also be linearly approximated, respectively, as: <MAT> and <MAT>.

Further, the following variables may be chosen to model the motion of the vehicle. A state vector x(t) representing the state of the vehicle, which may be written as: <MAT> and an input vector u(t) representing the control variables on which a driver or a controller can act, which may be written as: <MAT>.

It is contemplated that the methods and systems of the present disclosure may account for both the lateral and longitudinal motion of a vehicle. To this end, both the steering angle of the vehicle (δ) and the angular velocity of the front wheels (ωf) are taken as inputs in the equations of motion of the vehicle.

Based on the above assumptions and variables, the linearized equations of motion may be expressed, in a matrix form, as: <MAT> where A and B are system matrices that can be calculated, for example, by first-order Taylor expansion.

As an example, systems matrices A and B may be expressed as: <MAT> and <MAT>.

Although Equation <NUM> is a continuous-time description of the motion of the vehicle, according to embodiments, discrete-time vehicle dynamics can be used. Accordingly, the equations of motion may be obtained, for example, through Euler discretization of the continuous-time system of Equation <NUM>.

According to embodiments, equations of discrete-time dynamics of the vehicle may be expressed as:<MAT> where Ad and Bd are discrete system matrices, xk is a discrete state vector, and uk is a discrete input vector.

In view of the above, according to embodiments, a problem solved by the system and method of the present invention is how to calculate an optimal input vector, u, so that the value of the state vector, x, and the input vector remain in predetermined ranges, for example ranges corresponding to safe operation of the vehicle. To this end, the methods and systems according to the present disclosure are based on a model predictive control algorithm to minimize a cost function comprising the parameters and variables of a dynamical model of a vehicle. Further, constraints on state variables are imposed in the cost function in order to confine the behavior of the vehicle to safe situations.

Referring to <FIG>, according to embodiments, the method of the present invention aims at safely controlling a vehicle <NUM>, such as a car, taking into account actions of a driver on control members <NUM>, <NUM> of the vehicle <NUM>. The control members generally comprise braking and throttle pedals <NUM>, and a steering wheel <NUM>. The method according to the present invention may be divided in three sub-elements: A, a projection of the actions of the driver on the control members <NUM>, <NUM> to input control variables; B, a calculation of optimized control variables by a model predictive controller <NUM>; and C, a projection of the optimized control variables to instructions on the control members of the vehicle <NUM>.

According to embodiments, the actions of the driver on the control members <NUM>, <NUM> may be converted to input control variables, for example a steering command, δcmd , on the steering angle of the car and an angular velocity command, ωcmd, on the angular velocity of the driving wheels, for example the front wheels. As an example input command projections <NUM>, <NUM>, <NUM> and a wheel dynamics predictor may be used.

In embodiments, actions of the driver on control members may comprise any input of the driver that contributed to setting one or more characteristics defining a desired trajectory of the vehicle. Such characteristics may comprise, for example, a desired acceleration of the vehicle at the vehicle's center of gravity.

According to embodiments, the method for controlling the control variables of a vehicle comprises an MPC algorithm <NUM> which takes as input: the input commands from the driver and a set of state variables describing the state of the vehicle <NUM>. Although <FIG>, for the sake of an example, represents an embodiment of the method comprising a particular set of commands and state variables, other embodiments of the method may comprise different sets of input commands and/or different sets of state variables. Further, the sets of state variables may depend on the dynamical model of the vehicle that is used.

Once the optimized control variables are calculated with the MPC algorithm <NUM> of the method according to the present disclosure, the optimized control variables may be projected to instructions on the control members to replace the commands of the driver and effectively affect the behavior of the vehicle <NUM>. The projection of the optimized control variables may be done, for example, using a proportional-integral (PI) controller <NUM> and output command projections <NUM>, <NUM>, <NUM>.

In the method and system according to the present invention, the MPC algorithm (<NUM>) outputs optimized control variables (for example, optimized steering command, δMPC , and optimized angular velocity command, ωmpc) that ensure that the state of the vehicle will remain in a safe zone with respect to a particular set of constraints. The condition that the state of vehicle remains in a safe zone may be implemented by imposing that a particular set of state variables remain in an allowable range defined by the constraints. This allowable range for the state variables that is to be set as a constraint in the MPC algorithm can be described as a driving envelope in the space of state variables.

In embodiments, the constraints on the state variables may be derived from the physical limitations imposed to the structure of the vehicle, for example to the wheels of the vehicle. In particular, it is possible to derive the constraints on the state variables based on the fact that, during safe operation of a vehicle, the traction forces (Fx, Fy) generated by the wheels cannot exceed the load force (Fz) with which the rigid body of the vehicle acts on the wheels. For a wheel of the vehicle, this implies that a force vector formed of the traction forces (when taking into account friction coefficients) cannot be greater, in magnitude, than the magnitude of the load force.

Such condition can be written as: <MAT> wherein µ is a global friction coefficient between a tire of a wheel and the road surface, and wherein c<NUM>x and c1y are friction coefficients between the tire and the road surface in the longitudinal and lateral direction, respectively.

The condition of Equation <NUM> restricts both the longitudinal traction force (Fx), related to the longitudinal dynamics of a wheel, and the lateral traction force (Fy), related to the lateral dynamics of such wheel, by defining an elliptic driving envelope in the space represented by the longitudinal and lateral traction forces. Therefore, this condition is known as a traction ellipse or a friction ellipse. When the condition is verified, i.e. when the traction forces have values within the elliptic driving envelope defined by Equation <NUM>, the vehicle can be considered to be in a safe situation wherein stability is ensured.

Further, the traction forces generated by the wheels of a vehicle are dependent on wheel slip variables in both lateral (y) and/or longitudinal direction (x), the wheel slip variables of a wheel being the slip ratio λ and the sideslip angle α.

In embodiments, for each wheel of the vehicle, the condition of Equation <NUM> is advantageously expressed in terms of a condition on the slip ratio λ and/or the sideslip angle α and/or a linear combination of the slip ratio and the side slip angle.

In embodiments, a condition of combined stability of a wheel of a vehicle may be expressed in terms of a maximum value of a function of the slip ratio and the sideslip angle of the wheel.

In particular, a condition of combined stability of a wheel of a vehicle may be expressed in terms of a combined slip vector, σ, which may be defined, for example, as: <MAT> In such case, a driving envelope can be defined by imposing that a norm of the combined slip vector remains smaller than a predetermined maximum norm of a combined slip vector σMAX which is achieved when a tire transmits maximum lateral or longitudinal traction forces to the vehicle while remaining in an allowable two-dimensional slipping domain for λ and α. Such a driving envelope condition may be expressed, for a considered wheel of a car, as the following condition: <MAT> where αmax is a maximum sideslip angle of the considered wheel, and λmax is a maximum slip ratio of the considered wheel. Such maximum values are control parameters that can be set to define the size of the driving envelope.

In embodiments, for a wheel of the vehicle, the driving envelope condition of Equation <NUM> may be linearized and normalized so as to be expressed in terms of a linear combination of the slip ratio and the sideslip angle of the considered wheel: <MAT>.

Although the condition of Equation <NUM> only constrains lateral slip and longitudinal slip of a single wheel, similar conditions may be formulated to constrain the lateral slip and the longitudinal slip of other wheels of the vehicle. Further, different conditions may be imposed on different wheels of the vehicle. For example, a condition on the combined slip vector may be imposed on the two front wheels of a vehicle while a condition affecting only the sideslip angle may be imposed on the two rear wheels of the vehicle.

The method and system according to the present invention aim at optimizing at least one control variable, for example two output control variables (δmpc, ωmpc) so that the state of the vehicle remains safe while taking into account, when possible, the controls (inputs) of the driver on the control members (<NUM>, <NUM>) of the vehicle <NUM>. To this end, model predictive control <NUM> (MPC) is used to track inputs of the driver as closely as possible. The MPC may be formulated as a linear convex constrained finite time optimal control problem (OCP) that is solved repeatedly in a receding horizon fashion.

In embodiments, the MPC may be formulated as a linear quadratic objective function, such as the expression that follows: <MAT> the objective function C being defined over a prediction horizon N, where k is a prediction step. Other parameters of the equation are listed in the table III presented later on.

The objective function may be minimized in order to obtain an output vector uk, comprising output control variables (δmpc, ωmpc), wherein the output vector tracks the input vector r comprising the input control variable (δcmd, ωcmd) commanded by the driver of the vehicle. By tracking, it is meant that it is attempted to obtain output control variables as close as possible to the input control variables, while satisfying constraints of the system. As described earlier, in the method and system according to the present invention, some of the constraints may be derived from physical conditions on the wheels in order to ensure stability of the vehicle.

Slack variables se and si may be introduced in the cost function with related slack penalties Qe and Qi in order to avoid possible numerical issues and to ensure that the constraints may always be satisfied to a certain degree.

The first terms of the first line of Equation <NUM> represents the fact that the output vector tracks the input vector. The terms of the second line of equation <NUM> represent a penalization of fast input changes that aims at achieving a smooth control of the control variables of the vehicle to make the driving process smoother. The terms of the third line of equation <NUM> represent a penalization of the slack variables.

In embodiments, the constraints imposed while minimizing the cost function C may be written as: <MAT> <MAT> <MAT> <MAT> <MAT> <MAT> <MAT> <MAT> <MAT> <MAT>.

The parameters of the equations are listed in the following table.

Equation <NUM> represents a constraint imposed by the physics describing the motion of the vehicle using a dynamical model of the vehicle. Equation <NUM> is written in terms of a discretized time with a predetermined sampling time, Ts, but may also be written in terms of a continuous time.

Equation <NUM> represents the maximum possible changes in the input vector that is obtained after one prediction step k, i.e., a slew protection. Such maximum possible changes in the input vector may be expressed in terms of a slew rate limit vector defined as follows: Δumax = [dumax(<NUM>) Δumax(<NUM>)].

Equation <NUM> represents the maximum possible value of the inputs comprised in the input vector.

Equation <NUM> represents the fact that the slack variable introduced in the condition of equation <NUM> must be equal or greater than zero at any prediction step k.

Equation <NUM> represents a driving envelope constraint for the left front wheel of the vehicle. In embodiments, the constraint is an inequality imposed on the combined slip vector of the left front wheel that ensures that the left front wheel does not loose traction. A slack variable may be added in the inequality in order to allow for small violations of the constraint.

Equation <NUM> represents a driving envelope constraint for the right front wheel of the vehicle. In embodiments, the constraint is an inequality imposed on the combined slip vector of the right front wheel that ensures that the right front wheel does not loose traction. A slack variable may be added in the inequality in order to allow for small violations of the constraint.

Equation <NUM> represents a driving envelope constraint for the rear wheels of the vehicle. In embodiments, the constraint is an inequality imposed on the sideslip angle of the rear wheels that prevents an over-steering maneuver of the vehicle. A slack variable may be added in the inequality in order to allow for small violations of the constraint.

Equation <NUM> represents the fact that the slack variables <MAT> introduced in the condition of Equations <NUM>-<NUM> must be equal or greater than zero at any prediction step k.

Equation <NUM> and <NUM> represents the initialization conditions of the model predictive control. In particular, Equation <NUM> relates to the initialization of the vehicle state by imposing initial values of the state vector x(t=<NUM>). Equation <NUM> relates to the initialization of the input state by imposing values of the input vector in a previous sampling time, t - Ts, i.e., before the MPC is used to calculate updated control variables.

In the embodiments described in relation to Equations <NUM>-<NUM>, different driving envelope constraints are imposed on the front wheels compared to the rear wheels, mainly due to the fact the vehicle is assumed to be front-wheel driven wherein braking moment is mostly applied on the front axle. However, in other embodiments of the present disclosure, the driving envelope constraints of equation <NUM> and <NUM> may be imposed on each of the four wheels of a vehicle. This can be particularly advantageous, for example, in the case of a four-wheel drive vehicle.

The method according to the present description provides a way to calculate control variables of a vehicle. Further, the calculated control variables may be used to control a vehicle and optimize the behavior of this vehicle while ensuring safe operation of the vehicle.

In particular, in reference to <FIG>, when using a control system implementing the method according to the present invention to control the exemplary motion of a vehicle subject to cornering and braking, the wheels of a controlled vehicle do not violate a traction ellipse driving envelope that has been imposed in the formulation of the MPC.

In particular, when the control system is off, i.e. when the control variables used to control the vehicle do not originate from the control system, the wheels of the vehicle are subject to traction forces that go beyond the driving envelope. The uncontrolled car acts on wheel mounting point with force, which the tire could not transfer to the place of contact with the surface.

When the control system is on, i.e. when the control variables originating from a driver's input are replaced by control variables calculated with the method according to the present disclosure, wheel locking is prevented during cornering braking and right wheels are maintained on the edge of their traction capacities.

Claim 1:
A computer-implemented method for calculating control variables of a vehicle comprising:
- providing a dynamical model (<NUM>) of the vehicle describing the vehicle dynamics, the dynamical model (<NUM>) comprising state variables, the state variables comprising at least two variables (β, r) representative of lateral motion of the vehicle and/or rotational motion of the vehicle, such at least two variables being function of lateral slip and/or longitudinal slip of one or more wheels of the vehicle;
- acquiring input control variables based on controls (scmd, bcmd, tcmd) transmitted by a driver of the vehicle (<NUM>) through control members (<NUM>, <NUM>), the input control variables comprising at least a steering angle (δcmd) of a wheel (<NUM>, <NUM>) of the vehicle or an angular velocity (ωcmd) of such wheel (<NUM>, <NUM>);
- acquiring the state variables (β, r) of the vehicle;
- based on the acquired input control variables (δcmd, ωcmd) and the acquired state variables (β, r), calculating at least one output control variable (δadas, ωadas) representative of the controls of the vehicle using model predictive control (<NUM>); wherein
- calculating at least one output control variable (δadas, ωadas) of the vehicle using model predictive control (<NUM>) is based on the dynamical model (<NUM>) of the vehicle, so as to minimize a cost function (C) over a receding horizon using the acquired input control variables (δcmd, ω cmd) as an input target while satisfying constraints;
- the constraints including at least one driving envelope constraint for at least one wheel (<NUM>, <NUM>) of the vehicle,
- said at least one driving envelope constraint defining, for two parameters of said at least one wheel, an allowable two-dimensional domain within which slipping of the at least one wheel is considered allowable, such two parameters describing longitudinal slip and lateral slip of the at least one wheel;
wherein acquiring input control variables (δcmd, ωcmd) based on controls (scmd, bcmd, tcmd) transmitted by a driver of the vehicle (<NUM>) through the control members (<NUM>, <NUM>) comprises:
- measuring a tire reaction torque τr) of a wheel;
- acquiring controls (bcmd, tcrnd) transmitted by a driver through throttle and brake pedals (<NUM>) comprised in the control members (<NUM>, <NUM>); and
- based on the acquired controls (bcmd, tcmd), on the measured tire reaction torque (τr), and on a drivetrain model of the vehicle, calculating a commanded angular velocity (ωcmd) of a wheel.