MS2/extra beta 9 (20070905)

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

MS2/extra beta 9 (20070905)

Post by muythaibxr »

Time for the next beta. Changes include:

1) Fixes to allow wheels with < 12 teeth to get proper dwell. Dwell may not be as stable on these wheels, but should no longer be lost completely in jump-back situations
2) Fix to 1ditable that should allow it to handle negative numbers. This should fix the reported problem with table lookup doing odd things when negative with closed loop fast idle. (I have not had time to test this fix. Whoever reported this should test it, and I'll test it on the bench when I have time again).
3) Fix so on-off fast idle hysteresis works.
4) Fix so that JS11 should work as an input for launch control (untested, but configured as per hcs12 docs, testers should let me know if this works).

The beta can be found here:

http://www.msextra.com/ms2extra/files/b ... 070905.zip

Ken
Last edited by muythaibxr on Sun Sep 30, 2007 2:17 pm, edited 1 time in total.
GintsK
Experienced MS/Extra'er
Posts: 274
Joined: Sat Aug 07, 2004 11:15 am
Location: Riga, Latvia

Post by GintsK »

I've tested launch on JS11 today. Now it triggers. But in spark cut mode works only retard. Not spark cut. It is on time based dizzy setup. D14 is spark output.

Should trigger return must work?
Some of my instalations:
VW TBI, VW 16V 60-2,
BMW M50 COPs 60-2, BMW M20 and M50 ITBs as Alpha-N, BMW M20 turbo Wasted spark
Opel 20XE Wasted Alpha-N with ITBs
Audi 10VT Audi20V
MR2 3S-GE.............
and over 100 tuned
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Yeah, I knew spark cut revlimiting didn't work in dizzy mode, I think there's a bug in the bug list for it already.

I already know what the problem is and how to fix it too, and will try to have it fixed in the next beta.

Ken
easyBob2
MS/Extra Newbie
Posts: 20
Joined: Fri Aug 10, 2007 4:53 pm

Post by easyBob2 »

The <12 tooth (w/missing tooth) still has a problem...It's not as bad, but it's still there.

I guess I should ask, should I start looking for a different toothed wheel or can this dwell issue be fixed in the code? I'll just start looking for more wheel options, just in case.

Oh, and the PWM idle code still only has the 2 low options; us mazda/ford folks need a higher Hz.

-Chris
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I have a mazda, it doesn't have any problem with the lower hz option.

That said, I'll add it when I get to it, I never said it was there in the first place.

As far as the dwell problem, I tested from crank to 10000 rpms, and didn't see any missing, so your problem might be caused by something else.

At exactly what RPM, advance, and conditions (quick accel? slight accel? steady state?) are you seeing the problem?

As far as I can tell on the scope, the dwell problem *is* fixed, but I'll check under your exact conditions to be sure.

Please post your latest msq as well.

Ken
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

muythaibxr wrote: At exactly what RPM, advance, and conditions (quick accel? slight accel? steady state?) are you seeing the problem?

As far as I can tell on the scope, the dwell problem *is* fixed, but I'll check under your exact conditions to be sure.

Please post your latest msq as well.
So, did you want me to try to look at the problem you're having? If so, could you post the info I asked for? I'd like to make sure that all remaining problems are fixed, and do a "release candidate" for everyone to test.

Ken
easyBob2
MS/Extra Newbie
Posts: 20
Joined: Fri Aug 10, 2007 4:53 pm

Post by easyBob2 »

muythaibxr wrote:
So, did you want me to try to look at the problem you're having? If so, could you post the info I asked for? I'd like to make sure that all remaining problems are fixed, and do a "release candidate" for everyone to test.

Ken
Yeah, sorry. It happens at the same RPM ~2000 under all conditions.

This should be my most current MSQ file.

Thanks,
-Chris
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Alright, I'll take a peek later.

Just FYI though, I did test at that rpm. What advance was it at when it happened, or did you happen to notice?

Ken
teg
Experienced MS/Extra'er
Posts: 291
Joined: Sun Sep 05, 2004 2:02 pm
Location: Finland

Re: MS2/extra beta 9 (20070905)

Post by teg »

