InputTrigger/SubaruThirtySixMinusTwoMinusTwoMinusTwo (2010-06-15 13:09:40)

Because of contradiction between information from the same Subaru manual, start with

Cam info. This helps to decide what is more likely around the crank.

There is a camsync pulse 45 crank degrees before Cyl 1 TDC, then the second comes 135 crank degrees after TDC

Camsync:

subaru2001-camwheel.jpg

The relative position of the cam (having the camsync pulse coming inside the middle of the long gap) was a reasonable decision.

Now this crank arrangement makes more sense than the contradicting other:

subaru2001-crankwheel.jpg

The timeline on the pic above and below are contradictory.

We assume the above is correct: the double long gap is followed by 13 tooth, not 16.

Crank Sensor pattern:

subaru2001-crankwheelpic.jpg

The choice to have the long gap detected at 30 BTDC and 0 TDC is weird.

On both pics with the wheel, it turns anti-clockwise. The engine runs clockwise, but the pic is of the back of the wheel.

We can look at it as 15+3,3+12+3


svn ci -m "subaru 36-2-2-2 implemented first without camsync: derived from c012 - untested"

Than burn, and might need to reboot.

Please measure+figure how to set trigger tooth and TDCdelay.

(tooth 0 is after the long gap after the group of 16 normal tooth).


Test pattern

Here is a [wav file] (with CamSync. Inverted to play properly. 670 RPM ?)

Here is a [vemscfg file] of the setup described above (trigger settings)

In Jason's engine there is the possibility of using a 4-1 cam signal. It's for the 2004 WRX STi variable cam system (disabled on this engine for now) and those sensors are still there but unused. We should figure out the 2 pulse camsync, but if the 4-1 is easier to handle quickly, I'm ok with that. There is a 4-1 on each cam, but I expect it's sufficient to just read one of the two (just like this 2 pulse cam trigger).