MS3 pre-1.1 alpha codes (alpha 1-11)

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

MS3 pre-1.1 alpha codes (alpha 1-11)

Post by jsmcortina »

Important note! Most users should be using the 1.0.0 release code.

This is to announce the release of the first in a series of alpha test codes. These are intended for experienced users only to try out new experimental features.

Main changes since 1.0.0
Add narrowband EGO volts target table.
Config error message now reports which other feature is using conflicting pin
Support 12 sequential fuel and spark outputs. LOTS of work included in this.
(EGO, Fuel trim, EGTs, outpc, injector parameters, small PW, spark trim)
First and second drafts at antilag
Add support for really retarded spark.
Boost second channel. Less functionality than channel 1.
Internal changes relating to genericIO giving a code size reduction and simplification.
Large XGATE coding session to allocate fuel timers "just in time". Allows for V16 fuel in the future.
VVT settings and angle detection. (cam_angle gauge)
(Toothed wheel, Miata 99-00 and QR25DE only)

Some of these items were very large tasks, but I've summarised to avoid writing a novel.

The code is available from:
http://www.msextra.com/doc/ms3/files/alpha

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".
prof315
Super MS/Extra'er
Posts: 3788
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: MS3 pre-1.1 alpha 1

Post by prof315 »

Wow! You guys are amazing!
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
preston
Helpful MS/Extra'er
Posts: 120
Joined: Tue Jul 26, 2005 10:00 pm
Location: Kirkland WA

Re: MS3 pre-1.1 alpha 1

Post by preston »

Wow james you are an amazing workhorse. Truly a labor of love, as I don't imagine anyone is getting rich off this. Come to think of it I should throw some more cash in the pot, MS3 has really hit a home run. Only mystery now is why more people don't consider/use it vs the high priced commercial stuff. I guess it really is about marketing.
Anyway thanks for the great selfless work. Speaking of alpha releases and future code, <cough>traction control</cough>
ChevytoyR1
Master MS/Extra'er
Posts: 443
Joined: Mon Oct 27, 2008 12:15 am
Location: Los Angeles, CA

Re: MS3 pre-1.1 alpha 1

Post by ChevytoyR1 »

i havent use boost control on ms yet but looking at it u can only control boost by rpm and gear..

is it possible to add boost control by time based and so that it can be used with CO2 for drag racing purposes?

something similar to the ams-1000? heres the info and instructions on it http://www.orientexpress.com/images/Tur ... Manual.pdf
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha 1

Post by jsmcortina »

Boost by time is already there in 1.0.0

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".
prof315
Super MS/Extra'er
Posts: 3788
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: MS3 pre-1.1 alpha 1

Post by prof315 »

I seem to have found an issue with the 1.1 code. IAC1 and 2 don't work. I'm using IAC1 for tacho and IAC2 or cooling fans so this is a problem for me. Things work fine when I go back to 1.0 code.
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha 1

Post by jsmcortina »

I'll take a look this weekend. There were lots of internal changes relating to port setting, so that is likely the problem you are seeing.

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".
prof315
Super MS/Extra'er
Posts: 3788
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: MS3 pre-1.1 alpha 1

Post by prof315 »

jsmcortina wrote:I'll take a look this weekend. There were lots of internal changes relating to port setting, so that is likely the problem you are seeing.

James
Cool, thanks James.
I'm going to have my wife take the buggered GM ignition pages to work on Monday and scan them on her scanner at work. (it's much better than the $40 all-in-one we have at the house :oops: )

Jeff
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha codes

Post by jsmcortina »

I can confirm that IAC pins problem. Please try alpha2 just uploaded. This enables the IAC output pins (and puts the correct year in the title bar.)

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".
y8s
Master MS/Extra'er
Posts: 478
Joined: Wed Jan 07, 2009 3:21 pm

Re: MS3 pre-1.1 alpha codes

Post by y8s »

I get no sync on alpha 1 or 2. 99-00Miata.

edit: 1.0 works fine and i reverified by going back and forth and thought maybe i didnt key off after updating the msq the first time but that doesn't help either.
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha codes

Post by jsmcortina »

y8s wrote:I get no sync on alpha 1 or 2. 99-00Miata.
Found and fixed. It only impacted JS10 as a cam input which I rarely test on the bench.
EDIT: alpha3 posted with just this change

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".
y8s
Master MS/Extra'er
Posts: 478
Joined: Wed Jan 07, 2009 3:21 pm

Re: MS3 pre-1.1 alpha codes

Post by y8s »

Thanks. Will play possibly tomorrow when it's not supposed to precipitate ice crystals.
prof315
Super MS/Extra'er
Posts: 3788
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: MS3 pre-1.1 alpha codes

Post by prof315 »

I finally got alpha3 loaded today. So far so good! My IAC ports are working again and the car is running well. It's time to start playing with C/L O2 and boost.

What specifically are you looking for related to VVT and what works? I'd like to start using open loop/on/off to get my solenoid figured out as I have very little info about it.
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
prof315
Super MS/Extra'er
Posts: 3788
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: MS3 pre-1.1 alpha codes

Post by prof315 »

Excellent! I'll start messing with it.
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: MS3 pre-1.1 alpha codes

Post by AbatelliCristian »

Hi, for ALS system how deg retard? is fixed value or is possible setting this parameter?
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha codes

Post by jsmcortina »

AbatelliCristian wrote:Hi, for ALS system how deg retard? is fixed value or is possible setting this parameter?
The ALS system is discussed here:http://www.msextra.com/forums/viewtopic ... 25&t=38370

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".
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha 1

Post by jsmcortina »

preston wrote: Speaking of alpha releases and future code, <cough>traction control</cough>
Added an implementation. Presently it offers two modes.
a. "perfect run" for drag racing which I have tried and it appeared to work once...
b. VSS1 vs. VSS2 bench tested only.

The code is similar in concept to the MS1/Extra TC implementation presently and will need a lot of testing and experimentation for sure.

The algorithm is
1. read inputs and determine slip %age
2. compare to threshold (e.g. allow 3% slip without worrying)
3. multiply by time we've been slipping
4. look up 'reactions' from tables. e.g. add fuel, cut spark etc. The tables are %action vs. slip*time

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".
y8s
Master MS/Extra'er
Posts: 478
Joined: Wed Jan 07, 2009 3:21 pm

Re: MS3 pre-1.1 alpha codes

Post by y8s »

Anyone have a line on some cheap ABS front hubs for a miata? with sensor?
dim0n
MS/Extra Newbie
Posts: 2
Joined: Thu Jan 06, 2011 10:41 pm
Contact:

Re: MS3 pre-1.1 alpha codes

Post by dim0n »

jsmcortina wrote:Important note! Most users should be using the 1.0.0 release code.
Main changes since 1.0.0
Add narrowband EGO volts target table.
This will allow enough fine-tune AFR without WBO2 sensor controller?
How accurately MS3 measures the voltage of narrow-band sensor?

thanks
Toyota Corona st190
jsmcortina
Site Admin
Posts: 39621
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.1 alpha codes

Post by jsmcortina »

The narrowband sensor is only designed to measure around stoich, so it can't really be used outside of that region.

The voltage is measured in 4mV steps, but you would need a 4 wire narrowband with the ground connected back to the Megasquirt to have any chance to seeing that amongst the signal noise.

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".
Post Reply