I have a car with Magneti Marelli cam (VR?) sensor(very hard to modified cam sensor), 3 sectrig teeth.
Write position of sectrig pulses, please !
- primary trigger is 60-2 (trigger tooth=9 64deg before tdc).
- If vems ignore sectrig pulses in range 130-150deg before TDC that leaves only one pulse per cam rotation.
Proposal
- add code to sec trigger, if sec trigger is in range of min and max sectrigger angle then that pulse is ignored.
- when the camsync is detected, we do NOT have cam-referenced position angle. We only have primtrig toothcount (with missing tooth wheel)
- tooth0 is the tooth after missing gap, 0..57 are the toothnums for 60-2. Can you rephrase your page that way ?
- 9*6 + 64 + (360-130) = 348 (tooth 58 ?)
- 9*6 + 64 + (360-150) = 328 ( tooth 54 ?)
Should there be some config.secignore to ignore camsync that comes at primtrig toothcnt > config.secignore ? (default 255 disables it).
Note that it doesn't matter if many sectrig pulses come, as long as all those pulses are in the same crankshaft rotation (starting at tooth0 of course, NOT TDC) they don't cause operational problem with missing tooth primary trigger wheel (if camsync bad position is configured to flag only, not to cut spark).
Well it would be good for the modified Cosworth, which using 36-1 crank trigger wheel, but need to use the original 2-tooth secondary trigger!
- imho not, becouse orginal cosworth has two impulses 180deg(90deg on cam) forked.