speeduino icon indicating copy to clipboard operation
speeduino copied to clipboard

Support for Ducati 48-2-2 Trigger Wheel

Open SaulGoodman1337 opened this issue 4 years ago • 7 comments

Hi, is it possible to use this trigger wheel with speeduino ? Installed e.g. in a Ducati Hypermotard 796.

dsc_2023_9

If I have understood correctly, this Trigger Wheel does not work with Speeduino, is that correct? How much effort would it be to integrate it?

SaulGoodman1337 avatar Jun 09 '20 15:06 SaulGoodman1337

I once bought an oscilloscope to monitor the crankshaft sensor. Additionally I could monitor the ignition of the horizontal cylinder. If I would now also monitor the ignition of the vertical cylinder, I don't quite understand how I can synchronize this engine? I can determine the ignition timing with these two gaps, but I would not know how to determine the ignition sequence. Does anyone here know more?

20200610-0001

SaulGoodman1337 avatar Jun 10 '20 16:06 SaulGoodman1337

Your trigger wheel turns at cam speed, so you can configure it as a 24-2 crank wheel. Unless you have a method of determining which one is the compression stroke you'd need to run it as wasted spark.

From your trace, it looks like the OEM ECU is figuring out the engine phases somehow though.

minceheid avatar Jun 21 '20 18:06 minceheid

Configure it as 24-2 Crank Trigger Wheel, with Falling Sensor Edge, based on your Oscilloscope image. Swap your crank sensor wires around and then it will be Rising Sensor Edge, which I would prefer for this motorcycle engine. Ignition Sequence is: 270 degrees - Cyl #2, then 720 degrees - Cyl #1 or 270 degrees - Cyl #2, then 0 degrees - Cyl #1

Remember to calibrate/sync your Crank Index Number with a timing light on Cyl #1 (due to Wasted Spark, this must be done with a fixed 0 degree ignition advance value).

Run Multipoint Injection...and Wasted Spark Ignition (Falling Edge).

With all of the above said. You may need to machine two extra teeth per side away. Counter-clockwise...two teeth away downward from the left and two teeth away upward from the right, when looking at the image you posted. You would have to swap this around, if you make the Trigger Sensor Edge to Rising.

Phoenix721 avatar Feb 17 '21 17:02 Phoenix721

If the previous advice that your trigger wheel is at crank speed is incorrect then 48 teeth doesn't divide into 360 without a remainder (its 7.5). You'll need some custom code as speeduino can't handle any remainders. It shouldn't be difficult as it just needs to ignore every other tooth making the pattern appear to the system as 24-1-1. You then need to use the cam to tell the system which tooth you're on in the 720 degree cycle and its done.

Im just finishing off a couple of patterns. Give me a nudge in a couple of weeks if the advice above didn't work and you do need custom code as the pattern is running at crank speed.

mike501 avatar Aug 15 '21 23:08 mike501

Hiya. This issue is pretty far up the list when searching for 'Ducati trigger pattern', so I figured I'd add some info. This wheel spins at cam speed and is effectively a 24-2 missing-tooth crank-speed trigger. The wheel seems to be used in most modern air-cooled Ducati (at least most things running the M3C ECU).

I tested a Monster 696 by unplugging the MAP sensor (incase it was using that for sync) and looking at the trigger pattern. It starts off in wasted-spark mode:

waste-spark

Then after a few seconds goes into sequential mode:

seq

How does it achieve sync with no cam sensor and no MAP pulse to reference? WHO KNOWS. My running theory is that since the 90 degree vtwin fires in a very non-linear fashion (cylinder 1 fires, 270 degrees later cylinder 2 fires, then a whole lot of nothing until its time for cylinder 1 to fire again), the ECU may be looking at the crank acceleration to determine when the cylinders are at the compression stroke and then switching to sequential mode.

TLDR: if you're happy with wasted-spark, then 24-2 missing-tooth trigger wheel and you're done.

The Testastretta Ducati timing gears have only one gap, so those are a 48-2 cam-speed wheel:

Ducati-OEM-timing-gears-pair-4497-300x300

denandz avatar Sep 17 '21 06:09 denandz

FWIW I've just fired up a 696 engine using a 24-2 crank-speed decoder. The first-tooth angle was 210 degrees BTDC cylinder 1 (the horizontal cylinder).

denandz avatar Oct 03 '21 08:10 denandz

Okay, after doing some more thinking and digging and logging, it looks like the way the stock ECU achieves sync is by analysing the crank acceleration. It fires up in wasted spark, then I assume its looking at the tooth data (or Siemens equivalent) in real time to figure out phasing. I pulled the trigger log of the engine running and graphed the results, you can see the acceleration difference between TDC exhaust and TDC compression.

FNDXlG6aIAEDXNF

I'm currently running a non-speeduino aftermarket ECU that supports crank-acceleration syncing on cranking, rather than firing up wasted-spark and then achieving sync. This works awesome, the bike fires up very quickly and I've had no issues.

This acceleration-syncing technique could be used on single cylinder and uneven fire twins and allow for full-sequential operation with only a missing tooth crank sensor

denandz avatar Mar 05 '22 03:03 denandz