shauer's MS3X Beta Testing

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

You actually went the wrong way. You wanted 360+45 not -45. Higher numbers BTDC mean earlier. That said, use whatever runs best.
I hope a diagram is going to be added to the documentation to spell this whole timing thing out in small, simple, single syllable words for those of us that are 720 degree challenged.... :roll: :? The "two times around the circle" diagram in the other post did not help. Either I'm missing something that is stupidly obvious (entirely possible), or this only makes sense if you have worked in the code.

This is how I am thinking of the timing, where am I going wrong?

If TDC compression is at zero and the engine is rotating in a positive direction, then 180 degrees is BDC of power / start of exhaust and 360 is TDC /start of intake. If my intake valve opens 45 degrees before the TDC of intake then would that not be 360 - 45 = 315?

0 degrees - TDC / start of combustion
180 degrees - BDC / start of exhaust
*** Intake valve opens 45 degrees before TDC ***
360 degrees - TDC / start of intake
540 degrees - BDC / start of compression
720 degrees - back at zero again for TDC / start of combustion

Thanks.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: shauer's MS3X Beta Testing

Post by jsmcortina »

shauer wrote:I hope a diagram is going to be added to the documentation to spell this whole timing thing out in small, simple, single syllable words for those of us that are 720 degree challenged....
That would imply that the developers actually understand it and can describe it!!

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

jsmcortina wrote:
shauer wrote:I hope a diagram is going to be added to the documentation to spell this whole timing thing out in small, simple, single syllable words for those of us that are 720 degree challenged....
That would imply that the developers actually understand it and can describe it!!

James
I guess I'm wondering are the values in the injector timing table defining degrees before TDC or degrees after TDC???

I was thinking degrees after TDC since that is how I mentally see the engine rotating:

0 degrees - TDC / start of combustion
180 degrees - BDC / start of exhaust
360 degrees - TDC / start of intake
540 degrees - BDC / start of compression
720 degrees - back at zero again for TDC / start of combustion

Ken's comments would imply the values are degrees before TDC:

0 degrees - TDC / start of combustion
180 degrees - BDC / start of compression
360 degrees - TDC / start of intake
540 degrees - BDC / start of exhaust
720 degrees - back at zero again for TDC / start of combustion

I think this is the source of my confusion
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: shauer's MS3X Beta Testing

Post by jsmcortina »

The injector timing numbers are in the same units, offset and scale as ignition timing.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

jsmcortina wrote:The injector timing numbers are in the same units, offset and scale as ignition timing.

James
Yup, this falls under the "Either I'm missing something that is stupidly obvious" category. :oops: Thanks.

Ok, I was "going around the circle" in the wrong direction. The numbers a BTDC and not ATDC as I was originally thinking.

So, the injector and ignition timing are both the same (degrees BTDC). But, the timing numbers for MAP sampling are degrees *after* TDC, correct?
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
daxtojeiro
Master MS/Extra'er
Posts: 835
Joined: Sun May 02, 2004 2:16 pm
Location: Norwich UK
Contact:

Re: shauer's MS3X Beta Testing

Post by daxtojeiro »

This may help you, its some help files I did for MS2 sequential injection. I think MS3 works the same way:

http://www.extraefi.co.uk/sequential_fuel.html

http://www.extraefi.co.uk/Seq_MS2.html


Phil
Image
http://www.msextra.com/manuals/MS_Extra ... _Index.htm for MS1 Extra Manuals
http://www.msextra.com/ms2extra/ for MS2-Extra Manuals
http://www.extraefi.co.uk/cobra/accobra.htm 5.0L TVR powered Cobra Replica (MSnS-E)
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

daxtojeiro wrote:This may help you, its some help files I did for MS2 sequential injection. I think MS3 works the same way:

http://www.extraefi.co.uk/sequential_fuel.html

http://www.extraefi.co.uk/Seq_MS2.html


Phil
Thanks Phil, those are the sort of diagrams that I was looking for. I find the "time line" presentation of the engine cycle much easier to follow than the "circular" presentation. I searched and did not find these referenced in the MS2 manual, are they there yet?

