Honda K & default VVT pid
This commit is contained in:
parent
74f575e303
commit
558c639f82
|
@ -24,6 +24,7 @@ void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
// engineConfiguration->trigger.customSkippedToothCount = 0;
|
||||
|
||||
engineConfiguration->trigger.type = TT_HONDA_K_4_1;
|
||||
engineConfiguration->globalTriggerAngleOffset = 570;
|
||||
|
||||
engineConfiguration->vvtMode[0] = VVT_HONDA_K;
|
||||
engineConfiguration->vvtMode[1] = VVT_FIRST_HALF;
|
||||
|
@ -42,6 +43,9 @@ void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
|
||||
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
|
||||
|
||||
// set cranking_fuel 15
|
||||
engineConfiguration->cranking.baseFuel = 70;
|
||||
|
||||
|
||||
#if HW_PROTEUS & EFI_PROD_CODE
|
||||
// engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_2; // crank
|
||||
|
@ -49,6 +53,7 @@ void setProteusHondaElement2003(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
// engineConfiguration->camInputs[1 * CAMS_PER_BANK] = PROTEUS_DIGITAL_1; // exhaust
|
||||
|
||||
engineConfiguration->triggerInputPins[0] = PROTEUS_DIGITAL_1; // exhaust
|
||||
engineConfiguration->camInputs[0] = PROTEUS_DIGITAL_4; // intake
|
||||
|
||||
engineConfiguration->injectionPins[0] = PROTEUS_LS_8;
|
||||
engineConfiguration->injectionPins[1] = PROTEUS_LS_7;
|
||||
|
|
|
@ -476,6 +476,19 @@ static void setDefaultEngineConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
setDefaultIgnition(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
setDefaultCranking(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
// VVT closed loop, totally random values!
|
||||
engineConfiguration->auxPid[0].pFactor = 2;
|
||||
engineConfiguration->auxPid[0].iFactor = 0.005;
|
||||
engineConfiguration->auxPid[0].dFactor = 0;
|
||||
engineConfiguration->auxPid[0].offset = 33;
|
||||
engineConfiguration->auxPid[0].minValue = 10;
|
||||
engineConfiguration->auxPid[0].maxValue = 90;
|
||||
|
||||
|
||||
engineConfiguration->auxPid[1].minValue = 10;
|
||||
engineConfiguration->auxPid[2].maxValue = 90;
|
||||
|
||||
|
||||
#if EFI_IDLE_CONTROL
|
||||
setDefaultIdleParameters(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
#endif /* EFI_IDLE_CONTROL */
|
||||
|
|
Loading…
Reference in New Issue