Method for optimizing the energy consumption of a motor vehicle

By determining state variable variations within constraints using the Pontryagin Maximum Principle and KKT parameters, the method optimizes energy consumption in motor vehicles, addressing the challenges of a posteriori adaptation and ensuring compliance with system limits.

FR3132685B1Active Publication Date: 2024-11-01VITESCO TECHNOLOGIES GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022001303
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-02-15
Publication Date
2024-11-01
Estimated Expiration
2042-02-15

AI Technical Summary

Technical Problem

Existing methods for optimizing energy consumption in motor vehicles using the Pontryagin Maximum Principle (PMP) face challenges with a posteriori adaptation of optimal instructions due to artificial biases introduced by additional terms, leading to suboptimal energy management.

Method used

A method that determines a prediction duration and maximum theoretical variation of state variables within state constraints, using the Pontryagin Maximum Principle and Karush, Kuhn & Tucker (KKT) parameters to minimize the Hamiltonian function within applicable setpoint domains, ensuring compliance with state constraints.

Benefits of technology

This approach ensures that the determined setpoints minimize energy consumption while adhering to system constraints, providing accurate and effective energy management instructions for the vehicle's traction chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000018_0000
    Figure 00000018_0000
  • Figure 00000018_0001
    Figure 00000018_0001
Patent Text Reader

Abstract

The invention relates to a method for optimizing the energy consumption of a motor vehicle comprising a battery (30), a heat engine (M), an electric machine (ME), a plurality of devices, each characterized by at least one state variable, and a computer (40) capable of controlling the heat engine (M) and the electric machine (ME). The method is notable in that it comprises the steps of: defining a prediction period; determining the maximum theoretical variation of each state variable over the prediction period; determining the applicable setpoint range in which each setpoint value is selected such that the variation of each state variable respects its maximum theoretical variation; and determining the value of a thermal setpoint and an electrical setpoint, within the applicable setpoint range, for which the Hamiltonian function is weakest. Figure for the abstract: Fig 1
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Method for optimizing the energy consumption of a motor vehicle Technical field

[0001] The present invention relates to the optimization of the energy consumption of a motor vehicle and more particularly to a method for optimizing the energy consumption of a motor vehicle on a predefined route. The invention aims in particular to generate optimized instructions for controlling the vehicle on said route to be traveled while minimizing energy consumption. Prior art

[0002] In a motor vehicle, it is known to optimize the energy consumption of the powertrain over a given or planned journey. Such optimization can be carried out on fuel, on electrical energy or on both at the same time.

[0003] In a known manner, the optimization can be carried out using the principle known as the Pontryagin Maximum Principle (PMP). This method consists of minimizing the Hamiltonian function (or Hamiltonian) from the criterion to be optimized, for example the quantity of fuel or the electrical energy consumed, and the description of the dynamics of the system. The dynamics of the system is defined from the state of different vehicle variables (vehicle speed, battery charge state, etc.) and different inputs or setpoints (torque setpoints to be applied to the vehicle wheels for the heat engine, torque setpoints to be applied to the vehicle wheels for the electric machine and / or catalyst heating setpoints, and / or cooling circuit control setpoints).The Hamiltonian function is minimized in order to determine the instructions allowing to obtain the minimum consumption of fuel or electrical energy.

[0004] Each input or setpoint is dependent on the state of certain variables. For example, the torque setpoint for the electric machine to be applied to the wheels of the vehicle is dependent on the speed of the vehicle and the state of charge of the battery, the control setpoint of the cooling circuit is dependent on the real-time temperature in the cooling circuit, the heating setpoint of the catalyst is dependent on the real-time temperature in the catalyst.

[0005] The Hamiltonian thus determined is then minimized. In other words, the values ​​of the instructions for which the value of the Hamiltonian is the lowest are selected and applied to the vehicle.

