[FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Moderators: jsmcortina, muythaibxr
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
[FW MOD] ms2extra pre3.3alpha4 gslender v2.6
G'day...
This modified firmware is based on the alpha release MS2/Extra 3.3alpha4 firmware and adds some further enhancements/fixes - notably most of the 2.4.4 mod features plus a few new features and fixes.
Changes made from alpha release MS2/Extra 3.3alpha4 are as follows:
* MAP ‘Use Average’ fixes (MAP values now produced when engine not running)
* RPM Smoothing – a moving sliding window added (help keep rpm values smooth)
* tpsDOT Smoothing – a moving anchor option added (reduces false triggers in AE)
* Adaptive PID – allows PID terms to be dampened in non-linear amounts based on a delta to target idle RPM.
* Adaptive PWM Idle Voltage Compensation – adds a dynamic voltage baseline to ensure voltage droops or surges are relative to battery levels.
Plus these new features/changes since 2.4.4:
* Adaptive VE – allows a non-linear adjustment to VE at idle based on a delta to target idle RPM.
* Previous TPS ‘Use Average’ option removed (as Alpha3 has TPS last-8-values-average from MS3 included)
* Ignore MAT air correction during ASE (to reduce heat soak) in Cranking Settings
* Bug Fix – ego correction for sequential as per 3.2.2 firmware release.
Firmware >> Docs >> (note docs state ms2extra pre3.3alpha3 gslender v2.5, but contents are valid for this release)
Source>> Enjoy
G
This modified firmware is based on the alpha release MS2/Extra 3.3alpha4 firmware and adds some further enhancements/fixes - notably most of the 2.4.4 mod features plus a few new features and fixes.
Changes made from alpha release MS2/Extra 3.3alpha4 are as follows:
* MAP ‘Use Average’ fixes (MAP values now produced when engine not running)
* RPM Smoothing – a moving sliding window added (help keep rpm values smooth)
* tpsDOT Smoothing – a moving anchor option added (reduces false triggers in AE)
* Adaptive PID – allows PID terms to be dampened in non-linear amounts based on a delta to target idle RPM.
* Adaptive PWM Idle Voltage Compensation – adds a dynamic voltage baseline to ensure voltage droops or surges are relative to battery levels.
Plus these new features/changes since 2.4.4:
* Adaptive VE – allows a non-linear adjustment to VE at idle based on a delta to target idle RPM.
* Previous TPS ‘Use Average’ option removed (as Alpha3 has TPS last-8-values-average from MS3 included)
* Ignore MAT air correction during ASE (to reduce heat soak) in Cranking Settings
* Bug Fix – ego correction for sequential as per 3.2.2 firmware release.
Firmware >> Docs >> (note docs state ms2extra pre3.3alpha3 gslender v2.5, but contents are valid for this release)
Source>> Enjoy
G
Last edited by gslender on Mon Apr 30, 2012 5:42 pm, edited 4 times in total.
Mazda MX5 + MS3 Pro
Re: [FW MOD] ms2extra pre3.3alpha3 gslender v2.5
Reposting this from the previous 2.4.4 FW thread, since it discusses the new AIV feature:
This is a video I made of how the idle modifications work together to produce a solid idle in my car. Not the easiest of engines to idle, 1.6L supercharged and intercooled with a large throttled volume, and aftermarket cams.
http://www.youtube.com/watch?v=8DN8OMbmMqY
Important factors, in my opinion are:
AC feedforward for AC loads
Idle Valve Voltage Correction for dealing with electrical loads
Adaptive Idle Advance takes care of keeping RPM close to target
PID reduction window- minimized idle valve action near target (so it doesnt fight AIA), yet aggressive when outside the window
Note the idle tends to hover at or above target, not below. This is due to my tune having a more aggressive response to droop, and is a personal preference.
Results:
http://www.youtube.com/watch?v=d1uOjJQxJFg
This uses 3.3.0b gslender 2.4.5 (prerelease version), which has another small tweak I'm testing- adaptive idle VE, which does for idle VE what adaptive idle advance did for spark. It has a much subtler effect that AIA, but works the same way. There is a VE adder vs RPM target error curve, which adds to gVE- richer when below target, leaner when above target, in tenths resolution. This gives a faster but subtle fuel response, again like AIA.
I know, it does add yet another layer of complexity, but the data does support it. This is a scatter graph without AIV:
With AIV turned on, note that the RPM clusters around target more. There is a mild trend showing AIV working, with the AFRs richer below target. Very subtle.
I also found AIV has a beneficial effect on WUE, correcting for less than optimal WUE curves.
I do suggest not having EGO correction on for the idle area. Needless to say the basic spark, VE tables and PID should be tuned before even attempting to mess with the advanced idle modifications
This is a video I made of how the idle modifications work together to produce a solid idle in my car. Not the easiest of engines to idle, 1.6L supercharged and intercooled with a large throttled volume, and aftermarket cams.
http://www.youtube.com/watch?v=8DN8OMbmMqY
Important factors, in my opinion are:
AC feedforward for AC loads
Idle Valve Voltage Correction for dealing with electrical loads
Adaptive Idle Advance takes care of keeping RPM close to target
PID reduction window- minimized idle valve action near target (so it doesnt fight AIA), yet aggressive when outside the window
Note the idle tends to hover at or above target, not below. This is due to my tune having a more aggressive response to droop, and is a personal preference.
Results:
http://www.youtube.com/watch?v=d1uOjJQxJFg
This uses 3.3.0b gslender 2.4.5 (prerelease version), which has another small tweak I'm testing- adaptive idle VE, which does for idle VE what adaptive idle advance did for spark. It has a much subtler effect that AIA, but works the same way. There is a VE adder vs RPM target error curve, which adds to gVE- richer when below target, leaner when above target, in tenths resolution. This gives a faster but subtle fuel response, again like AIA.
I know, it does add yet another layer of complexity, but the data does support it. This is a scatter graph without AIV:
With AIV turned on, note that the RPM clusters around target more. There is a mild trend showing AIV working, with the AFRs richer below target. Very subtle.
I also found AIV has a beneficial effect on WUE, correcting for less than optimal WUE curves.
I do suggest not having EGO correction on for the idle area. Needless to say the basic spark, VE tables and PID should be tuned before even attempting to mess with the advanced idle modifications
1996 Mazda MX-5 1.6L NA6/ Mazdaspeed M45 SC/ BSP AW Intercooler/ Maruha F-cams/ 425cc RX-8 injectors/ DIYPNP
MS2/Extra test mule
MS2/Extra test mule
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha3 gslender v2.5
Thanks Greg.
I'm sure some may consider all these extra features above the base idle code to be unnecessary, but I do strongly believe these subtle enhancements improve idle stability during a range of various conditions (hot or cold) and that without them, you get a less balanced and constantly reacting idle.
As always, happy to have folks comment on the improvements and debate how they've found them to be (either positive or negative etc).
G
I'm sure some may consider all these extra features above the base idle code to be unnecessary, but I do strongly believe these subtle enhancements improve idle stability during a range of various conditions (hot or cold) and that without them, you get a less balanced and constantly reacting idle.
As always, happy to have folks comment on the improvements and debate how they've found them to be (either positive or negative etc).
G
Mazda MX5 + MS3 Pro
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Updated for ms2extra pre3.3alpha4
Mazda MX5 + MS3 Pro
-
- Experienced MS/Extra'er
- Posts: 216
- Joined: Sat Feb 07, 2009 12:17 am
- Location: Aosta - Italy
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Thanks Grant for the new feature you have implemented!
I have a question for you:
is there a way to run with adaptive VE without activate IAC Closed-loop? (I need to modify mine to works better than now)
I mean:
Are IAC or PWM valves necessary to have a closed loop, or adaptive VE can works without them? A place where to put Target RPM?
In this way I can remove my IAC valve from my motorbike...
Thank you.
Fabio
I have a question for you:
is there a way to run with adaptive VE without activate IAC Closed-loop? (I need to modify mine to works better than now)
I mean:
Are IAC or PWM valves necessary to have a closed loop, or adaptive VE can works without them? A place where to put Target RPM?
In this way I can remove my IAC valve from my motorbike...
Thank you.
Fabio
Yamaha V-Max V4 paired odd-fire 1200cc engine - ITB - COP
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Sure. We could make it so that setting a all that plus Warm Idle Target curve is available regardless of what idle valve you have, but really, you can leave it on PWM Closed Loop and still remove the valve. The MS2 won't care if it's not there.Fabius72 wrote:Thanks Grant for the new feature you have implemented!
I have a question for you:
is there a way to run with adaptive VE without activate IAC Closed-loop? (I need to modify mine to works better than now)
I mean:
Are IAC or PWM valves necessary to have a closed loop, or adaptive VE can works without them? A place where to put Target RPM?
In this way I can remove my IAC valve from my motorbike...
Thank you.
Fabio
Is that ok?
G
Mazda MX5 + MS3 Pro
-
- Experienced MS/Extra'er
- Posts: 216
- Joined: Sat Feb 07, 2009 12:17 am
- Location: Aosta - Italy
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Yes, it is! So no more work for you!
I have discovered that I really don't need a IAC valve on my engine. I made a try and WUE can take engine running in a very cold day with IAC removed (because it has a problem) so I would like to leave it out.
I didn't know that! I was thinking that MS moves valve and wait some O2 changes before make another "step"
So, ok...
Thank you again and thanks also to Greg!
Fabio
I have discovered that I really don't need a IAC valve on my engine. I made a try and WUE can take engine running in a very cold day with IAC removed (because it has a problem) so I would like to leave it out.
gslender wrote: ...
but really, you can leave it on PWM Closed Loop and still remove the valve. The MS2 won't care if it's not there.
...
I didn't know that! I was thinking that MS moves valve and wait some O2 changes before make another "step"
So, ok...
Thank you again and thanks also to Greg!
Fabio
Last edited by Fabius72 on Mon Apr 30, 2012 1:25 pm, edited 2 times in total.
Yamaha V-Max V4 paired odd-fire 1200cc engine - ITB - COP
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
-
- Site Admin
- Posts: 39618
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Please note this important warning from the pre3.3alpha4 topic.
------------------
It had been reported a little while back that there was an issue at higher rpms if a spark output "landed" on a tooth edge. The CPU was busy handling the tach-in interrupt and the spark was delayed. At the time we didn't have a solution. Recently Ken came up with an idea to reduce the effect which I have implemented. My bench testing at ~8000rpm shows a possible worst case delay before of ~3degress which now looks to be <1degree. However...
PLEASE PROCEED WITH CAUTION! This is a small but significant change to the core spark output code. If you observe any oddities during testing, get off the throttle immediately !
------------------
This should have been included here already.
James
------------------
It had been reported a little while back that there was an issue at higher rpms if a spark output "landed" on a tooth edge. The CPU was busy handling the tach-in interrupt and the spark was delayed. At the time we didn't have a solution. Recently Ken came up with an idea to reduce the effect which I have implemented. My bench testing at ~8000rpm shows a possible worst case delay before of ~3degress which now looks to be <1degree. However...
PLEASE PROCEED WITH CAUTION! This is a small but significant change to the core spark output code. If you observe any oddities during testing, get off the throttle immediately !
------------------
This should have been included here already.
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".
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".
-
- Experienced MS/Extra'er
- Posts: 216
- Joined: Sat Feb 07, 2009 12:17 am
- Location: Aosta - Italy
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Thank you so much James to remember this. I have already read this note you wrote on your topic.
My engine red line is 10.000RPM so I'll proceed with caution!
Fabio
My engine red line is 10.000RPM so I'll proceed with caution!
Fabio
Yamaha V-Max V4 paired odd-fire 1200cc engine - ITB - COP
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
MS2/Extra Pre 3.4 beta 11
Sequential spark & fuel - ITB Algorithm
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
i get this message when ever i open ts now? something i did maybe?
95 escort gt BPT - MS2E/ms2extra pre3.3alpha5 gslender v2.8 - E85 - 256/250 on mustang dyno at 10psi, now tuning for gtr turbo
-
- Site Admin
- Posts: 39618
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
That's an MS3 feature.
James
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".
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".
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
so just ignore it for now i take it then?
95 escort gt BPT - MS2E/ms2extra pre3.3alpha5 gslender v2.8 - E85 - 256/250 on mustang dyno at 10psi, now tuning for gtr turbo
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
I added that MS3 feature to this mod.
I copied the idea as I also was struggling with high IAT after restarts and saw that James/Ken added this to MS3 and being such a simple thing to add, I also added in the mod the concept of ignoring MAT during ASE. In the migration from my old INI to the new pre3.3alpha4 INI the needed changes were missed.
I'll update the ZIP file on the first post with a new ini to fix this soon.
G
I copied the idea as I also was struggling with high IAT after restarts and saw that James/Ken added this to MS3 and being such a simple thing to add, I also added in the mod the concept of ignoring MAT during ASE. In the migration from my old INI to the new pre3.3alpha4 INI the needed changes were missed.
I'll update the ZIP file on the first post with a new ini to fix this soon.
G
Mazda MX5 + MS3 Pro
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
Updated with corrected ini in firmware zip and source zip as 2.6b.
Sorry guys and gals, but again this is why it is marked alpha and/or is posted in the development forum
G
Sorry guys and gals, but again this is why it is marked alpha and/or is posted in the development forum
G
Mazda MX5 + MS3 Pro
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
OK! For I while there I thought I was having a senior moment...
1996 Mazda MX-5 1.6L NA6/ Mazdaspeed M45 SC/ BSP AW Intercooler/ Maruha F-cams/ 425cc RX-8 injectors/ DIYPNP
MS2/Extra test mule
MS2/Extra test mule
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
no i know thats why i posted just so it can get fixed for future updates. so should i reflash that ini or just use that as the reference in the project? nevermind i just noticed the b ill just flash it in...lol..
95 escort gt BPT - MS2E/ms2extra pre3.3alpha5 gslender v2.8 - E85 - 256/250 on mustang dyno at 10psi, now tuning for gtr turbo
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
No need to flash again. The change is only in the ini so you just apply that to the TS project but I marked the B on the end of the zip to signify and differnt release zip file that contains the changed ini file.msegt wrote:no i know thats why i posted just so it can get fixed for future updates. so should i reflash that ini or just use that as the reference in the project? nevermind i just noticed the b ill just flash it in...lol..
Mazda MX5 + MS3 Pro
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
cool thanks, i know ive said it before but every update you do makes mine run soo much better. im now around 725-750 rpm idle running 1200 cc injectors.... smooth and an almost flat 14.8 afr....
95 escort gt BPT - MS2E/ms2extra pre3.3alpha5 gslender v2.8 - E85 - 256/250 on mustang dyno at 10psi, now tuning for gtr turbo
-
- Super MS/Extra'er
- Posts: 1072
- Joined: Fri Sep 16, 2011 5:29 am
- Location: Brisbane, Australia
- Contact:
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
That's great!msegt wrote:cool thanks, i know ive said it before but every update you do makes mine run soo much better. im now around 725-750 rpm idle running 1200 cc injectors.... smooth and an almost flat 14.8 afr....
Wait until you play with Adpative VE - you may find it gets even better ;-)
G
Mazda MX5 + MS3 Pro
-
- Super MS/Extra'er
- Posts: 1681
- Joined: Tue Oct 27, 2009 6:24 am
- Location: Van Alstyne, Texas
Re: [FW MOD] ms2extra pre3.3alpha4 gslender v2.6
I installed a idle air valve just for you today, gslender
Seems to work fine after fiddling with the defaults, used a Bosch NC fuel system vent valve off a 91 Passat that only draws ~250mA, seems to get the job done, runs directly off the std 2N2222 fidle circuit.
Had to almost turn off the adaptive idle control to give it something to actually DO.
OT, but I'm still looking for a concise explanation of what "include AFR target"s use/purpose is.
Seems to work fine after fiddling with the defaults, used a Bosch NC fuel system vent valve off a 91 Passat that only draws ~250mA, seems to get the job done, runs directly off the std 2N2222 fidle circuit.
Had to almost turn off the adaptive idle control to give it something to actually DO.
OT, but I'm still looking for a concise explanation of what "include AFR target"s use/purpose is.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.