Computer-implemented method for calibrating a control unit of an electric powertrain of a vehicle.

The combination of symbolic regression and model-based reinforcement learning simplifies the calibration of electric powertrains by creating transparent and efficient models for electric drive units, optimizing parameters like power loss and torque.

DE102022108392B4Active Publication Date: 2024-09-12DR ING H C F PORSCHE AG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
DE102022108392
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-04-07
Publication Date
2024-09-12
Estimated Expiration
2042-04-07

AI Technical Summary

Technical Problem

Existing methods for calibrating electric powertrains using reinforcement learning are difficult to understand and resource-intensive, with data-driven models being opaque and physics-based models time-consuming, and there is a lack of efficient methods to create environment models for learning agents.

Method used

A computer-implemented method combining symbolic regression and model-based reinforcement learning to automatically model an electric drive train using a mathematical formula, where a symbolic regression algorithm determines the model formula and a learning reinforcement agent minimizes deviations to calibrate the powertrain parameters.

Benefits of technology

This approach simplifies the creation of environment models and enhances the understanding and efficiency of calibration by providing a transparent and effective method to optimize parameters like electrical power loss and torque.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Computer-implemented method for calibrating a control unit (1) of an electric powertrain (2) of a vehicle, in which at least one characteristic parameter is determined, comprising the steps: - Initializing (100) a symbolic regression model (4) which is configured to receive data and measured values ​​of at least one operating parameter of the electric powertrain (2) and to generate at least one mathematical model formula describing the parameter and output it to a learning reinforcement agent (3), - Determining (200) a state of the electric powertrain (2), wherein this state is defined by data and measured values ​​of at least one operating parameter of the electric powertrain (2) and the value of the at least one characteristic at least partially depends on this operating parameter and wherein the learning enhancement agent (3) receives this state and the model formula of the symbolic regression model (4) as input variables and thereby observes the environment, - Executing (300) a learning reinforcement function wherein the learning reinforcement agent (3) interacts with the control unit (2) and performs at least one action which causes the control unit (3) to change the state of the electric drive train (2), also changing the state of the learning reinforcement agent (3) and the learning reinforcement agent (3) receives a positive or negative reward for its action, - re-determining (400) the state of the electric powertrain (2), whereby the data and measured values ​​of at least one operating parameter are fed to the symbolic regression model (4), - Execution (500) of the symbolic regression model (4) with the at least one operating parameter determined in the previous procedure step (400), wherein the at least one model formula is modified for modeling the at least one characteristic (K), - Repeated execution (600) of steps (200) to (500) with the model formula modified in the previous procedure step (500) until the calibration problem is solved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention relates to a computer-implemented method for calibrating a control unit of an electric drive train of a vehicle.

[0002] Definition: In the context of this application, the term “vehicle” is understood to mean land vehicles, in particular motor vehicles, watercraft, in particular boats, and aircraft.

[0003] An electric powertrain comprising an electric drive unit can be characterized by various parameters, such as the output voltage, which in an electric vehicle is usually an alternating voltage, and the internal torque generated by the electric drive unit. Another factor of interest is the electric drive unit's electrical power loss, which is particularly determined by the materials used in the rotor and stator, such as copper and iron, as these materials dissipate heat, particularly through friction. High power loss means the electric drive unit requires more energy to generate the desired torque. Therefore, knowledge of the electric drive unit's power loss is of great importance for vehicle operation.

[0004] Several approaches for calibrating a vehicle's electric powertrain are already known from the state of the art. These employ artificial intelligence methods, particularly reinforcement learning methods. A model of the electric powertrain is required to perform the calibration.

[0005] Calibrating electric powertrains using model-based reinforcement learning is already state of the art. The models used are so-called simulators. Such simulators attempt, for example, to simulate the dynamics of the electric powertrain's environment in detail. This can be done on a physical basis (e.g., using physical-mathematical equations) or on a data-driven basis (e.g., using neural networks). Another approach involves using a Markov decision process as a model.

[0006] Data-driven models, such as artificial neural networks or genetic algorithms, work well in practice, but are often not fully understood by users. Furthermore, it is difficult to prove that they work or can extrapolate beyond the limits of the training dataset. For example, if there is a systematic problem in the machine learning model, it is very difficult to solve this problem using a physical approach.