I'm not sure if MS2 sequential is the same in this regard, but on MS3 it appears you can keep all the timing values positive. In your diagrams you start on the right edge with zero and increase the degrees before TDC as you move to the left. When you hit 360 degrees BTDC your diagrams flip over to negative numbers. On MS3 you can just keep going in a positive direction so the exhaust stroke would be between 540 and 360 degrees BTDC. I personally find this easier to deal with in my head instead of trying to remember to change signs part way through the cycle. So as Ken said several posts ago, if my intake opens at 45 degrees BTDC on the intake stroke that would be 405 degrees BTDC.

I think out of everything I had to do to get sequential up and going, this has been the most difficult part for me to get defined. I have not been following the MS2 sequential work and I could not locate anything in the manuals. There are so many different ways to express a specific point in a 4-stroke engine cycle and I could not locate a clear definition. :RTFM:

So with my new understanding of how this all works, I'm in the process of playing with various injector timings trying to figure out what my engine likes best.

Thanks everyone for your help!
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
Gokart
Master MS/Extra'er
Posts: 667
Joined: Thu Aug 03, 2006 2:38 am
Contact:

Re: shauer's MS3X Beta Testing

Post by Gokart »

Phil's diagram is still applicable for MS3/MS2. Both can use positive ( 0 degrees to 720 ) or negative (0 to -360 then 360 to 0 = 720 degrees)
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: shauer's MS3X Beta Testing

Post by muythaibxr »

All timing numbers in MS (including MAP sampling) are in degrees BTDC.

If you enter a negative number for timing, that becomes degrees ATDC.


Ken
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: shauer's MS3X Beta Testing

Post by racingmini_mtl »

As mentioned, Phil's diagram could have 540 where -180 is and 720 where 0 is on the left since the MS2/Extra range goes from -360 to 720 degrees (as does MS3) to allow a continuous 720 degree range with any timing distribution.

Phil, a small correction: your option 2 for 6 cylinder semi-sequential shows the firing order and cylinder grouping of an 8 cylinder.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
daxtojeiro
Master MS/Extra'er
Posts: 835
Joined: Sun May 02, 2004 2:16 pm
Location: Norwich UK
Contact:

Re: shauer's MS3X Beta Testing

Post by daxtojeiro »

racingmini_mtl wrote:As mentioned, Phil's diagram could have 540 where -180 is and 720 where 0 is on the left since the MS2/Extra range goes from -360 to 720 degrees (as does MS3) to allow a continuous 720 degree range with any timing distribution.

Phil, a small correction: your option 2 for 6 cylinder semi-sequential shows the firing order and cylinder grouping of an 8 cylinder.

Jean
Arrgh, thanks for that, I will correct that,
cheers
Phil
Image
http://www.msextra.com/manuals/MS_Extra ... _Index.htm for MS1 Extra Manuals
http://www.msextra.com/ms2extra/ for MS2-Extra Manuals
http://www.extraefi.co.uk/cobra/accobra.htm 5.0L TVR powered Cobra Replica (MSnS-E)
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

I have been driving my car daily to and from work, about 40 miles each day of mixed stop/go and highway driving. Everything is running well with no noticeable issues.

What I have been playing with is the sequential tuning. The reason I wanted the MS3X was specifically to get the advantages of sequential with my barely street-able engine. This is also why I was so interested in fully understanding the sequential timing stuff. Sequential has made a huge improvement in drive-ability with my long duration cam and ITBs. It has almost taken some of the fun out of the engine, well maybe not. :P

I have tuned and re-tuned my sequential timing several times and so far the best results for me have been achieved by setting the injection timing at idle to get the richest AFR. On my engine there is about a 20 degree window where this occurs that is located around the intake valve opening time. I can effect a 10% change in mixture (and therefore fuel required) just by changing the injection timing. I tuned for richest idle mixture (keeping everything but injection timing the same), and then once the injection timing was set I re-adjusted VE and ignition timing to get the best idle quality and lowest idle MAP. The net result of this approach has been a smoother idle, being able to drop the idle speed by about 10% - 15%, a slight drop in idle MAP, and about 10% less fuel used for idle.