muythaibxr wrote: 2) Fix to 1ditable that should allow it to handle negative numbers. This should fix the reported problem with table lookup doing odd things when negative with closed loop fast idle. (I have not had time to test this fix. Whoever reported this should test it, and I'll test it on the bench when I have time again).
Tested - works fine!
Opel Kadett C City 2.0 16V Turbo
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Thanks for trying that out.

Ken
easyBob2
MS/Extra Newbie
Posts: 20
Joined: Fri Aug 10, 2007 4:53 pm

Post by easyBob2 »

muythaibxr wrote:Alright, I'll take a peek later.

Just FYI though, I did test at that rpm. What advance was it at when it happened, or did you happen to notice?

Ken
I'll get a datalog today to get some solid numbers on the advance, but as a guess, and because it happens at any load, I'd say that it can happen at any (or most) advances in the spark map.

-Chris

EDIT: Added datalog. Tried to make the missing visable by going through the rpm slowly...You can kind of see it that way (little dips in rpm).
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

OK, if it's happening at any advance, that's a bit unusual. I'll take a look, hopefully tonight.

The fix I did basically ensures that you'll get dwell even if the main scheduled dwell misses from a jump-back. It also looked like it was working on the scope before I posted, so I'm thinking there's something pretty specific to your configuration causing the problem.

Ken
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I'll get a datalog today to get some solid numbers on the advance, but as a guess, and because it happens at any load, I'd say that it can happen at any (or most) advances in the spark map.
I found and fixed the problem. It wasn't happening with my test msq, but was happening with yours, so I guess the conditions had to be "just right" to make it happen.

I did notice that dwell goes long on spark A at the same spot you were missing, so I need to find a fix for that, but it shouldn't miss anymore.

I'll do a release as soon as I've had a chance to fix a few other bugs.

Ken
easyBob2
MS/Extra Newbie
Posts: 20
Joined: Fri Aug 10, 2007 4:53 pm

Post by easyBob2 »

muythaibxr wrote:
I'll get a datalog today to get some solid numbers on the advance, but as a guess, and because it happens at any load, I'd say that it can happen at any (or most) advances in the spark map.
I found and fixed the problem. It wasn't happening with my test msq, but was happening with yours, so I guess the conditions had to be "just right" to make it happen.

I did notice that dwell goes long on spark A at the same spot you were missing, so I need to find a fix for that, but it shouldn't miss anymore.

I'll do a release as soon as I've had a chance to fix a few other bugs.

Ken
Thank you! Thank you! Thank you! Thank you! Thank you! Thank you! x50!

-Chris
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Post by Keithg »

Ken,

Is there any thought to getting a COP install to run as W/S during cranking then switch over to COP as it drops out of crank? Also, is there any possibility of adding a 'ramp closed' instead of step closed in closed loop idle? If you lightly roll on the throttle (especially with A/C) it is easy to stall when the AIC snaps closed.

KeithG
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

Keithg wrote:Ken,

Is there any thought to getting a COP install to run as W/S during cranking then switch over to COP as it drops out of crank? Also, is there any possibility of adding a 'ramp closed' instead of step closed in closed loop idle? If you lightly roll on the throttle (especially with A/C) it is easy to stall when the AIC snaps closed.

KeithG
Both of these are on the plate for 2.1... there is a workaround for the idle issue that you can use for 2.0 (set the rpm adder a bit larger).

Ken
rb26dett
Master MS/Extra'er
Posts: 497
Joined: Tue May 24, 2005 11:34 pm
Location: Auckland New Zealand

Post by rb26dett »

muythaibxr wrote:Both of these are on the plate for 2.1
sweet, the long time cranking thing could get annoying in the long term i guess. you are making me homesick with all this great code ;-)
ms2,v3,cop,innovate,mazda fe3/fe-dohc 2l 4cyl with stock 10:1 pistons,4 stock coils,4 stock ignitors,rx7 550cc injectors maxed@6600rpm&17psi,custom everything,holset he351cw turbo,44mm ext gate,nis gtr bovs,nis gtr intercooler,70mm lexus throttle,chinese fpr,10may v2 ms2e alpha code
Ballistic
Experienced MS/Extra'er
Posts: 184
Joined: Fri Apr 01, 2005 4:52 pm

Post by Ballistic »

muythaibxr wrote: I found and fixed the problem. It wasn't happening with my test msq, but was happening with yours, so I guess the conditions had to be "just right" to make it happen.
Any chance this is the same problem causing the oscillation I experienced?
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Post by muythaibxr »

I don't think so... the fix for dizzy with your settings worked perfectly as far as I could tell. The breakage on the 6-1 had to do with the fact that he was running wasted spark and dwell for one of the teeth was jumping over the missing tooth back to where dwell was starting for another coil... we can't start 2 dwells from the same tooth, and that's what caused his problem. The fix for his problem was roughly the same as the fix for yours though. I just extended the rtc dwell section to cover more coils, and made the function that dwells the coils able to dwell more than one at a time.

I think the problem you're having with oscillation might be more related to fuel...

Did you ever get a chance to try adjusting the opening time and battery factor?

Ken
Ballistic
Experienced MS/Extra'er
Posts: 184
Joined: Fri Apr 01, 2005 4:52 pm

Post by Ballistic »

muythaibxr wrote:Did you ever get a chance to try adjusting the opening time and battery factor?
I'm sorry Ken, but I have not. I am totally swamped at the moment. It will be another month before I get some relief.
Post Reply