cranking base_fuel reform
This commit is contained in:
parent
a48dd78966
commit
cd7cc596bc
|
@ -77,7 +77,6 @@ void setBmwE34(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
// Cranking
|
// Cranking
|
||||||
engineConfiguration->cranking.rpm = 600;
|
engineConfiguration->cranking.rpm = 600;
|
||||||
engineConfiguration->crankingInjectionMode = IM_BATCH;
|
engineConfiguration->crankingInjectionMode = IM_BATCH;
|
||||||
engineConfiguration->cranking.baseFuel = 7;
|
|
||||||
// enable constant_dwell
|
// enable constant_dwell
|
||||||
engineConfiguration->useConstantDwellDuringCranking = true;
|
engineConfiguration->useConstantDwellDuringCranking = true;
|
||||||
engineConfiguration->ignitionDwellForCrankingMs = 6;
|
engineConfiguration->ignitionDwellForCrankingMs = 6;
|
||||||
|
|
|
@ -89,12 +89,6 @@ void setCitroenBerlingoTU3JPConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
// memcpy(config->ve2RpmBins, rpmSteps, sizeof(rpmSteps));
|
// memcpy(config->ve2RpmBins, rpmSteps, sizeof(rpmSteps));
|
||||||
|
|
||||||
/**
|
|
||||||
* Cranking fuel setting
|
|
||||||
* TODO: they recomend using something like -40C for low point and +80C for high point
|
|
||||||
*/
|
|
||||||
engineConfiguration->cranking.baseFuel = 15;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Algorithm Alpha-N setting
|
* Algorithm Alpha-N setting
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -167,8 +167,6 @@ void setDodgeNeon1995EngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
// set_cranking_rpm 550
|
// set_cranking_rpm 550
|
||||||
engineConfiguration->cranking.rpm = 550;
|
engineConfiguration->cranking.rpm = 550;
|
||||||
|
|
||||||
// set cranking_fuel 5
|
|
||||||
engineConfiguration->cranking.baseFuel = 5;
|
|
||||||
|
|
||||||
// engineConfiguration->useOnlyRisingEdgeForTrigger = true;
|
// engineConfiguration->useOnlyRisingEdgeForTrigger = true;
|
||||||
|
|
||||||
|
@ -274,13 +272,6 @@ void setDodgeNeonNGCEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->specs.displacement = 1.996;
|
engineConfiguration->specs.displacement = 1.996;
|
||||||
engineConfiguration->specs.cylindersCount = 4;
|
engineConfiguration->specs.cylindersCount = 4;
|
||||||
|
|
||||||
/**
|
|
||||||
* that's NGC config
|
|
||||||
*
|
|
||||||
* set_cranking_fuel 5
|
|
||||||
*/
|
|
||||||
engineConfiguration->cranking.baseFuel = 5;
|
|
||||||
|
|
||||||
engineConfiguration->biQuad.a0 = 0.0000024635293743901;
|
engineConfiguration->biQuad.a0 = 0.0000024635293743901;
|
||||||
engineConfiguration->biQuad.a1 = 0.00000492705874878021;
|
engineConfiguration->biQuad.a1 = 0.00000492705874878021;
|
||||||
engineConfiguration->biQuad.a2 = 0.0000024635293743901;
|
engineConfiguration->biQuad.a2 = 0.0000024635293743901;
|
||||||
|
|
|
@ -60,8 +60,6 @@ void setDodgeRam1996(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
engineConfiguration->engineChartSize = 450;
|
engineConfiguration->engineChartSize = 450;
|
||||||
|
|
||||||
// set cranking_fuel 7
|
|
||||||
engineConfiguration->cranking.baseFuel = 7;
|
|
||||||
|
|
||||||
// set global_trigger_offset_angle -50
|
// set global_trigger_offset_angle -50
|
||||||
engineConfiguration->globalTriggerAngleOffset = -50;
|
engineConfiguration->globalTriggerAngleOffset = -50;
|
||||||
|
|
|
@ -92,8 +92,6 @@ void setFordAspireEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setThermistorConfiguration(&engineConfiguration->clt, -20, 18000, 23.8889, 2100, 48.8889, 1000);
|
setThermistorConfiguration(&engineConfiguration->clt, -20, 18000, 23.8889, 2100, 48.8889, 1000);
|
||||||
engineConfiguration->clt.config.bias_resistor = 3300; // that's my custom resistor value!
|
engineConfiguration->clt.config.bias_resistor = 3300; // that's my custom resistor value!
|
||||||
|
|
||||||
engineConfiguration->cranking.baseFuel = 3;
|
|
||||||
|
|
||||||
// engineConfiguration->ignitionPinMode = OM_INVERTED;
|
// engineConfiguration->ignitionPinMode = OM_INVERTED;
|
||||||
|
|
||||||
engineConfiguration->specs.cylindersCount = 4;
|
engineConfiguration->specs.cylindersCount = 4;
|
||||||
|
|
|
@ -146,8 +146,6 @@ void setFordEscortGt(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
// set cranking_timing_angle 3
|
// set cranking_timing_angle 3
|
||||||
engineConfiguration->crankingTimingAngle = 3;
|
engineConfiguration->crankingTimingAngle = 3;
|
||||||
engineConfiguration->crankingChargeAngle = 70;
|
engineConfiguration->crankingChargeAngle = 70;
|
||||||
// set cranking_fuel 9
|
|
||||||
engineConfiguration->cranking.baseFuel = 9;
|
|
||||||
|
|
||||||
setLinearCurve(config->ignitionLoadBins, IGN_LOAD_COUNT, 20, 105, 5);
|
setLinearCurve(config->ignitionLoadBins, IGN_LOAD_COUNT, 20, 105, 5);
|
||||||
setWholeTimingTable_d(10 PASS_CONFIG_PARAMETER_SUFFIX);
|
setWholeTimingTable_d(10 PASS_CONFIG_PARAMETER_SUFFIX);
|
||||||
|
@ -197,9 +195,6 @@ void setFordEscortGt(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
boardConfiguration->injectionPins[1] = GPIOE_2;
|
boardConfiguration->injectionPins[1] = GPIOE_2;
|
||||||
|
|
||||||
|
|
||||||
//setDefaultCrankingFuel(engineConfiguration);
|
|
||||||
engineConfiguration->cranking.baseFuel = 5;
|
|
||||||
|
|
||||||
// 40% idle is good default
|
// 40% idle is good default
|
||||||
boardConfiguration->idle.solenoidFrequency = 300;
|
boardConfiguration->idle.solenoidFrequency = 300;
|
||||||
boardConfiguration->idle.solenoidPin = GPIOB_9;
|
boardConfiguration->idle.solenoidPin = GPIOB_9;
|
||||||
|
|
|
@ -163,7 +163,6 @@ void setMiataNA6_MAP_Configuration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// cold start works better with baseFuel = 8
|
|
||||||
// maybe adjust CLT correction?
|
// maybe adjust CLT correction?
|
||||||
// set cranking_fuel 8
|
// set cranking_fuel 8
|
||||||
engineConfiguration->cranking.baseFuel = 1;
|
engineConfiguration->cranking.baseFuel = 1;
|
||||||
|
|
|
@ -41,9 +41,6 @@ void setMitsubishiConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
// set_whole_fuel_map 3
|
// set_whole_fuel_map 3
|
||||||
setWholeFuelMap(3 PASS_CONFIG_PARAMETER_SUFFIX);
|
setWholeFuelMap(3 PASS_CONFIG_PARAMETER_SUFFIX);
|
||||||
|
|
||||||
// set cranking_fuel 4
|
|
||||||
engineConfiguration->cranking.baseFuel = 4;
|
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
// * 29150 Ohm @ 40C
|
// * 29150 Ohm @ 40C
|
||||||
// * 10160 Ohm @ 70C
|
// * 10160 Ohm @ 70C
|
||||||
|
|
|
@ -19,7 +19,6 @@ void setVwAba(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_SIGNATURE);
|
setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
setWholeTimingTable_d(20 PASS_CONFIG_PARAMETER_SUFFIX);
|
setWholeTimingTable_d(20 PASS_CONFIG_PARAMETER_SUFFIX);
|
||||||
engineConfiguration->cranking.baseFuel = 12;
|
|
||||||
// set cranking_timing_angle 10
|
// set cranking_timing_angle 10
|
||||||
engineConfiguration->crankingTimingAngle = 10;
|
engineConfiguration->crankingTimingAngle = 10;
|
||||||
|
|
||||||
|
|
|
@ -521,21 +521,22 @@ static void setDefaultCrankingSettings(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setLinearCurve(engineConfiguration->crankingTpsCoef, CRANKING_CURVE_SIZE, 1, 1, 1);
|
setLinearCurve(engineConfiguration->crankingTpsCoef, CRANKING_CURVE_SIZE, 1, 1, 1);
|
||||||
setLinearCurve(engineConfiguration->crankingTpsBins, CRANKING_CURVE_SIZE, 0, 100, 1);
|
setLinearCurve(engineConfiguration->crankingTpsBins, CRANKING_CURVE_SIZE, 0, 100, 1);
|
||||||
|
|
||||||
config->crankingFuelCoef[0] = 5; // base cranking fuel adjustment coefficient
|
config->crankingFuelCoef[0] = 28; // base cranking fuel adjustment coefficient
|
||||||
config->crankingFuelBins[0] = -20; // temperature in C
|
config->crankingFuelBins[0] = -20; // temperature in C
|
||||||
config->crankingFuelCoef[1] = 3.7;
|
config->crankingFuelCoef[1] = 22;
|
||||||
config->crankingFuelBins[1] = -10;
|
config->crankingFuelBins[1] = -10;
|
||||||
config->crankingFuelCoef[2] = 2.6;
|
config->crankingFuelCoef[2] = 18;
|
||||||
config->crankingFuelBins[2] = 5;
|
config->crankingFuelBins[2] = 5;
|
||||||
config->crankingFuelCoef[3] = 2.4;
|
config->crankingFuelCoef[3] = 15;
|
||||||
config->crankingFuelBins[3] = 20;
|
config->crankingFuelBins[3] = 30;
|
||||||
config->crankingFuelCoef[4] = 2.1;
|
|
||||||
|
config->crankingFuelCoef[4] = 10;
|
||||||
config->crankingFuelBins[4] = 35;
|
config->crankingFuelBins[4] = 35;
|
||||||
config->crankingFuelCoef[5] = 1.8;
|
config->crankingFuelCoef[5] = 10;
|
||||||
config->crankingFuelBins[5] = 50;
|
config->crankingFuelBins[5] = 50;
|
||||||
config->crankingFuelCoef[6] = 1.1;
|
config->crankingFuelCoef[6] = 10;
|
||||||
config->crankingFuelBins[6] = 65;
|
config->crankingFuelBins[6] = 65;
|
||||||
config->crankingFuelCoef[7] = 1;
|
config->crankingFuelCoef[7] = 10;
|
||||||
config->crankingFuelBins[7] = 90;
|
config->crankingFuelBins[7] = 90;
|
||||||
|
|
||||||
config->crankingCycleCoef[0] = 1.5;
|
config->crankingCycleCoef[0] = 1.5;
|
||||||
|
|
|
@ -1026,7 +1026,7 @@ float[IAT_CURVE_SIZE] iatFuelCorr;;"%", 1, 0, 0.0, 500.0, 2
|
||||||
float[CRANKING_CURVE_SIZE] crankingFuelBins;;"C", 1, 0, -80.0, 170.0, 2
|
float[CRANKING_CURVE_SIZE] crankingFuelBins;;"C", 1, 0, -80.0, 170.0, 2
|
||||||
|
|
||||||
float[CRANKING_CURVE_SIZE] crankingCycleCoef;;"%", 1, 0, 0.0, 500.0, 2
|
float[CRANKING_CURVE_SIZE] crankingCycleCoef;;"%", 1, 0, 0.0, 500.0, 2
|
||||||
float[CRANKING_CURVE_SIZE] crankingCycleBins;;"counter", 1, 0, -80.0, 170.0, 2
|
float[CRANKING_CURVE_SIZE] crankingCycleBins;;"counter", 1, 0, -80.0, 170.0, 0
|
||||||
|
|
||||||
float[CLT_CURVE_SIZE] cltIdleCorrBins;CLT-based idle position multiplier for simple manual idle controller;"C", 1, 0, -100.0, 250.0, 2
|
float[CLT_CURVE_SIZE] cltIdleCorrBins;CLT-based idle position multiplier for simple manual idle controller;"C", 1, 0, -100.0, 250.0, 2
|
||||||
float[CLT_CURVE_SIZE] cltIdleCorr; CLT-based idle position multiplier for simple manual idle controller;"%", 1, 0, 0.0, 1000.0, 2
|
float[CLT_CURVE_SIZE] cltIdleCorr; CLT-based idle position multiplier for simple manual idle controller;"%", 1, 0, 0.0, 1000.0, 2
|
||||||
|
|
|
@ -68,7 +68,7 @@ enable2ndByteCanID = false
|
||||||
|
|
||||||
; see PAGE_0_SIZE in C source code
|
; see PAGE_0_SIZE in C source code
|
||||||
; CONFIG_DEFINITION_START
|
; CONFIG_DEFINITION_START
|
||||||
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Apr 01 17:18:57 EDT 2019
|
; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Apr 04 08:24:40 EDT 2019
|
||||||
|
|
||||||
pageSize = 20000
|
pageSize = 20000
|
||||||
page = 1
|
page = 1
|
||||||
|
@ -880,7 +880,7 @@ page = 1
|
||||||
crankingFuelCoef = array, F32, 10528, [8], "%", 1, 0, 0.0, 700.0, 2
|
crankingFuelCoef = array, F32, 10528, [8], "%", 1, 0, 0.0, 700.0, 2
|
||||||
crankingFuelBins = array, F32, 10560, [8], "C", 1, 0, -80.0, 170.0, 2
|
crankingFuelBins = array, F32, 10560, [8], "C", 1, 0, -80.0, 170.0, 2
|
||||||
crankingCycleCoef = array, F32, 10592, [8], "%", 1, 0, 0.0, 500.0, 2
|
crankingCycleCoef = array, F32, 10592, [8], "%", 1, 0, 0.0, 500.0, 2
|
||||||
crankingCycleBins = array, F32, 10624, [8], "counter", 1, 0, -80.0, 170.0, 2
|
crankingCycleBins = array, F32, 10624, [8], "counter", 1, 0, -80.0, 170.0, 0
|
||||||
cltIdleCorrBins = array, F32, 10656, [16], "C", 1, 0, -100.0, 250.0, 2
|
cltIdleCorrBins = array, F32, 10656, [16], "C", 1, 0, -100.0, 250.0, 2
|
||||||
cltIdleCorr = array, F32, 10720, [16], "%", 1, 0, 0.0, 1000.0, 2
|
cltIdleCorr = array, F32, 10720, [16], "%", 1, 0, 0.0, 1000.0, 2
|
||||||
mafDecoding = array, F32, 10784, [256], "kg/hour", 1, 0, -500.0, 4000.0, 2
|
mafDecoding = array, F32, 10784, [256], "kg/hour", 1, 0, -500.0, 4000.0, 2
|
||||||
|
@ -3020,6 +3020,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
||||||
|
|
||||||
dialog = crankingFuel, "Fuel"
|
dialog = crankingFuel, "Fuel"
|
||||||
field = "Injection Mode", crankingInjectionMode
|
field = "Injection Mode", crankingInjectionMode
|
||||||
|
field = "!Value '1' is currently recommended"
|
||||||
field = "Base Fuel Pulse Width", cranking_baseFuel
|
field = "Base Fuel Pulse Width", cranking_baseFuel
|
||||||
|
|
||||||
dialog = crankingIAC, "IAC"
|
dialog = crankingIAC, "IAC"
|
||||||
|
|
|
@ -2112,6 +2112,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
||||||
|
|
||||||
dialog = crankingFuel, "Fuel"
|
dialog = crankingFuel, "Fuel"
|
||||||
field = "Injection Mode", crankingInjectionMode
|
field = "Injection Mode", crankingInjectionMode
|
||||||
|
field = "!Value '1' is currently recommended"
|
||||||
field = "Base Fuel Pulse Width", cranking_baseFuel
|
field = "Base Fuel Pulse Width", cranking_baseFuel
|
||||||
|
|
||||||
dialog = crankingIAC, "IAC"
|
dialog = crankingIAC, "IAC"
|
||||||
|
|
Loading…
Reference in New Issue