[0007] Physical models of the electric powertrain are better understood by users, but are often difficult to implement. In practice, however, creating an environmental model proves to be very time-consuming and resource-intensive.

[0008] DE 10 2019 126 244 A1 discloses a method and a system for calibrating a control unit of an electric motor. The electric motor is modeled using a combination of reinforcement learning and regression analysis.

[0009] DE 10 2019 106 234 B3 describes a method and a device for the automated calibration of a control unit function of a vehicle.The device comprises an agent which is designed to determine a control variable of the control unit function, in particular by means of a Markov decision process, an environment which is designed to be controlled by means of the control variable, wherein a state variable of the environment is established in the environment depending on the control variable, a model which is designed to determine an expected value for the state variable depending on information about the control variable, a comparison device which is designed to determine a deviation and a reward depending on the state variable and the expected value, wherein the agent is designed to determine the control variable depending on a parameter and the deviation, and to determine the parameter for determining the control variable depending on the reward.Thus, a method of model-based reinforcement learning, as mentioned above, is used to automatically calibrate the vehicle's ECU function. The model used by the agent to perform the procedure can be, for example, a regression model or a physical model of the environment.

[0010] The present invention aims to provide a computer-implemented method for calibrating an electric drive train of a vehicle, which can simplify the required creation of the environment model for a learning reinforcement agent.

[0011] The solution to this problem is provided by a computer-implemented method for calibrating a control unit of an electric drive train of a vehicle having the features of claim 1. The subclaims relate to advantageous developments of the invention.

[0012] A computer-implemented method according to the invention for calibrating a control unit of an electric drive train of a vehicle, in which at least one characteristic variable is determined, comprises the steps: - Initializing a symbolic regression model, which is designed to receive data and measured values ​​of at least one operating parameter of the electric drive train and to generate at least one mathematical model formula that characterizes the parameter and to output it to a learning reinforcement agent (step 100), - Determining a state of the electric drive train, wherein this state is defined by the data and measured values ​​of the at least one operating parameter of the electric drive train and the value of the at least one characteristic depends at least partially on this operating parameter, and wherein the learning reinforcement agent receives this state and the model formula of the symbolic regression model as input variables and thereby observes the environment (step 200), - Executing a learning reinforcement function, in which the learning reinforcement agent interacts with the control unit and performs at least one action that causes the control unit to change the state of the electric drive train, whereby the state of the learning reinforcement agent is also changed and the learning reinforcement agent receives a positive or negative reward for its action (step 300), - re-determining the state of the electric drive train, wherein the data and measured values ​​of the at least one operating parameter are fed to the symbolic regression model (step 400), - Executing the symbolic regression model with the at least one operating parameter determined in the previous method step, wherein the at least one model formula for modeling the at least one characteristic is modified (step 500), - repeated execution of steps 200 to 500 - i.e. the second to fifth process steps - with the model formula modified in the previous process step until the calibration task is solved.

[0013] A key fundamental idea of ​​the invention is that the model of the electric drivetrain required for the reinforcement learning algorithm executed by the learning reinforcement agent is described by at least one mathematical model formula, which in particular characterizes the at least one parameter and is determined by an algorithm that performs symbolic regression. In other words, a model-based reinforcement learning approach for calibrating the control unit of the electric drivetrain is combined with a symbolic regression algorithm in order to automatically model the electric drivetrain using at least one model formula that is as accurate as possible. The approach proposed here thus combines two individual algorithms.A first algorithm performs a symbolic regression with the goal of determining the mathematical model formula that best describes the electric drivetrain, in particular the at least one characteristic. A second algorithm is the model-based learning reinforcement algorithm, which uses the model formula (model prediction) derived by the first individual algorithm as a model. The goal of this model-based learning reinforcement algorithm is to calibrate the electric drivetrain by minimizing or maximizing the deviation between a target value and a measured actual value of the characteristic—depending on the type of characteristic. This characteristic can, in particular, be an electrical power loss, which is to be minimized through calibration.

