MS3 pre-1.1 alpha 18 released

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

MS3 pre-1.1 alpha 18 released

Postby jsmcortina » Sun Jan 29, 2012 1:53 pm

We are pleased to announce MS3 pre1.1 alpha18
The largest user visible change is that the SDcard interaction now available in TunerStudio. The firmware already had these features, but they weren't easily usable. Over the last month of so Phil has been adding them to TS and I've been working with him cleaning up some firmware issues that were exposed.
Also included are our revised firmware loaders for Windows and Linux. (The old ones are included too in case of problem.)

Main changes since alpha17
SDcard / real-time clock:
Lots of SDcard/serial work, mostly not very user visible.
Use new SDcard/RTC menus in ini.
Set-clock command forwarded to Extender if enabled.
Maintain pseudo-time if no real RTCC enabled.

Ignition/wheel decoder:
Twin trigger, fix some breakage, add spkcut.
Subaru 6/7 tooth no. fix from MS2/Extra
Re-write Optispark decoder. Stim tests ok.
Re-write RB25 decoder and adjust offset. Stim tests ok.
Re-write Nissan 16-12-8-4 and rename to SR20. Stim tests ok, but phasing unknown.

Idle control:
Fix a few CL idle bugs.
Forward port gslender's "sliding window" for RPM input to CL idle.
Add dashpot that closes in at a variable speed inversely proportional to -rpmdot
Add RPM-delta based idle advance ability when using CL idle
Fix some AC idleup bugs.
Change the name of "crank to run taper" to "crank to run delay"

New AE:
New AE set the engine bits properly.
Add CLT % for new AE
Fix MAPdot accel in new accel algorithm. The "dots" were off by a factor of 10
Closed loop idle timing assistance is now named Idle RPM Timing correction

Other:
New averaging MAP sampling.
Add MAP logger, similar to tooth loggers. (Not yet supported in TS.)
Traction control - VSS1/VSS2 checks threshold and add TPS/MAP minimum settings

Internal/bugfix:
Internal streamlining of outpc readback code (~1ms -> ~500us)
Range check 'k' command to prevent illegal read.
(Also workaround gcc sign extension bug.)
Config error checks on dual-fuel / staging.
Added printf() equivalent and implement log buffer via 'D' serial command.
Increase default cranking rpm setting to 700.

As usual, be sure to use the latest beta TunerStudio. 1.21 or higher is required ( http://www.efianalytics.com/TunerStudio/beta/ )

The zip is available to download at : http://www.msextra.com/doc/ms3/files/alpha/ms3-pre1.1alpha18.zip

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27984
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: MS3 pre-1.1 alpha 18 released

Postby gslender » Sun Jan 29, 2012 2:53 pm

The RPM-delta idle advance (what i called Adaptive Idle Advance) provided the black vs white difference to idle stability for those running MS2. Would be keen to hear from our sisters running a MS3 if this also helped equally in stabilizing idle.

Also, the Median Sliding Window (for TPS, MAP, RPM and EGO) had a similar great improvement - is the map averaging code similar (but for just MAP) ? Would be curious to know what is does, and how it improves MAP stability or quality?

G
Mazda MX5 + MS3 Pro
User avatar
gslender
Super MS/Extra'er
 
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: MS3 pre-1.1 alpha 18 released

Postby djp0623 » Sun Jan 29, 2012 6:06 pm

What are typical values for that type of idle advance table. I'm not really sure where to begin. My idle is pretty stable as is. What advance increments is typical for -100, -200, etc?
djp0623
Helpful MS/Extra'er
 
Posts: 129
Joined: Sat Nov 21, 2009 9:28 pm

Re: MS3 pre-1.1 alpha 18 released

Postby gslender » Sun Jan 29, 2012 8:24 pm

djp0623 wrote:What are typical values for that type of idle advance table. I'm not really sure where to begin. My idle is pretty stable as is. What advance increments is typical for -100, -200, etc?


Read my docs in the gslender 2.2c mod release in the ms2 dev forum. It explains and has an example shown.

G
Mazda MX5 + MS3 Pro
User avatar
gslender
Super MS/Extra'er
 
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: MS3 pre-1.1 alpha 18 released

Postby krisr » Sun Jan 29, 2012 10:23 pm

Flashed to Alpha 18 - can confirm that IVT works REALLY well and that any MS'er with a high stall converter in an automatic gearbox will love this feature!

Some things I found for my particular install;

*) The new boot loader .exe did not work, would not detect the com port (USB-RS232 dongle). The old firmware loader worked fine - wasn't sure if I needed to do anything to the MS3 before flashing?
*) When holding the accel pedal down to bypass the prime when switching the ignition on, when you goto fire the car up it will not go into CL Idle - you need to give the throttle a small stab and it'll come good; was able to repeat this multiple times.
*) My apacer 2GB SD card is now showing error 5 (unsupported card), but was working on 1.0.5 beta.
*) Idle Value Table (IVT), left side axis reads "PWMID:" - should this read "TEMP" or something that is reflective of CLT/MAT temp? .ini change perhaps?
*) Map Sample cycle average setting seems to work really well on a choppy idle V8 - map doesn't jitter as bad as it used to and tip in throttle is very smooth.
*) Any tuning guide to the new pump shot AE? I found that it would load up the engine with fuel so reverted back to standard AE + EAE as I have that combo well tuned now - will standard AE be made redundant for this new pump shot mechanism?