The other really noticeable change is in the drive-ability of the car below 2000 RPM. With batch-fire injection I really was not able to bog down the engine below 2000 RPM without a lot of nasty vibration and almost no usable power. Now I can floor it in 5th gear and 1500 RPM. The engine is not really happy down in that region but the vibration is all but gone and it will pull itself up out of that hole where it could not before. I normally try not to do this to my engine but it really helps in daily driving to get back some of this low RPM range.

I'm still trying to find a reference that has a rough order of magnitude number for fuel transit times so I can do a better job of roughing in the injector timing advance for higher RPMs. For right now I simply advance the injection timing 5 degrees every 500 RPM once I'm out of the idle RPM range. This does not appear to hurt anything, no idea if it is helping or not.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: shauer's MS3X Beta Testing

Post by muythaibxr »

Sounds good. I don't know one way or the other what the transport time is going to be.

I'll have to think about it to see if I can think of anything.

Ken
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: shauer's MS3X Beta Testing

Post by racingmini_mtl »

I don't have an answer for the transit time either but remember that what is good for idle and driveability may not be what's needed for maximum power at WOT and high RPM. There has been some discussions on this topic and some interesting technical information but I can't find the posts I have in mind at this time. But a search on sequential and injection timing should give some results.

So advancing the injection timing as RPM increases may not be what you want because you may need to inject later for best power even taking into account the transit time.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

racingmini_mtl wrote:I don't have an answer for the transit time either but remember that what is good for idle and driveability may not be what's needed for maximum power at WOT and high RPM. There has been some discussions on this topic and some interesting technical information but I can't find the posts I have in mind at this time. But a search on sequential and injection timing should give some results.

So advancing the injection timing as RPM increases may not be what you want because you may need to inject later for best power even taking into account the transit time.

Jean
I understand. I was not attempting to state that what I did off-idle was in any way the "right" or "optimal" approach. It is simply what I have done so far.

I will be searching for the same posts you mentioned, I remember seeing them also.

I will eventually get this thing on a dyno later this summer or into the fall. The only problem is the cost of dyno time is prohibitively expensive for anything beyond 3 pulls unless I can work out a deal under the table with my local shop.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: shauer's MS3X Beta Testing

Post by racingmini_mtl »

shauer wrote:I understand. I was not attempting to state that what I did off-idle was in any way the "right" or "optimal" approach. It is simply what I have done so far.
But I do think that what you did for idle and driveability is the right way to do it and the fact that you can both lower your idle speed and use less fuel is a good indication that it is working. I was just pointing out that for upper range and for maximum power the best timing is likely to be different. Also, you're not likely to be tuning the idle and off-idle on a dyno so your approach is probably the most practical one for that part of the timing table.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

racingmini_mtl wrote: but remember that what is good for idle and driveability may not be what's needed for maximum power at WOT and high RPM. There has been some discussions on this topic and some interesting technical information but I can't find the posts I have in mind at this time. But a search on sequential and injection timing should give some results.
Jean
Jean, this whole thing is your fault. I needed to dig into this since you brought it up... :lol:

Now that I have at least part of a handle on my idle tuning I started digging into the pile of contradictory information on the 'net regarding tuning injection timing. After several hours of research I could find a source to prove just about any strategy you could want. At the end of this short odyssey I decided to try an approach that was advocated by some of the more reputable looking sources I could find. :RTFM:

The general consensus is that properly timed injection timing helps noticeably at low load and short injection pulse widths, there is almost no advantage at all between batch fire and timed injection at WOT.

The tuning approach I am experimenting with uses the theory that you want to center the fuel injection event around the point of maximum intake air velocity. Now I don't have access to any expensive engine analysis software or a dyno so I am using a rough approximation for the timing of this event. Maximum intake velocity will occur somewhere around the maximum lift on the intake lobe of the cam. In general, maximum velocity will be slight before maximum lift at low RPMs and slightly after maximum lift at high RPMs. On my cam the intake lobe center is at 252 degrees BTDC.

