MEGAsquirt A place to collectively sort out this megasquirt gizmo

MegaSquirtSanta - Custom Modifications / Firmware

Thread Tools
 
Search this Thread
 
Old 10-27-2011, 04:56 PM
  #1  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default MegaSquirtSanta - Custom Modifications / Firmware

Ho ho ho...

It is nearly Xmas time and MegaSquirtSanta needs to know what you boys and girls would like in your Megasquirt 2 for Xmas.


I've already added and freely released firmware mods for:
  • AC Idle Up (both duty and rpm)
  • Battery Volt Idle Correction (duty up/down)

*coming soon* I'm busy putting the final touches on this set...
  • Graceful Off for AC Idle up - keep RPM spike to a minimum!
  • MAT correction for Idle
  • Clutch/Neutral PE0 switch to lockout PID

What else should I be looking at to enhance this mod?

PS - so far nothing has been removed or harmed in the making of this mod !!

G (aka MegaSquirtSanta)

Last edited by gslender; 11-01-2011 at 05:20 PM.
gslender is offline  
Old 10-27-2011, 05:51 PM
  #2  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

I hope this isn't an xmas only thing and come easter you'll be the xmas easter bunny etc etc.

As for feature request, how about a proper non-linear injector compensation table a-la MS3 rather than the static value we get in MS2 that's then adjusted linearly via voltage.

richyvrlimited is offline  
Old 10-27-2011, 06:28 PM
  #3  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

MegaSquirtSanta gives many times a year!

I'll look into that "non-linear injector compensation table" feature, but may require some thinking behind what is broken in the MS2 version and why the MS3 option is that much better.
gslender is offline  
Old 10-27-2011, 06:33 PM
  #4  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

(Posting from my phone.)

Ms3 uses a table ms2 static x change per voltage change.
Braineack is offline  
Old 10-28-2011, 04:29 AM
  #5  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

i.e. linear vs non linear.

No injectors that I know of are linear in operation, particularly at low PW/DC.
richyvrlimited is offline  
Old 10-28-2011, 06:14 AM
  #6  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

I'm all for anything that smoothens idle! Anyone got a screenshot of the injector compensation table?
Greg G is offline  
Old 10-28-2011, 07:30 AM
  #7  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default



based on this

Attached Thumbnails MegaSquirtSanta - Custom Modifications / Firmware-28102011132500.jpg   MegaSquirtSanta - Custom Modifications / Firmware-rx8injectorlatency.jpg  
WestfieldMX5 is offline  
Old 10-28-2011, 08:08 AM
  #8  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Cheers frank.

Merry Christmas gslender
richyvrlimited is offline  
Old 10-28-2011, 08:11 AM
  #9  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Hey frank are those rx8 injector settings there?

Edit: d'oh! Typed before I looked

I suppose if it were done, just a single table for all 4 injectors (to save space) would be acceptable. No need for individual injector trim. Right?

Last edited by Greg G; 10-28-2011 at 08:21 AM.
Greg G is offline  
Old 10-28-2011, 09:37 AM
  #10  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
Default

The latest 3.1.4 beta MS2 code uses a default injector battery voltage correction curve with a scale factor, instead of the linear correction in 3.1.1 and older code versions. Just wanted to mention that one's already been improved a bit, although it's not as sophisticated as MS3.
__________________
Matt Cramer
www.diyautotune.com
Matt Cramer is offline  
Old 10-28-2011, 11:03 AM
  #11  
Newb
 
jbelanger's Avatar
 
Join Date: Feb 2010
Posts: 35
Total Cats: 0
Default

To expand a bit on Matt's post, the new non-linear correction seems to be able to match published data for dead time for most (all?) injectors. It requires adjusting the 2 parameters (dead time @ 13.2V and correction factor) but it's not very difficult using a worksheet.

What MS2/Extra doesn't have that MS3 does have is a small pulse width curve which is where the non-linearity of injectors needs to be corrected for when using large injectors. This is what will affect idle quality under normal conditions.

