V Twin Ignition Woes
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Re: V Twin Ignition Woes
---------TDC2------------------TDC1------------------TDC2------------------TDC1------------------TDC2------------------TDC1
-----------^----------------------^-----------------------^-----------------------^-----------------------^-----------------------^
--------|-----------------------|-----------------------|-----------------------|-----------------------|-----------------------|
------Tach1------------------Tach2-----------------Tach1------------------Tach2-----------------Tach1------------------Tach2
--------|--------180 deg------|--------180 deg------|-----------------360 deg---------------------|--------180 deg------|
-----------------------------------------------------------------------------xxxxxx-----------------yyyyyy
Tach1 is 175 deg AFTER TDC1. It occurs at tooth 1, the first tooth after the missing tooth.
xxxxxx, yyyyyy = approx spark region for cyl1 and cyl2 if cyl 2 were NOT odd-fire. The xxxs end at TDC1 and the yyyys end at TDC2. Now by inserting an odd_angle we will move yyyyyy either left, if odd = +90 deg advanced, or right if odd = -90 deg retarded. What you are doing is pushing yyyyyy out beyond the last tach2, which you can't do. Cylinder 2 must be set up starting at a tach2 point and must dwell and spark before the next tach2, which is 360 deg away. Bottom line is that I believe Odd angle should be + or - 90 deg, not -270 deg.
Re: V Twin Ignition Woes [SOLVED!]
Firstly a big thankyou to everyone who replied, you really helped.
So how did I do it?
First I borrowed a Fluke 2 channel scopemeter. 100% reccomend anyone having trouble with their ignition uses a scope.
2nd I checked the wiring of the VR circuit, sure enough pins 32 and 33 on the uS were backwards. Fixed that.
I connected the stock ECU and microsquirt in parralel, initally my RPM signal dropped out above about 1500RPM so I added resistors in line with the Vr+ signal untill I could get RPM to 13000. Ended up with 26KOhms.
Then I rigged up some more resistors and connected the ignition 1 output of the uS to these and 12V to simulate a coil (used about 200Ohms). Then running the bike off the stock ECU at idle it was a simple matter to adjust the ignition offset untill the rising edge of both signals matched up. (note my spark map was set at 0) The edge was initally a bit noisy in time so I switched the input capture to rising edge and the signal got alot more accurate.
Then I added dwell untill the falling edge of the signal matched up. Amazingly it was 5.5ms in the end! (I would never have gone this far normally!). After that I revved it up and adjusted the spark duration so the signals still matched as the revs rose. I also mapped a bit of the original ecu's spark timing.
From there I switched to output 2 and confirmed that that one matched up. As per Grippo's advice above i set the offset to +90 deg and this was correct. -270 would stuff up the dwell calculation.
And from there I switched back to the microsquirt and she started right up!
Now to start tuning on the weekend!
.msq with final settings attached.
- Attachments
-
- Spada Ignition Only Base 2008-05-29.msq
- This .msq idles my bike
- (25.33 KiB) Downloaded 35 times
Re: V Twin Ignition Woes [ok nearly solved!]
It was idling well but wouldn't rev over 3600RPM (popping and spluttering). I decided to remove the co-ax wire and capacitors driving the coils and go back to the stock wiring (this allowed me to drive my tacho which reads off one of the coil inputs). Anyway after that there was no effect on the RPM signal in uS but I could rev higher.
Note for people having tach problems, try the resistor first before re-wiring your car/bike!
However the timing seams to be wandering around. At idle it's fine, then at about 4000-7000RPM i get random pops and backfires and from here to 10000 it feels very retarded. It won't rev above 10000 RPM at all, all the torque just dropps away.
This is strange as I get no problems with my tach signal or dwell or trigger +-. Tried rising edge and falling edge, there is a difference but both have the same symptom of torque falling away and popps.
Anyway I will have to wait untill I can borrow the scope again next week to find out exactly what is going on.
attached datalog for now.
-
SQLGUY
- Experienced Squirter
- Posts: 243
- Joined: Sun May 14, 2006 3:03 am
- Location: Colorado Springs, CO
Re: V Twin Ignition Woes
If you really need 5ms of dwell on your coils, then I would suggest trying to adjust your pickup to just after TDC, as that's the only way you'll have enough time for advance and 5ms of dwell.
Otherwise, are you sure you're delivering enough fuel at higher RPMs? Have you tried raising the VE values around 5K and up?
Re: V Twin Ignition Woes [problem!]
First I matched the ignition timing curve with the stock ECU through the rev range (its RPM based only). The point at which the stock ECU and uS let the coil go back to 12 V is the same. I checked this on both coils. Also there are no dropped signals and the timing looks accurate, with no variation.
For Cyl 1 (ignition 1) the dwell matches up at idle around 5.5-6ms. By 10000RPM though the uS is delivering about 2.5ms of dwell where the stock ECU is delivering 3.5ms.
For Cyl 2 (ignition 2) the dwell also matches up at idle, however by 8000RPM the dwell has reduced to nothing!
I have tried a combination of +ve and -ve offsets on both the inital advance (if I do this the ignition outputs go nuts) and the offset advance (if I do this it's much worse). Also skipping teeth before a tach pulse results in a more -ve inital advance which makes the problem worse.
Is this a bug in the code? I don't want to chop up my trigger wheel, and even if I did it might not fix output 2. Grippo can you test my MSQ to confirm?
P.S. Just to remind everyone this bike is running ignition only, no fuel control.
- Attachments
-
- Spada Ignition Only Scope 2008-06-03.msq
- Latest msq
- (25.36 KiB) Downloaded 32 times
Re: V Twin Ignition Woes
Re: V Twin Ignition Woes
Also if I delay 4 teeth won't that cause a problem with the timing when the missing tooth comes around right when I want to fire the coil?
I will give it a try tonight.
Re: V Twin Ignition Woes
I believe odd = +90deg will move the yyyyy spark region leftward, closer to the start of tach2, making it worse.
Re: V Twin Ignition Woes
I tried 4 delay teeth first but this required an offset of +10deg. It looked ok but to be safe I used 5 delay teeth and -35deg.
Dwell on both cylinders is correct (and the same within 0.5ms) all the way to 13000Rpm.
I took it for a test ride and it felt good, the same as the stock bike. No more pops or anything (they are runnning the same maps so this is a good thing!)
Thanks for your help.
Attached is the final msq and .vex of the stock bike ignition map. Should be a good starting point for other low capacity twins. Mine is DOHC 4 valve 250cc.
- Attachments
-
- Spada Ignition Only Scope 2008-06-04.msq
- Final msq
- (25.45 KiB) Downloaded 38 times
-
- Spada stock ECU advance.vex
- Honda Spada stock advance table
- (1.64 KiB) Downloaded 36 times