I looked through a couple data logs and found that on my engine my injector pulse widths were between 4ms and 6ms in the low-load operating area between 1500 and 3500 RPM. To keep me from losing my mind with the math I picked the middle duration of 5ms for my additional calculations. I little more math showed me that a 5ms injection pulse takes 30 degrees of crank rotation at 1000 RPM. Applying this 30 degrees per 1000 RPM I get the following:

1000 RPM - 30 degrees
2000 RPM - 60 degrees
3000 RPM - 90 degrees

I did all this to make sure that if I centered my injection event around maximum intake lift that the injection event would end early enough in the intake cycle to give me a feeling that all the fuel might make it into the cylinder. This last part is definitely a guess.

For my first attempt I decided I wanted my injection events to end no later than 240 degrees BTDC. This means that my idea of keeping the injection event centered on the cam starts to fall apart between 1000 and 2000 RPM but I was hoping it would still be close enough to see a benefit from all this math.

I set up my injection timing using these rough numbers for all the bins outside of my idle range. I ended up with injection end timing between 260 and 240 degrees BTDC, maxing out on the timing around 3000 RPM where they are all set at 240. I wanted to stick with injection end time and not use injection centered timing because I still felt that I wanted to make sure the injection event finished within the desired intake stroke. I felt is was better to spray gas on the hot, closed intake valve prior to it opening rather than letting the end of the injection event cause gas to pool in the runner waiting another 540 degrees.

I plugged these numbers into my MSQ this morning and drove to work with VEAL adjusting my VE table which was within a couple percent of ideal on my previous injection timing. At the end of the drive, VEAL had to reduce almost all bins on my VE table by between 3% and 7%. :D As expected, the biggest decrease in required fuel was at low-load with only a couple percent change at WOT.

So, from my point of view it looks like the theory of injecting fuel close to max intake air velocity yields a more efficient mixture on my engine than spraying fuel on the closed valve when not idling. For idle, it still looks like the fuel on the valve timing works better for me. The engine *did* feel smoother at cruise with the new timing, my butt dyno is not sensitive enough to know if there was any increase in part-throttle power. I'm guessing there was a little increase just because the mixture was more efficient and the engine felt smoother.

I think I will go through a series of experiments now where I get me VE table dialed in well with a given timing, then change one or two columns and allow VEAL to tell me if the mixture is more or less efficient. It's not as good as a gas analyzer or dyno but it appears to work.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: shauer's MS3X Beta Testing

Post by muythaibxr »

I wonder if it would be worthwhile to allow switching between beginning, middle, and end of pulse timing. It sounds like you really want end at idle, and middle everywhere else and it might be easier for people to figure out if they don't have to figure out degrees from pulse-width. I will have to think about this.

Ken
shauer
Experienced MS/Extra'er
Posts: 364
Joined: Wed Oct 05, 2005 10:39 am
Location: Rochester, NY USA
Contact:

Re: shauer's MS3X Beta Testing

Post by shauer »

muythaibxr wrote:I wonder if it would be worthwhile to allow switching between beginning, middle, and end of pulse timing. It sounds like you really want end at idle, and middle everywhere else and it might be easier for people to figure out if they don't have to figure out degrees from pulse-width. I will have to think about this.

Ken
That might be useful. I think you *may* want end of pulse timing at large injection pulse widths as well. When the pulse width becomes a significant portion of the intake stroke, it still may be better to allow the pulse to start early and then ensure an end time close to the end of the intake stroke. Again, just a theory at this point. I plan on trying to test it in the near future.
Steve Hauer
http://www.77e21.info
1977 BMW 320i with MAF, COP, IAC, Sequential fuel and spark, MS3 knock sensing
MS3 / MS3X / V3 mainboard, MS3 V1.5 a4
pit_celica
Master MS/Extra'er
Posts: 682
Joined: Tue Jul 18, 2006 3:12 pm

Re: shauer's MS3X Beta Testing

Post by pit_celica »

Very interesting thread!!!

I'll in the same situation as you soon (switching from a well tuned batch injection setup to sequential injection).

I'll follow the steps you've done and your tuning process too. Thanks for sharing your work!

Sam
Post Reply