MEGAsquirt A place to collectively sort out this megasquirt gizmo

MegaSquirtSanta - Custom Modifications / Firmware

Thread Tools
 
Search this Thread
 
Old 11-06-2011, 10:48 AM
  #41  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Good stuff!
JasonC SBB is offline  
Old 11-08-2011, 05:47 AM
  #42  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

OK I have the early beta of the Santa release, which includes all the features of the AC Idle up release plus MAT correction! Initial results look promising, but they do require careful tuning, because it changes the balance for the closed loop PID.

A picture of the settings menu:


Initial semituned results here:


The idle duty will really rise with increased MAT, but I noticed that the range of valve motion stayed more or less the same. Meaning PID is not exerting more effort at higher temps, and that the MAT correction is actually correcting for the less dense air.

Subjectively, the idle felt more stable at high temps. I turned off the A/W intercooler pump and let it heatsoak to 160F, but idling was rock solid. Killed the engine, started it up, no heatsoak starting issues. I still need to tune it because at high temp, the correction was a bit too much for the no-AC idle, and dragged the idle 50 higher than the target. But honestly, I couldn't really tell, it only came up in the scatter graph.

Great job Santa!
Attached Thumbnails MegaSquirtSanta - Custom Modifications / Firmware-116santaidle.png  
Greg G is offline  
Old 11-08-2011, 06:38 AM
  #43  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

Originally Posted by Greg G
Great job Santa!
No problems. Santa always like to please ;-)

I'm keen to work with someone who is in the colder climates (Greg is near the equator) so that we can tune/review impact to what happens when apply this firmware in those locations - any volunteers??

G
gslender is offline  
Old 11-09-2011, 04:32 AM
  #44  
Junior Member
 
damir130's Avatar
 
Join Date: Jan 2009
Posts: 139
Total Cats: 6
Default

Originally Posted by JasonC SBB
Santa,


- Whenever closed loop is re-entered there should be a "closed loop re-entry target RPM adder". This stays for like 1 sec, and then the target ramps down to the normal target over say, 3 sec. For example, target will initially be 1200 RPM upon re-entry. This target will stay for 1 sec, then ramp down to 850 over 3 seconds. This will solve the stopping-at-a-stop-sign idle dip, and it will also work well for stepping on the clutch when lugging the engine at 600 RPM.
Just wanted to add that this works a charm. It was the only way we could get a stable idle on a FS-car (supercharged single.cyl, no flywheel).
We also mapped the VE curve from start to finish and positioned our idle rpm targets in the middle of downward VE slopes. If the idle valve overshoots target-rpm the VE drops away, adding a natural tendency to return to the target RPM. Lower then target RPM->VE increases. We would let it hop between a couple of these set points instead instead of ramping it down smoothly.
damir130 is offline  
Old 11-09-2011, 05:00 AM
  #45  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Interesting! I try to maintain downward spark slope and keep the VE pretty flat. Won't leaning it out above target create a tip in lean spot?
Greg G is offline  
Old 11-10-2011, 01:25 AM
  #46  
Junior Member
iTrader: (3)
 
yunvmyegt's Avatar
 
Join Date: Feb 2010
Location: boston, ny
Posts: 273
Total Cats: 0
Default

Originally Posted by gslender

I'm keen to work with someone who is in the colder climates (Greg is near the equator) so that we can tune/review impact to what happens when apply this firmware in those locations - any volunteers??

G
im in buffalo, new york (snow belt) area we'll be cold here pretty soon. ill try it out in the colder temps . where do i get the firmware? ive got all the time in the world to try it out...lol.. is it the same 3.1.4 on msextra?
yunvmyegt is offline  
Old 11-10-2011, 05:55 AM
  #47  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Finally got to try the clutch/neutral closed loop lockout option today... wow, very nice! Much more stable feeling during low speed "parking lot/traffic light" conditions. It does however highlight the need for accurate calculation of the idle valve value during CL idle entry. "Last known good value plus dashpot" needs to be improved...once that is licked and you start closed loop idle with the correct idle duty...we will be very close to seamless...

Greg G is offline  
Old 11-10-2011, 08:53 AM
  #48  
Junior Member
 
damir130's Avatar
 
Join Date: Jan 2009
Posts: 139
Total Cats: 6
Default

Originally Posted by Greg G
Interesting! I try to maintain downward spark slope and keep the VE pretty flat. Won't leaning it out above target create a tip in lean spot?
Crap.. that should have been VE dips.
The VE dips were not tuned in, we just used the normal intake and exhaust resonances. Spent quite of bit of time building the VE curve by mapping the engine every 100rpm or so to a constant Lamdba. The end effect is similar to building fueling and spark slopes but more effective.
damir130 is offline  
Old 11-10-2011, 09:31 AM
  #49  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

explain to me this clutch/neutral lockout.
Braineack is offline  
Old 11-10-2011, 01:44 PM
  #50  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by damir130
Just wanted to add that this works a charm. It was the only way we could get a stable idle on a FS-car (supercharged single.cyl, no flywheel).
We also mapped the VE curve from start to finish and positioned our idle rpm targets in the middle of downward VE slopes. If the idle valve overshoots target-rpm the VE drops away, adding a natural tendency to return to the target RPM. Lower then target RPM->VE increases. We would let it hop between a couple of these set points instead instead of ramping it down smoothly.
I'm intrigued. Are you saying that the motor has VE peaks and dips if you zoom in from say, 700-1500 RPM?
JasonC SBB is offline  
Old 11-10-2011, 03:07 PM
  #51  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

Originally Posted by Braineack
explain to me this clutch/neutral lockout.
You can plod along in gear and it won't enter CL idle at all, never, no mater even if you go off throttle completely and essential the idle is pulling the car along - great for traffic cruise etc.