I only put about 2 miles on the car after flashing and other than the notes above I made, jeez the car runs great! CL Idle is a real improvement. As mentioned, the high stall automatic guys will love this code with the IVT if running idle control. Thumbs up chaps.

Kris
Sydney, Australia
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
#16 heads, Tomahawk intake, 1000cfm 4bbl throttle body, Accel 300+ CDI
krisr
Master MS/Extra'er
 
Posts: 552
Joined: Wed Aug 17, 2005 1:17 am
Location: Sydney, Australia

Re: MS3 pre-1.1 alpha 18 released

Postby Zaphod » Sun Jan 29, 2012 11:13 pm

@James/Ken: Didn't you want to add the alternator control to alpha 18? What happend to that?

Thanks!
--------------------------------
fun is not a straight line

Image

Sven
http://www.mx-5club-sachsen.de
http://miata.cardomain.com/id/svenmx5
NB-1998-1,6-Garrett T25 HGP Turbo Stage I
Zaphod
Experienced MS/Extra'er
 
Posts: 310
Joined: Thu Aug 14, 2008 11:38 pm
Location: Germany

Re: MS3 pre-1.1 alpha 18 released

Postby jsmcortina » Mon Jan 30, 2012 5:17 am

krisr wrote:*) The new boot loader .exe did not work, would not detect the com port (USB-RS232 dongle). The old firmware loader worked fine - wasn't sure if I needed to do anything to the MS3 before flashing?

What messages do you see? Could you try the new loader again with debug level 3 ? (You can cancel it before it reloads the firmware.)
*) My apacer 2GB SD card is now showing error 5 (unsupported card), but was working on 1.0.5 beta.

This is most odd, while I've changed lots of small things in the SDcard code, I thought that the initial setup code was identical to 1.0.5.
What SDcard SPI baud rate do you have set.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27984
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: MS3 pre-1.1 alpha 18 released

Postby muythaibxr » Mon Jan 30, 2012 6:27 am

Zaphod wrote:@James/Ken: Didn't you want to add the alternator control to alpha 18? What happend to that?

Thanks!


We are going to add it, but I did not have time to get it in before alpha 18.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.

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

Re: MS3 pre-1.1 alpha 18 released

Postby krisr » Mon Jan 30, 2012 2:44 pm

