Chapter 2. BIOSInputs

GasolineControlSample/BIOSInputs

This section reads inputs from the BIOS and stores them as a functional name.  Note that the signal read blocks are using name indirection so that this model can be built with different BIOS interfaces or for different implementations without changing the model.  For example @VrThrottle1 may correspone with Analog01 on one BIOS or AN08Raw on another.  Equally in one implementation it may connect to Analog04 and another to Analog10.  This is handles by the GCS_TargetIndirection.m script that refers to an Excel table.

Table 2.1. System Inputs

User NameDescriptionSourced From Sections L2Local Systems
AN01VRaw
AN01 Vraw
BIOSInputsBIOSInputs
AN02VRaw
AN02 Vraw
BIOSInputsBIOSInputs
AN03VRaw
AN03 Vraw
BIOSInputsBIOSInputs
AN04VRaw
AN04 Vraw
BIOSInputsBIOSInputs
AN05VRaw
AN05 Vraw
BIOSInputsBIOSInputs
AN06VRaw
AN06 Vraw
BIOSInputsBIOSInputs
AN07VRaw
AN07 Vraw
BIOSInputsBIOSInputs
AN08VRaw
AN08 Vraw
BIOSInputsBIOSInputs
AN09VRaw
AN09 Vraw
BIOSInputsBIOSInputs
AN10VRaw
AN10 Vraw
BIOSInputsBIOSInputs
AN12VRaw
AN12 Vraw
BIOSInputsBIOSInputs
AN16VRaw
AN16 Vraw
BIOSInputsBIOSInputs
AN19VRaw
AN19 Vraw
BIOSInputsBIOSInputs
AN20VRaw
AN20 Vraw
BIOSInputsBIOSInputs
AN22Tempm00_AnalogRawResult
AN22Temperature: Raw value.
BIOSInputsBIOSInputs
AN23Tempm00_AnalogRawResult
AN23Temperature: Raw value.
BIOSInputsBIOSInputs
AN24Tempm00_AnalogRawResult
AN24Temperature: Raw value.
BIOSInputsBIOSInputs
AnUnitSupplyVdiagm01_AnalogScaledResult
VUnitSupplyVdiag: Scaled value.
BIOSInputsBIOSInputs
dwCutPattern
dwCutPattern
BIOSInputsnEngine
dwIgnCut
dwIgnCut
BIOSInputsnEngine
dwInjCut
dwInjCut
BIOSInputsnEngine
dwSynchroPeriod
dwSynchroPeriod
BIOSInputsnEngine; Read nEngine In Synchro
Lambda1
Lambda 1
BIOSInputsBIOSInputs
nEngSpeedAve
Engine Speed Average
BIOSInputsnEngine; Read nEngine In Synchro
wSegmentNumber
wSegmentNumber
BIOSInputsRead nEngine In Synchro
wSpeedIn1FreqLastPulse
wSpeedIn1FreqLastPulse
BIOSInputsBIOSInputs; Cnv to Freq1
wSpeedIn3FreqLastPulse
wSpeedIn3FreqLastPulse
BIOSInputsBIOSInputs; Cnv to Freq

Table 2.2. System Outputs

User NameDescriptionUsed In Sections L2Defn. Block Local Systems
fWheelFL
Front Left Wheel Speed Frequency
 fWheelFLBIOSInputs
fWheelFR
Front Right Wheel Speed Frequency
 fWheelFRBIOSInputs
nEngineIn
Engine Speed From BIOS
Engine State; ECU Control; Fuel Pump; Fuelling; Ignition; Lambda; RevLimiternEngineInnEngine; Read nEngine In Synchro
nEngineSynchro
Instantaneous Engine Speed From BIOS
Engine State; ECU Control; Fuel Pump; Fuelling; Ignition; Lambda; RevLimiternEngineSynchronEngine; Read nEngine In Synchro
rLambda1
Air Fuel Ration
InputProcessingrLambda1BIOSInputs
VaDrum
Gear Position Sensor Voltage
InputProcessingVaDrumBIOSInputs
VaSteer
Steering wheel angle Voltage
 VaSteerBIOSInputs
