Fredrik has made some more code changes so its time for some
InputTrigger/NissanTriggerTesting
I'll try and summarize what has been discussed to and from regarding the nissan trigger system.
First, we need to understand how the current trigger works.
It's an optical system located on the cam. There are two sensors. One of them records the engine speed using 360 small slots. The other one triggers the ignition events using different sized slots. It knows which cylinder is 'active' by counting the number of small slots while the larger slot is open. See [this image] and reread the paragraph and it will make sense.
This image is for the CA18DET engine. The SR20DET, RB26DETT and the other nissan engines works in exactly the same way, but differs on where the slots are placed and the number of cylinders.
Update: this may not be true. I've seen pictures of discs where only one of the slots is large (to indicate #1) and the rest is small. If someone could find a trigger disc which isn't from a CA18DET to confirm this, it'd be great. It's not a big problem, but it will affect the implementation.
So, how do we support this in VEMS?
360 camtooth (180 teeth per crank rotation) is suitable for interrupt processing. Especially with the small trick to disable the interrupt for the dense teeth where not needed (neglected 95% of the time).
There is an implemenation for this in SVN now; but we need to stabilize trunk before merging it in.
Latest News
The latest trigger solution is about to go into Alpha testing. Tests results will be posted on the InputTrigger/NissanTriggerTesting page
Other Nissan Trigger Solutions
Robbie Thornton, Track Day Performance http://www.tdp.ie became so hacked off with trigger errors that he went over to this setup:
Note the sensor on the cam pulley, and the Bosch coil drivers on the firewall, he as IIRC a 36-1 trigger wheel on the front pulley.
Greg from Weston Performance http://www.westonperformance.com/
Wanted to use a stand alone ECU while retaining the standard Nissan CAS, he used a 2mm thick disk with four cylinder trigger holes and one sync hole.
See also