jsmcortina wrote:What messages do you see? Could you try the new loader again with debug level 3 ? (You can cancel it before it reloads the firmware.)


Will be able to verify tonight - will report back.

This is most odd, while I've changed lots of small things in the SDcard code, I thought that the initial setup code was identical to 1.0.5.
What SDcard SPI baud rate do you have set.


Are you referring to the "SPI Comms Speed" in the SD Card Datalogging menu? If so, that's set to "Normal". Will try other speeds tonight.
Sydney, Australia
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
#16 heads, Tomahawk intake, 1000cfm 4bbl throttle body, Accel 300+ CDI
krisr
Master MS/Extra'er
 
Posts: 552
Joined: Wed Aug 17, 2005 1:17 am
Location: Sydney, Australia

Re: MS3 pre-1.1 alpha 18 released

Postby morrische » Mon Jan 30, 2012 4:11 pm

I love the new SD Card menu!!!!

I cannot download or speedtest my sd card with the shell method. (Speedtest it says 0X00 aborting and download it says car is running (dos prompt method)

Now with the new Menu it's just perfect...............

One time more

Awesome work !!!!!
morrische
Helpful MS/Extra'er
 
Posts: 102
Joined: Tue Dec 21, 2010 11:49 am

Re: MS3 pre-1.1 alpha 18 released

Postby krisr » Tue Jan 31, 2012 1:10 am

krisr wrote:
jsmcortina wrote:What messages do you see? Could you try the new loader again with debug level 3 ? (You can cancel it before it reloads the firmware.)


Will be able to verify tonight - will report back.

This is most odd, while I've changed lots of small things in the SDcard code, I thought that the initial setup code was identical to 1.0.5.
What SDcard SPI baud rate do you have set.


Are you referring to the "SPI Comms Speed" in the SD Card Datalogging menu? If so, that's set to "Normal". Will try other speeds tonight.


Ok moment of weirdness time - the SD card now works again AND the new boot loader now works. No idea why, but am willing to just put it down to a very odd anomalie. It was between 30-34*C yesterday when I tried so everything was extremely warm in and around the car, so the components may have been too hot? not sure.

Have enabled the Auto Zero TPS function and can confirm its working - did a bit more fine tuning to IVT and am very happy with how it performs. CL idle as a package is fantastic now - Idle RPM Timing correction does help stabilise my idle to a degree but will have to see how it performs after putting some more miles on the new code.
Sydney, Australia
1971 Holden Monaro HQ
MS3X Sequentially fuelled 400 Pontiac
#16 heads, Tomahawk intake, 1000cfm 4bbl throttle body, Accel 300+ CDI
krisr
Master MS/Extra'er
 
Posts: 552
Joined: Wed Aug 17, 2005 1:17 am
Location: Sydney, Australia

Re: MS3 pre-1.1 alpha 18 released

Postby Keithg » Tue Jan 31, 2012 3:55 pm

Used the new downloader. No problems. uploaded my last MSQ from alpha 17, no problem. Will play with the new features.

The CL idle problem I was having with A/C was that the rpm target had 300 added to it instead of 30. If I were to guess, this was an INI change along the way that I missed.

Oh, yeah, I think I saw the same deal I was seeing before where if it started and did not 'rev up' I would have to stab the accelerator to prod it into CL idle right after startup. It is warm now (both the engine and the ambient), so I will have to check it tomorrow to see if it still does this on a cold start...

Good work!

Keith
Keithg
Super MS/Extra'er
 
Posts: 2398
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA

Re: MS3 pre-1.1 alpha 18 released

Postby turbo355 » Tue Jan 31, 2012 4:04 pm

Used the new loader , works fine , LOVE the SD download utility works fantastic, auto shift in the bike shifter is still not working though.
2000 Suzuki Hayabusa turbo MS3 beta testing Plug and Play standalone


http://interfacepnp.webs.com/
http://www.youtube.com/Busams
Image
User avatar
turbo355
Master MS/Extra'er
 
Posts: 816
Joined: Tue Feb 21, 2006 11:32 pm

Re: MS3 pre-1.1 alpha 18 released

Postby dfzuntor » Wed Feb 01, 2012 9:55 am

Congrats people, now is easy to be updated, and the SD updates are very useful for the industry.

Thanks a LOT
dfzuntor
Experienced MS/Extra'er
 
Posts: 157
Joined: Sun Apr 11, 2010 9:41 am

Re: MS3 pre-1.1 alpha 18 released

Postby elaw » Wed Feb 01, 2012 10:14 am

Start-to-run idle speed transition seems much smoother now... THANKS! :D
Eric Law
1990 Audi 80 Quattro with AAN turbo engine: happily running on MS3+MS3X
1997 Saab 9000 Aero: self-tweaked stock engine management (and stock engine)
1986 Audi 4000 Quattro: R.I.P.

Be alert! America needs more lerts.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2427
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: MS3 pre-1.1 alpha 18 released

Postby muythaibxr » Wed Feb 01, 2012 10:56 am

Keithg wrote:Oh, yeah, I think I saw the same deal I was seeing before where if it started and did not 'rev up' I would have to stab the accelerator to prod it into CL idle right after startup. It is warm now (both the engine and the ambient), so I will have to check it tomorrow to see if it still does this on a cold start...
Keith


I see this as a tuning issue. Just increase the cranking duty for now.

I'll make the voltage correction apply on crank when I get a chance.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.

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

Re: MS3 pre-1.1 alpha 18 released

Postby franksidebike » Wed Feb 01, 2012 12:47 pm

Hi Guys
Littel update:
new downloader no problems!
i love the new deccel, more steps!

in the ms2extra_3.2.1_gslender_v2.2c is a Median Sliding Window, in ms3-pre1.1alpha18 no?
i like this funktion in ms2extra_3.2.1_gslender_v2.2c!

what is Auto-zero-TPS in the General setings?

Thanks Guys for the very good job :yeah!:
frank
franksidebike
Experienced MS/Extra'er
 
Posts: 176
Joined: Fri Apr 08, 2005 2:08 pm
Location: Wathlingen, Germany

Re: MS3 pre-1.1 alpha 18 released

Postby jsmcortina » Wed Feb 01, 2012 1:08 pm

franksidebike wrote:what is Auto-zero-TPS in the General setings?

If on startup your TPS is showing a negative number the feature resets that to zero. This can be useful if you get slighlty varying TPS values. Calibrate with the lowest number you see and this feature should held mean that 0.0 is closed.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27984
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: MS3 pre-1.1 alpha 18 released

Postby muythaibxr » Wed Feb 01, 2012 1:20 pm

franksidebike wrote:Hi Guys
Littel update:
new downloader no problems!
i love the new deccel, more steps!

in the ms2extra_3.2.1_gslender_v2.2c is a Median Sliding Window, in ms3-pre1.1alpha18 no?


The feature for the RPM input to PID is there in alpha 18, but it's getting removed from both ms3 and ms2 since filtering the RPM for everything should take care of this too.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.

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

Re: MS3 pre-1.1 alpha 18 released

Postby franksidebike » Wed Feb 01, 2012 1:24 pm

jsmcortina wrote:If on startup your TPS is showing a negative number the feature resets that to zero. This can be useful if you get slighlty varying TPS values. Calibrate with the lowest number you see and this feature should held mean that 0.0 is closed.


i had in the last year a closed tps of 0.4-0.8% ! i have a alpha-n tabel and his works no good at idel!
thank you james :D
frank
franksidebike
Experienced MS/Extra'er
 
Posts: 176
Joined: Fri Apr 08, 2005 2:08 pm
Location: Wathlingen, Germany

Next

Return to MS3 Development

Who is online

Users browsing this forum: No registered users and 1 guest