MembersPage/MichaelRichards/Projects/NicksGTX/Fuel

Most of these settings are copied from Fero's config.txt\n

# Priming pulse at -40 F [100 usec] eg. 0x40 * 100uS = 6400uS
primep=3C
# Priming pulse scaling at 170 F (0x80=half, 0xFF=same as cold) 0xA0 = ~63%
primep_temp_scaling=59

# typically cwh =~Â| 0.2 * cwl
# Cranking pulsewidth [x100 usec] at -40F (-40C) eg. 0xE0 * 100uS = 22400uS
cwl=5A
# Cranking pulsewidth [x100 usec] at 170F ( 76.6C) eg. 0x40 * 100uS = 6400uS
cwh=0F

# Cranking threshold [x100 rpm] eg. 0x03 * 100RPM + 99RPM = 399rpm
# TODO: consider 03, since 399 sounds better than 499 (that is for 04)
cranking_thres=04

# Afterstart warmup enrichment (%added value) 0x50 = 80%
awev=0F
# Afterstart warmup scaling at 170 F (0x80=half, 0xFF=same as cold) 0xA0 = ~63%
awev_temp_scaling=A0
# Afterstart number of engine cycles, NOTE: This is not ignition events anymore
awc=64

# warmup_clt_range defines the temperature bins used for interpolation
# the values in warmup_clt_range is degrees Fahrenheit + 40
# C = 5/9 * F - 40
# F = 9/5 * C + 72
warmup_clt_range[0]=00  # -40.0 C
warmup_clt_range[1]=14  # -28.8 C
warmup_clt_range[2]=28  # -17.7 C
warmup_clt_range[3]=3C  #  -6.6 C
warmup_clt_range[4]=50  #   4.4 C
warmup_clt_range[5]=64  #  15.5 C
warmup_clt_range[6]=78  #  26.6 C
warmup_clt_range[7]=8C  #  37.7 C
warmup_clt_range[8]=AA  #  54.4 C
warmup_clt_range[9]=C8  #  71.1 C

#  Warm up enrichment as function of temperature, biased at 100 (0x64)
# enrichment @-40.0C
warmup_clt[0]=FF
warmup_clt[1]=FA
warmup_clt[2]=F5
warmup_clt[3]=F0
warmup_clt[4]=E6
warmup_clt[5]=C7
warmup_clt[6]=AA
warmup_clt[7]=91
warmup_clt[8]=82
warmup_clt[9]=64
# no enrichment (0x64==100 which is *1.0) @71.1C and above

# warmup enrichment can be decreased as a function of rpm.
# set all to 0x64 to disable
warmup_rpm[0]=64 # 100%
warmup_rpm[1]=64
warmup_rpm[2]=64
warmup_rpm[3]=64
warmup_rpm[4]=64
warmup_rpm[5]=64
warmup_rpm[6]=64
warmup_rpm[7]=64

# injectors 391cc @ 3bar == 40.273 lb/hr
# engine 1860 cc == 113.46 cid
# req fuel == 7.4 ms change to 100us units -> 74
# doubled VE values and divided req_fuel by two to increase resolution
#
# req fuel is changed to 3.2 mS
req_fuel=20

TODO: I don't understand how to calculate this. It came from Dave's setup but I'm running 550cc injectors.

# squirt on missing thooth and on tooth 30.
divider=01
alternate=03

TODO: Can't find any docs on these. I need to go fully sequential injection to get a good idle with these big injectors.

# I measured the injector opening time with scope, by adding a 0.1 ohm current
# measuring resistor in between fet and injector, then measuring the voltage
# over resistor with the scope. I turned out to be ~ 1.36 mS
# injopen=55 # 0x55 * 16 = 1360 uS [16usec] based
injopen=0D

battfac=22 # changed to 00 from 28 -> 0x28 * 16 = 640 uS / Volt [16usec] based

# used! TODO: check http://www.vems.hu/wiki/index.php?page=MembersPage%2FMarcellGal%2FEngineSwap%2FFuelFeed for injopen stuff (and copy)
injocfuel=00

# MAP range [2kPa] 0: use A/B lookup table
# 2.5 bar MAP sensor: 8D
# 1.15 bar MAP sensor: (hexa) 39
# 5.1 bar MAP sensor (impressive boost !!): FF (max value)
kpafac=8D
kpaofs=52

# TODO: PWM-ing (intentional?)
# 25% (=0x40 / 0x100) duty at high VBatt 
injpwm=40
# +... some added at lower VBatt
injpwm6=20
# but only after 1msec (before that it's full power)
injpwmt=0A


# 4 Cylinder (12000/4) = 3000 (0x0BB8)
rpmk[0]=0B
rpmk[1]=B8

# 0: TPSDOT, 1: MAPDOT acceleration enrichment
tpsdot_kpadot_conf=00

# Accel TPSDOT threshold (throttle sensitivity), this specifies the
# minimum rate of change to enable any acceleration enrichment
tps_thresh=8F

# Acceleration duration [0.1 sec] eg. 0x0A * 0.1 = 1 second
tpsasync=02

# Acceleration cold multiplication factor, biased at 0x64 eg. 0x64 - bias = 0
acmult=64

# Cold acceleration added amount (at -40 F degrees) [x100 usec]. eg. 0x14 * 100uS = 2000uS
tpsacold=02

# Rate of change bins for use with tps_thresh. If 14 =< actual delta(throttle position)
# < 28 then tpsdotrate[1] is the active bin.
# define the tps-dot bins: d(tps)/[0.1 sec]
tpsdotrate[0]=02
tpsdotrate[1]=10
tpsdotrate[2]=1F
tpsdotrate[3]=23

# TPS acceleration amount (fn TPSDOT) [100 usec]. This is the acceleration enrichment
# pulsewidth, the active bin is determined by tpsdotrate[].
tpsaq[0]=02
tpsaq[1]=04
tpsaq[2]=05
tpsaq[3]=08

# Deacceleration fuel cut, 100(0x64) means no fuelcut because of sudden tps-release.
# This can cause lean condition, misfire, kill-the-cat etc, so take care.
# 00 would be rough behaviour, other value under 96% (0x60) is dangerous, I'd leave it at 100%:
tpsdq=64

# Decel fuelcut enabled above threshold [x100 rpm] eg. 0x0F * 100 = 1500rmp
decel_fuelcut_thres=0F

# Overrun fuelcut: injectors disabled above this [x100 rpm]
# 16 (0x10) x 100 = 1600rpm when engine.tps <= config.iac_tps_thres (TPS fully released)
overrun_fuelcut=FF

# Overrun fuelresume, injectors reenabled below this [x100 rpm]
# eg. 13 (0x0D) x 100 = 1300rpm. Must be lower than overrun_fuelcut.
overrun_fuelresume=11

# Rev limit (hard) [x100 rpm] eg. 0x4B * 100rpm = 7500rpm
rev_limit=42