[0006] The setpoint values ​​are thus determined in real time according to the current state of the system. In addition, the setpoints must in particular be adapted when the state of each state variable has reached the defined limits. The limits on the state variables are called state constraints, and pose problems well known in the state of the art, in particular a problem in the a posteriori adaptation of the optimal setpoints calculated a priori.

[0007] It is thus sometimes proposed to add additional terms in the Hamiltonian formula in order to minimize it when certain limits of the instructions or state variables are reached or even exceeded. But the addition of such terms also introduces an artificial bias in the Hamiltonian, which, when minimized, may not indicate the correct set of optimal instructions to minimize the required criterion.

[0008] There is therefore a need for a solution to at least partially remedy these drawbacks. Statement of the invention

[0009] To this end, the invention relates to a method for optimizing the energy consumption of a motor vehicle, the vehicle comprising a fuel tank, an electric battery capable of supplying electrical energy, a heat engine, powered by the fuel tank, at least one electric machine powered by electrical energy supplied by the battery, at least one device relating to the heat engine and at least one device relating to the electric machine, and a computer for managing the powertrain of the motor vehicle over a predetermined route, the computer being capable of controlling the heat engine by issuing a so-called "thermal" instruction and the electric machine by applying a so-called "electric" instruction, the heat engine, the electric machine,the at least one device relating to the heat engine and the at least one device relating to the electric machine each being characterized by at least one state variable, each state variable making it possible to describe the operating state of the device that it characterizes, each state variable being dependent on at least one state constraint and being defined by an initial value at an initial instant, each setpoint being associated with at least one state variable, said method being remarkable in that it comprises the steps of: , a. definition of a prediction duration from the initial instant, b. determination of the maximum theoretical variation of each state variable from the initial value of said state variable and over the prediction period so that each state variable respects all of the state constraints specific to it, c. determination of the applicable setpoint domain comprising a set of values ​​for each setpoint, each setpoint value being selected so that the variation of each state variable associated with said setpoint respects the maximum theoretical variation determined for said state variable, d. determination of the value of a thermal setpoint and the value of at least one electrical setpoint in the determined applicable setpoint domain, for which the Hamiltonian function is the lowest.

[0010] The method is implemented for a predefined / given route for the vehicle.

[0011] The method according to the invention makes it possible to define torque setpoints in order to provide the power and acceleration requested by the driver during vehicle operation on the given or planned route, while minimizing the vehicle's energy consumption. In addition, during the step of determining the applicable setpoint domain, the values ​​of each setpoint that do not comply with at least one constraint applied to a system state variable are deleted. Thus, the thermal and electrical setpoints determined as a result are necessarily included in the applicable setpoint domain and can actually be applied to the system.

[0012] Preferably, the determination of the value of each setpoint is carried out: a. by determining so-called “optimal” setpoints by minimizing the Hamiltonian of a system of equations modeling the dynamics of the vehicle, in the domain of the applicable setpoints, b. by minimizing the Lagrangian function modeling the dynamics of the vehicle, the Lagrangian function being determined from the Hamiltonian determined previously and from so-called “Karush, Kuhn & Tucker” parameters relating to the state constraints, in the complete domain of the instructions, including all the instructions.

[0013] In other words, the functions representing the state constraints used to calculate the Lagrangian function are weighted by so-called “Karush, Kuhn & Tucker” (KKT) parameters calculated so that the optimal instructions determined by the minimization of this Lagrangian function in the complete domain of instructions correspond to the optimal instructions obtained by minimization of the Hamiltonian function in the domain of applicable instructions reduced to only the instructions respecting the state constraints considered.

[0014] Preferably, the “Karush, Kuhn & Tucker” parameters p are determined so that the solution which minimizes the Hamiltonian in the applicable setpoint domain also minimizes the Lagrangian function in the complete domain.

