Megasquirt MS2/extra rotary thread
MS2/extra rotary thread
I just finished writing and testing the staged injection code for MS2/extra.
It has support for gradual staging transition, and 2 parameter staging, and supports secondaries that are smaller than the primaries.
With the next alpha release of ms2/extra, it will be possible to run a stock rotary on ms2.... (without trailing ignition).
Next I'm planning on adding a couple more curves to the setup for EAE (wall-wetting based accel enrichments which have worked great on an ITB-equipped 20v 4age, one of the worst-case scenerios for accel enrichments) to compensate better for quick throttle stabs.
After that, I'll be adding rotary trailing ignition code.
I plan on having something that'll run a stock rotary with trailing ignition within 3 weeks. (I'm moving soon, so can't code for the next week or so).
anyway, this thread is going to be the main place I talk about my progress with ms2/extra on the rotary, and may not be updated THAT often.
Ken
It has support for gradual staging transition, and 2 parameter staging, and supports secondaries that are smaller than the primaries.
With the next alpha release of ms2/extra, it will be possible to run a stock rotary on ms2.... (without trailing ignition).
Next I'm planning on adding a couple more curves to the setup for EAE (wall-wetting based accel enrichments which have worked great on an ITB-equipped 20v 4age, one of the worst-case scenerios for accel enrichments) to compensate better for quick throttle stabs.
After that, I'll be adding rotary trailing ignition code.
I plan on having something that'll run a stock rotary with trailing ignition within 3 weeks. (I'm moving soon, so can't code for the next week or so).
anyway, this thread is going to be the main place I talk about my progress with ms2/extra on the rotary, and may not be updated THAT often.
Ken
don't hold off... just get an ms1 with a v3 board... ms1/extra runs a rotary with leading and trailing, and staged injection just fine.
I'm working on the code as I get time, but I just moved into my new house and am still unpacking so it might be a bit longer than I thought it would take.
I'm working on the code as I get time, but I just moved into my new house and am still unpacking so it might be a bit longer than I thought it would take.
Originally Posted by muythaibxr
don't hold off... just get an ms1 with a v3 board... ms1/extra runs a rotary with leading and trailing, and staged injection just fine.
I'm working on the code as I get time, but I just moved into my new house and am still unpacking so it might be a bit longer than I thought it would take.
I'm working on the code as I get time, but I just moved into my new house and am still unpacking so it might be a bit longer than I thought it would take.
Aaron
Trending Topics
How i the move progressing ken? Hope things are going well, anyways sorry for pm'ing you, forgot what you said about it. I hardly post things anyways. However, I guess I could wait for the MS2/extra code to come out to run negative split on my MS. I am one that is very eager to experiment with this and would love to see the effects, good or bad. My engine is toast anyways. Learning how to tune is fun, yet frustrating at times lol.
I know I should search, but I was wondering if you could tell me if there were any mods needed to run ms2/extra on the v3 set-up, or will the wiring be identical?
dpf22
I know I should search, but I was wondering if you could tell me if there were any mods needed to run ms2/extra on the v3 set-up, or will the wiring be identical?
dpf22
The wiring will be mostly the same... We will document everything once we're ready for more people to start trying it out. Right now we're just trying to get alpha testers, as things are still very much in flux.
I've just started really getting back into coding this weekend, and I used that time to fix a lot of annoying bugs, and then last night I rewrote the missing tooth synchronization code to deal with higher compression engines.
I *should* be able to do the rotary trailing code this weekend since I'll be at the family's house with nothing to do
I've just started really getting back into coding this weekend, and I used that time to fix a lot of annoying bugs, and then last night I rewrote the missing tooth synchronization code to deal with higher compression engines.
I *should* be able to do the rotary trailing code this weekend since I'll be at the family's house with nothing to do
lol cool man, I'm not trying to rush you or anything. I am willing to wait till you guys get it completely squared and done. I have been taking some serious notes and have talked to a "supertuner" about what a good tune entails. I want to try some stuff on my current engine as I will be replacing it with my tax return lol
dpf22
dpf22
I'll be getting a megasquirt for my TII in a few months, and if you have an alpha or beta version ready by then, I'll do some testing for you on the MS2/V3. I was planning on the MSnS1/v3, but if this will be out, and i'll be able to help out with it, then i'm all for it!
Just an update. I finished all the main-loop code (table lookup, calcs to figure out tooth and offset to fire from, etc... )
So next (this weekend) I'll be working on the code in the interrupt handler.
Also, I've written this code so that it'll support negative split... I made the range for split -20 deg to 20 deg (in reference to leading); does anyone here who cares think that's enough? I also made negative split being allowed optional, so I can ensure that if negative split is enabled, trailing will *never* fire before leading.
Ken
So next (this weekend) I'll be working on the code in the interrupt handler.
Also, I've written this code so that it'll support negative split... I made the range for split -20 deg to 20 deg (in reference to leading); does anyone here who cares think that's enough? I also made negative split being allowed optional, so I can ensure that if negative split is enabled, trailing will *never* fire before leading.
Ken
i dont know why you'd need much more than 20 degrees of split... if you wait too much longer to fire the rear plug, it will be at the very trailing edge of the chamber. Im curious as to why you'd run positive split?
I guess I will speak up and say that I might want more like a range of -40 to 20 positive. I am the kinda guy to experiment and I am sure I am not the only one. However, your decision man. 20 degrees negative is better than nothing negative honestly ^_^
dpf22
dpf22
I'll start with -20 then. If that ends up not being enough, I'll go to -30 or -40.
Also, I don't know if I said this already, but staged injection is working (has been for a month or so).
I made it so you don't have to figure out a scaling factor anymore. You just specify the sizes of the primaries and secondaries, and it figures the rest for you.
You can stage on one parameter or two (selectable from RPM, MAP, or TPS), you can use "AND" or "OR" logic for the second parameter... and my gradual transition code is there as well, and works a lot better due to the calcs being done in .01 usec units. I've set the transition as high as 255 events, and it actually hits all 255 events.
Ken
Also, I don't know if I said this already, but staged injection is working (has been for a month or so).
I made it so you don't have to figure out a scaling factor anymore. You just specify the sizes of the primaries and secondaries, and it figures the rest for you.
You can stage on one parameter or two (selectable from RPM, MAP, or TPS), you can use "AND" or "OR" logic for the second parameter... and my gradual transition code is there as well, and works a lot better due to the calcs being done in .01 usec units. I've set the transition as high as 255 events, and it actually hits all 255 events.
Ken
Last edited by muythaibxr; Jan 5, 2007 at 09:19 AM.
Ken I`ve been following along and as always I am very impressed with your knowledge. Now that I`m about done with my second MS I hope all I have to do is by the MS2 daughter card to make the upgrade to MS2 when you`re done with the code.
Thanks david. I don't think I know that much, (there are definitely people who know more anyway), I actually learned most of what I know about ignition/injection code when I was working on msns-extra. I learned it from reading renn's staging code, and James (jsmcortina's) wheel decoder code!
In any case, the point of my staged injection comment is that one *could* run a rotary now leading only... (it might not be in the last alpha though, it might be in the alpha I'm releasing tonight... I don't remember what was in the last alpha).
Ken
In any case, the point of my staged injection comment is that one *could* run a rotary now leading only... (it might not be in the last alpha though, it might be in the alpha I'm releasing tonight... I don't remember what was in the last alpha).
Ken
Well, right now there aren't many extra features... EAE, and the fact that for ignition, every tooth on the wheel is used are really the main advantages.
The resolution is a good one too I guess. With my conversion to doing the calcs in .01 usec resolution, I can actually accurately control the pulse width to 1 usec. This has allowed me on the corolla for example to increase the number of squirts per cycle from 2 to 4, giving me better throttle response (and even though my idle pulse-width is now 1.494 ms, I still have very accurate control of the AFR... down to about .2 points, and I could make it better by decreasing my req_fuel, and scaling my table).
Oh, and staged injection is in the latest alpha, which I released yesterday.
Ken
The resolution is a good one too I guess. With my conversion to doing the calcs in .01 usec resolution, I can actually accurately control the pulse width to 1 usec. This has allowed me on the corolla for example to increase the number of squirts per cycle from 2 to 4, giving me better throttle response (and even though my idle pulse-width is now 1.494 ms, I still have very accurate control of the AFR... down to about .2 points, and I could make it better by decreasing my req_fuel, and scaling my table).
Oh, and staged injection is in the latest alpha, which I released yesterday.
Ken
so, the current release will handle the negative split?
sorry for asking the stupid question,but there isn't an update thread posting the link for the MS2/extra download like the msns-e. Not that it bothers me, I am just a little lazy lol
dpf22
sorry for asking the stupid question,but there isn't an update thread posting the link for the MS2/extra download like the msns-e. Not that it bothers me, I am just a little lazy lol
dpf22


