289 lines
9.3 KiB
Markdown
289 lines
9.3 KiB
Markdown
# M52-comparing-against-global-defaults
|
|
|
|
// canned tune https://rusefi.com/online/view.php?msq=1591
|
|
|
|
```
|
|
// default "Single Coil"
|
|
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
|
// default 4.0
|
|
engineConfiguration->cylindersCount = 6;
|
|
// default 2.0
|
|
engineConfiguration->displacement = 3;
|
|
// default 0.0
|
|
engineConfiguration->trigger.customTotalToothCount = 3;
|
|
// default 0.0
|
|
engineConfiguration->globalTriggerAngleOffset = 320;
|
|
// default "Single Tooth"
|
|
engineConfiguration->vvtMode[0] = VVT_INACTIVE;
|
|
// default 40.0
|
|
engineConfiguration->camDecoder2jzPrecision = 25;
|
|
// default 450.0
|
|
engineConfiguration->vvtOffsets[0] = 10;
|
|
// default "false"
|
|
engineConfiguration->overrideVvtTriggerGaps = true;
|
|
// default 0.0
|
|
engineConfiguration->gapVvtTrackingLengthOverride = 2;
|
|
// default 0.0
|
|
engineConfiguration->triggerVVTGapOverrideFrom[0] = 0.3;
|
|
// default 0.0
|
|
engineConfiguration->triggerVVTGapOverrideTo[0] = 0.6;
|
|
// default 0.0
|
|
engineConfiguration->triggerVVTGapOverrideFrom[1] = 2.1;
|
|
// default 0.0
|
|
engineConfiguration->triggerVVTGapOverrideTo[1] = 2.5;
|
|
// default "false"
|
|
engineConfiguration->verboseVVTDecoding = true;
|
|
// default "false"
|
|
engineConfiguration->verboseTriggerSynchDetails = true;
|
|
// default 200.0
|
|
engineConfiguration->injector.flow = 350;
|
|
// default 300.0
|
|
engineConfiguration->fuelReferencePressure = 100;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[0] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[1] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[2] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[3] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[4] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[5] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[6] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[7] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[8] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[9] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[10] = 1;
|
|
// default 0.0
|
|
engineConfiguration->cylinderBankSelect[11] = 1;
|
|
// default 4.0
|
|
engineConfiguration->benchTestOnTime = 5;
|
|
// default 0.0
|
|
engineConfiguration->tpsMin = 120;
|
|
// default 1000.0
|
|
engineConfiguration->tpsMax = 791;
|
|
// default "Normal"
|
|
engineConfiguration->clutchDownPinInverted = false;
|
|
// default "Normal"
|
|
engineConfiguration->clutchUpPinInverted = false;
|
|
// default 300.0
|
|
engineConfiguration->idle.solenoidFrequency = 200;
|
|
// default 3.0
|
|
engineConfiguration->idleStepperReactionTime = 10;
|
|
// default 200.0
|
|
engineConfiguration->idleStepperTotalSteps = 150;
|
|
// default 15.0
|
|
engineConfiguration->etbIdleThrottleRange = 5;
|
|
// default -20.0
|
|
engineConfiguration->idleRpmPid.minValue = 0;
|
|
// default 20.0
|
|
engineConfiguration->idleRpmPid.maxValue = 99;
|
|
// default 15.0
|
|
engineConfiguration->acIdleExtraOffset = 0;
|
|
// default 2.0
|
|
engineConfiguration->fan1ExtraIdle = 0;
|
|
// default 2.0
|
|
engineConfiguration->fan2ExtraIdle = 0;
|
|
// default 2.0
|
|
engineConfiguration->iacByTpsTaper = 15;
|
|
// default 5.0
|
|
engineConfiguration->idlePidDeactivationTpsThreshold = 1;
|
|
// default "false"
|
|
engineConfiguration->useSeparateAdvanceForIdle = true;
|
|
// default 0.0
|
|
engineConfiguration->iacByTpsHoldTime = 1.5;
|
|
// default 0.0
|
|
engineConfiguration->iacByTpsDecayTime = 3.5;
|
|
// default "false"
|
|
engineConfiguration->useIdleTimingPidControl = true;
|
|
// default 0.1
|
|
engineConfiguration->idleTimingPid.pFactor = 0.09;
|
|
// default 0.0
|
|
engineConfiguration->idleTimingPid.dFactor = 5.0E-4;
|
|
// default -10.0
|
|
engineConfiguration->idleTimingPid.minValue = -5;
|
|
// default 10.0
|
|
engineConfiguration->idleTimingPid.maxValue = 5;
|
|
// default 92.0
|
|
engineConfiguration->fanOnTemperature = 95;
|
|
// default 88.0
|
|
engineConfiguration->fanOffTemperature = 91;
|
|
// default "false"
|
|
engineConfiguration->disableFan1WhenStopped = true;
|
|
// default 0.5
|
|
engineConfiguration->acDelay = 0;
|
|
// default 4.0
|
|
engineConfiguration->startUpFuelPumpDuration = 2;
|
|
// default 20.0
|
|
engineConfiguration->knockRetardAggression = 0;
|
|
// default 3.0
|
|
engineConfiguration->knockRetardReapplyRate = 0;
|
|
// default 550.0
|
|
engineConfiguration->vvtControlMinRpm = 800;
|
|
// default "Speed Density"
|
|
engineConfiguration->fuelAlgorithm = LM_ALPHA_N;
|
|
// default "Executor"
|
|
engineConfiguration->debugMode = DBG_22;
|
|
// default "yes"
|
|
engineConfiguration->cutFuelOnHardLimit = no;
|
|
// default 7000.0
|
|
engineConfiguration->rpmHardLimit = 10000;
|
|
// default 300.0
|
|
engineConfiguration->boostCutPressure = 0;
|
|
// default 4.0
|
|
engineConfiguration->rpmSoftLimitTimingRetard = 10;
|
|
// default 250.0
|
|
engineConfiguration->etbRevLimitRange = 0;
|
|
// default "Simultaneous"
|
|
engineConfiguration->crankingInjectionMode = IM_BATCH;
|
|
// default "false"
|
|
engineConfiguration->overrideCrankingIacSetting = true;
|
|
// default 6.0
|
|
engineConfiguration->crankingTimingAngle = 0;
|
|
// default 0.5
|
|
engineConfiguration->primingDelay = 0.7;
|
|
// default "true"
|
|
engineConfiguration->isCylinderCleanupEnabled = false;
|
|
// default 550.0
|
|
engineConfiguration->cranking.rpm = 400;
|
|
// default 40.0
|
|
engineConfiguration->tpsAccelEnrichmentThreshold = 200;
|
|
// default 0.0
|
|
engineConfiguration->tpsDecelEnleanmentThreshold = 7;
|
|
// default 0.0
|
|
engineConfiguration->tpsAccelFractionPeriod = 3;
|
|
// default 1.0
|
|
engineConfiguration->tpsAccelFractionDivisor = 0.3;
|
|
// default 2000.0
|
|
engineConfiguration->boostControlMinRpm = 0;
|
|
// default 30.0
|
|
engineConfiguration->boostControlMinTps = 0;
|
|
// default 110.0
|
|
engineConfiguration->boostControlMinMap = 0;
|
|
// default 1.0
|
|
engineConfiguration->etbJamTimeout = 0;
|
|
// default "false"
|
|
engineConfiguration->coastingFuelCutEnabled = true;
|
|
// default 60.0
|
|
engineConfiguration->coastingFuelCutClt = -10;
|
|
// default 1500.0
|
|
engineConfiguration->coastingFuelCutRpmHigh = 2600;
|
|
// default 1300.0
|
|
engineConfiguration->coastingFuelCutRpmLow = 2500;
|
|
// default 30.0
|
|
engineConfiguration->coastingFuelCutMap = 60;
|
|
// default 0.0
|
|
engineConfiguration->dfcoDelay = 2.5;
|
|
// default 5.0
|
|
engineConfiguration->acrRevolutions = 0;
|
|
// default "true"
|
|
engineConfiguration->watchOutForLinearTime = false;
|
|
// default 250.0
|
|
engineConfiguration->gppwm[3].pwmFrequency = 100;
|
|
// default 3.0
|
|
engineConfiguration->hpfpCamLobes = 0;
|
|
// default 10.0
|
|
engineConfiguration->hpfpPeakPos = 0;
|
|
// default 0.29
|
|
engineConfiguration->hpfpPumpVolume = 0;
|
|
// default 10.0
|
|
engineConfiguration->hpfpMinAngle = 0;
|
|
// default 30.0
|
|
engineConfiguration->hpfpActivationAngle = 0;
|
|
// default 2000.0
|
|
engineConfiguration->hpfpTargetDecay = 0;
|
|
// default 0.01
|
|
engineConfiguration->hpfpPidP = 0;
|
|
// default 3.0E-4
|
|
engineConfiguration->hpfpPidI = 0;
|
|
|
|
|
|
cannedsparkDwellRpmBins();
|
|
cannedsparkDwellValues();
|
|
canneddwellVoltageCorrVoltBins();
|
|
canneddwellVoltageCorrValues();
|
|
cannedtpsTspCorrValuesBins();
|
|
cannedtpsTspCorrValues();
|
|
cannedprimeBins();
|
|
cannedprimeValues();
|
|
cannedmap_samplingAngleBins();
|
|
cannedmap_samplingAngle();
|
|
cannedmap_samplingWindowBins();
|
|
cannedmap_samplingWindow();
|
|
cannedvrThreshold1_rpmBins();
|
|
cannedvrThreshold2_rpmBins();
|
|
cannedcltFuelCorr();
|
|
cannedcrankingFuelCoef();
|
|
cannedcltRevLimitRpmBins();
|
|
cannedcltIdleCorr();
|
|
cannedcltCrankingCorr();
|
|
cannedcltIdleRpm();
|
|
cannedidleAdvanceBins();
|
|
cannedidleAdvance();
|
|
cannedfuelLevelBins();
|
|
cannedignBlends1_blendBins();
|
|
cannedignBlends1_blendValues();
|
|
cannedignBlends2_blendBins();
|
|
cannedignBlends2_blendValues();
|
|
cannedignBlends3_blendBins();
|
|
cannedignBlends3_blendValues();
|
|
cannedignBlends4_blendBins();
|
|
cannedignBlends4_blendValues();
|
|
cannedveBlends1_blendBins();
|
|
cannedveBlends1_blendValues();
|
|
cannedveBlends2_blendBins();
|
|
cannedveBlends2_blendValues();
|
|
cannedveBlends3_blendBins();
|
|
cannedveBlends3_blendValues();
|
|
cannedveBlends4_blendBins();
|
|
cannedveBlends4_blendValues();
|
|
cannedtpsTpsAccelTable();
|
|
cannedboostRpmBins();
|
|
cannedboostTableOpenLoop();
|
|
cannedscriptTable4RpmBins();
|
|
cannedscriptTable4();
|
|
cannedignitionRpmBins();
|
|
cannedignitionLoadBins();
|
|
cannedignitionTable();
|
|
cannedignBlends1_rpmBins();
|
|
cannedignBlends1_loadBins();
|
|
cannedignBlends2_rpmBins();
|
|
cannedignBlends2_loadBins();
|
|
cannedignBlends3_rpmBins();
|
|
cannedignBlends3_loadBins();
|
|
cannedignBlends4_rpmBins();
|
|
cannedignBlends4_loadBins();
|
|
cannedveBlends1_rpmBins();
|
|
cannedveBlends1_loadBins();
|
|
cannedveBlends2_rpmBins();
|
|
cannedveBlends2_loadBins();
|
|
cannedveBlends3_rpmBins();
|
|
cannedveBlends3_loadBins();
|
|
cannedveBlends4_rpmBins();
|
|
cannedveBlends4_loadBins();
|
|
cannedveRpmBins();
|
|
cannedveLoadBins();
|
|
cannedveTable();
|
|
cannedfuelTrimRpmBins();
|
|
cannedfuelTrimLoadBins();
|
|
cannedignTrimRpmBins();
|
|
cannedignTrimLoadBins();
|
|
cannedmapEstimateRpmBins();
|
|
cannedmapEstimateTpsBins();
|
|
cannedmapEstimateTable();
|
|
cannedpedalToTpsRpmBins();
|
|
cannedlambdaTable();
|
|
cannedgppwm4_table();
|
|
cannedtcuSolenoidTable();
|
|
cannedhpfpTargetRpmBins();
|
|
cannedhpfpCompensationRpmBins();
|
|
cannedpostCrankingFactor();
|
|
```
|