[WIP] RPM hard limit depending on CLT #455 (#2268)

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455
This commit is contained in:
Alexey Shkil 2021-02-18 01:30:05 +03:00 committed by GitHub
parent fa894d55a3
commit b7b4df0168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -110,6 +110,7 @@ struct_no_prefix engine_configuration_s
#define NARROW_BAND_WIDE_BAND_CONVERSION_SIZE 8
#define CLT_CURVE_SIZE 16
#define CLT_LIMITER_CURVE_SIZE 4
#define CRANKING_CLT_IDLE_CURVE_SIZE 8
#define CLT_CRANKING_CURVE_SIZE 8
#define IDLE_ADVANCE_CURVE_SIZE 8
@ -1408,7 +1409,12 @@ float[CLT_CURVE_SIZE] iacCoasting; CLT-based idle position for coasting (used
linear_sensor_s highPressureFuel;
linear_sensor_s lowPressureFuel;
uint8_t[536] unused3328;;"units", 1, 0, -20, 100, 0
! issue 455: RPM hard limit depending on CLT
int8_t[CLT_LIMITER_CURVE_SIZE] cltRevLimitRpmBins;CLT-based target RPM for hard limit depending on CLT LFAstyle;"C", 1, 0, -70, 120, 0
uint16_t[CLT_LIMITER_CURVE_SIZE] cltRevLimitRpm;See idleRpmPid;"", 1, 0, 0, 8000, 0
! was [536] - CLT_LIMITER_CURVE_SIZE*size_of(int8_t) [4*1] - CLT_LIMITER_CURVE_SIZE*size_of(uint16_t) [4*2] = 536 - 4 - 8 = 524
uint8_t[524] unused3328;;"units", 1, 0, -20, 100, 0
float tChargeAirCoefMin;;"Min tCharge Coeff.", 1, 0, 0.0, 1.0, 4
float tChargeAirCoefMax;;"Max tCharge Coeff.", 1, 0, 0.0, 1.0, 4