Red test mule cranking to idling is weird #3050

This commit is contained in:
rusefi 2021-07-24 11:56:29 -04:00
parent 2cc0272047
commit ee1426387b
2 changed files with 9 additions and 1 deletions

View File

@ -788,5 +788,9 @@ void setMiataNB2_Hellen72(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
engineConfiguration->tachOutputPin = GPIOD_13; // 3O - TACH (PWM7)
engineConfiguration->alternatorControlPin = GPIOD_15; // 3M - ALTERN (PWM6)
// set tps_min 90
engineConfiguration->tpsMin = 110; // convert 12to10 bit (ADC/4)
}
#endif // HW_HELLEN

View File

@ -589,7 +589,11 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
engineConfiguration->idleRpmPid.minValue = 0;
engineConfiguration->idleRpmPid.maxValue = 99;
engineConfiguration->idlePidDeactivationTpsThreshold = 2;
/**
* between variation between different sensor and weather and fabrication tolerance
* five percent looks like a safer default
*/
engineConfiguration->idlePidDeactivationTpsThreshold = 5;
engineConfiguration->idle.solenoidFrequency = 200;
// set idle_position 50