[0014] The input variables for the first algorithm, which performs symbolic regression, are data and values ​​of the electric drivetrain's operating parameters required to create the electric drivetrain model using symbolic regression. These operating parameters can be, for example, the speed, torque, temperature, electric current, voltage, electrical power of an electric drive unit of the electric drivetrain, or even the state of charge of a traction battery. Other input variables can include, in particular: - symbolic and independent variables, such as U (voltage), (current), P (power), T (torque), etc.; - physical units such as V, A, 1 / min, Nm, etc.; - symbolic operators such as +, -, *, / , trigonometric functions, etc.

[0015] The input variables of the model-based learning reinforcement algorithm are states of the machine learning agent, such as: - the data and measured values ​​of the operating parameters that characterise the drive train, such as speed, torque, temperature, current, voltage, power, state of charge of the traction battery, etc. - A loss quantity could be the deviation between measured actual values ​​and the target values, e.g. the difference between a target current trajectory and the actual current trajectory; - The model formula obtained using symbolic regression.

[0016] In one embodiment, it is proposed that an electrical power loss of the electric drive train and / or an output voltage and / or an internal torque and / or an output temperature of a coolant and / or a flow rate of the coolant be used as the characteristic variable. Further operating parameters may include a current, in particular an alternating current, or a torque angle or an angular frequency or a coil winding temperature or a magnet temperature or a power loss or an inlet temperature of a coolant or a flow rate of a coolant. The use of other parameters that characterize the electric drive train is also possible.

[0017] In one embodiment, the data and measured values ​​of the at least one operating parameter can include a rotational speed of the drive unit, a torque of the drive unit, a temperature, an electrical current, an electrical voltage, an electrical power, or a state of charge of a traction battery of the electric drive train. In principle, it is also possible to use data and measured values ​​of other operating parameters.

[0018] In one embodiment, it is proposed that a DYNA algorithm be used as the model-based learning reinforcement algorithm. The use of other model-based learning reinforcement algorithms is also possible.

[0019] In one embodiment of the invention, the determination of the model formula and the modification of the model formula can be carried out using symbolic regression by an artificial neural network. The so-called "Al Feynman Algorithm" is particularly suitable for this purpose (Udrescu and Tegmark in "Science Advances", Vol. 6, Issue 16, April 15, 2020).

[0020] In an alternative embodiment, it is possible that the determination of the model formula and the modification of the model formula are carried out by means of symbolic regression by a genetic algorithm.

[0021] In one embodiment, it is proposed that the actions of the learning enhancement agent consist of increasing, decreasing, or leaving unchanged the value of at least one operating parameter of the electric powertrain, particularly within the framework of two-dimensional or three-dimensional characteristic maps. The learning enhancement agent receives a positive reward if, for example, the action of the learning agent results in a reduction in the difference between a target value of the characteristic resulting from the symbolic regression model and the actual value of the characteristic resulting from a measurement or calculation (for example, the electrical power loss).

[0022] According to a further aspect, the present invention relates to a system for calibrating a control unit of an electric powertrain of a vehicle.

[0023] A system according to the invention comprises, according to claim 10, a digital processing unit and a digital storage unit. Instructions are stored in the digital storage unit, which can be read and executed by the processing unit. The instructions are designed to cause the digital processing unit, upon reading the instructions, to carry out a method according to one embodiment of the invention.

[0024] Further features and advantages of the present invention will become clear from the following description of a preferred embodiment with reference to the accompanying drawings. Fig. 1 is a schematically highly simplified representation illustrating details of a computer-implemented method for calibrating a control unit of an electric drive train of a vehicle, Fig. 2 a schematic view showing the sequence of the individual process steps.

[0025] With reference to Fig. 1, a system 10 for performing a method for calibrating a control unit 1 of an electric drive train 2 of a vehicle comprises a digital data memory (not explicitly shown here) and a digital processing unit (likewise not shown). Instructions are stored in the digital data memory. The processing unit is configured to read and execute the instructions. The processing unit is configured to execute the method described below when it executes the instructions. Furthermore, a learning reinforcement agent 3 and an artificial neural network 5 are provided, which are executed by means of the digital processing unit.