VBattery
Battery Voltage
InputProcessingVBatteryBIOSInputs
VNFuelMap
Fuel Map Switch Voltage
InputProcessingVNFuelMapBIOSInputs
VNIgnMap
Ignition Map Switch Voltage
InputProcessingVNIgnMapBIOSInputs
VpAir
Air Pressure Sensor Voltage
InputProcessingVpAirBIOSInputs
VpBrake
Brake Pressure Sensor Voltage
InputProcessingVpBrakeBIOSInputs
VpFuel
Fuel Pressure Sensor Voltage
InputProcessingVpFuelBIOSInputs
VpManifold
Manifold Pressure Sensor Voltage
InputProcessingVpManifoldBIOSInputs
VpOil
Oil Pressure Sensor Voltage
InputProcessingVpOilBIOSInputs
VrDriverDemand1
Main Driver Input Sensor Voltage
InputProcessingVrDriverDemand1BIOSInputs
VrDriverDemand2
Backup Driver Inputl Sensor Voltage
InputProcessingVrDriverDemand2BIOSInputs
VrThrottle1
Main Throttle Sensor Voltage
InputProcessingVrThrottle1BIOSInputs
VrThrottle2
Backup Throttle Sensor Voltage
InputProcessingVrThrottle2BIOSInputs
VTAir
Air Temp Sensor Voltage
InputProcessingVTAirBIOSInputs
VTEngine
Engine Temp Sensor Voltage
InputProcessingVTEngineBIOSInputs
VTFuel
Fuel Temp Sensor Voltage
InputProcessingVTFuelBIOSInputs
VTOil
Oil Temperature Sensor Voltage
InputProcessingVTOilBIOSInputs
VxClutch
Clutch Position Sensor Voltage
InputProcessingVxClutchBIOSInputs

Table 2.3. System Measurements

User NameDescriptionUnitsDefn. Block Local Systems
dwDummyInputDWord
Dummy dword for BIOS's that don't support all features
dwDummyInputDWord 
fDummyInputSingle
Dummy single for BIOS's that don't support all features
fDummyInputSingle 
fWheelFL
Front Left Wheel Speed Frequency
Hz
fWheelFLBIOSInputs
fWheelFR
Front Right Wheel Speed Frequency
Hz
fWheelFRBIOSInputs
NCutPattern
Inkection Cut Pattern
Seg
NCutPatternnEngine
nEngineIn
Engine Speed From BIOS
rpm
nEngineInnEngine
nEngineInst
Instantaneous Engine Speed From BIOS
rpm
nEngineInstRead nEngine In Synchro
nEngineSynchro
Instantaneous Engine Speed From BIOS
rpm
nEngineSynchroRead nEngine In Synchro
NIgnCutPattern
IgnitionCut Pattern
Seg
NIgnCutPatternnEngine
NInjCutPattern
Inkection Cut Pattern
Seg
NInjCutPatternnEngine
NLapLocal
Local lap count
NLapLocal 
NSegment
Current Segment number
Seg
NSegmentRead nEngine In Synchro
rLambda1
Air Fuel Ration
-
rLambda1BIOSInputs
tSynchro
Synchro period
us
tSynchro; tSynchronEngine; Read nEngine In Synchro
VaDrum
Gear Position Sensor Voltage
V
VaDrumBIOSInputs
VaSteer
Steering wheel angle Voltage
V
VaSteerBIOSInputs
VBattery
Battery Voltage
V
VBatteryBIOSInputs
VNFuelMap
Fuel Map Switch Voltage
V
VNFuelMapBIOSInputs
VNIgnMap
Ignition Map Switch Voltage
V
VNIgnMapBIOSInputs
VpAir
Air Pressure Sensor Voltage
V
VpAirBIOSInputs
VpBrake
Brake Pressure Sensor Voltage
V
VpBrakeBIOSInputs
VpFuel
Fuel Pressure Sensor Voltage
V
VpFuelBIOSInputs
VpManifold
Manifold Pressure Sensor Voltage
V
VpManifoldBIOSInputs
VpOil
Oil Pressure Sensor Voltage
V
VpOilBIOSInputs
VrDriverDemand1
Main Driver Input Sensor Voltage
V
VrDriverDemand1BIOSInputs
VrDriverDemand2
Backup Driver Inputl Sensor Voltage
V
VrDriverDemand2BIOSInputs
VrThrottle1
Main Throttle Sensor Voltage
V
VrThrottle1BIOSInputs
VrThrottle2
Backup Throttle Sensor Voltage
V
VrThrottle2BIOSInputs
VTAir
Air Temp Sensor Voltage
V
VTAirBIOSInputs
VTEngine
Engine Temp Sensor Voltage
V
VTEngineBIOSInputs
VTFuel
Fuel Temp Sensor Voltage
V
VTFuelBIOSInputs
VTOil
Oil Temperature Sensor Voltage
V
VTOilBIOSInputs
VxClutch
Clutch Position Sensor Voltage
V
VxClutchBIOSInputs
wDummyInputWord
Dummy word for BIOS's that don't support all features
wDummyInputWord 

GasolineControlSample/BIOSInputs/nEngine

GasolineControlSample/BIOSInputs/nEngine/Read nEngine In Synchro

GasolineControlSample/BIOSInputs/Cnv to Freq

GasolineControlSample/BIOSInputs/Cnv to Freq1