[0015] The invention also relates to a computer for managing the powertrain of a motor vehicle over a predetermined route, the vehicle comprising a fuel tank, an electric battery capable of supplying electrical energy, a heat engine powered by the fuel tank, an electric machine powered by electrical energy supplied by the battery, at least one device relating to the heat engine and at least one device relating to the electric machine, and a computer for managing the powertrain of a motor vehicle over a predetermined route, the computer being capable of controlling the heat engine by issuing a so-called "thermal" instruction and the electric machine by applying a so-called "electric" instruction, the heat engine, the electric machine,the at least one device relating to the thermal engine and the at least one device relating to the electrical machine each being characterized by at least one state variable, each state variable making it possible to describe the operating state of the device that it characterizes, each state variable being dependent on at least one state constraint and being defined by an initial value at an initial time, each setpoint being associated with at least one state variable, the calculator being remarkable in that it is configured to: , a. define a prediction duration from the initial time, b. determine the maximum theoretical variation of each state variable from the initial value of said state variable and over the prediction duration so that each state variable respects all of its own state constraints, c. determining the applicable setpoint domain comprising a set of values ​​for each setpoint, each setpoint value being selected so that the variation of each state variable respects each maximum theoretical variation determined for said state variable, d. determine the value of a thermal setpoint and the value of at least one electrical setpoint in the determined applicable setpoint domain, for which the Hamiltonian function is the lowest.

[0016] Thus, the calculator makes it possible to determine torque setpoints in order to provide the power and acceleration requested by the driver during operation of the vehicle on the given or planned route, while minimizing the energy consumption of the vehicle. In addition, during the step of determining the applicable setpoint domain, the values ​​of each setpoint which do not comply with the at least one constraint applied to a state variable of the system are deleted. Thus, the thermal and electrical setpoints determined as a result of this are necessarily included in the applicable setpoint domain and can actually be applied to the system.

[0017] Preferably, the calculator is configured to determine the value of each setpoint: a. by determining so-called “optimal” instructions by minimizing the Hamiltonian of a system of equations modeling the dynamics of the vehicle, in the domain of applicable instructions, determined previously and including the selection of instructions for which each state variable respects the state constraints specific to it, b. by minimizing the Lagrangian function modeling the dynamics of the vehicle, the Lagrangian function being determined from the Hamiltonian determined previously and from so-called “Karush, Kuhn & Tucker” parameters relating to the state constraints, in the complete domain of the instructions, including all the instructions.

[0018] In other words, the applicable instructions are reduced to only those instructions respecting the state constraints and optimal by calculating the Karush, Kuhn & Tucker parameters.

[0019] More preferably, the computer is configured to determine the “Karush, Kuhn & Tucker” parameters p such that the solution which minimizes the Hamiltonian in the applicable setpoint domain also minimizes the Lagrangian function in the complete domain.

[0020] The invention also relates to a vehicle comprising a thermal engine, powered by a fuel tank, an electric machine powered by electrical energy, and a computer for managing the traction chain as presented previously.

[0021] The invention also relates to a computer program product which is remarkable in that it comprises a set of program code instructions which, when executed by one or more processors, configure the processor(s) to implement a method as described above. Brief description of the drawings

[0022] Other characteristics and advantages of the invention will become apparent from reading the description which follows. This is purely illustrative and must be read in conjunction with the appended drawings in which:

[0023] [Fig-1] [Fig.l] is a schematic view of the vehicle according to the invention.

[0024] [Fig.2] [Fig.2] is an illustration of the method according to the invention. Description of the embodiments

[0025] Vehicle

[0026] With reference to [Fig.l], an embodiment of the vehicle according to the invention will now be presented. The vehicle is notably hybrid and therefore comprises a thermal engine M, often called "ICE" engine for "Internal Combustion Engine" in English, and at least one electric machine ME, often called "EMA machine" for "Electrical Machine" in English, a fuel tank and a battery 30 for electrical power.

[0027] The heat engine M is in particular capable of being powered from the fuel supplied by the tank. The heat engine M also comprises a system for exhausting the exhaust gases emitted during the combustion of the air and fuel mixture in the heat engine M.

[0028] The vehicle also comprises at least one device relating to the heat engine M and in particular a cooling device 10 for the heat engine M and a catalyst 20. The cooling device 10 makes it possible to reduce the temperature of the heat engine M during its use. The cooling device 10 comprises in particular a coolant.

