METHOD FOR OPTIMIZING THE ENERGY CONSUMPTION OF A MOTOR VEHICLE
The method iteratively updates adjoint states using recursive least squares and real-time traffic data to address the initialization challenges in PMP-based energy optimization, ensuring optimal energy consumption in varying traffic conditions.
Patent Information
- Application Number
- FR2022012313
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-11-25
AI Technical Summary
Existing methods for optimizing motor vehicle energy consumption using the Pontryagin Maximum Principle (PMP) face challenges in accurately initializing adjoint states, leading to imprecise results due to discrepancies between the internal model and real-world traffic conditions, especially with unexpected disturbances.
A method that iteratively updates the adjoint state initialization using a recursive least squares method, incorporating real-time traffic data and dynamic simulations to refine the adjoint states, ensuring optimal energy consumption by minimizing fuel, hydrogen, or electrical energy.
The method provides precise and adaptive adjoint state initialization, maintaining optimal energy consumption control despite varying traffic conditions, by integrating real-time traffic data and dynamic simulations.
Smart Images

Figure 00000024_0000 
Figure 00000024_0001
Abstract
Description
Title of the invention: METHOD FOR OPTIMIZING THE ENERGY CONSUMPTION OF A MOTOR VEHICLE
[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 over a predefined route. The invention aims in particular to generate optimized instructions for controlling the vehicle over said route to be traveled while minimizing the energy consumption of the vehicle. For the purposes of the present invention, the term "energy consumption of the vehicle" means consumption of fuel, hydrogen, electrical energy, electrical current delivered by the branches of an electronic charger of an electric battery of the vehicle, the number of restarts of a generator set in a series hybrid vehicle (also called a "range extender" in English), or even a combined consumption of several of these elements.
[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, on hydrogen consumption (in the case of a vehicle equipped with a fuel cell) or on two or three of these criteria 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 hydrogen 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 variables of the vehicle (vehicle speed, state of charge of the battery, and / or super-capacitors, temperatures, etc.) and different inputs or instructions (torque instructions to be applied to the vehicle wheels for the thermal engine or for the electric machine(s), torque instructions to be applied for the generator set engine(s), and / or power or current instructions for the fuel cell, and / or catalyst heating instructions, and / or cooling circuit control instructions, etc.). The Hamiltonian function is minimized in order to determine the instructions allowing the minimum consumption of fuel or hydrogen, and / or electrical energy to be obtained.
[0004] Each input or instruction is dependent on the state of certain variables. For example, the torque setpoint for the electric machine to be applied to the vehicle wheels is dependent on the vehicle speed and the battery charge state, the cooling circuit control setpoint is dependent on the real-time temperature in the cooling circuit, the catalyst heating setpoint is dependent on the real-time temperature in the catalyst.
[0005] The Hamiltonian thus determined is then minimized. In other words, the setpoint values for which the Hamiltonian value is the lowest are selected and applied to the vehicle. The setpoint values are thus determined in real time based on the current state of the system.
[0006] The application of such a PMP model thus uses an internal model describing the dynamics of the system to be controlled (here the motor vehicle and its powertrain), via differential equations (also called "state equations") which give a representation of the system. Such a PMP model is therefore mainly based on an optimal open-loop control strategy, which calculates the optimal control solution based on the predictions of the internal model. Equations called "optimality conditions" using "adjoint states" (also called "co-states", "adjoint parameters", "Lagrange parameters", or "dual variables") are also used in solving the optimization problem. These adjoint states are associated with the state equations, represent the conditions of the dynamic behavior of the physical system, and allow the complete resolution of the optimization problem.The adjoint states must in fact respect gradient equations to guarantee the optimal nature of the global solution provided by the PMP model.
[0007] However, the problem of initializing these adjoint states is a crucial problem to be solved in order to improve the accuracy of the final results obtained for the optimization, and to prevent the internal model from differing too much from the real physical system. The reinitialization (or re-calibration) of the adjoint states is indeed necessary at certain instants or time periods, in particular when the traffic conditions change (due in particular to external disturbances, new obstacles detected on the road, changes of routes, etc.). For this purpose, it is known to initialize the adjoint states via a method called the "shot method". Such a shot method is based on iterative simulations carried out on a predicted current scenario (in other words on a predictive horizon indicating in particular the distances, curves and slopes of the road, mandatory signal stops, traffic density, etc.in the case of a motor vehicle, when such a predictive horizon is available for the system). More precisely, target values for the final states of the state variables or the adjoint states are initially defined within a computer embedded in the vehicle (such target values . to be reached at the end of the predicted current scenario). Simulations of the optimal control are then carried out on the basis of this predicted current scenario, for different initialization values of the adjoint states. Each simulation (or "shot") consists of a numerical simulation of the internal model which begins with the initialization values of the adjoint states, and which is applied throughout the predicted current scenario. At the end of each "shot", the calculated final states of the state variables or adjoint states are then compared to the target values predefined in the calculator. A correction on the next initialization values of the adjoint states is then calculated and applied to the model equations. The "shots" are repeated until the target values are reached with acceptable accuracy (determined via a predefined accuracy threshold), or until a maximum number of iterations have been carried out.The initialization values of the adjoint states that lead to the “best” final states of the state variables or adjoint states are then provided as input to the PMP model, for the pursuit of the “real” optimal control of the vehicle’s energy consumption.
[0008] When direct mathematical resolutions are not available due to the excessive complexity of the system considered, the initialization of the adjoint states via a "shot method" thus remains the main known method for adjusting the parameters of the PMP model, with a very large influence (or sensitivity) on the final states of the system. This initialization thus requires the greatest precision, even if the energy consumption of the vehicle is correctly minimized on the predicted current scenario. However, in the solutions of the prior art, it frequently happens that this initialization of the adjoint states is relatively imprecise and / or becomes erroneous in real traffic conditions with variable or unexpected disturbances. This leads to imprecise and / or erroneous final values for the state variables or the adjoint states, possibly very far from the target values.Optimality is then not achieved for the expected traffic conditions.
[0009] There is therefore a need to be able to have an optimal control method allowing the optimization of the energy consumption of a motor vehicle by implementing a PMP model, offering a more precise and more accurate initialization of the adjoint states, despite the possible differences between the internal model and the real physical system, and making it possible to maintain the optimality of the control whatever the traffic conditions.
[0010] To this end and according to a first aspect, the invention relates to a method, implemented in a computer embedded in a motor vehicle, for optimizing the energy consumption of the vehicle, the vehicle comprising a fuel or hydrogen tank, an electric battery and / or super-capacitors capable of supplying electrical energy, a heat engine powered by the fuel or hydrogen tank, a thermal engine powered by the fuel or hydrogen tank, a thermal engine powered by the thermal engine ...fuel or a fuel cell powered by the hydrogen tank, at least one electric machine powered by electrical energy supplied by the battery and / or the supercapacitors, at least one device relating to the heat engine or the fuel cell, at least one device relating to the electric machine, and at least one device relating to the electric battery or the supercapacitors, the route of the vehicle over a predetermined distance as well as traffic conditions being predefined or predicted within the computer, the computer being configured to manage the powertrain of the motor vehicle over a predetermined route and being capable of controlling the heat engine or the fuel cell, the electric machine and / or the devices by issuing a set of instructions, the heat engine or the fuel cell, the electric machine, and the devices 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, the entire thermal engine or fuel cell, the electric machine, and the devices being represented by a system of state equations modeling the dynamics of the vehicle, said state equations being a function at least of the instantaneous setpoint values and the state variables, a set of adjoint states being associated with the state equations and representing the conditions of the dynamic behavior of the vehicle, the energy consumption to be optimized being defined in a criterion equation as being the sum between, on the one hand, the cumulative instantaneous fuel or hydrogen consumption of the thermal engine or fuel cell and, on the other hand, a terminal corrective term representing electrical energy extracted from or stored in the electric battery or the supercapacitors,the terminal corrective term being a function of the difference in state of charge between, on the one hand, the state of charge of the electric battery or super-capacitors at the end of the predetermined journey and, on the other hand, the state of charge of the electric battery or super-capacitors at the start of the predetermined journey, said corrective term being a linear function defined by a proportionality factor, said method being implemented for a duration divided into constant sampling instants, the method comprising, at each sampling instant, the steps of: , - calculation, for each setpoint, of all possible values of a Hamiltonian function of said setpoint, using at least the criterion equation, and - determination of the value of each setpoint for which said Hamiltonian function is the lowest, the calculator being configured to define target values for the final states of the state variables or the adjunct states as a function of the traffic conditions predefined or predicted within the calculator, the current state variables being selected by the calculator as initial states, and the method further comprising a phase of updating the criterion equation, said phase comprising the steps of: - selection of a first initial value for the adjoint states; - calculation, based on said initial states and the first initial value selected for the adjunct states, as well as an internal model pre-installed in the calculator, a first simulation of the internal model for said traffic conditions predefined or predicted within the calculator, a first pair of values formed by an energy consumption of the vehicle and a difference in state of charge of the electric battery or super-capacitors being obtained at the end of the calculation step of the first simulation; - if, at the end of the calculation step of the first simulation, the target values for the final states of the state variables or the adjoint states are not reached: • selection of a second initial value for the adjoint states, distinct from the first initial value; • calculation, as a function of said initial states and the second initial value selected for the adjoining states, as well as the internal model, of a second simulation of the internal model for said predefined or predicted traffic conditions within the calculator, a second pair of values formed by an energy consumption of the vehicle and a difference in state of charge of the electric battery or super-capacitors being obtained at the end of the calculation step of the second simulation; - if, at the end of the calculation step of the second simulation, the target values for the final states of the state variables or the adjoint states are not reached: • calculation, as a function of the first and second pairs of values of energy consumption of the vehicle and difference in state of charge of the electric battery or super-capacitors, of a first estimate of the proportionality factor, using a predefined gradient estimation method, the first estimate of the proportionality factor being used to update the criterion equation of the energy consumption to be optimized; and - looping of the previous steps until the target values for the final states of the state variables or the adjoint states are reached.
[0011] In the method described above, the steps other than the update phase are looped iteratively at each new sampling time. In addition, the method is implemented for a predefined / given route for the vehicle. Such a route is for example predicted by an "electronic information horizon" type system (or "eHorizon" in English, which is classically based on the ADASIS data format standard - from the English "Advanced Driver-Assistance Systems Interface Specifications" - for predictive driving assistance systems, or on any other type of device), which is connected to the vehicle's computer.
[0012] 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 operation of the vehicle on the given or planned route, while minimizing the energy consumption of the vehicle. In addition, the method according to the invention makes it possible, during the update phase, to adapt the estimation of the terminal corrective term as well as to extract an estimation of the proportionality factor, in an integrated “observer” strategy. As a result, thanks to the update phase of the method, the initialization of the adjoint states is more precise and more accurate, despite the possible deviations between the internal model and the real physical system, and makes it possible to maintain the optimality of the control whatever the traffic conditions.
[0013] According to a first variant embodiment, said update phase is implemented at predetermined regular time intervals.
[0014] According to another embodiment variant, the method further comprises a step of detecting at least one predetermined condition, said at least one predetermined condition relating to the route of the vehicle and / or the traffic conditions predefined or predicted within the computer, and said updating phase is implemented only when said at least one predetermined condition has been detected by the computer. Such a predetermined condition is for example related to external disturbances or new obstacles detected on the road, etc.
[0015] Advantageously, the traffic conditions are predicted within the computer according to a predetermined time horizon, via a system for managing static and / or dynamic data relating to the road infrastructure and / or road traffic connected to the computer, the computer being configured to receive said traffic conditions according to sliding time windows throughout the route of the vehicle over said predetermined distance. This makes it possible to maintain the optimality of the control when the traffic conditions are predicted according to a finite time horizon, as well as to calibrate the co-states.
[0016] Preferably, said predefined gradient estimation method is a linear regression method, in particular a recursive least squares method. Such a recursive least squares method makes it possible to filter out non-linearities in the pairs of values: energy consumption of the vehicle and difference in state of charge of the electric battery or super-capacitors obtained at the end of the various shots taken during the update phase.
[0017] More preferably, when the predefined gradient estimation method is a recursive least squares method, the last estimate of the proportionality factor calculated during the update phase is saved in the computer. This makes it possible to substantially reduce the size of the data saved in the memory of the computer at each new iteration of the update phase.
[0018] According to one embodiment of the invention, said predetermined route that the vehicle must take is segmented by the computer into N successive route segments, N being a predefined integer, and the computer defines, during the update phase, one or more target value(s) for the adjoint states on N1 route segments, and defines one or more target value(s) for the final states of the state variables on the remaining route segment.
[0019] According to a particular example of this embodiment, said N1 path segments correspond to the first N1 segments of the predetermined path that the vehicle must take, said remaining path segment corresponding to the last segment of said predetermined path.
[0020] Preferably, according to this embodiment, the calculator requires the adjoining states, on said N1 path segments, to converge towards a target value whose value corresponds to said proportionality factor.
[0021] According to one embodiment of the invention, the method further comprises, at each sampling instant, the steps of: - determination of a domain of applicable instructions comprising a set of values for each instruction, - calculation, for each setpoint and in the determined applicable setpoint domain, of all possible state gradients for said setpoint, using at least the state equations, - calculation, for each setpoint and in the determined applicable setpoint domain, of all possible values for the energy consumption to be optimized, using at least the criterion equation.
[0022] The invention also relates to a computer for managing the powertrain of a motor vehicle over a predetermined route, the vehicle comprising, in addition to the computer, a fuel or hydrogen tank, an electric battery and / or supercapacitors capable of supplying electrical energy, a heat engine powered by the fuel tank or a fuel cell powered by the hydrogen tank, at least one electric machine powered by electrical energy supplied by the battery and / or the supercapacitors, at least one device relating to the heat engine or the fuel cell, at least one device relating to the electric machine, and at least one device relating to the electric battery or the super-capacitors, the route of the vehicle over a predetermined distance as well as traffic conditions being predefined or predicted within the computer, the computer being able to control the heat engine or the fuel cell, the electric machine and / or the devices by issuing a set of instructions, the heat engine or the fuel cell, the electric machine, and the devices 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, the entire heat engine or the fuel cell, the electric machine, and the devices being represented by a system of state equations modeling the dynamics of the vehicle, said state equations being a function at least of the instantaneous setpoint values and the state variables,a set of adjoint states being associated with the state equations and representing the conditions of the dynamic behavior of the vehicle, the computer being configured to implement the steps of the method as described previously.
[0023] The invention also relates to a motor vehicle comprising a fuel or hydrogen tank, an electric battery and / or supercapacitors capable of supplying electrical energy, a heat engine powered by the fuel tank or a fuel cell powered by the hydrogen tank, at least one electric machine powered by electrical energy supplied by the battery and / or the supercapacitors, at least one device relating to the heat engine or the fuel cell, at least one device relating to the electric machine, at least one device relating to the electric battery or the supercapacitors, and a computer for managing the powertrain of the motor vehicle over a predetermined route, the route of the vehicle over a predetermined distance as well as traffic conditions being predefined or predicted within the computer,the computer being capable of controlling the heat engine or the fuel cell, the electric machine and / or the devices by issuing a set of instructions, the heat engine or the fuel cell, the electric machine, and the devices 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, the entire heat engine or the fuel cell, the electric machine, and the devices being represented by a system of state equations modeling the dynamics of the vehicle, said state equations being a function at least of the instantaneous setpoint values and the state variables, in which the computer is as described previously.
[0024] 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 the method as described above.
[0025] Embodiments of the present invention will be described below, by way of non-limiting examples, with reference to the appended figures in which: - [Fig.l] schematically illustrates a vehicle according to the invention, the vehicle being equipped with an on-board computer; and - [Fig.2] is a flowchart representing a method for optimizing the energy consumption of the vehicle, implemented by the computer of [Fig.l], according to the present invention.
[0026] Referring to [Fig. 2] the present invention relates to a method, implemented in a computer 4 embedded in a motor vehicle 2 (visible in [Fig. 1]), for optimizing the energy consumption of the motor vehicle 2. The motor vehicle 2 is for example (but not limited to) a hybrid vehicle. In addition to the computer 4, such a hybrid vehicle 2 also conventionally comprises a thermal engine M (in the case of a hybrid vehicle 2 of the “thermal-electric” type), often called an “ICE” for “Internal Combustion Engine” in English, or a fuel cell P operating for example on hydrogen (in the case of a hybrid vehicle 2 of the “hydrogen-electric” type). Such a hybrid vehicle 2 further comprises at least one electrical machine ME, often called an “EMA” for “Electrical Machine” in English, a fuel tank or a hydrogen tank (not shown in [Fig.l]) and a power supply battery 30 (or supercapacitors in a variant not shown).
[0027] The motor vehicle 2 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, or at least one device relating to the fuel cell P (such a device not being shown in [Fig.l]). 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. 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. 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 catalyst heating device 20 must be supplied with electrical energy to operate. The motor vehicle 2 also comprises at least one device relating to the electric machine ME, in particular a set of voltage converters (not shown in [Fig.l]) making it possible to convert the voltage between the battery 30 and the electric machine ME. The motor vehicle 2 also comprises at least one device relating to the electric battery 30 (or to the . supercapacitors), such a device not being shown in [Fig.l] for reasons of clarity.
[0028] The heat engine M is in particular capable of being powered from the fuel supplied by the fuel tank, and the fuel cell P is capable of being powered by the hydrogen tank. The heat engine M also comprises a system for exhausting the exhaust gases emitted during the combustion of the mixture of air and fuel in the heat engine M. The electric machine ME is capable of being powered by the electrical energy supplied by the battery 30.
[0029] The vehicle 2 may comprise other devices relating to the thermal engine M or to the fuel cell P, and other devices relating to the electric machine ME.
[0030] The term “system” refers to the set of elements mounted in the vehicle 2, capable of consuming or producing electrical energy, fuel or hydrogen. For example, the system comprises all of the devices described previously: the heat engine M or the fuel cell P, the electric machine ME, the cooling device 10, the catalyst 20 and the battery 30.
[0031] 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 again, the catalyst 20 is characterized by an internal temperature value. For example still, the battery 30 is characterized by a state of charge variable, the heat engine M is characterized by a rotation speed, the fuel cell P is characterized by a temperature or pressures prevailing in the hydrogen and oxygen supply circuits, etc.
[0032] The energy consumption to be optimized of the vehicle 2, to be optimized via the method according to the present invention, is represented by a criterion equation g(u~ q). The criterion equation ^u, q) is a function at least of the instantaneous setpoint values u and the state variables. More preferably, the criterion equation is also a function of disturbances and / or setpoints w applied to the vehicle 2, and is then written g(u, q, w). The energy consumption J to be optimized over a given time interval T is linked to the criterion equation via the following equation: y J = $og(u,q,w)dt
[0033] Furthermore, the energy consumption J to be optimized is defined as being the sum between, on the one hand, the cumulative instantaneous consumption Ji of fuel or hydrogen of the heat engine M or the fuel cell P, and on the other hand a terminal corrective term Jc representing electrical energy extracted from or stored in the battery 30 (or the super-capacitors). The terminal corrective term / c can be calculated from the difference in state of charge between, on the one hand, the state of charge SoC finai of the electric battery 30 (or super-capacitors) at the end of the journey of vehicle 2 and on the other hand the state of charge SoCinUja! of the electric battery 30 (or super-capacitors) at the beginning of the journey of vehicle 2. Thus, the terminal corrective term Je is then expressed as: je = k.(SoCfinat - SoCiM)
[0034] with k a positive proportionality factor, and the value of Jc being positive if the difference (SoCfinal — SoC -t- is positive (in which case electrical energy is stored in the battery 30 or in the super-capacitors, and the corrective term / c is subtracted from the cumulative instantaneous consumption Ji in the expression of 7), the value of Jc being negative if the difference (SoCfi„al — SoCj i(j. c is negative (in which case electrical energy is extracted from the battery 30 or from the super-capacitors, and the corrective term / t is added to the cumulative instantaneous consumption Ji in the expression of J)
[0035] The energy consumption J to be optimized is then expressed in the criterion equation as: J — J i~ k.(&oCfinal
[0036] The system is represented by a system of state equations f(u, q) modeling the dynamics of the vehicle 2. The state equations / (w, q) are a function at least of the instantaneous setpoint values u and the state variables ¢. More preferably, the state equations are also a function of the disturbances and / or the setpoints w applied to the vehicle 2, and are then written f(u, q, w).
[0037] The computer 4 is for example part of a data processing unit storing a computer application or program capable of cooperating with the computer 4 (the data processing unit and the computer application or program not being shown in [Fig.l] for reasons of clarity). Alternatively, the computer application or program is stored directly in the computer 4. The computer 4 is connected to the heat engine or to the fuel cell P, to the electric machine ME, to the electric battery 30, as well as to all of the devices described previously including in particular the cooling device 10 and the catalyst 20. The computer 4 is also connected to a system for managing static and / or dynamic data relating to the road infrastructure and / or road traffic (such a system not being shown in [Fig.l]).The static and / or dynamic data management system is, for example, configured according to a "cloud" architecture and makes it possible to provide (or even predict) a time horizon regarding the operating cycle (or period of change of state) of road infrastructure elements detected in front of the vehicle on its route, depending in particular on the speed of the vehicle and the traffic density on the road. The . management system also makes it possible to predict distances, curves and slopes of the road, mandatory signal stops, traffic density, etc. The management system is for example an "electronic information horizon" type system (or "eHorizon" in English, which is classically based on the ADASIS data format standard - from the English "Advanced Driver-Assistance Systems Interface Specifications" - for predictive driver assistance systems, or on any other type of device). In a manner known per se, such an "eHorizon" type system makes it possible to manage both static data relating to the road infrastructure (such as for example the nature of the roads, intersections, the regulatory speed limits applied, etc.), and dynamic data (average speed of vehicles located on the road, traffic density, dynamic data relating to road infrastructure elements, etc.), all the static and dynamic data representing the traffic conditions. Such an “eHorizon” type system is capable of receiving this data, decoding it (via a decoder), reconstructing it (via a data reconstructor), and transmitting it to the computer 4, and can implement vehicle route prediction algorithms using for example the concept of “most probable route or path”. The computer 4 is configured to receive the traffic conditions predicted by the management system, according to sliding time windows along the route of the vehicle 2, over the distance of the route traveled by the vehicle 2.
[0038] The computer 4 is capable of receiving a measurement of each state variable value relating to each device. In addition, the computer 4 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.
[0039] 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 fuel cell P designates the power that the fuel cell P is asked to supply and is a function of the state of charge of the battery 30 and / or the super-capacitors, as well as the power demand of the driver. 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.
[0040] The setpoint sent to the catalyst 20 relates to the temperature in the catalyst 20 and is a function of the temperature measured in the catalyst 20. The setpoint sent to the cooling device 10 relates to the temperature of the coolant and is dependent on the measured temperature of the coolant.
[0041] The calculator 4 is also configured to determine the setpoint domain applicable comprising a set of values for each setpoint. The computer 4 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, À) from the different setpoint values of the applicable setpoint domain. The notation u* is introduced here, which represents the optimal control. Adjoint states À (also called “adjoint parameters”, “Lagrange parameters”, “adjoint vectors”, or even “co-state vectors”) are also introduced. These adjoint states are associated with the equations of state, represent the conditions of the dynamic behavior of the physical system, and will allow the complete resolution of the optimization problem.The computer 4 is further configured to define target values for the final states of the state variables Q or the adjoint states d, depending on the traffic conditions predefined or predicted within the computer 4.
[0042] The computer 4 comprises a processor capable of implementing a set of instructions making it possible to carry out these functions.
[0043] With reference to [Fig. 2], an embodiment of the method for optimizing the energy consumption of the vehicle 2 according to the invention will now be described, implemented by a computer 4 as described previously.
[0044] In order to simplify the description, the variable considered is the state of charge of the battery 30 or of the supercapacitors. The different control instructions considered are for example: the torque of the thermal engine M and the torque of the electric machine ME. Other parameters could be considered, concerning the at least one device relating to the electric machine ME or parameters concerning the fuel cell P or the at least one device relating to the fuel cell P, or even parameters concerning the at least one device relating to the battery 30 or to the supercapacitors.
[0045] The method is implemented for a duration divided into constant sampling instants, and comprises steps which are looped iteratively at each new sampling instant. The sampling duration between two consecutive sampling instants depends on the dynamics of the system and can be chosen, for example, between 10 ms and 500 ms, typically equal to 100 ms.
[0046] According to a particular embodiment illustrated in FIG. 2, the method comprises an initial step 22 during which the computer 4 determines a domain of applicable instructions u comprising a set of values for each instruction u to be applied to the variables.
[0047] The method then comprises a following step 24 during which the calculator 4 calculates, for each setpoint and in the determined domain of applicable setpoints u, all the possible state gradients for said setpoint, using at least minus the equations of state f(u^ q, w) describing the system.
[0048] The method comprises a parallel or following step 26 during which the calculator 4 calculates, for each instruction and in the determined domain of applicable instructions u, all the possible values for the criterion or the combination of criteria to be optimized, using at least the criterion equation g(u, q, w) - In a variant not shown, the calculation steps 24, 26 can be reversed.
[0049] The method then comprises a following step 28 during which the computer 4 calculates, for each setpoint and in the determined domain of applicable setpoints u, all the possible values H of a Hamiltonian function H(u, q, λ, w) of said setpoint, using the state gradient values and the possible values for the energy consumption to be optimized determined for this setpoint. To do this, the computer 4 uses the principle of the PMP method, in other words the Pontryaguin Maximum Principle method.
[0050] The Hamiltonian function H(u, q, z. vv) is then expressed as: H{u, q, A, w) = [g(w, q, w)] + q, w)] with AT the transpose of the adjoint vector A.
[0051] The computer 4 then determines, during a following step 31, the set of so-called “optimal” setpoints u*, by minimizing, for each of the setpoints, the Hamiltonian function calculated during the previous step 28. In the embodiment considered, the computer 4 thus determines a first optimal “thermal” setpoint intended to control the thermal engine M, and a second optimal “electrical” setpoint intended to control the electrical machine ME.
[0052] According to the invention, a phase 32 of updating the criterion equation, carried out by the computer 4, can furthermore be implemented during the method. According to a first variant embodiment (not illustrated in [Fig. 2]), the updating phase 32 is implemented at predetermined regular time intervals, spaced apart for example by several minutes. According to another variant embodiment, illustrated in [Fig. 2], the method comprises a step 34 during which the computer 4 detects at least one predetermined condition. The predetermined condition(s) typically relate to the route of the vehicle 2 and / or the traffic conditions predefined or predicted within the computer 4. Such predetermined conditions relate, for example, to external disturbances, a change of route or new obstacles detected on the road, etc.The update phase 32 is then implemented only when the predetermined condition(s) have been detected by the computer 4.
[0053] Initially, during the update phase 32, the current state variables ^«wrantesAre selected by the computer 4 as initial states. In addition, the calculator 4 defines target values for the final states of the state variables ? or the adjoint states 2, depending on the traffic conditions predefined or predicted within the calculator 4. The update phase 32 corresponds to the “shot method” and includes a first step 36 during which the calculator 4 selects a first initial value for the adjoint states 2.
[0054] The update phase 32 comprises a following step 38 during which the computer 4 calculates, as a function of the initial states and the first initial value selected for the adjoint states 2, as well as an internal model pre-installed in the computer 4, a first simulation of the internal model for the traffic conditions predefined or predicted within the computer 4. A first pair of values: energy consumption J1 of the vehicle 2 and difference in state of charge A SoCj of the electric battery 30 (or super-capacitors) is then obtained at the end of this calculation step 38; with A SoCi = (SoCfitlM - SoCiniiia^
[0055] If, at the end of step 38 of calculating the first simulation, the target values for the final states of the state variables Q or of the adjoint states 2 are reached, the update phase 32 ends. Otherwise, the update phase 32 comprises a following step 40 during which the calculator 4 selects a second initial value for the adjoint states 2, distinct from the first initial value. According to a first advantageous embodiment, the second initial value is selected by varying a step depending on the difference between the first initial value and the target value for the adjoint states 2, and by judiciously adjusting the value of the step. According to another advantageous embodiment, the second initial value is selected by inverting a neural network model (which assumes a prior phase of training and learning of the neural network).
[0056] The update phase 32 comprises a following step 42 during which the computer 4 calculates, as a function of the initial states and the second initial value selected for the adjoint states 2, as well as the internal model, a second simulation of the internal model for the traffic conditions predefined or predicted within the computer 4. A second pair of values: energy consumption 22 of the vehicle 2 and difference in state of charge A SoC 2 of the electric battery 30 (or super-capacitors) is then obtained at the end of this calculation step 42; with ASoC2 = {SoC^ - SoCM J
[0057] If, at the end of step 42 of calculating the second simulation, the target values for the final states of the state variables Q or of the adjoint states 2 are reached, the update phase 32 ends. Otherwise, the update phase 32 comprises a following step 44 during which the computer 4 calculates, as a function of the first and second pairs of values: energy consumption 21, 22 of the vehicle 2 and difference in state of charge A SoCb A SoC2 of the electric battery 30 (or super-capacitors), a first estimate of the proportionality factor k. Indeed, each simulation of the internal model carried out provides a pair of values: energy consumption of the vehicle 2 and difference in state of charge of the electric battery 30 (or super-capacitors); and the relationship between these two variables is an affine function. The slope coefficient of this affine function is the proportionality factor k, the ordinate at the origin being the value of the energy consumption of the vehicle 2 when the final state of charge of the electric battery 30 is equal to the initial state of charge of the latter.
[0058] This first estimation of the proportionality factor k (performed using an integrated “observer” strategy) is then used to update the criterion equation (detailed previously) of the energy consumption J to be optimized, the criterion equation thus updated being reused in the calculation step 26. The steps 36, 38, 40, 42, 44 of the update phase 32 are then looped using the updated criterion equation, until the target values for the final states of the state variables or the adjoint states 2 are reached. The update phase 32 then ends.
[0059] Step 44 of calculating an estimate of the proportionality factor k is performed by the computer 4 using a predefined gradient estimation method. Preferably, the gradient estimation method may be a linear regression method, formulated in the form of recursive least squares. In this case, the last estimate of the proportionality factor k calculated during the calculation step 44 is saved in the computer 4. Furthermore, such a recursive least squares method requires an initialization of the parameters after the second shot performed during step 42 of calculating the second simulation. Alternatively, the predefined gradient estimation method may be a mean value method, a generalized least squares method, or any other known gradient estimation method.
[0060] The method can be repeated during use of the vehicle.
[0061] According to one embodiment of the invention, the route that the vehicle 2 must take is segmented by the computer 4 into N successive route segments, N being a predefined integer. The computer 4 can then define, during the update phase 32, one or more target values for the adjoint states 2 on N1 route segments, and one or more target values for the final states of the state variables Q on the remaining route segment. This remaining route segment corresponds for example to the last segment of the route that the vehicle 2 must take, the N1 route segments then corresponding to the first N1 segments of the route. In this case, the final state of the state of charge of the battery 30 on the remaining route segment is for example imposed. The remaining route segment can alternatively cor respond to any other segment of the journey that the vehicle 2 must take. In this case, the final state of the state of charge of the battery 30 on this journey segment is for example imposed, typically when the vehicle 2 reaches the entrance to an urban area or arrives at an electric charging station during the journey. Alternatively, a final temperature in the passenger compartment of the vehicle 2 or in the catalyst may be imposed after a given minimum duration for a temperature rise during the warm-up phase.
[0062] Preferably, according to this embodiment, the computer 4 imposes on the adjoint states 2, on the Nl path segments for which the final states of the state variables ? are left free, to converge towards a target value whose value corresponds to the proportionality factor k. Indeed, in order to obtain the minimum value for the energy consumption J to be optimized at the end of a predicted scenario, without any constraint imposed on the final states of the state variables, the PMP method implies that the adjoint states 2 converge at the end of this predicted scenario towards a target value whose value corresponds to the proportionality factor k (the demonstration of this theorem being known from the prior art).
[0063] The method thus makes it possible to obtain setpoint values for which the energy consumption of the vehicle 2 is minimal.
[0064] Furthermore, the method according to the invention makes it possible, during the update phase, to adapt the estimation of the terminal corrective term as well as to extract an estimation of the proportionality factor, in an integrated “observer” strategy. As a result, thanks to the update phase 32 of the method, the initialization of the adjoint states 2 is more precise and more accurate, despite the possible deviations between the internal model and the real physical system, and this makes it possible to maintain the optimality of the control whatever the traffic conditions.
Claims
Claims
1. Method, implemented in a computer (4) embedded in a motor vehicle (2), for optimizing the energy consumption of the vehicle (2), the vehicle (2) comprising a fuel or hydrogen tank, an electric battery and / or supercapacitors (30) capable of supplying electrical energy, a heat engine (M) powered by the fuel tank or a fuel cell (P) powered by the hydrogen tank, at least one electric machine (ME) powered by electrical energy supplied by the battery and / or the supercapacitors (30), at least one device (10, 20) relating to the heat engine (M) or to the fuel cell (P), at least one device (30) relating to the electric machine (ME), and at least one device relating to the electric battery or to the supercapacitors (30),the route of the vehicle (2) over a predetermined distance as well as traffic conditions being predefined or predicted within the computer (4), the computer (4) being configured to manage the powertrain of the motor vehicle (2) over a predetermined route, said predetermined route that the vehicle (2) must take is segmented by the computer (4) into N successive route segments, N being a predefined integer, said Nl route segments correspond to the first Nl segments of the predetermined route that the vehicle (2) must take, said remaining route segment corresponding to the last segment of said predetermined route, the computer (4) being able to control the heat engine (M) or the fuel cell (P), the electric machine (ME) and / or the devices (10, 20, 30) by issuing a set of instructions, the heat engine (M) or the fuel cell (P), the electric machine (ME), and the devices (10, 20, 30)30) 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, the entire thermal engine (M) or fuel cell (P), electric machine (ME), and devices (10, 20, 30) being represented by a system of state equations modeling the dynamics of the vehicle (2), said state equations being a function at least of the instantaneous setpoint values and the state variables, a set of adjoint states being associated with the state equations and representing the conditions of the dynamic behavior of the vehicle (2), the energy consumption to be optimized being defined in a, criterion equation as being the sum between on the one hand the cumulative instantaneous fuel or hydrogen consumption of the heat engine (M) or the fuel cell (P) and on the other hand a terminal corrective term representing electrical energy extracted from or stored in the electric battery or the super-capacitors (30), the terminal corrective term being a function of the difference in state of charge between on the one hand the state of charge of the electric battery or the super-capacitors (30) at the end of the predetermined journey and on the other hand the state of charge of the electric battery or the super-capacitors (30) at the start of the predetermined journey, said corrective term being a linear function defined by a proportionality factor, said method being implemented for a duration divided into constant sampling instants, the method comprising, at each sampling instant, the steps of: - calculation (28), for each setpoint, of all possible values of a Hamiltonian function of said setpoint, using at least the criterion equation, and - determination (31) of the value of each setpoint for which said Hamiltonian function is the lowest, characterized in that the calculator (4) is configured to define one or more target values for the adjoint states on Nl journey segments, and define one or more target values for the final states of the state variables on the remaining journey segment, depending on the traffic conditions predefined or predicted within the calculator (4), the current state variables being selected by the calculator (4) as initial states, and in that the method further comprises a phase (32) of updating the criterion equation, said phase (32) comprising the steps of: - selection (36) of a first initial value for the adjoint states; - calculation (38), as a function of said initial states and the first initial value selected for the adjoining states, as well as an internal model pre-installed in the calculator (4), of a first simulation of the internal model for said traffic conditions predefined or predicted within the calculator (4), a first pair of values formed by a energy consumption of the vehicle (2) and a difference in state of charge of the electric battery or super-capacitors (30) being obtained at the end of the step (38) of calculating the first simulation; if, at the end of step (38) of calculating the first simulation, the target values for the final states of the state variables or the adjoint states are not reached: • selection (40) of a second initial value for the adjoint states, distinct from the first initial value; • calculation (42), as a function of said initial states and the second initial value selected for the adjoining states, as well as the internal model, of a second simulation of the internal model for said predefined or predicted traffic conditions within the calculator (4), a second pair of values formed by an energy consumption of the vehicle (2) and a difference in state of charge of the electric battery or super-capacitors (30) being obtained at the end of the step (42) of calculating the second simulation; if, at the end of step (42) of calculating the second simulation, the target values for the final states of the state variables or the adjoint states are not reached: • calculation (44), as a function of the first and second pairs of energy consumption values of the vehicle (2) and of the difference in state of charge of the electric battery or of the super-capacitors (30), of a first estimate of the proportionality factor, using a predefined gradient estimation method, the first estimate of the proportionality factor being used to update the criterion equation of the energy consumption to be optimized; and looping of the previous steps (36, 38, 40, 42, 44) until the target values for the final states of the state variables or the adjoint states are reached, the calculator (4) being configured to force the adjoint states, on said Nl path segments, to converge towards a target value whose value corresponds to said proportionality factor.
2. The method of claim 1, wherein said updating phase (32) is implemented at predetermined regular time intervals.
3. Method according to claim 1, wherein the method further comprises a step (34) of detecting at least one predetermined condition, said at least one predetermined condition relating to the route of the vehicle and / or the traffic conditions predefined or predicted within the computer (4), and wherein said updating phase (32) is implemented only when said at least one predetermined condition has been detected by the computer (4).
4. Method according to any one of claims 1 to 3, in which the traffic conditions are predicted within the computer (4) according to a predetermined time horizon, via a system for managing static and / or dynamic data relating to the road infrastructure and / or road traffic connected to the computer (4), the computer (4) being configured to receive said traffic conditions according to sliding time windows throughout the route of the vehicle (2) over said predetermined distance.
5. A method according to any one of claims 1 to 4, wherein said predefined gradient estimation method is a recursive least squares method.
6. Method according to claim 5, in which the last estimate of the proportionality factor calculated during the update phase (32) is saved in the calculator (4).
7. Method according to any one of claims 1 to 6, in which the method further comprises, at each sampling instant, the steps of: - determining (22) a domain of applicable setpoints comprising a set of values for each setpoint, - calculating (24), for each setpoint and in the determined domain of applicable setpoints, all possible state gradients for said setpoint, using at least the state equations, - calculating (26), for each setpoint and in the determined domain of applicable setpoints, all possible values for the energy consumption to be optimized, in using at least the criterion equation.
8. Computer (4) for managing the powertrain of a motor vehicle (2) over a predetermined route, the vehicle (2) comprising, in addition to the computer (4), a fuel or hydrogen tank, an electric battery and / or supercapacitors (30) capable of supplying electrical energy, a heat engine (M) powered by the fuel tank or a fuel cell (P) powered by the hydrogen tank, at least one electric machine (ME) powered by electrical energy supplied by the battery and / or the supercapacitors (30), at least one device (10, 20) relating to the heat engine (M) or to the fuel cell (P), at least one device (30) relating to the electric machine (ME), and at least one device relating to the electric battery or to the supercapacitors (30), the route of the vehicle (2) over a predetermined distance as well as traffic conditions being predefined or predicted within the computer (4),the computer (4) being capable of controlling the heat engine (M) or the fuel cell (P), the electric machine (ME) and / or the devices (10, 20, 30) by issuing a set of instructions, the heat engine (M) or the fuel cell (P), the electric machine (ME), and the devices (10, 20, 30) 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, the entire heat engine (M) or the fuel cell (P), the electric machine (ME), and the devices (10, 20, 30) being represented by a system of state equations modeling the dynamics of the vehicle (2), said state equations being a function at least of the instantaneous setpoint values and the state variables, a set of adjoining states being associated with the state equations and representing the conditions of the dynamic behavior of the vehicle (2),the calculator (4) being characterized in that it is configured to implement the steps of the method according to any one of claims 1 to 7.,
9. Motor vehicle (2) comprising a fuel or hydrogen tank, an electric battery and / or supercapacitors (30) capable of supplying electrical energy, a heat engine (M) powered by the fuel tank or a fuel cell (P) powered by the hydrogen tank, at least one machine electric machine (ME) powered by electrical energy supplied by the battery and / or the super-capacitors (30), at least one device (10, 20) relating to the heat engine (M) or the fuel cell (P), at least one device (30) relating to the electric machine (ME), at least one device relating to the electric battery or the super-capacitors (30), and a computer (4) for managing the powertrain of the motor vehicle (2) over a predetermined route, the route of the vehicle (2) over a predetermined distance as well as traffic conditions being predefined or predicted within the computer (4), the computer (4) being capable of controlling the heat engine (M) or the fuel cell (P), the electric machine (ME) and / or the devices (10, 20, 30) by issuing a set of instructions, the heat engine (M) or the fuel cell (P), the electric machine (ME), and the devices (10, 20,30) 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, the whole of the heat engine (M) or the fuel cell (P), the electric machine (ME), and the devices (10, 20, 30) being represented by a system of state equations modeling the dynamics of the vehicle (2), said state equations being a function at least of the instantaneous setpoint values and the state variables, the motor vehicle (2) being characterized in that the computer (4) for managing the powertrain conforms to claim 8.,
10. 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 the method according to any one of claims 1 to 7.