[0026] The electric drive train 2 is connected to a control unit 1, which is to be calibrated using the method. At least one characteristic of the electric drive train 2 is determined. Input signals of the electric drive train 2, with which an electric drive unit 20 of the electric drive train 2 is operated, are, for example, an electrical voltage or an electrical current.

[0027] The learning reinforcement agent 3 is configured to execute a reinforcement learning algorithm. This requires a model of the electric drive train 2. The artificial neural network 5 is designed to execute a symbolic regression model 4. The goal of the symbolic regression model 4 is to describe the electric drive train 2 as accurately as possible using at least one mathematical model formula, which in particular characterizes the at least one parameter. This model formula is determined by an algorithm that performs the symbolic regression.

[0028] With further reference to Fig. 2, the basic sequence of the computer-implemented method for calibrating the control unit 1 of the electric drive train 2 is illustrated below.

[0029] In a first step 100, the symbolic regression model 4, which is executed by means of the artificial neural network 5, is initialized. The symbolic regression model 4 is designed to receive and process data and measured values ​​of at least one operating parameter of the electric drive train 2. Typically, data and measured values ​​of multiple operating parameters are received and processed. These operating parameters can include, for example, a power provided by the electric drive unit 20 of the electric drive train 2, a rotational speed of the drive unit 20, a torque provided by the drive unit 20, and / or a temperature of the drive unit 20.

[0030] Furthermore, the symbolic regression model 4 is configured to generate at least one mathematical model formula that characterizes the at least one parameter. Furthermore, the symbolic regression model 4 is configured to output this mathematical model formula to the learning reinforcement agent 3. A state of the electric drive unit 2 is defined by the selection of specific values ​​and data of operating parameters. A voltage, an alternating current, a torque angle, an angular frequency, a coil winding temperature, a magnet temperature, an electrical power loss, a coolant inlet temperature, a coolant flow rate, or a power loss can each represent an operating parameter.

[0031] In a second step 200, a current state of the electric drive train 2 is determined, wherein this state is defined by the data and measured values ​​of the at least one operating parameter of the electric drive train 2, and the value of the at least one characteristic variable depends at least partially on this operating parameter. The learning reinforcement agent 3 receives this state and the model formula of the symbolic regression model 4 as input variables and thereby observes the environment. The model formula forms a model prediction of the symbolic regression model 4.

[0032] In a third step 300, a learning enhancement function is executed based on the current state and the model formula, in which the learning enhancement agent 3 interacts with the control unit 1 and executes at least one action A, which causes the control unit 1 to change the state of the electric drive train 2, wherein the state of the learning enhancement agent 3 is also changed and the learning enhancement agent 3 receives a positive or negative reward R for its action A. Possible actions A are: The value of at least one operating parameter of the electric drive train 2 is increased, decreased, or left unchanged by means of the control unit 1. The actions A of the learning enhancement agent 3 can, in particular, consist in increasing, decreasing, or leaving unchanged the values ​​of the operating parameters of the electric drive train 2 within the framework of two-dimensional or three-dimensional characteristic maps.

[0033] Preferably, in a state module not explicitly shown here, a calculated model value K M the parameter with the actually determined actual value K R The calculated value K M The parameter is based on the changed values ​​for the selected operating parameters by the learning reinforcement agent 3. In a reward module, which is also not explicitly shown here, the degree of deviation between the calculated model value K M and the measured value K R the parameter is compared and a reward B is assigned to the degree of deviation. Since the degree of deviation depends on the selection of the respective action A, a reward is preferably assigned to the respective selected action A in a matrix or function or another database. The reward B preferably has the values ​​+1 and -1, whereby a small deviation between the calculated value KM the parameter and the measured value K R The parameter is rewarded with +1 and thus reinforced, whereas a significant deviation is rewarded with -1 and thus negatively evaluated. However, it is also conceivable that values ​​>1 and values ​​<1 are used.

[0034] The method presented here thus uses a first algorithm formed by the symbolic regression model 4 of the electric drive train 2, as well as a second algorithm formed by the learning reinforcement agent 3. A key basic idea is that the model of the electric drive train 2 required for the reinforcement learning algorithm executed by the learning reinforcement agent 3 is described by at least one mathematical model formula, which is determined by an algorithm executing the symbolic regression model 4 and which is subsequently made available to the learning reinforcement agent 3.

