The present invention concerns a method for optimizing calibration maps for an algorithm of estimation of a control quantity of an internal combustion engine.
As is known, modern electronic vehicle engine control units implement a plurality of algorithms that, when the engine is running, estimate engine quantities based on which the electronic control unit controls the engine operation.
These algorithms generally operate by using input quantities, of the motor type for example, generally measured by sensors when the engine is running, and experimentally determined calibration maps, which describe the trend of the quantity estimated by the algorithm, as a function of the quantities on which it depends.
As a rule, before being stored in the electronic control unit, the algorithms are calibrated using the aforementioned maps.
For example, the algorithm for estimating the instantaneous torque supplied by the engine, normally uses the number of engine revs RPM and/or the position of the accelerator pedal as input quantities, both of these detected by suitable sensors, and one or more algorithm calibration maps that describe the trend of supplied torque as a function of the number of engine revs RPM and/or position of the accelerator pedal, with the values of which the algorithm calculates each value of estimated torque.
In particular, the calibration maps of the algorithm are defined by experimentally measuring, on an engine test bench or a rolling road for vehicles, the motor quantities that will be estimated by the algorithm, as a function of the variables on which these depend, for example the torque supplied by the engine can be measured as a function of the number of revs RPM.
Carrying out the measurements of the quantities specified in the calibration maps and the calibration of the control unit's algorithms are operations that require rather long times, are particularly onerous and weigh significantly on the development costs of vehicle control units. Furthermore, the need to implement increasingly complex algorithms in the control units to carry out calculations on the basis of quantities supplied by a plurality of maps makes the process of calibrating the algorithms, consisting in the definition of map values, even longer and more complicated.
In order to simplify the calibration procedure of the algorithms, the following, for example, are known of: use of approximation formulas that describe the physics of the phenomenon to be represented, use of specific programming languages needed to be able to use algebraic formulas via which optimal parameter values can be calculated, or breaking down the algorithms into simpler algorithms and calibrating each one of them using specifically acquired data. For example, if the torque supplied by the engine depends on the product of the output of two calibration maps, usually the representative physical quantities of each of the two maps are measured and then each map is calibrated independently.
However, these solutions have several drawbacks, including:
Thus, the need is felt to reduce the number of experimental measurements necessary for obtaining the maps to the bare minimum and to implement an optimization method for the calibration maps of the algorithms that at least partially overcome the drawbacks of the known methods.
According to the present invention, a method for optimizing calibration maps for an algorithm of estimation of a control quantity of an internal combustion engine is provided, as defined in the attached claims.
For a better understanding of the present invention, a preferred embodiment shall now be described, purely by way of a non-limitative example and with reference to the enclosed drawings, where:
In
In outline, as shown in the block diagram of the principle in
For example, always with reference to
In particular, as shown in the flowchart in
For example, if it is wished to optimize the map M1 that represents the trend of torque Ce supplied by the engine as a function of the number of engine revs RPM, the map M2 that represents the trend of torque Ce supplied by the engine as a function of the accelerator pedal position η and the map M3 that represents the trend of torque Ce supplied by the engine as a function of the number of engine revs RPM and accelerator pedal position η, the following will be acquired and stored in this phase of the method:
For each map, always in said initial phase of the method, map-delimiting parameters are also defined, or rather, more specifically:
Once the initialization phase described in block 4 is completed, in block 5 of
The optimization procedure for each map shall now be described with reference to the flowchart in
In particular, as shown in block 10 in
In particular, as shown in
After having defined the structure of map Mn, always with reference to
For example, still with reference to
Again, with reference to
Then, the processing unit 1 identifies the measured values Pctrm specified in the structure of map Mn that contribute to the single map point to be optimized, block 14, and implements an optimization procedure on each calibration value Pclb, according to the flowchart in
In particular, as shown in block 20 in
Then, in block 21, the processing unit 1:
Successively, in block 22 the processing unit 1:
In block 23, the processing unit 1 determines the minimum standard deviation SQMmin by selecting the smallest of the standard deviations SQM1, SQM2 and SQM3, and compares the minimum standard deviation SQMmin with a preset threshold value, for example 0.1.
In the case where the minimum standard deviation SQMmin is below the threshold value, the YES exit is taken from block 24 and the processing unit 1 sets the one of the three calibration values Pclb, Pclb+F and Pclb−F having the standard deviation SQM closest to the minimum standard deviation SQMmin in map Mn as the optimal calibration value Pclb−ott, which will result as being the optimized calibration value, block 25.
Instead, in the case where the minimum standard deviation SQMmin is greater than the threshold value, the NO exit is taken from block 24 and, in block 26, the processing unit 1 implements a calculation algorithm to obtain a value that is as close as possible to the minimum standard deviation SQMmin. To this end, the processing unit 1 calculates two calibration values Pclb2 and Pclb3 that tend towards an expected minimum calibration value Pclb−min and determines the algebraic minimum of a curve that models the standard deviation SQMmin, implementing a parabolic model of deviation of known type, for example the “Levenberg Marquardt” algorithm, block 27.
In particular, to that end, the processing unit 1 calculates:
Then, in block 28 the processing unit 1 substitutes, in map Mn, the value Pclb used to correct the measured quantity Pctrm with a calibration value Pclb−ott of map Mn that is at an intermediate point between the calibration value Pclb used to correct the measured quantity Pctrm and the algebraic minimum of the standard deviation SQMmin determined by means of the parabolic model of deviation, which will thus constitute the optimized calibration value Pclb−ott, block 29.
After having optimized each one of the calibration values Pclb of map Mn, again with reference to
In particular, this procedure, for descriptive convenience henceforth referred to as “stretching” of the map Mn, consists in:
where:
The stretching procedure increases the continuity of the map, making it more faithful to the description of a physical phenomenon.
After having carried out the stretching procedure on the map Mn, again with reference to
In particular, the minimum saturated value Pmin−sat of each calibration value of the map corresponds to the maximum value between the value of the map and the allowed minimum Pmin, while the maximum saturated value Pmin−sat of each point of the map corresponds to the minimum value between the value of the map and the allowed maximum Pmax.
The advantages that can be achieved with the present invention are evident from an examination of its characteristics.
First of all, the optimization of only one map at a time allows the optimized calibration value to be determined in an optimal manner, significantly reducing calculating times.
In addition, the identification of experimental points of competence for each map point outside of the optimization procedure and use of the Levenberg Marquardt algorithm only in cases where the calibration value is significantly different from its optimal value, allow a significant reduction in the execution times and complexity of the entire calculation procedure, at the same time preserving very good precision for the final result.
The implementation of the “stretching” procedure allows the most “continuous” calibration to be identified from a plurality of calibration values that roughly exhibit the same standard deviation.
Finally, it is clear that modifications and variants can be made to that described and shown herein without leaving the scope of protection of the present invention, as defined in the enclosed claims.
For example, instead of standard deviation SQM, the percentage standard deviation SPQM could be calculated, this being more indicated for solving problems where the requested precision specifications are provided in percentage terms rather than absolute ones.
Number | Date | Country | Kind |
---|---|---|---|
07425782 | Dec 2007 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
6397152 | Kalweit et al. | May 2002 | B1 |
6848421 | Karau et al. | Feb 2005 | B1 |
Number | Date | Country |
---|---|---|
2 864 162 | Jun 2005 | FR |
WO 2005103472 | Nov 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20090150111 A1 | Jun 2009 | US |