This is also not something you can guess and it must be measured to be of any use. So having the option available is only a small part. Being able to characterize the injectors is the major part which may not be accessible to most users.

Jean
jbelanger is offline  
Old 10-28-2011, 12:30 PM
  #12  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Another possible candidate is robs' tps dot smoothing. Might be applicable to mapdot as well.

http://www.msextra.com/forums/viewto...p?f=91&t=42233
Greg G is offline  
Old 10-28-2011, 02:21 PM
  #13  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by jbelanger
To expand a bit on Matt's post, the new non-linear correction seems to be able to match published data for dead time for most (all?) injectors. It requires adjusting the 2 parameters (dead time @ 13.2V and correction factor) but it's not very difficult using a worksheet.

What MS2/Extra doesn't have that MS3 does have is a small pulse width curve which is where the non-linearity of injectors needs to be corrected for when using large injectors. This is what will affect idle quality under normal conditions.

This is also not something you can guess and it must be measured to be of any use. So having the option available is only a small part. Being able to characterize the injectors is the major part which may not be accessible to most users.

Jean
True, but for this community at least there's not a large range of injectors used.

They only need to be measured once and the community benefits as a whole
richyvrlimited is offline  
Old 10-30-2011, 08:46 AM
  #14  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

What do you guys think of MAT based pwm idle duty correction? When my engine is hot, I notice the idle valve duty is higher, by about 1 duty point per 5 degrees F. This is because the air is less dense at higher temperatures. Yes the closed loop duty will make up for it, but I figure if we already correct it (by a user definable factor), it will leave the closed loop code less to do, and allow us to run lower pid values.

My question is, what will the baseline value be? I suppose it's normal operating temp. Shall we say 100F? Duty would be added above the temp at a user definable rate. Below that, no correction is applied.

Last edited by Greg G; 10-30-2011 at 10:21 AM.
Greg G is offline  
Old 10-30-2011, 01:12 PM
  #15  
Newb
 
PeteNMA's Avatar
 
Join Date: Feb 2011
Location: Oxford UK
Posts: 39
Total Cats: 0
Default

Idle valve duty hystersis, based on RPM. Should hopefully be a simple tweak to the current PID code and would be very useful.
PeteNMA is offline  
Old 10-30-2011, 10:50 PM
  #16  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

The MAT based idle valve correction would also probably help address the hot restart issue...
Greg G is offline  
Old 11-01-2011, 09:45 AM
  #17  
I'm Miserable!
 
Techsalvager's Avatar
 
Join Date: Jun 2009
Location: albany, ga
Posts: 1,866
Total Cats: 0
Default

Map / EMap fueling strategy ( Exhaust Manifold air pressure )

VSS input
Techsalvager is offline  
Old 11-01-2011, 01:47 PM
  #18  
Junior Member
 
bearda's Avatar
 
Join Date: Apr 2010
Posts: 107
Total Cats: 0
Default

Originally Posted by PeteNMA
Idle valve duty hystersis, based on RPM. Should hopefully be a simple tweak to the current PID code and would be very useful.
I'd like to see this as well. On my setup it seems like there isn't enough granularity to hit the targets the code is trying for. I'd rather it be "good enough" and stable than oscillating back and forth and causing transients,
bearda is offline  
Old 11-01-2011, 03:57 PM
  #19  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

I thought hysterisis was already in? or am I confusing it with the mariob code mods?
richyvrlimited is offline  
Old 11-01-2011, 04:12 PM
  #20  
Junior Member
 
bearda's Avatar
 
Join Date: Apr 2010
Posts: 107
Total Cats: 0
Default

Originally Posted by richyvrlimited
I thought hysterisis was already in? or am I confusing it with the mariob code mods?
Mariob put it in, but it never made it into the mainstream releases. It helped when I was using his code but the lean spike fix and AC idle up improvements were better. If I could get one release with both that would be awesome, though.
bearda is offline  


Quick Reply: MegaSquirtSanta - Custom Modifications / Firmware



All times are GMT -4. The time now is 11:03 AM.