3.5. Engine State

GasolineControlSample/ECU Control/Engine State/Engine State

Determine basic engine status information used by other strategies.

Table 3.21. System Inputs

User NameDescriptionSourced From Sections L2Local Systems
nEngineIn
Engine Speed From BIOS
BIOSInputsEngine Speed; Engine Speed Rate; Engine Torque; Start; Throttle
nEngineSynchro
Instantaneous Engine Speed From BIOS
BIOSInputsEngine Speed; Engine Speed Rate; Engine Torque; Start; Throttle
NIgn
Number of ignitions
IgnitionStart
rThrottle
Throttle Position
InputProcessingEngine Torque; Throttle; Throttle Rate
TAir
Air Temperature Processed Value
InputProcessingEngine Speed
TEngine
Engine Temperature Processed Value
InputProcessingEngine Speed; Start

Table 3.22. System Outputs

User NameDescriptionUsed In Sections L2Defn. Block Local Systems
dnEngine
Engine Speed Rate
 dnEngineEngine Speed Rate
drThrottle
Throttle Rate
 drThrottleThrottle Rate
EngineStatus.EngSpd
Engine Speed Status
Fuelling; IgnitionEngineStatus.EngSpdEngine Speed
EngineStatus.StartRange
Start Range
FuellingEngineStatus.StartRangeStart
EngineStatus.StartType
Hot/Cold Start
FuellingEngineStatus.StartTypeStart
EngineStatus.ThrStatus
Throttle Status
 EngineStatus.ThrStatusThrottle
MEngineCalc
Engine Speed Status
 MEngineCalcEngine Torque
MEngineFullThrCalc
Engine Torque at full throttle
RevLimiterMEngineFullThrCalcEngine Torque
MEngineNoThrCalc
Engine Torque at closed throttle
RevLimiterMEngineNoThrCalcEngine Torque
tEngineRunning
Time Engine has been in the Run state
LambdatEngineRunningEngine Speed

Table 3.23. System Parameters

User NameDescriptionUnitsTypeLocal Systems
bCallSynchroInStall
Call Crank tasks during stall to keep numbers updated
SCALAR
Engine Speed
MEngineMap
Engine Torque
Nm
MAP2D
Engine Torque
NIgnsRange1To2
Number of ignitions required to move from range one to two
Igns
SCALAR
Start
nStartEntry
Threshold to determine when the engine returns to the start phase after previously running
rpm
MAP1D
Engine Speed
nStartExit
Threshold to determine when the engine goes to the running state from the start state
rpm
MAP1D
Engine Speed
nStartRange1To2
Threshold to determine when the start range should move from start range one to two
rpm
MAP1D
Start
rThrClosed
Threshold to determine when the throttle is closed
%
MAP1D
Throttle
rThrHysteresis
Hysteresis used in the throttle status determination
%
SCALAR
Throttle
rThrOpen
Threshold to determine when the throttle is fully open
%
MAP1D
Throttle
TEngineColdStart
Threshold for cold start detection
°C
SCALAR
Start

Table 3.24. System Measurements

User NameDescriptionUnitsDefn. Block Local Systems
dnEngine
Engine Speed Rate
rpm/s
dnEngineEngine Speed Rate
drThrottle
Throttle Rate
%/s
drThrottleThrottle Rate
EngineStatus
Engine Status Word
EngineStatus.EngSpd; EngineStatus.All 
EngineStatus.EngSpd
Engine Speed Status
EngineStatus.EngSpdEngine Speed
EngineStatus.StartRange
Start Range
EngineStatus.StartRangeStart
EngineStatus.StartType
Hot/Cold Start
EngineStatus.StartTypeStart
EngineStatus.ThrStatus
Throttle Status
EngineStatus.ThrStatusThrottle
MEngineCalc
Engine Speed Status
Nm
MEngineCalcEngine Torque
MEngineFullThrCalc
Engine Torque at full throttle
Nm
MEngineFullThrCalcEngine Torque
MEngineNoThrCalc
Engine Torque at closed throttle
Nm
MEngineNoThrCalcEngine Torque
tEngineRunning
Time Engine has been in the Run state
s
tEngineRunningEngine Speed

GasolineControlSample/ECU Control/Engine State/Engine State/Throttle Rate

GasolineControlSample/ECU Control/Engine State/Engine State/Engine Speed Rate

3.5.1. Throttle

GasolineControlSample/ECU Control/Engine State/Engine State/Throttle

The core of the fuelling strategies is to determin how much air the engine is taking on each fire.  This can be determined in a number of ways, in this simplest of ways the engine is mapped against throttle angle and revs, with a run-time correction being applied for the current air pressure.

Other implementations may use air mass flow meters or take the manifold pressure more into account for turbo applications.

GasolineControlSample/ECU Control/Engine State/Engine State/Throttle/Chart