MembersPage/GrmRacer/ITBConfigs (2005-03-23 01:05:49)
  1. Last Updated 22 Mar 2005
  2. GRM car: NA car
  3. 4 window hall sensor
  4. target board v3.2
  5. Much copied from Jrussels config for the v2.2
  6. Im not sure which injectors I have
  7. going with lebaron 2.2 turbo injectors
  8. Injectors Populated: INJA, INJB, INJD, INJG
  9. Wideband Heater: WB1
  10. IGNition Drivers: DR_00, DR_01, DR_02, DR_03,
  11. STARTUP
  12. Pump Priming
primep=oD # 1.3ms
  1. --- Hot start Priming pulse scaling at 170F (80= half FF = same as cold)
primep_temp_scaling=A0
  1. ======== Cranking Pulse
  2. typically cwh =~ 0.2 * cwl
cwl=46 # Cranking pulsewidth [100 usec] at -40 F (7ms)

cwh=14 # Cranking pulsewidth [100 usec] at 170 F (2ms)

cranking_thres=03 # Cranking threshold [100 rpm]

  1. Initial Start and Warmup
  2. ======== Afterstart
awev=44 # Afterstart warmup enrichment (percent, added value)

awev_temp_scaling=A0 # Afterstart warmup scaling at 170F (80=half, ff=same as cold)

awc=41 # Afterstart number of engine cycles

  1. ======== Warmup Coolant
  2. warmup_clt_range defines the temperature bins used for interpolation
  3. the values in warmup_clt_range is degrees Fahrenheit + 40
  4. C = 5/9 * F - 40
  5. 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

  1. warmup_clt is the value of each bin defined in warmup_clt_range
  2. this is the actual warmup enrichment. Values biased at 100
warmup_clt[0]=9B

warmup_clt[1]=9B

warmup_clt[2]=99

warmup_clt[3]=93

warmup_clt[4]=8A

warmup_clt[5]=7d

warmup_clt[6]=78

warmup_clt[7]=6e

warmup_clt[8]=6a

warmup_clt[9]=64

  1. warmup enrichment can be decreased as a function of rpm.
  2. 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

  1. Injector settings
  2. Fueling Parameters (Last years settings bad! Need NON-PWM settings)
req_fuel = 48 # Fuel constant (req_fuel) (72 Decimal)

divider = 01 # IRQ divide factor for pulse

alternate= 01 # Alternate injector drivers Works with h[0]

# alternate = 00 means use only first (batch fire or TBI)

# alternate = 01 means alternate between first and second

# alternate = 03 to use indexes 3,2,1,0

# alternate = 07 to use indexes 7,6,5,4,3,2,1,0

injopen=22 # [16usec] based, (mutiply MS standard value by 6.25 to get [16usec])

battfac=24 # [16usec] based, (mutiply MS standard value by 6.25 to get [16usec])

kpafac=34

kpaofs=00

injocfuel=00 #PW-correlated amount of fuel injected during injector open[4usec]

injrampup_battfac=FF

injpwm=00 # Injector PWM duty cycle (when current limiting is active) (set to ~100% no PWM - JJR 03/31 15:15)

injpwmt=FF # Injector PWM time at which to activate pwm [100 usec] FF=disabled (set to 1 mS per MegaManual for starting point)

injpwm6=00 # added Injector PWM duty cycle during low battery voltage (6V)

rpmk[0]=0B #12000 rpm/4clyn

rpmk[1]=B8

  1. TPS related information
tpsdot_kpadot_conf=00
  1. TPS dot bins
tpsdotrate[0]=05

tpsdotrate[1]=0E

tpsdotrate[2]=20

tpsdotrate[3]=40

  1. TPS accelerator enrichement: set to 00 for inital VE tuning
tpsaq[0]=00

tpsaq[1]=00

tpsaq[2]=00

tpsaq[3]=00

  1. not sure about these
tps_thresh=05

tpsasync=02

acmult=64

tpsacold=05

tpsdq=64

decel_fuelcut_thres=FF

overrun_fuelcut=10 # RPM

overrun_fuelresume=0F # RPM

  1. Rev limiter
rev_limit=40 # what RPM is this
  1. No idea
airden_ignore=62
  1. these are important
  2. These useful descriptions are left over from Megasquirt

config11=30 # old config 31

config12=30 # 4 cylinders

config13=02 # old config 00

  1. battery calibration for starting and dwell I believe
batt_cal=BC
  1. Fast Idle
fastidle=C6 #RPM??
  1. barometer
baro=64

dbaro=10

  1. TPS calibration
  2. this is supposed to be uploaded thru megasquirt etc. ,but Some versions
  3. of Tuning software are broken and this has to be done manually
  4. It is very important that this get done
tps_low=00

tps_high=FF

  1. Coolant Fan output
  2. Insert description...
fan_temp=EA

fan_hyst=05

fan_channel=FF

  1. Idle air controller -- I dont have one.
  2. This is where the idle is setup lots of stuff here to screw up.
iac_step_seq=C9

iac_conf=7E

iac_max_steps=F0

iac_tps_thres=05

iac_cold_idle_temp=A0

iac_warm_idle_temp=D0

iac_cold_rpm=74

iac_warm_rpm=67

iac_cold_start_pos=E2

iac_warm_start_pos=B0

iac_afterstart_rpm=1F

iac_afterstart_duration=20

iac_afterstart_steps=04

iac_kp=25

iac_ki=10

iac_kd=30

iac_integral_speed=C0

iac_integral_limit_dec=05