[0035] In a fourth step 400, the current state of the electric drive train 2 is determined again. As already mentioned above, the current state is defined by the data and measured values ​​of the at least one operating parameter of the electric drive train 2.

[0036] In a fifth step 500, the symbolic regression model 4 is executed again with the at least one operating parameter determined in the previous method step 400, wherein the at least one model formula for modeling the electric drive train is modified.

[0037] Subsequently, in a step 600, steps 200 to 500 are repeatedly executed using the model formula modified in the preceding method step 500 until the calibration task is solved and, for example, the electrical power loss is minimized. The learning reinforcement agent 3 thus plans its next action based on the modified model prediction of the symbolic regression model 4, from which the modified model formula results, and its current state.

Claims

[1] Computer-implemented method for calibrating a control unit (1) of an electric drive train (2) of a vehicle, in which at least one characteristic variable is determined, comprising the steps: - Initializing (100) a symbolic regression model (4) which is designed to receive data and measured values ​​of at least one operating parameter of the electric drive train (2) and to generate at least one mathematical model formula which describes the characteristic variable and to output it to a learning reinforcement agent (3), - determining (200) a state of the electric drive train (2), wherein this state is defined by data and measured values ​​of the at least one operating parameter of the electric drive train (2) and the value of the at least one characteristic depends at least partially on this operating parameter, and wherein the learning reinforcement agent (3) receives this state and the model formula of the symbolic regression model (4) as input variables and thereby observes the environment, - Executing (300) a learning reinforcement function, in which the learning reinforcement agent (3) interacts with the control unit (2) and performs at least one action which causes the control unit (3) to change the state of the electric drive train (2), wherein the state of the learning reinforcement agent (3) is also changed and the learning reinforcement agent (3) receives a positive or negative reward for its action, - re-determining (400) the state of the electric drive train (2), wherein the data and measured values ​​of the at least one operating parameter are fed to the symbolic regression model (4), - executing (500) the symbolic regression model (4) with the at least one operating parameter determined in the preceding method step (400), wherein the at least one model formula for modeling the at least one characteristic variable (K) is modified, - repeatedly executing (600) steps (200) to (500) with the model formula modified in the previous method step (500) until the calibration task is solved. [2] Computer-implemented method according to claim 1, characterized bythat an electrical power loss of the electric drive train (2) and / or an output voltage and / or an internal torque and / or an output temperature of a coolant and / or a flow rate of the coolant is used as a characteristic variable. [3] Computer-implemented method according to one of claims 1 or 2, characterized by in that the data and measured values ​​of the at least one operating parameter comprise a rotational speed of the drive unit (20), a torque of the drive unit (20), a temperature, an electrical current, an electrical voltage, an electrical power or a state of charge of a traction battery of the electric drive train (2). [4] Computer-implemented method according to one of claims 1 to 3, characterized by that the determination of the model formula and the modification of the model formula by means of the symbolic regression model (4) are carried out by an artificial neural network (5). [5] Computer-implemented method according to one of claims 1 to 4, characterized by that the determination of the model formula and the modification of the model formula using the symbolic regression model (4) are carried out by a genetic algorithm. [6] Computer-implemented method according to one of claims 1 to 5, characterized by that a DYNA algorithm is used as the model-based learning reinforcement algorithm executed by the learning reinforcement agent (3). [7] Computer-implemented method according to one of claims 1 to 6, characterized by that the value of at least one operating parameter of the electric drive train is increased, decreased or left unchanged, in particular within the framework of two-dimensional or three-dimensional characteristic maps. [8] System for calibrating an electric drive train of a vehicle, comprising a digital data memory and a digital processing unit, wherein instructions are stored in the digital data memory, wherein the processing unit is designed to read out and execute the instructions, wherein the processing unit is designed to carry out a method according to one of the preceding claims when it executes the instructions.

Citation Information

Patent Citations

  • Automated calibration of an ECU function

    DE102019106234B3

  • System and method for calibrating a control unit of an electric motor to determine characteristic parameters of the electric motor

    DE102019126244A1