[0029] The catalyst 20, connected to the heat engine M by the exhaust system, is capable of reducing the quantity of polluting products in the exhaust gases emitted by the heat engine M before discharging them outside the vehicle.

[0030] The catalyst 20 also comprises a heating device capable of increasing the temperature in the catalyst 20, in order to implement the depollution of the exhaust gases. The heating device of the catalyst 20 must be supplied with electrical energy to operate.

[0031] The electric machine ME is capable of being powered by the electrical energy supplied by the battery 30. The vehicle also comprises at least one device relating to the electric machine ME, in particular a set of voltage converters (not shown) making it possible to convert the voltage between the battery 30 and the electric machine ME.

[0032] The vehicle may comprise other devices relating to the thermal engine M and other devices relating to the electric machine ME.

[0033] The term "system" refers to the set of elements mounted in the vehicle, capable of consuming or producing electrical energy or fuel. For example, the system comprises all of the devices described previously: the heat engine M, the electric machine ME, the cooling device, the catalyst 20 and the battery 30.

[0034] Each device is characterized by at least one state variable, making it possible to describe the operating state of the device. For example, the cooling device 10 is characterized by a coolant temperature. For example, the catalyst 20 is characterized by an internal temperature value.

[0035] The battery 30 is characterized by a state of charge variable, the thermal engine M is characterized by a rotation speed, an applied torque, etc.

[0036] Each state variable is characterized by at least one state constraint relating to the physics of the system. For example, the temperature of the coolant of the cooling device 10 is characterized by a maximum temperature, the internal temperature of the catalyst 20 is characterized by a minimum temperature and the state of charge of the battery 30 must be between a predefined minimum value and a predefined maximum value. Generally, each state constraint value is predefined but can be modified during the operation of the device in question.

[0037] In other words, the state constraints make it possible to define the limits of variation of each state variable. As explained previously, the state of charge of the battery 30 must always be defined between the minimum value and the maximum value so that the battery 30 can operate correctly.

[0038] Calculator

[0039] The vehicle also comprises a computer 40 connected to the heat engine M, to the electric machine ME, to the at least one device relating to the heat engine M, in other words to the cooling device 10 and to the catalyst 20, and to the at least one device relating to the electric machine ME, in other words to the battery 30.

[0040] The computer 40 is capable of receiving the measurement of each state variable value relating to each device. In addition, the computer 40 is capable of controlling each device to which it is connected, by issuing an instruction, as a function of the value(s) of variables relating to this device.

[0041] In other words, each instruction is associated with at least one state variable relating to the device controlled by said instruction.

[0042] Furthermore, each instruction issued is dependent on the state constraint(s) relating to said device.

[0043] Thus, for example, the instruction sent to the heat engine M designates the value of the torque to be applied to the heat engine M and is in particular a function of the speed of the vehicle and the power demand of the driver of the vehicle. For example again, the instruction sent to the electric machine ME designates the torque to be applied to the electric machine ME and is a function of the state of charge of the battery 30 and the power demand of the driver.

[0044] The instruction sent to the catalyst 20 concerns the temperature in the catalyst 20 and is a function of the temperature measured in the catalyst 20 and the state constraints, described previously.

[0045] The instruction sent to the cooling device 10 concerns the temperature of the coolant and is dependent on the measured temperature of the coolant and the state constraints, described previously.

[0046] The calculator 40 is also capable of determining the maximum theoretical variation of each state variable from the initial value of each variable, between an initial instant and the end of the duration to be considered, so that the variation of each state variable respects all of the state constraints specific to it.

[0047] The initial time can be defined as the time at which the theoretical variation is determined, whether at vehicle start-up or at any other time after vehicle start-up and during vehicle operation.

[0048] The computer 40 is also configured to determine the domain of applicable instructions comprising a set of values ​​for each instruction, each instruction value being selected by the computer 40 so that the variation of each state variable of the system respects the maximum theoretical variation determined for said state variable.