iac_integral_limit_inc=E0

iac_integral_deadband=0A

iac_deadband=05

iac_pid_conf=01

iac_overclose_interval=B8

iac_ref_pos[0]=35

iac_ref_pos[1]=34

iac_ref_pos[2]=33

iac_ref_pos[3]=32

iac_ref_pos[4]=31

iac_ref_pos[5]=30

iac_ref_pos[6]=2F

iac_ref_pos[7]=2E

iac_ref_pos[8]=2D

iac_ref_pos[9]=2C

iac_sol_channel=FF

iac_ign_advance_change=28

iac_ign_retard_change=20

iac_ign_advance_limit=10

iac_ign_retard_limit=1A

iac_ign_threshold=08

  1. EGO Exhaust Gas Oxygen -- very important.
  2. This setup is marcells and is very broken

ego_conf=07

ego_lag=04

ego_coolant=00

ego_maxtps=FF

ego_maxmap=FF

ego_minrpm=04

ego_maxrpm=FF

ego_warmup=3C

ego_lean_limit=1D

ego_rich_limit=28

ego_pid_kp=40

mt_unused=00

ego_delta=01

ego_target=19

ego_pid_window=FF

  1. THis section is BROKEN need to fix and calibrate
  2. This setup is marcells and is very broken
wbo2_warmup_ramp=80

wbo2_warmup_target=FF

wbo2_abs_limit=E5

wbo2_limit_maxt=FF

wbo2_fallback=A3

wbo2_retry_t=01

wbo2_edgetime_corr=26

wbo2_edgetime_min=62

wbo2_ri_target=4A

wbo2_nernstdc_target=F0

wbo2_pump_pw_zero=66

wbo2_calibration=B8

wbo2_heater_pid_kp=AE

wbo2_heater_pid_ki=45

wbo2_heater_pid_kd=28

wbo2_heater_pid_ilimit=FF

wbo2_pump_pid_kp=8F

wbo2_pump_pid_ki=70

wbo2_pump_pid_kd=03

wbo2_pump_pid_ilimit=FF

wbo2_ri_confidence_scale=FF

  1. Knock Detection and correction
  2. Not being used this go round
knock_conf=00

knock_sampling_window=FF

knock1_frequency=29

knock1_gain=FF

knock1_integrator=FF

knock2_frequency=29

knock2_gain=FF

knock2_integrator=FF

knock_threshold=FF

knock_noise_scale=FF

knock_max_retard=FF

knock_default_retard=00

knock_retard_step=FF

knock_retard_delay=FF

knock_advance_step=FF

knock_advance_delay=FF

knock_minrpm=FF

knock_maxrpm=FF

  1. VE learning VERY important
ve_learn_coolant=D8

ve_learn_max_power=FF

ve_learn_rpm_scale=1E

ve_learn_kpa_scale=1E

ve_learn_ego_scale=43

ve_learn_min_weight=4D

ve_learn_speed=FF

ve_learn_limit=FF

ve_learn_conf=00

  1. LCD layout
lcd_c0=FE

lcd_delay=FF

lcd_backlight=FF

lcd_offs[0]=FF

lcd_offs[1]=FF

lcd_offs[2]=FF

lcd_offs[3]=FF

lcd_default_view=00

  1. Triggers, HW determines VR or Hall
  2. software defines how it reacts
  3. ======Primary Trigger ====================
primary_trigger=01

tooth_wheel=3A

trigger_tooth=10

  1. ======Secondary Trigger ====================
secondary_trigger=FF

another_trigger_tooth=1E

crank_minper=50

tooth_wheel_twidth1=06

tooth_wheel_twidth2=12

cam_sync_r_edge_phase=FF

cam_sync_f_edge_phase=FF

reset_engphase_after=FF

  1. Ingition stuff
ign_tdcdelay=70

ign_dwell14=30

ign_dwell6=83

ign_crank_advance=2E

ign_out=70

ignchmax=03

engine_off_delay=08

  1. Fuel Pump Control
pump_on_mintime=10

fuelpump_channel=70

  1. second stage of injectors
inj_stage2_rate=FF

inj_stage2_start_tps=FF

inj_stage2_start_map=FF

  1. Anti-lag system
als_lowrpm=FF

als_maxtps=FF

als_ignretard=FF

als_rich=FF

  1. Misc outputs (WOT & RPM, WOT, RPM, channel definition)
  2. ============== Misc 1 output =================
misc1out_minrpm=06

misc1out_maxrpm=19

misc1out_mintps=20

misc1out_maxtps=FF

misc1out_minmap=50

misc1out_maxmap=FF

misc1out_channel=30

  1. ============== Misc 2 output =================
misc2out_minrpm=FF

misc2out_maxrpm=FF

misc2out_mintps=FF

misc2out_maxtps=FF

misc2out_minmap=FF

misc2out_maxmap=FF

misc2out_channel=FF

  1. ============== Channel Select =================
act_wot_rpm=FF

act_wot_channel=C0

act_rpm_rpm=FF

act_rpm_channel=FF

  1. Exhaust Gas Temperature
egt1_cal=40

egt1_offs=00

  1. Boost Controller
boost_conf=00

boost_targetoffs=00

boost_minpressure=FF

boost_pid_kp=20

boost_pid_ki=80

boost_pid_kd=01

boost_pid_ilimit=FF

boost_channel=FF

  1. Water pump Controller
water_pump_temp=00

hybrid_rpm_a=00

hybrid_rpm_m=00

water_pump_hyst=00

water_pump_channel=FF