History of MembersPage/FredrikHafslund/InputTrigger


Changes by last author:

Added:

The triggerpart of my config file

Using a wav file for table-testing, recorded from the engine that is in the car now.

Will use stock triggers (VR/VR).

<code>

#############################################################

#

# Triggers, HW determines VR or Hall

# software defines how it reacts

# #

# ========== 60-2 Trigger Configration ====================

#

# ======Primary_Trigger ====================

# FE: Rising Edge trigger

# FF: Falling Edge trigger

# 01: Multi-tooth configuration

primary_trigger=01 # Multi-Tooth configuration

# tooth_wheel:

# Used for multi-tooth wheels

# Total number of teeth

# eg For 60-2 wheel, 58 teeth between the missing tooth = 3A

# eg For 36-1 wheel, 35 teeth between the missing tooth = 23

tooth_wheel=3A

# tooth_wheel_twidth1:

# width (in degrees) of each tooth

# eg For 36-1 wheel, each tooth is 10 degrees = A

tooth_wheel_twidth1=6

# trigger_tooth:

# Used for multi-tooth wheels (Tooth that triggers event)

# so that trigger tooth is ~60 degrees BTDC

trigger_tooth=00 # so that trigger tooth is ~60 degrees BTDC

cam_sync_r_edge_phase = 141 (dec)

# ======Secondary_Trigger ====================

# FE: Rising Edge trigger

# FF: Falling Edge trigger

# 01: Multi-tooth configuration

# ??: Cam Sync setup?

# FF = disable, even prevents inj and ign firing

# 02 = disable, but allow inj and ign firing

# http://www.vems.hu/wiki/index.php?page=GenBoard%2FUnderDevelopment%2FFirmwareChanges

# please help identify/kill bad recommendations about this found anywhere

</code>

For every parameter, global.h is the primary place for the meaning of variables. secondary_trigger is no exception. Document the

* firing order

* wiring (EC36 pins to inj and ign channels)

* primary trigger: 60-2 VR on crank. position: first tooth after missing tooth is 60 degrees BTDC (cylinder ...)

* secondary trigger: 1-tooth VR on cam. position of rising/falling edge is ...

on a page (make sure to organize thematically not chronologically) like MembersPage/FredrikHafslund/InputTrigger so we can help you with your config.

<code>

secondary_trigger=02

cam_sync_r_edge_phase=FF

cam_sync_f_edge_phase=FF

reset_engphase_after=FF

# another_trigger_tooth: decimal 20 is used for 60-2 toothwheel and 6 cylinder (3 events per crankrot)

another_trigger_tooth=14

# not used without camsync

tooth_wheel_twidth2=12

</code>