FreeEMS
0.2.0-SNAPSHOT-282-g9efc524
|
Go to the source code of this file.
Macros | |
#define | EXTERN extern |
Functions | |
void | calculateFuelAndIgnition (void) FPAGE_FE |
Final fuel and ignition calculations. |
Definition in file fuelAndIgnitionCalcs.h.
#define EXTERN extern |
Definition at line 48 of file fuelAndIgnitionCalcs.h.
void calculateFuelAndIgnition | ( | void | ) |
Final fuel and ignition calculations.
Using a variety of primary algorithms calculate a base pulsewidth and then apply various corrections to it such as injector dead time, transient fuel correction, engine temperature enrichment and per cylinder trims. The ignition timing and fuel injection timing are also determined here, as are the various limiters and cuts.
TODO
Definition at line 53 of file fuelAndIgnitionCalcs.c.
References DerivedVar::AirFlow, AirflowTableLocationID, ALGO_ALPHA_N, ALGO_MAF, ALGO_SD_AN_BLEND, fixedConfig2::algorithmSettings, algorithmSetting::algorithmType, KeyUserDebug::alphaNAirFlow, DerivedVar::BasePW, KeyUserDebug::blendAlphaNPercent, bootFuelConst, CoreVars, fixedConfig1::cutAndLimiterSettings, cutAndLimiterSetting::cutsEnabled, DEGREES_C, DerivedVar::densityAndFuel, engineSetting::densityOfFuelAtSTP, DerivedVars, singleCut::disableThreshold, DerivedVar::EffectivePW, fixedConfig1::engineSettings, DerivedVar::ETE, fixedConfigs1, fixedConfigs2, FUEL_DENSITY, FUEL_DENSITY_UNIT_FACTOR, CoreVar::IAT, DerivedVar::IDT, KeyUserDebug::ignitionCuts, cutEnabled::IgnitionRPM, cutAndLimiterSetting::IgnitionRPM, cutEnabled::IgnOverBoost, KeyUserDebug::injectionCuts, cutEnabled::InjectionRPM, cutAndLimiterSetting::InjectionRPM, cutEnabled::InjOverBoost, KeyUserDebugs, LAMBDA, DerivedVar::Lambda, lookupMainTable(), lookupTwoDTableUS(), CoreVar::MAF, CoreVar::MAP, masterPulseWidth, schedulingSetting::numberOfInjectionsPerEngineCycle, cutAndLimiterSetting::OverBoost, singleCut::reenableThreshold, DerivedVar::RefPW, CoreVar::RPM, safeAdd(), safeScale(), safeTrim(), fixedConfig1::schedulingSettings, SHORT4TH, SHORTMAX, KeyUserDebug::speedDensityAirFlow, DerivedVar::TFCTotal, CoreVar::TPS, VE, DerivedVar::VEMain, and VETableMainLocationID.
Referenced by main().