[0049] The computer 40 is also configured to implement the principle of the PMP method, in other words the Pontryagin Maximum Principle method, by determining the Hamiltonian function H (x, u*, X) from the different setpoint values ​​of the applicable setpoint domain.

[0050] The calculator 40 is also configured to calculate, for all the state constraints, the Lagrangian function: L (x, u*, X, p) and therefore the “Karush, Kuhn & Tucker” (KKT) parameters p, known to those skilled in the art, so that the Lagrangian function: L (x, u*, X, p) is minimal in the complete domain of instructions, comprising all the instructions and not only the instructions selected in the domain of the applicable instructions.

[0051] The computer 40 comprises a processor capable of implementing a set of instructions making it possible to carry out these functions.

[0052] Method

[0053] With reference to [Fig.2], an embodiment of the vehicle energy optimization method according to the invention implemented by a computer 40 as described previously will now be described.

[0054] The criteria to be optimized therefore concern the fuel and electrical energy consumption of the vehicle.

[0055] In order to simplify the description, the different variables considered are the following: the torque of the heat engine M, the temperature of the coolant of the cooling device 10 and the temperature in the catalyst 20.

[0056] Other parameters could be considered, such as the torque of the electric machine ME or even parameters concerning at least one device relating to the electric machine ME.

[0057] The method firstly comprises a step E0 of defining an initial state at an initial instant. The initial instant can be defined at any instant of vehicle operation, from its start to its stop. At the initial instant, each state variable is defined by a value.

[0058] Following the step E0 of defining an initial state, the method comprises a step E1 of sending the value of each state variable at the initial instant, to the computer 40. According to the example presented here, the computer 40 therefore receives the value of the torque of the heat engine M, the temperature of the coolant of the cooling device 10 and the temperature in the catalyst 20.

[0059] The method then comprises a step E2 of defining a so-called “prediction” duration dH, to be considered from the initial instant. For example, the calculator 40 defines that the prediction duration dH to be considered is 10 seconds.

[0060] The method also comprises a step E3 of determining the maximum theoretical variation of each state variable. The maximum theoretical variation is defined over the prediction duration dH and in particular from the initial instant, so that each variable respects all of the state constraints specific to it. In other words, the determination step E3 therefore corresponds to a step of predicting the value of each state variable as a function of time during the defined duration to be considered. According to a first example, when a variable is limited by a minimum value Xmin, the value x of the variable must always be greater than the minimum value Xmin over the duration to be considered. This is particularly the case for the value of the temperature in the catalyst 20.

[0061] In this step, a maximum theoretical variation Xth is determined for each state variable from its so-called “state” equation giving the gradient of this state variable, and determined over a predefined prediction duration dH.

[0062] Thus we obtain:

[0063] Xth > Xmin, with Xth = x + dx / dt(x,u).dH

[0064] And where: i. dH defines the prediction duration to be considered, ii. Xth corresponds to the predictive value of the theoretical variation over the prediction duration dH, iii. x corresponds to the value of the state variable, iv. dx / dt(x,u) defines the dynamic model of the device state variable depending on the values ​​of predefined physical parameters (in particular the torque curve of the thermal engine M and the electric machine ME, the efficiency table of a thermal engine M, the battery capacity,) and the setpoint values ​​u to be applied to the variable.

[0065] For example, for a prediction duration dH defined at 10 seconds, when the temperature value in the catalyst 20 must be greater than 60°C, and the initial temperature value in the catalyst 20 is 80°C, then it is not possible to decrease the temperature value in the catalyst more than 2°C per second so that the temperature in the catalyst 20 is always greater than the constraint, in other words 60°C.

[0066] According to a second example, when a state variable is limited by a maximum value Xmax, this is notably the case for the value of the temperature of the cooling liquid of the cooling device 10, the value x of the variable must always be less than the maximum value Xmax over the duration to be considered.

[0067] Thus we obtain:

[0068] Xth < Xmax, with Xth = x + dx / dt(x,u).dH

[0069] For example, for a prediction duration dH defined at 10 seconds, when the coolant temperature value must be less than 90°C, and the initial coolant temperature value is 70°C, then it is not possible to further increase the coolant temperature value by 2°C per second so that the coolant temperature is always below the constraint, i.e. 90°C.

[0070] Thus, the determination step E3 here makes it possible to determine the maximum theoretical variation of the variable while respecting the constraint(s) of said variable.

[0071] When the step E3 of determining the maximum theoretical variation of each state variable is carried out, then the method comprises a step E4 of determining the domain of applicable setpoints. The domain of applicable setpoints comprises a set of values ​​for each setpoint, each setpoint value is selected so that the variation of each state variable respects the maximum theoretical variation of said state variable, determined during the previous step.

[0072] According to the first example, the determination of the domain of applicable instructions could be modeled in the following manner:

[0073] (dx / dt(x,u)) > (Xmin - x) / dH

[0074] Thus, the domain of applicable instructions includes all the instruction values ​​u respecting the above inequality and therefore includes instruction values ​​u for which the variation of the state variable x is greater than the minimum value Xmin.

[0075] According to the second example, the determination of the domain of applicable instructions could be modeled in the following manner:

[0076] (dx / dt(x,u)) < (Xmax - x) / dH

[0077] Thus, the domain of applicable instructions includes all the instruction values ​​u respecting the above inequality and therefore includes instruction values ​​u for which the variation of the state variable x is less than the maximum value Xmax.

[0078] In other words, during the step E4 of determining the domain of applicable instructions, the computer 40 excludes the values ​​of each instruction which do not respect at least one state constraint applied to a state variable associated with said instruction.

[0079] The method then comprises a step E5 of determining the setpoint value in the applicable setpoint range determined previously, for which the energy consumption is the lowest.

[0080] More precisely, during the determination step E5, the computer 40 uses the principle of the PMP method, in other words the Pontryagin Maximum Principle method, and determines the Hamiltonian function H (x, u*, X) of the set of equations modeling the dynamics of the vehicle and from the different setpoint values ​​of the applicable setpoint domain. The computer 40 then determines the set of so-called “optimal” setpoints by minimizing the determined Hamiltonian function.

[0081] Adjoint states X (also called “adjoint parameters”, “Lagrange parameters”, “adjoint vectors”, or even “co-state vectors”) are also introduced.

[0082] These adjoint states are associated with the state equations which represent the conditions of the dynamic behavior of the physical system, and will allow the complete resolution of the optimization problem.

[0083] During the determination step E5, the computer 40 calculates, for all the state constraints, the “Karush, Kuhn & Tucker” (or KKT) parameters p, known to those skilled in the art, so that the Lagrangian function: L (x, u*, X, p) is minimal in the complete domain of the setpoints. The Lagrangian is determined as a function of the “Karush, Kuhn & Tucker” parameters p, themselves defined as a function of the state constraints and calculated in such a way that the optimal setpoints determined previously minimize the Lagrangian function. Thus, the computer 40 calculates the “Karush, Kuhn & Tucker” parameters p so that the derivative of the Lagrangian function is zero at the points of the optimal setpoints obtained.

[0084] First case

[0085] For example, when the calculator 40 determines the parameter of KKT p when a single device is capable of varying the energy consumption of the vehicle and therefore that the calculator 40 sends instructions to a single device and that each state variable only depends on a single constraint then:

[0086] LU; + gTh> ] _ I du - j tU=U .) I U'-» J

[0087] The function h denotes the equation that describes the constraint applied to a state variable x.

[0088] According to the first example, when a state variable is limited by a minimum value Xmin, then x > Xmin, in other words Xmin - x < 0. The function h corresponds to (Xmin - x).

[0089] According to the second example, when a state variable is limited by a maximum value Xmax, then x < Xmax, in other words x - Xmax < 0. The function h corresponds to (x - Xmax).