Avoids the rpm climb when you slam the clutch in, as the pid hasn't been fighting the load, it just casually enters CL pid and continues to idle normally.

A very simple od that took no time for me to code and make work.

You need to wire the clutch switch to pe0 / flex input.

G

PS - I sent you a PM and you've flatly ignored me, wassup with that?
gslender is offline  
Old 11-10-2011, 03:12 PM
  #52  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

isnt this what the RPMdot part of the lock settings are for? or is this another part of the code that ms2 doesnt have? MS3 has an adder to change the RPMdot lockout setting when the a/c is on.

if anything when this happens there would be an idle droop not a climb, as your chugging along at say 1200 rpm in 5th gear, then CL would activate and would want to lower the idle to your target and start closing the valve. Then when you hit the clutch you send the rpms to stalling range...I fought this until i tuned my settings correctly. It took no time at all to make it work
Braineack is offline  
Old 11-10-2011, 03:28 PM
  #53  
Junior Member
 
damir130's Avatar
 
Join Date: Jan 2009
Posts: 139
Total Cats: 6
Default

Originally Posted by JasonC SBB
I'm intrigued. Are you saying that the motor has VE peaks and dips if you zoom in from say, 700-1500 RPM?
Jup.
damir130 is offline  
Old 11-10-2011, 06:09 PM
  #54  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

Originally Posted by Braineack
isnt this what the RPMdot part of the lock settings are for? or is this another part of the code that ms2 doesnt have? MS3 has an adder to change the RPMdot lockout setting when the a/c is on.
No, RPMdot lockout exists, but obviously there is nothing related to a/c idle up as that is my code - and I could add that if needed. From what I've heard and seen myself, this RPMdot lockout doesn't solve for all problems.

Originally Posted by Braineack
if anything when this happens there would be an idle droop not a climb, as your chugging along at say 1200 rpm in 5th gear, then CL would activate and would want to lower the idle to your target and start closing the valve. Then when you hit the clutch you send the rpms to stalling range...I fought this until i tuned my settings correctly. It took no time at all to make it work
No, the scenario without this mod is ... you are in 1st gear, idling along, you come to a slight incline and the idle is dragged down to 800rpm, the PID code responds and opens the valve more to compensate and in turn raises idle due to the load, and cycle repeats - with the valve opening all the time to compensate.... eventually, bang you slam down the clutch (to avoid hitting the car in front, or stall) and boom the rpm spikes until the PID catches it etc.

With this mod, none of the above happens.

G
gslender is offline  
Old 11-10-2011, 06:15 PM
  #55  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by damir130
Jup.
Could you describe roughly how it looked - i.e. like how many peaks and dips you saw from 700-1500, and how tall/deep they were?
JasonC SBB is offline  
Old 11-10-2011, 06:21 PM
  #56  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by gslender
No, RPMdot lockout exists
actually it does in the code, but no idle up adder that you havent added yet.

No, the scenario without this mod is ... you are in 1st gear, idling along, you come to a slight incline and the idle is dragged down to 800rpm, the PID code responds and opens the valve more to compensate and in turn raises idle due to the load, and cycle repeats - with the valve opening all the time to compensate.... eventually, bang you slam down the clutch (to avoid hitting the car in front, or stall) and boom the rpm spikes until the PID catches it etc.
can never think of a time i'd ever need this code function. Correct me if I'm wrong but this is just preventing an idle spike if you happen to be costing without throttle while the idle code is enabled up a hill for some reason and then hit the clutch in?
Braineack is offline  
Old 11-10-2011, 06:23 PM
  #57  
Junior Member
 
Greg G's Avatar
 
Join Date: Jun 2007
Posts: 411
Total Cats: 0
Default

Originally Posted by damir130
Crap.. that should have been VE dips.
The VE dips were not tuned in, we just used the normal intake and exhaust resonances. Spent quite of bit of time building the VE curve by mapping the engine every 100rpm or so to a constant Lamdba. The end effect is similar to building fueling and spark slopes but more effective.
Originally Posted by JasonC SBB
Could you describe roughly how it looked - i.e. like how many peaks and dips you saw from 700-1500, and how tall/deep they were?
Hmmm now you have me interested. Could you post a new thread regarding the tuning process you went through to map your idle area? I'm sure it'll be quite an interesting discussion and deserves its own thread. Right now I do try to make a valley but to be honest the methodology is kind of hit and miss.
Greg G is offline  
Old 11-10-2011, 07:23 PM
  #58  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

Originally Posted by Braineack
Correct me if I'm wrong but this is just preventing an idle spike if you happen to be costing without throttle while the idle code is enabled up a hill for some reason and then hit the clutch in?
Spot on! If that's never happened or the spike doesn't bother you, than sure this mod isn't for you... but a few folks have asked for it and I too see how ti keeps idle silky smooth.... and it costs nothing to wire up and enable.

Also, I think it makes tuning a little easier (I guess)....

G
gslender is offline  
Old 11-10-2011, 08:59 PM
  #59  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

does it utilize the same input as launch control, or do you have the split the input?
Braineack is offline  
Old 11-10-2011, 09:07 PM
  #60  
Junior Member
Thread Starter
iTrader: (1)
 
gslender's Avatar
 
Join Date: Jun 2011
Location: Australia
Posts: 178
Total Cats: 3
Default

Originally Posted by Braineack
does it utilize the same input as launch control, or do you have the split the input?
Uses the same but doesn't impact each other.... Never used against each other anyway....

G
gslender is offline  


Quick Reply: MegaSquirtSanta - Custom Modifications / Firmware



All times are GMT -4. The time now is 08:22 AM.