[0090] The function h' denotes the equation which describes the constraint applied to the variation of the predicted state variable x over the prediction duration dH.

[0091] According to the first example, when a state variable is limited by a minimum value Xmin, then Xth > Xmin, in other words x + dx / dt.dH > Xmin and (Xmin - x -dx / dt.dH) < 0. The function h' corresponds to (Xmin - x - dx / dt.dH).

[0092] According to the second example, when a state variable is limited by a maximum value Xmax, then Xth < Xmax, in other words x + dx / dt.dH < Xmax and (Xmax - x - dx / dt.dH > 0. The function h' corresponds to (x + dx / dt.dH - Xmax).

[0093] It is the function h' which is used in the calculation of the Lagrangian.

[0094] The parameter KKT p and the function h' are vectors of dimension equal to the number of constraints to consider for a state variable.

[0095] Second case

[0096] For example, when the computer 40 determines the parameter of KKT p when two devices are capable of varying the energy consumption of the vehicle and therefore the computer issues instructions to two devices and the state variables of the system must respect at least two constraints, then:

[0097] Hq^uA^zzH+i.tTh' 37 =0 (vector dimnj or (n=iO \ with / z (dimnp vector)

[0098] Where nu is equal to the number of devices to be controlled and where np is equal to the number of inequality constraints to be considered.

[0099] +» 0 « AP + b = 0 (u=u ) (u=u ) ' '

[0100] So with: dim(nu x np) and b = ^ ^dim^ au(u=u ) K 7 C - (u=u ) if n0>np then p =-(ArA) jWb

[0102] s - a | ors u _ _has t .(aA t ) '.b

[0103] if nu = np then u = -A4.b

[0104] According to the first and second examples, the method is implemented for the devices relating to the thermal engine M and therefore makes it possible to minimize fuel consumption. However, the method could also be implemented from the devices relating to the electric machine ME and thus minimize the electrical energy consumption.

[0105] Furthermore, the method can be repeated during use of the vehicle. Thus, a new initial time is defined, the prediction duration dH then being defined from the new initial time defined.

[0106] Thus, the method makes it possible to obtain, by determining a domain of instructions applicable previously to the implementation of the Hamiltonian function then of the Lagrangian function, instruction values ​​for which the consumption of energy, fuel and electrical energy of the vehicle is minimal.

[0107] The method also makes it possible to obtain setpoint values ​​for which the energy consumption is minimal by considering the predictive values, in other words the possible evolution, of each state variable over a prediction duration. The method makes it possible to determine the set of setpoints for which the minimum energy consumption over a prediction duration dH and no longer only at the present moment.

Claims

1. Claims Method for optimizing the energy consumption of a motor vehicle, the vehicle comprising a fuel tank, an electric battery (30) capable of supplying electrical energy, a heat engine (M), powered by the fuel tank, at least one electric machine (ME) powered by electrical energy supplied by the battery (30), at least one device (10, 20) relating to the heat engine (M) and at least one device (30) relating to the electric machine (ME), and a computer (40) for managing the powertrain of the motor vehicle on a predetermined route, the computer (40) being capable of controlling the heat engine (M) by issuing a so-called "thermal" instruction and the electric machine (ME) by applying a so-called "electric" instruction, the heat engine (M), the electric machine (ME), the at least one device (10,20) relating to the heat engine (M) and the at least one device (30) relating to the electric machine (ME) each being characterized by at least one state variable, each state variable making it possible to describe the operating state of the device that it characterizes, each state variable being dependent on at least one state constraint and being defined by an initial value at an initial instant, each setpoint being associated with at least one state variable, said method being characterized in that it comprises the steps of:, a. definition (E2) of a prediction duration from the initial instant, b. determination (E3) of the maximum theoretical variation of each state variable from the initial value of said state variable and over the prediction duration so that each state variable respects all of the state constraints specific to it, c. determination (E4) of the applicable setpoint domain comprising a set of values for each setpoint, each setpoint value is selected so that the variation of each state variable respects the maximum theoretical variation determined for said state variable, d. determination (E5) of the value of a thermal setpoint and the value of at least one electrical setpoint, in the

2. determined area of applicable instructions, by carrying out, for each instruction, the following steps: i. determination of so-called “optimal” instructions by minimizing the Hamiltonian of a system of equations modeling the dynamics of the vehicle, in the domain of the applicable instructions, ii. minimization of the Lagrangian function modeling the dynamics of the vehicle, the Lagrangian function being determined from the determined Hamiltonian and so-called “Karush, Kuhn & Tucker” parameters dJ) relating to the state constraints, in the complete domain of instructions, including all the instructions, the “Karush, Kuhn & Tucker” parameters p being determined so that the solution which minimizes the Hamiltonian in the domain of applicable instructions also minimizes the Lagrangian function in the complete domain: if n u >n p then u = -( A t .HAS) if n u < n P then p = -A t .(AA t ) '.b if nu = np then p = -A4.b where: nu is equal to the number of devices to be controlled, np is equal to the number of inequality constraints to be considered, A = J- :dim(n u xn P ) or(u=u) b h' denotes the equation which describes the constraint applied to the variation of the predicted state variable (x) over a prediction duration (dH). Computer (40) for managing the powertrain of a motor vehicle over a predetermined journey, the vehicle comprising a fuel tank, an electric battery (30) capable of supplying electrical energy, a heat engine (M) powered by the fuel tank, at least one electric machine (ME) powered by electrical energy supplied by the battery (30), at least one device (10, 20) relating to the heat engine (M) and at least one device (30) relating to the machine electric (ME), and a computer (40) for managing the powertrain of a motor vehicle over a predetermined route, the computer (40) being capable of controlling the heat engine (M) by issuing a so-called "thermal" instruction and the electric machine (ME) by applying a so-called "electric" instruction, the heat engine (M), the electric machine (ME), the at least one device (10, 20) relating to the heat engine (M) and the at least one device (30) relating to the electric machine (ME) each being characterized by at least one state variable, each state variable making it possible to describe the operating state of the device that it characterizes, each state variable being dependent on at least one state constraint and being defined by an initial value at an initial instant, each instruction being associated with at least one state variable, the computer being characterized in that it is configured to: a. define a prediction duration from the initial instant, b. determine the maximum theoretical variation of each state variable from the initial value of said state variable and over the prediction duration so that each state variable respects all of the state constraints specific to it, c. determine the applicable setpoint domain comprising a set of values for each setpoint, each setpoint value is selected so that the variation of each state variable respects each maximum theoretical variation determined for said state variable, d. determine the value of a thermal setpoint and the value of at least one electrical setpoint, in the determined applicable setpoint range, by carrying out, for each setpoint: i. the determination of so-called “optimal” instructions » by minimizing the Hamiltonian of a system of equations modeling the dynamics of the vehicle, in the domain of applicable instructions determined, ii. the minimization of the Lagrangian function modeling the vehicle dynamics, the function

3.

4. Lagrangian being determined from the determined Hamiltonian and so-called “Karush, Kuhn & Tucker” parameters dJ) relating to the state constraints, in the complete domain of instructions, including all the instructions, the “Karush, Kuhn & Tucker” parameters p being determined so that the solution which minimizes the Hamiltonian in the domain of applicable instructions also minimizes the Lagrangian function in the complete domain: if n u >n p then u = -( A t .HAS) if n u < n P then p = -A t .(AA t ) '.b if nu = np then p = -A4.b where: nu is equal to the number of devices to be controlled, np is equal to the number of inequality constraints to be considered, A = J- :dim(n u xn P ) or(u=u) b h' denotes the equation which describes the constraint applied to the variation of the state variable (x) predicted over a prediction duration (dH). Motor vehicle comprising at least one calculator according to the preceding claim. A computer program product characterized in that it comprises a set of program code instructions which, when executed by one or more processors, configure the processor(s) to implement a method according to claim 1.